Class FilterOperatorAndValues.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FilterOperatorAndValues.Builder>
com.google.cloud.chronicle.v1.FilterOperatorAndValues.Builder
All Implemented Interfaces:
FilterOperatorAndValuesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FilterOperatorAndValues

public static final class FilterOperatorAndValues.Builder extends com.google.protobuf.GeneratedMessage.Builder<FilterOperatorAndValues.Builder> implements FilterOperatorAndValuesOrBuilder
Protobuf type google.cloud.chronicle.v1.FilterOperatorAndValues
  • 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.Builder<FilterOperatorAndValues.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FilterOperatorAndValues.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FilterOperatorAndValues.Builder>
    • getDefaultInstanceForType

      public FilterOperatorAndValues getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public FilterOperatorAndValues build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FilterOperatorAndValues buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FilterOperatorAndValues.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FilterOperatorAndValues.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FilterOperatorAndValues.Builder>
    • mergeFrom

      public FilterOperatorAndValues.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FilterOperatorAndValues.Builder>
      Throws:
      IOException
    • getFilterOperatorValue

      public int getFilterOperatorValue()
       Operator for a single filter modifier.
       
      .google.cloud.chronicle.v1.FilterOperator filter_operator = 1;
      Specified by:
      getFilterOperatorValue in interface FilterOperatorAndValuesOrBuilder
      Returns:
      The enum numeric value on the wire for filterOperator.
    • setFilterOperatorValue

      public FilterOperatorAndValues.Builder setFilterOperatorValue(int value)
       Operator for a single filter modifier.
       
      .google.cloud.chronicle.v1.FilterOperator filter_operator = 1;
      Parameters:
      value - The enum numeric value on the wire for filterOperator to set.
      Returns:
      This builder for chaining.
    • getFilterOperator

      public FilterOperator getFilterOperator()
       Operator for a single filter modifier.
       
      .google.cloud.chronicle.v1.FilterOperator filter_operator = 1;
      Specified by:
      getFilterOperator in interface FilterOperatorAndValuesOrBuilder
      Returns:
      The filterOperator.
    • setFilterOperator

      public FilterOperatorAndValues.Builder setFilterOperator(FilterOperator value)
       Operator for a single filter modifier.
       
      .google.cloud.chronicle.v1.FilterOperator filter_operator = 1;
      Parameters:
      value - The filterOperator to set.
      Returns:
      This builder for chaining.
    • clearFilterOperator

      public FilterOperatorAndValues.Builder clearFilterOperator()
       Operator for a single filter modifier.
       
      .google.cloud.chronicle.v1.FilterOperator filter_operator = 1;
      Returns:
      This builder for chaining.
    • getFieldValuesList

      public com.google.protobuf.ProtocolStringList getFieldValuesList()
       Values for the modifier. All operators should have a single value other
       than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
       like -86400 is past 1 day.
       
      repeated string field_values = 2;
      Specified by:
      getFieldValuesList in interface FilterOperatorAndValuesOrBuilder
      Returns:
      A list containing the fieldValues.
    • getFieldValuesCount

      public int getFieldValuesCount()
       Values for the modifier. All operators should have a single value other
       than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
       like -86400 is past 1 day.
       
      repeated string field_values = 2;
      Specified by:
      getFieldValuesCount in interface FilterOperatorAndValuesOrBuilder
      Returns:
      The count of fieldValues.
    • getFieldValues

      public String getFieldValues(int index)
       Values for the modifier. All operators should have a single value other
       than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
       like -86400 is past 1 day.
       
      repeated string field_values = 2;
      Specified by:
      getFieldValues in interface FilterOperatorAndValuesOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The fieldValues at the given index.
    • getFieldValuesBytes

      public com.google.protobuf.ByteString getFieldValuesBytes(int index)
       Values for the modifier. All operators should have a single value other
       than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
       like -86400 is past 1 day.
       
      repeated string field_values = 2;
      Specified by:
      getFieldValuesBytes in interface FilterOperatorAndValuesOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the fieldValues at the given index.
    • setFieldValues

      public FilterOperatorAndValues.Builder setFieldValues(int index, String value)
       Values for the modifier. All operators should have a single value other
       than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
       like -86400 is past 1 day.
       
      repeated string field_values = 2;
      Parameters:
      index - The index to set the value at.
      value - The fieldValues to set.
      Returns:
      This builder for chaining.
    • addFieldValues

      public FilterOperatorAndValues.Builder addFieldValues(String value)
       Values for the modifier. All operators should have a single value other
       than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
       like -86400 is past 1 day.
       
      repeated string field_values = 2;
      Parameters:
      value - The fieldValues to add.
      Returns:
      This builder for chaining.
    • addAllFieldValues

      public FilterOperatorAndValues.Builder addAllFieldValues(Iterable<String> values)
       Values for the modifier. All operators should have a single value other
       than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
       like -86400 is past 1 day.
       
      repeated string field_values = 2;
      Parameters:
      values - The fieldValues to add.
      Returns:
      This builder for chaining.
    • clearFieldValues

      public FilterOperatorAndValues.Builder clearFieldValues()
       Values for the modifier. All operators should have a single value other
       than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
       like -86400 is past 1 day.
       
      repeated string field_values = 2;
      Returns:
      This builder for chaining.
    • addFieldValuesBytes

      public FilterOperatorAndValues.Builder addFieldValuesBytes(com.google.protobuf.ByteString value)
       Values for the modifier. All operators should have a single value other
       than 'IN' and 'BETWEEN'. 'PAST' will have negative seconds
       like -86400 is past 1 day.
       
      repeated string field_values = 2;
      Parameters:
      value - The bytes of the fieldValues to add.
      Returns:
      This builder for chaining.