Class FetchProfileDebug.Builder

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

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

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

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

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

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

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

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

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

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

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

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

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

      public FetchProfileDebug.Builder mergeFrom(FetchProfileDebug other)
    • isInitialized

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

      public FetchProfileDebug.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<FetchProfileDebug.Builder>
      Throws:
      IOException
    • getStoredFieldsList

      public com.google.protobuf.ProtocolStringList getStoredFieldsList()
      repeated string stored_fields = 1 [json_name = "storedFields"];
      Specified by:
      getStoredFieldsList in interface FetchProfileDebugOrBuilder
      Returns:
      A list containing the storedFields.
    • getStoredFieldsCount

      public int getStoredFieldsCount()
      repeated string stored_fields = 1 [json_name = "storedFields"];
      Specified by:
      getStoredFieldsCount in interface FetchProfileDebugOrBuilder
      Returns:
      The count of storedFields.
    • getStoredFields

      public String getStoredFields(int index)
      repeated string stored_fields = 1 [json_name = "storedFields"];
      Specified by:
      getStoredFields in interface FetchProfileDebugOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The storedFields at the given index.
    • getStoredFieldsBytes

      public com.google.protobuf.ByteString getStoredFieldsBytes(int index)
      repeated string stored_fields = 1 [json_name = "storedFields"];
      Specified by:
      getStoredFieldsBytes in interface FetchProfileDebugOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the storedFields at the given index.
    • setStoredFields

      public FetchProfileDebug.Builder setStoredFields(int index, String value)
      repeated string stored_fields = 1 [json_name = "storedFields"];
      Parameters:
      index - The index to set the value at.
      value - The storedFields to set.
      Returns:
      This builder for chaining.
    • addStoredFields

      public FetchProfileDebug.Builder addStoredFields(String value)
      repeated string stored_fields = 1 [json_name = "storedFields"];
      Parameters:
      value - The storedFields to add.
      Returns:
      This builder for chaining.
    • addAllStoredFields

      public FetchProfileDebug.Builder addAllStoredFields(Iterable<String> values)
      repeated string stored_fields = 1 [json_name = "storedFields"];
      Parameters:
      values - The storedFields to add.
      Returns:
      This builder for chaining.
    • clearStoredFields

      public FetchProfileDebug.Builder clearStoredFields()
      repeated string stored_fields = 1 [json_name = "storedFields"];
      Returns:
      This builder for chaining.
    • addStoredFieldsBytes

      public FetchProfileDebug.Builder addStoredFieldsBytes(com.google.protobuf.ByteString value)
      repeated string stored_fields = 1 [json_name = "storedFields"];
      Parameters:
      value - The bytes of the storedFields to add.
      Returns:
      This builder for chaining.
    • hasFastPath

      public boolean hasFastPath()
      optional int32 fast_path = 2 [json_name = "fastPath"];
      Specified by:
      hasFastPath in interface FetchProfileDebugOrBuilder
      Returns:
      Whether the fastPath field is set.
    • getFastPath

      public int getFastPath()
      optional int32 fast_path = 2 [json_name = "fastPath"];
      Specified by:
      getFastPath in interface FetchProfileDebugOrBuilder
      Returns:
      The fastPath.
    • setFastPath

      public FetchProfileDebug.Builder setFastPath(int value)
      optional int32 fast_path = 2 [json_name = "fastPath"];
      Parameters:
      value - The fastPath to set.
      Returns:
      This builder for chaining.
    • clearFastPath

      public FetchProfileDebug.Builder clearFastPath()
      optional int32 fast_path = 2 [json_name = "fastPath"];
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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