Class RecordCondition.Expressions

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.privacy.dlp.v2.RecordCondition.Expressions
All Implemented Interfaces:
RecordCondition.ExpressionsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
RecordCondition

public static final class RecordCondition.Expressions extends com.google.protobuf.GeneratedMessage implements RecordCondition.ExpressionsOrBuilder
 An expression, consisting of an operator and conditions.
 
Protobuf type google.privacy.dlp.v2.RecordCondition.Expressions
See Also:
  • Field Details

    • LOGICAL_OPERATOR_FIELD_NUMBER

      public static final int LOGICAL_OPERATOR_FIELD_NUMBER
      See Also:
    • CONDITIONS_FIELD_NUMBER

      public static final int CONDITIONS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getTypeCase

      Specified by:
      getTypeCase in interface RecordCondition.ExpressionsOrBuilder
    • getLogicalOperatorValue

      public int getLogicalOperatorValue()
       The operator to apply to the result of conditions. Default and currently
       only supported value is `AND`.
       
      .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
      Specified by:
      getLogicalOperatorValue in interface RecordCondition.ExpressionsOrBuilder
      Returns:
      The enum numeric value on the wire for logicalOperator.
    • getLogicalOperator

      public RecordCondition.Expressions.LogicalOperator getLogicalOperator()
       The operator to apply to the result of conditions. Default and currently
       only supported value is `AND`.
       
      .google.privacy.dlp.v2.RecordCondition.Expressions.LogicalOperator logical_operator = 1;
      Specified by:
      getLogicalOperator in interface RecordCondition.ExpressionsOrBuilder
      Returns:
      The logicalOperator.
    • hasConditions

      public boolean hasConditions()
       Conditions to apply to the expression.
       
      .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
      Specified by:
      hasConditions in interface RecordCondition.ExpressionsOrBuilder
      Returns:
      Whether the conditions field is set.
    • getConditions

      public RecordCondition.Conditions getConditions()
       Conditions to apply to the expression.
       
      .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
      Specified by:
      getConditions in interface RecordCondition.ExpressionsOrBuilder
      Returns:
      The conditions.
    • getConditionsOrBuilder

      public RecordCondition.ConditionsOrBuilder getConditionsOrBuilder()
       Conditions to apply to the expression.
       
      .google.privacy.dlp.v2.RecordCondition.Conditions conditions = 3;
      Specified by:
      getConditionsOrBuilder in interface RecordCondition.ExpressionsOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RecordCondition.Expressions parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RecordCondition.Expressions parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RecordCondition.Expressions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RecordCondition.Expressions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RecordCondition.Expressions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RecordCondition.Expressions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RecordCondition.Expressions parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RecordCondition.Expressions parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RecordCondition.Expressions parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RecordCondition.Expressions parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RecordCondition.Expressions parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RecordCondition.Expressions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RecordCondition.Expressions.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RecordCondition.Expressions.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RecordCondition.Expressions.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RecordCondition.Expressions getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RecordCondition.Expressions> parser()
    • getParserForType

      public com.google.protobuf.Parser<RecordCondition.Expressions> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RecordCondition.Expressions getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder