Class FetchProfile.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public FetchProfile.Builder mergeFrom(FetchProfile other)
    • isInitialized

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

      public FetchProfile.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<FetchProfile.Builder>
      Throws:
      IOException
    • getType

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

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

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

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

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

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

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

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

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

      public FetchProfile.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 FetchProfileOrBuilder
      Returns:
      The timeInNanos.
    • setTimeInNanos

      public FetchProfile.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 FetchProfile.Builder clearTimeInNanos()
      int64 time_in_nanos = 3 [json_name = "timeInNanos"];
      Returns:
      This builder for chaining.
    • hasBreakdown

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

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

      public FetchProfile.Builder setBreakdown(FetchProfileBreakdown value)
      .org.opensearch.protobufs.FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];
    • setBreakdown

      public FetchProfile.Builder setBreakdown(FetchProfileBreakdown.Builder builderForValue)
      .org.opensearch.protobufs.FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];
    • mergeBreakdown

      public FetchProfile.Builder mergeBreakdown(FetchProfileBreakdown value)
      .org.opensearch.protobufs.FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];
    • clearBreakdown

      public FetchProfile.Builder clearBreakdown()
      .org.opensearch.protobufs.FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];
    • getBreakdownBuilder

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

      public FetchProfileBreakdownOrBuilder getBreakdownOrBuilder()
      .org.opensearch.protobufs.FetchProfileBreakdown breakdown = 4 [json_name = "breakdown"];
      Specified by:
      getBreakdownOrBuilder in interface FetchProfileOrBuilder
    • hasDebug

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

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

      public FetchProfile.Builder setDebug(FetchProfileDebug value)
      optional .org.opensearch.protobufs.FetchProfileDebug debug = 5 [json_name = "debug"];
    • setDebug

      public FetchProfile.Builder setDebug(FetchProfileDebug.Builder builderForValue)
      optional .org.opensearch.protobufs.FetchProfileDebug debug = 5 [json_name = "debug"];
    • mergeDebug

      public FetchProfile.Builder mergeDebug(FetchProfileDebug value)
      optional .org.opensearch.protobufs.FetchProfileDebug debug = 5 [json_name = "debug"];
    • clearDebug

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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