public static final class RecordCondition.Condition extends 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. 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.v2beta1.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.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
FIELD_FIELD_NUMBER |
static int |
OPERATOR_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCodecanUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, 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, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int FIELD_FIELD_NUMBER
public static final int OPERATOR_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public boolean hasField()
Field within the record this condition is evaluated against. [required]
.google.privacy.dlp.v2beta1.FieldId field = 1;hasField in interface RecordCondition.ConditionOrBuilderpublic FieldId getField()
Field within the record this condition is evaluated against. [required]
.google.privacy.dlp.v2beta1.FieldId field = 1;getField in interface RecordCondition.ConditionOrBuilderpublic FieldIdOrBuilder getFieldOrBuilder()
Field within the record this condition is evaluated against. [required]
.google.privacy.dlp.v2beta1.FieldId field = 1;getFieldOrBuilder in interface RecordCondition.ConditionOrBuilderpublic int getOperatorValue()
Operator used to compare the field or info type to the value. [required]
.google.privacy.dlp.v2beta1.RelationalOperator operator = 3;getOperatorValue in interface RecordCondition.ConditionOrBuilderpublic RelationalOperator getOperator()
Operator used to compare the field or info type to the value. [required]
.google.privacy.dlp.v2beta1.RelationalOperator operator = 3;getOperator in interface RecordCondition.ConditionOrBuilderpublic boolean hasValue()
Value to compare against. [Required, except for `EXISTS` tests.]
.google.privacy.dlp.v2beta1.Value value = 4;hasValue in interface RecordCondition.ConditionOrBuilderpublic Value getValue()
Value to compare against. [Required, except for `EXISTS` tests.]
.google.privacy.dlp.v2beta1.Value value = 4;getValue in interface RecordCondition.ConditionOrBuilderpublic ValueOrBuilder getValueOrBuilder()
Value to compare against. [Required, except for `EXISTS` tests.]
.google.privacy.dlp.v2beta1.Value value = 4;getValueOrBuilder in interface RecordCondition.ConditionOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static RecordCondition.Condition parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static RecordCondition.Condition parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RecordCondition.Condition parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RecordCondition.Condition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RecordCondition.Condition parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static RecordCondition.Condition parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static RecordCondition.Condition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic RecordCondition.Condition.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static RecordCondition.Condition.Builder newBuilder()
public static RecordCondition.Condition.Builder newBuilder(RecordCondition.Condition prototype)
public RecordCondition.Condition.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected RecordCondition.Condition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static RecordCondition.Condition getDefaultInstance()
public static Parser<RecordCondition.Condition> parser()
public Parser<RecordCondition.Condition> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public RecordCondition.Condition getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder