Class SortCombinations.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<SortCombinations.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder>
org.opensearch.protobufs.SortCombinations.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, SortCombinationsOrBuilder
Enclosing class:
SortCombinations

public static final class SortCombinations.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder> implements SortCombinationsOrBuilder
Protobuf type org.opensearch.protobufs.SortCombinations
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder>
    • clear

      public SortCombinations.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.GeneratedMessageV3.Builder<SortCombinations.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.GeneratedMessageV3.Builder<SortCombinations.Builder>
    • getDefaultInstanceForType

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

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

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

      public SortCombinations.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder>
    • setField

      public SortCombinations.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder>
    • clearField

      public SortCombinations.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder>
    • clearOneof

      public SortCombinations.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder>
    • setRepeatedField

      public SortCombinations.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder>
    • addRepeatedField

      public SortCombinations.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder>
    • mergeFrom

      public SortCombinations.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<SortCombinations.Builder>
    • mergeFrom

      public SortCombinations.Builder mergeFrom(SortCombinations other)
    • isInitialized

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

      public SortCombinations.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<SortCombinations.Builder>
      Throws:
      IOException
    • getSortCombinationsCase

      public SortCombinations.SortCombinationsCase getSortCombinationsCase()
      Specified by:
      getSortCombinationsCase in interface SortCombinationsOrBuilder
    • clearSortCombinations

      public SortCombinations.Builder clearSortCombinations()
    • hasField

      public boolean hasField()
      string field = 1 [json_name = "field"];
      Specified by:
      hasField in interface SortCombinationsOrBuilder
      Returns:
      Whether the field field is set.
    • getField

      public String getField()
      string field = 1 [json_name = "field"];
      Specified by:
      getField in interface SortCombinationsOrBuilder
      Returns:
      The field.
    • getFieldBytes

      public com.google.protobuf.ByteString getFieldBytes()
      string field = 1 [json_name = "field"];
      Specified by:
      getFieldBytes in interface SortCombinationsOrBuilder
      Returns:
      The bytes for field.
    • setField

      public SortCombinations.Builder setField(String value)
      string field = 1 [json_name = "field"];
      Parameters:
      value - The field to set.
      Returns:
      This builder for chaining.
    • clearField

      public SortCombinations.Builder clearField()
      string field = 1 [json_name = "field"];
      Returns:
      This builder for chaining.
    • setFieldBytes

      public SortCombinations.Builder setFieldBytes(com.google.protobuf.ByteString value)
      string field = 1 [json_name = "field"];
      Parameters:
      value - The bytes for field to set.
      Returns:
      This builder for chaining.
    • hasFieldWithDirection

      public boolean hasFieldWithDirection()
      .org.opensearch.protobufs.SortOrderMap field_with_direction = 2 [json_name = "fieldWithDirection"];
      Specified by:
      hasFieldWithDirection in interface SortCombinationsOrBuilder
      Returns:
      Whether the fieldWithDirection field is set.
    • getFieldWithDirection

      public SortOrderMap getFieldWithDirection()
      .org.opensearch.protobufs.SortOrderMap field_with_direction = 2 [json_name = "fieldWithDirection"];
      Specified by:
      getFieldWithDirection in interface SortCombinationsOrBuilder
      Returns:
      The fieldWithDirection.
    • setFieldWithDirection

      public SortCombinations.Builder setFieldWithDirection(SortOrderMap value)
      .org.opensearch.protobufs.SortOrderMap field_with_direction = 2 [json_name = "fieldWithDirection"];
    • setFieldWithDirection

      public SortCombinations.Builder setFieldWithDirection(SortOrderMap.Builder builderForValue)
      .org.opensearch.protobufs.SortOrderMap field_with_direction = 2 [json_name = "fieldWithDirection"];
    • mergeFieldWithDirection

      public SortCombinations.Builder mergeFieldWithDirection(SortOrderMap value)
      .org.opensearch.protobufs.SortOrderMap field_with_direction = 2 [json_name = "fieldWithDirection"];
    • clearFieldWithDirection

      public SortCombinations.Builder clearFieldWithDirection()
      .org.opensearch.protobufs.SortOrderMap field_with_direction = 2 [json_name = "fieldWithDirection"];
    • getFieldWithDirectionBuilder

      public SortOrderMap.Builder getFieldWithDirectionBuilder()
      .org.opensearch.protobufs.SortOrderMap field_with_direction = 2 [json_name = "fieldWithDirection"];
    • getFieldWithDirectionOrBuilder

      public SortOrderMapOrBuilder getFieldWithDirectionOrBuilder()
      .org.opensearch.protobufs.SortOrderMap field_with_direction = 2 [json_name = "fieldWithDirection"];
      Specified by:
      getFieldWithDirectionOrBuilder in interface SortCombinationsOrBuilder
    • hasFieldWithOrder

      public boolean hasFieldWithOrder()
      .org.opensearch.protobufs.FieldSortMap field_with_order = 3 [json_name = "fieldWithOrder"];
      Specified by:
      hasFieldWithOrder in interface SortCombinationsOrBuilder
      Returns:
      Whether the fieldWithOrder field is set.
    • getFieldWithOrder

      public FieldSortMap getFieldWithOrder()
      .org.opensearch.protobufs.FieldSortMap field_with_order = 3 [json_name = "fieldWithOrder"];
      Specified by:
      getFieldWithOrder in interface SortCombinationsOrBuilder
      Returns:
      The fieldWithOrder.
    • setFieldWithOrder

      public SortCombinations.Builder setFieldWithOrder(FieldSortMap value)
      .org.opensearch.protobufs.FieldSortMap field_with_order = 3 [json_name = "fieldWithOrder"];
    • setFieldWithOrder

      public SortCombinations.Builder setFieldWithOrder(FieldSortMap.Builder builderForValue)
      .org.opensearch.protobufs.FieldSortMap field_with_order = 3 [json_name = "fieldWithOrder"];
    • mergeFieldWithOrder

      public SortCombinations.Builder mergeFieldWithOrder(FieldSortMap value)
      .org.opensearch.protobufs.FieldSortMap field_with_order = 3 [json_name = "fieldWithOrder"];
    • clearFieldWithOrder

      public SortCombinations.Builder clearFieldWithOrder()
      .org.opensearch.protobufs.FieldSortMap field_with_order = 3 [json_name = "fieldWithOrder"];
    • getFieldWithOrderBuilder

      public FieldSortMap.Builder getFieldWithOrderBuilder()
      .org.opensearch.protobufs.FieldSortMap field_with_order = 3 [json_name = "fieldWithOrder"];
    • getFieldWithOrderOrBuilder

      public FieldSortMapOrBuilder getFieldWithOrderOrBuilder()
      .org.opensearch.protobufs.FieldSortMap field_with_order = 3 [json_name = "fieldWithOrder"];
      Specified by:
      getFieldWithOrderOrBuilder in interface SortCombinationsOrBuilder
    • hasOptions

      public boolean hasOptions()
      .org.opensearch.protobufs.SortOptions options = 4 [json_name = "options"];
      Specified by:
      hasOptions in interface SortCombinationsOrBuilder
      Returns:
      Whether the options field is set.
    • getOptions

      public SortOptions getOptions()
      .org.opensearch.protobufs.SortOptions options = 4 [json_name = "options"];
      Specified by:
      getOptions in interface SortCombinationsOrBuilder
      Returns:
      The options.
    • setOptions

      public SortCombinations.Builder setOptions(SortOptions value)
      .org.opensearch.protobufs.SortOptions options = 4 [json_name = "options"];
    • setOptions

      public SortCombinations.Builder setOptions(SortOptions.Builder builderForValue)
      .org.opensearch.protobufs.SortOptions options = 4 [json_name = "options"];
    • mergeOptions

      public SortCombinations.Builder mergeOptions(SortOptions value)
      .org.opensearch.protobufs.SortOptions options = 4 [json_name = "options"];
    • clearOptions

      public SortCombinations.Builder clearOptions()
      .org.opensearch.protobufs.SortOptions options = 4 [json_name = "options"];
    • getOptionsBuilder

      public SortOptions.Builder getOptionsBuilder()
      .org.opensearch.protobufs.SortOptions options = 4 [json_name = "options"];
    • getOptionsOrBuilder

      public SortOptionsOrBuilder getOptionsOrBuilder()
      .org.opensearch.protobufs.SortOptions options = 4 [json_name = "options"];
      Specified by:
      getOptionsOrBuilder in interface SortCombinationsOrBuilder
    • setUnknownFields

      public final SortCombinations.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder>
    • mergeUnknownFields

      public final SortCombinations.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SortCombinations.Builder>