public static final class RecordCondition.Condition extends com.google.protobuf.GeneratedMessageV3 implements RecordCondition.ConditionOrBuilder
The field type of `value` and `field` do not need to match to be considered equal, but not all comparisons are possible. EQUAL_TO and NOT_EQUAL_TO attempt to compare even with incompatible types, but all other comparisons are invalid with incompatible types. A `value` of type: - `string` can be compared against all other types - `boolean` can only be compared against other booleans - `integer` can be compared against doubles or a string if the string value can be parsed as an integer. - `double` can be compared against integers or a string if the string can be parsed as a double. - `Timestamp` can be compared against strings in RFC 3339 date string format. - `TimeOfDay` can be compared against timestamps and strings in the format of 'HH:mm:ss'. If we fail to compare do to type mismatch, a warning will be given and the condition will evaluate to false.Protobuf type
google.privacy.dlp.v2.RecordCondition.Condition| Modifier and Type | Class and Description |
|---|---|
static class |
RecordCondition.Condition.Builder
The field type of `value` and `field` do not need to match to be
considered equal, but not all comparisons are possible.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FIELD_FIELD_NUMBER |
static int |
OPERATOR_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RecordCondition.Condition |
getDefaultInstance() |
RecordCondition.Condition |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
FieldId |
getField()
Required.
|
FieldIdOrBuilder |
getFieldOrBuilder()
Required.
|
RelationalOperator |
getOperator()
Required.
|
int |
getOperatorValue()
Required.
|
com.google.protobuf.Parser<RecordCondition.Condition> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Value |
getValue()
Value to compare against.
|
ValueOrBuilder |
getValueOrBuilder()
Value to compare against.
|
boolean |
hasField()
Required.
|
int |
hashCode() |
boolean |
hasValue()
Value to compare against.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RecordCondition.Condition.Builder |
newBuilder() |
static RecordCondition.Condition.Builder |
newBuilder(RecordCondition.Condition prototype) |
RecordCondition.Condition.Builder |
newBuilderForType() |
protected RecordCondition.Condition.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RecordCondition.Condition |
parseDelimitedFrom(InputStream input) |
static RecordCondition.Condition |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecordCondition.Condition |
parseFrom(byte[] data) |
static RecordCondition.Condition |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecordCondition.Condition |
parseFrom(ByteBuffer data) |
static RecordCondition.Condition |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecordCondition.Condition |
parseFrom(com.google.protobuf.ByteString data) |
static RecordCondition.Condition |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecordCondition.Condition |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RecordCondition.Condition |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RecordCondition.Condition |
parseFrom(InputStream input) |
static RecordCondition.Condition |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RecordCondition.Condition> |
parser() |
RecordCondition.Condition.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FIELD_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasField()
Required. Field within the record this condition is evaluated against.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
hasField in interface RecordCondition.ConditionOrBuilderpublic FieldId getField()
Required. Field within the record this condition is evaluated against.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
getField in interface RecordCondition.ConditionOrBuilderpublic FieldIdOrBuilder getFieldOrBuilder()
Required. Field within the record this condition is evaluated against.
.google.privacy.dlp.v2.FieldId field = 1 [(.google.api.field_behavior) = REQUIRED];
getFieldOrBuilder in interface RecordCondition.ConditionOrBuilderpublic int getOperatorValue()
Required. Operator used to compare the field or infoType to the value.
.google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED];
getOperatorValue in interface RecordCondition.ConditionOrBuilderpublic RelationalOperator getOperator()
Required. Operator used to compare the field or infoType to the value.
.google.privacy.dlp.v2.RelationalOperator operator = 3 [(.google.api.field_behavior) = REQUIRED];
getOperator in interface RecordCondition.ConditionOrBuilderpublic boolean hasValue()
Value to compare against. [Mandatory, except for `EXISTS` tests.]
.google.privacy.dlp.v2.Value value = 4;hasValue in interface RecordCondition.ConditionOrBuilderpublic Value getValue()
Value to compare against. [Mandatory, except for `EXISTS` tests.]
.google.privacy.dlp.v2.Value value = 4;getValue in interface RecordCondition.ConditionOrBuilderpublic ValueOrBuilder getValueOrBuilder()
Value to compare against. [Mandatory, except for `EXISTS` tests.]
.google.privacy.dlp.v2.Value value = 4;getValueOrBuilder in interface RecordCondition.ConditionOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RecordCondition.Condition parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(InputStream input) throws IOException
IOExceptionpublic static RecordCondition.Condition parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RecordCondition.Condition parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RecordCondition.Condition parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RecordCondition.Condition parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RecordCondition.Condition parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RecordCondition.Condition.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RecordCondition.Condition.Builder newBuilder()
public static RecordCondition.Condition.Builder newBuilder(RecordCondition.Condition prototype)
public RecordCondition.Condition.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RecordCondition.Condition.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RecordCondition.Condition getDefaultInstance()
public static com.google.protobuf.Parser<RecordCondition.Condition> parser()
public com.google.protobuf.Parser<RecordCondition.Condition> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RecordCondition.Condition getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.