Class QueryProfile.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public QueryProfile.Builder mergeFrom(QueryProfile other)
    • isInitialized

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

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

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

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

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

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

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

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

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

      public QueryBreakdownOrBuilder getBreakdownOrBuilder()
      .org.opensearch.protobufs.QueryBreakdown breakdown = 1 [json_name = "breakdown"];
      Specified by:
      getBreakdownOrBuilder in interface QueryProfileOrBuilder
    • getDescription

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

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

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

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

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

      public QueryProfile.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 QueryProfile.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 QueryProfileOrBuilder
      Returns:
      The type.
    • getTypeBytes

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

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

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

      public QueryProfile.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.
    • getChildrenList

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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