Class NestedSortValue.Builder

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

public static final class NestedSortValue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<NestedSortValue.Builder> implements NestedSortValueOrBuilder
Protobuf type org.opensearch.protobufs.NestedSortValue
  • 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<NestedSortValue.Builder>
    • clear

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

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

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

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

      public NestedSortValue.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<NestedSortValue.Builder>
    • setField

      public NestedSortValue.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<NestedSortValue.Builder>
    • clearField

      public NestedSortValue.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<NestedSortValue.Builder>
    • clearOneof

      public NestedSortValue.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<NestedSortValue.Builder>
    • setRepeatedField

      public NestedSortValue.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<NestedSortValue.Builder>
    • addRepeatedField

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

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

      public NestedSortValue.Builder mergeFrom(NestedSortValue other)
    • isInitialized

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

      public NestedSortValue.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<NestedSortValue.Builder>
      Throws:
      IOException
    • getPath

      public String getPath()
      string path = 1 [json_name = "path"];
      Specified by:
      getPath in interface NestedSortValueOrBuilder
      Returns:
      The path.
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
      string path = 1 [json_name = "path"];
      Specified by:
      getPathBytes in interface NestedSortValueOrBuilder
      Returns:
      The bytes for path.
    • setPath

      public NestedSortValue.Builder setPath(String value)
      string path = 1 [json_name = "path"];
      Parameters:
      value - The path to set.
      Returns:
      This builder for chaining.
    • clearPath

      public NestedSortValue.Builder clearPath()
      string path = 1 [json_name = "path"];
      Returns:
      This builder for chaining.
    • setPathBytes

      public NestedSortValue.Builder setPathBytes(com.google.protobuf.ByteString value)
      string path = 1 [json_name = "path"];
      Parameters:
      value - The bytes for path to set.
      Returns:
      This builder for chaining.
    • hasFilter

      public boolean hasFilter()
      optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];
      Specified by:
      hasFilter in interface NestedSortValueOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public QueryContainer getFilter()
      optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];
      Specified by:
      getFilter in interface NestedSortValueOrBuilder
      Returns:
      The filter.
    • setFilter

      public NestedSortValue.Builder setFilter(QueryContainer value)
      optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];
    • setFilter

      public NestedSortValue.Builder setFilter(QueryContainer.Builder builderForValue)
      optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];
    • mergeFilter

      public NestedSortValue.Builder mergeFilter(QueryContainer value)
      optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];
    • clearFilter

      public NestedSortValue.Builder clearFilter()
      optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];
    • getFilterBuilder

      public QueryContainer.Builder getFilterBuilder()
      optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];
    • getFilterOrBuilder

      public QueryContainerOrBuilder getFilterOrBuilder()
      optional .org.opensearch.protobufs.QueryContainer filter = 2 [json_name = "filter"];
      Specified by:
      getFilterOrBuilder in interface NestedSortValueOrBuilder
    • hasMaxChildren

      public boolean hasMaxChildren()
      optional int32 max_children = 3 [json_name = "maxChildren"];
      Specified by:
      hasMaxChildren in interface NestedSortValueOrBuilder
      Returns:
      Whether the maxChildren field is set.
    • getMaxChildren

      public int getMaxChildren()
      optional int32 max_children = 3 [json_name = "maxChildren"];
      Specified by:
      getMaxChildren in interface NestedSortValueOrBuilder
      Returns:
      The maxChildren.
    • setMaxChildren

      public NestedSortValue.Builder setMaxChildren(int value)
      optional int32 max_children = 3 [json_name = "maxChildren"];
      Parameters:
      value - The maxChildren to set.
      Returns:
      This builder for chaining.
    • clearMaxChildren

      public NestedSortValue.Builder clearMaxChildren()
      optional int32 max_children = 3 [json_name = "maxChildren"];
      Returns:
      This builder for chaining.
    • hasNested

      public boolean hasNested()
      optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];
      Specified by:
      hasNested in interface NestedSortValueOrBuilder
      Returns:
      Whether the nested field is set.
    • getNested

      public NestedSortValue getNested()
      optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];
      Specified by:
      getNested in interface NestedSortValueOrBuilder
      Returns:
      The nested.
    • setNested

      public NestedSortValue.Builder setNested(NestedSortValue value)
      optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];
    • setNested

      public NestedSortValue.Builder setNested(NestedSortValue.Builder builderForValue)
      optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];
    • mergeNested

      public NestedSortValue.Builder mergeNested(NestedSortValue value)
      optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];
    • clearNested

      public NestedSortValue.Builder clearNested()
      optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];
    • getNestedBuilder

      public NestedSortValue.Builder getNestedBuilder()
      optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];
    • getNestedOrBuilder

      public NestedSortValueOrBuilder getNestedOrBuilder()
      optional .org.opensearch.protobufs.NestedSortValue nested = 4 [json_name = "nested"];
      Specified by:
      getNestedOrBuilder in interface NestedSortValueOrBuilder
    • setUnknownFields

      public final NestedSortValue.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<NestedSortValue.Builder>
    • mergeUnknownFields

      public final NestedSortValue.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<NestedSortValue.Builder>