Class ShardProfile.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public ShardProfile.Builder mergeFrom(ShardProfile other)
    • isInitialized

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

      public ShardProfile.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<ShardProfile.Builder>
      Throws:
      IOException
    • getAggregationsList

      public List<AggregationProfile> getAggregationsList()
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
      Specified by:
      getAggregationsList in interface ShardProfileOrBuilder
    • getAggregationsCount

      public int getAggregationsCount()
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
      Specified by:
      getAggregationsCount in interface ShardProfileOrBuilder
    • getAggregations

      public AggregationProfile getAggregations(int index)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
      Specified by:
      getAggregations in interface ShardProfileOrBuilder
    • setAggregations

      public ShardProfile.Builder setAggregations(int index, AggregationProfile value)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • setAggregations

      public ShardProfile.Builder setAggregations(int index, AggregationProfile.Builder builderForValue)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • addAggregations

      public ShardProfile.Builder addAggregations(AggregationProfile value)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • addAggregations

      public ShardProfile.Builder addAggregations(int index, AggregationProfile value)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • addAggregations

      public ShardProfile.Builder addAggregations(AggregationProfile.Builder builderForValue)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • addAggregations

      public ShardProfile.Builder addAggregations(int index, AggregationProfile.Builder builderForValue)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • addAllAggregations

      public ShardProfile.Builder addAllAggregations(Iterable<? extends AggregationProfile> values)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • clearAggregations

      public ShardProfile.Builder clearAggregations()
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • removeAggregations

      public ShardProfile.Builder removeAggregations(int index)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • getAggregationsBuilder

      public AggregationProfile.Builder getAggregationsBuilder(int index)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • getAggregationsOrBuilder

      public AggregationProfileOrBuilder getAggregationsOrBuilder(int index)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
      Specified by:
      getAggregationsOrBuilder in interface ShardProfileOrBuilder
    • getAggregationsOrBuilderList

      public List<? extends AggregationProfileOrBuilder> getAggregationsOrBuilderList()
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
      Specified by:
      getAggregationsOrBuilderList in interface ShardProfileOrBuilder
    • addAggregationsBuilder

      public AggregationProfile.Builder addAggregationsBuilder()
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • addAggregationsBuilder

      public AggregationProfile.Builder addAggregationsBuilder(int index)
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • getAggregationsBuilderList

      public List<AggregationProfile.Builder> getAggregationsBuilderList()
      repeated .org.opensearch.protobufs.AggregationProfile aggregations = 1 [json_name = "aggregations"];
    • getId

      public String getId()
      string id = 2 [json_name = "id"];
      Specified by:
      getId in interface ShardProfileOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
      string id = 2 [json_name = "id"];
      Specified by:
      getIdBytes in interface ShardProfileOrBuilder
      Returns:
      The bytes for id.
    • setId

      public ShardProfile.Builder setId(String value)
      string id = 2 [json_name = "id"];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public ShardProfile.Builder clearId()
      string id = 2 [json_name = "id"];
      Returns:
      This builder for chaining.
    • setIdBytes

      public ShardProfile.Builder setIdBytes(com.google.protobuf.ByteString value)
      string id = 2 [json_name = "id"];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getSearchesList

      public List<SearchProfile> getSearchesList()
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
      Specified by:
      getSearchesList in interface ShardProfileOrBuilder
    • getSearchesCount

      public int getSearchesCount()
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
      Specified by:
      getSearchesCount in interface ShardProfileOrBuilder
    • getSearches

      public SearchProfile getSearches(int index)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
      Specified by:
      getSearches in interface ShardProfileOrBuilder
    • setSearches

      public ShardProfile.Builder setSearches(int index, SearchProfile value)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • setSearches

      public ShardProfile.Builder setSearches(int index, SearchProfile.Builder builderForValue)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • addSearches

      public ShardProfile.Builder addSearches(SearchProfile value)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • addSearches

      public ShardProfile.Builder addSearches(int index, SearchProfile value)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • addSearches

      public ShardProfile.Builder addSearches(SearchProfile.Builder builderForValue)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • addSearches

      public ShardProfile.Builder addSearches(int index, SearchProfile.Builder builderForValue)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • addAllSearches

      public ShardProfile.Builder addAllSearches(Iterable<? extends SearchProfile> values)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • clearSearches

      public ShardProfile.Builder clearSearches()
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • removeSearches

      public ShardProfile.Builder removeSearches(int index)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • getSearchesBuilder

      public SearchProfile.Builder getSearchesBuilder(int index)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • getSearchesOrBuilder

      public SearchProfileOrBuilder getSearchesOrBuilder(int index)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
      Specified by:
      getSearchesOrBuilder in interface ShardProfileOrBuilder
    • getSearchesOrBuilderList

      public List<? extends SearchProfileOrBuilder> getSearchesOrBuilderList()
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
      Specified by:
      getSearchesOrBuilderList in interface ShardProfileOrBuilder
    • addSearchesBuilder

      public SearchProfile.Builder addSearchesBuilder()
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • addSearchesBuilder

      public SearchProfile.Builder addSearchesBuilder(int index)
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • getSearchesBuilderList

      public List<SearchProfile.Builder> getSearchesBuilderList()
      repeated .org.opensearch.protobufs.SearchProfile searches = 3 [json_name = "searches"];
    • hasFetch

      public boolean hasFetch()
      optional .org.opensearch.protobufs.FetchProfile fetch = 4 [json_name = "fetch"];
      Specified by:
      hasFetch in interface ShardProfileOrBuilder
      Returns:
      Whether the fetch field is set.
    • getFetch

      public FetchProfile getFetch()
      optional .org.opensearch.protobufs.FetchProfile fetch = 4 [json_name = "fetch"];
      Specified by:
      getFetch in interface ShardProfileOrBuilder
      Returns:
      The fetch.
    • setFetch

      public ShardProfile.Builder setFetch(FetchProfile value)
      optional .org.opensearch.protobufs.FetchProfile fetch = 4 [json_name = "fetch"];
    • setFetch

      public ShardProfile.Builder setFetch(FetchProfile.Builder builderForValue)
      optional .org.opensearch.protobufs.FetchProfile fetch = 4 [json_name = "fetch"];
    • mergeFetch

      public ShardProfile.Builder mergeFetch(FetchProfile value)
      optional .org.opensearch.protobufs.FetchProfile fetch = 4 [json_name = "fetch"];
    • clearFetch

      public ShardProfile.Builder clearFetch()
      optional .org.opensearch.protobufs.FetchProfile fetch = 4 [json_name = "fetch"];
    • getFetchBuilder

      public FetchProfile.Builder getFetchBuilder()
      optional .org.opensearch.protobufs.FetchProfile fetch = 4 [json_name = "fetch"];
    • getFetchOrBuilder

      public FetchProfileOrBuilder getFetchOrBuilder()
      optional .org.opensearch.protobufs.FetchProfile fetch = 4 [json_name = "fetch"];
      Specified by:
      getFetchOrBuilder in interface ShardProfileOrBuilder
    • setUnknownFields

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

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