Class AggregationProfile.Builder

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

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

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

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

      public AggregationProfile buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<AggregationProfile.Builder>
    • setField

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

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

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

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

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

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

    • isInitialized

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

      public AggregationProfile.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<AggregationProfile.Builder>
      Throws:
      IOException
    • hasBreakdown

      public boolean hasBreakdown()
      .org.opensearch.protobufs.AggregationBreakdown breakdown = 1 [json_name = "breakdown"];
      Specified by:
      hasBreakdown in interface AggregationProfileOrBuilder
      Returns:
      Whether the breakdown field is set.
    • getBreakdown

      public AggregationBreakdown getBreakdown()
      .org.opensearch.protobufs.AggregationBreakdown breakdown = 1 [json_name = "breakdown"];
      Specified by:
      getBreakdown in interface AggregationProfileOrBuilder
      Returns:
      The breakdown.
    • setBreakdown

      public AggregationProfile.Builder setBreakdown(AggregationBreakdown value)
      .org.opensearch.protobufs.AggregationBreakdown breakdown = 1 [json_name = "breakdown"];
    • setBreakdown

      public AggregationProfile.Builder setBreakdown(AggregationBreakdown.Builder builderForValue)
      .org.opensearch.protobufs.AggregationBreakdown breakdown = 1 [json_name = "breakdown"];
    • mergeBreakdown

      public AggregationProfile.Builder mergeBreakdown(AggregationBreakdown value)
      .org.opensearch.protobufs.AggregationBreakdown breakdown = 1 [json_name = "breakdown"];
    • clearBreakdown

      public AggregationProfile.Builder clearBreakdown()
      .org.opensearch.protobufs.AggregationBreakdown breakdown = 1 [json_name = "breakdown"];
    • getBreakdownBuilder

      public AggregationBreakdown.Builder getBreakdownBuilder()
      .org.opensearch.protobufs.AggregationBreakdown breakdown = 1 [json_name = "breakdown"];
    • getBreakdownOrBuilder

      public AggregationBreakdownOrBuilder getBreakdownOrBuilder()
      .org.opensearch.protobufs.AggregationBreakdown breakdown = 1 [json_name = "breakdown"];
      Specified by:
      getBreakdownOrBuilder in interface AggregationProfileOrBuilder
    • getDescription

      public String getDescription()
      string description = 2 [json_name = "description"];
      Specified by:
      getDescription in interface AggregationProfileOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      string description = 2 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface AggregationProfileOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public AggregationProfile.Builder setDescription(String value)
      string description = 2 [json_name = "description"];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public AggregationProfile.Builder clearDescription()
      string description = 2 [json_name = "description"];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public AggregationProfile.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      string description = 2 [json_name = "description"];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • getTimeInNanos

      public long getTimeInNanos()
      int64 time_in_nanos = 3 [json_name = "timeInNanos"];
      Specified by:
      getTimeInNanos in interface AggregationProfileOrBuilder
      Returns:
      The timeInNanos.
    • setTimeInNanos

      public AggregationProfile.Builder setTimeInNanos(long value)
      int64 time_in_nanos = 3 [json_name = "timeInNanos"];
      Parameters:
      value - The timeInNanos to set.
      Returns:
      This builder for chaining.
    • clearTimeInNanos

      public AggregationProfile.Builder clearTimeInNanos()
      int64 time_in_nanos = 3 [json_name = "timeInNanos"];
      Returns:
      This builder for chaining.
    • getType

      public String getType()
      string type = 4 [json_name = "type"];
      Specified by:
      getType in interface AggregationProfileOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
      string type = 4 [json_name = "type"];
      Specified by:
      getTypeBytes in interface AggregationProfileOrBuilder
      Returns:
      The bytes for type.
    • setType

      public AggregationProfile.Builder setType(String value)
      string type = 4 [json_name = "type"];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public AggregationProfile.Builder clearType()
      string type = 4 [json_name = "type"];
      Returns:
      This builder for chaining.
    • setTypeBytes

      public AggregationProfile.Builder setTypeBytes(com.google.protobuf.ByteString value)
      string type = 4 [json_name = "type"];
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • hasDebug

      public boolean hasDebug()
      optional .org.opensearch.protobufs.AggregationProfileDebug debug = 5 [json_name = "debug"];
      Specified by:
      hasDebug in interface AggregationProfileOrBuilder
      Returns:
      Whether the debug field is set.
    • getDebug

      public AggregationProfileDebug getDebug()
      optional .org.opensearch.protobufs.AggregationProfileDebug debug = 5 [json_name = "debug"];
      Specified by:
      getDebug in interface AggregationProfileOrBuilder
      Returns:
      The debug.
    • setDebug

      optional .org.opensearch.protobufs.AggregationProfileDebug debug = 5 [json_name = "debug"];
    • setDebug

      optional .org.opensearch.protobufs.AggregationProfileDebug debug = 5 [json_name = "debug"];
    • mergeDebug

      optional .org.opensearch.protobufs.AggregationProfileDebug debug = 5 [json_name = "debug"];
    • clearDebug

      public AggregationProfile.Builder clearDebug()
      optional .org.opensearch.protobufs.AggregationProfileDebug debug = 5 [json_name = "debug"];
    • getDebugBuilder

      public AggregationProfileDebug.Builder getDebugBuilder()
      optional .org.opensearch.protobufs.AggregationProfileDebug debug = 5 [json_name = "debug"];
    • getDebugOrBuilder

      public AggregationProfileDebugOrBuilder getDebugOrBuilder()
      optional .org.opensearch.protobufs.AggregationProfileDebug debug = 5 [json_name = "debug"];
      Specified by:
      getDebugOrBuilder in interface AggregationProfileOrBuilder
    • getChildrenList

      public List<AggregationProfile> getChildrenList()
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
      Specified by:
      getChildrenList in interface AggregationProfileOrBuilder
    • getChildrenCount

      public int getChildrenCount()
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
      Specified by:
      getChildrenCount in interface AggregationProfileOrBuilder
    • getChildren

      public AggregationProfile getChildren(int index)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
      Specified by:
      getChildren in interface AggregationProfileOrBuilder
    • setChildren

      public AggregationProfile.Builder setChildren(int index, AggregationProfile value)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • setChildren

      public AggregationProfile.Builder setChildren(int index, AggregationProfile.Builder builderForValue)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • addChildren

      public AggregationProfile.Builder addChildren(AggregationProfile value)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • addChildren

      public AggregationProfile.Builder addChildren(int index, AggregationProfile value)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • addChildren

      public AggregationProfile.Builder addChildren(AggregationProfile.Builder builderForValue)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • addChildren

      public AggregationProfile.Builder addChildren(int index, AggregationProfile.Builder builderForValue)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • addAllChildren

      public AggregationProfile.Builder addAllChildren(Iterable<? extends AggregationProfile> values)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • clearChildren

      public AggregationProfile.Builder clearChildren()
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • removeChildren

      public AggregationProfile.Builder removeChildren(int index)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • getChildrenBuilder

      public AggregationProfile.Builder getChildrenBuilder(int index)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • getChildrenOrBuilder

      public AggregationProfileOrBuilder getChildrenOrBuilder(int index)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
      Specified by:
      getChildrenOrBuilder in interface AggregationProfileOrBuilder
    • getChildrenOrBuilderList

      public List<? extends AggregationProfileOrBuilder> getChildrenOrBuilderList()
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
      Specified by:
      getChildrenOrBuilderList in interface AggregationProfileOrBuilder
    • addChildrenBuilder

      public AggregationProfile.Builder addChildrenBuilder()
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • addChildrenBuilder

      public AggregationProfile.Builder addChildrenBuilder(int index)
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • getChildrenBuilderList

      public List<AggregationProfile.Builder> getChildrenBuilderList()
      repeated .org.opensearch.protobufs.AggregationProfile children = 6 [json_name = "children"];
    • setUnknownFields

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

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