Class StoreTypes.PairStrings.Builder

Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PairStrings.Builder>
org.apache.spark.status.protobuf.StoreTypes.PairStrings.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, StoreTypes.PairStringsOrBuilder
Enclosing class:
StoreTypes.PairStrings

public static final class StoreTypes.PairStrings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.PairStrings.Builder> implements StoreTypes.PairStringsOrBuilder
Protobuf type org.apache.spark.status.protobuf.PairStrings
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • 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<StoreTypes.PairStrings.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<StoreTypes.PairStrings.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public StoreTypes.PairStrings.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<StoreTypes.PairStrings.Builder>
      Throws:
      IOException
    • hasValue1

      public boolean hasValue1()
      optional string value1 = 1;
      Specified by:
      hasValue1 in interface StoreTypes.PairStringsOrBuilder
      Returns:
      Whether the value1 field is set.
    • getValue1

      public String getValue1()
      optional string value1 = 1;
      Specified by:
      getValue1 in interface StoreTypes.PairStringsOrBuilder
      Returns:
      The value1.
    • getValue1Bytes

      public com.google.protobuf.ByteString getValue1Bytes()
      optional string value1 = 1;
      Specified by:
      getValue1Bytes in interface StoreTypes.PairStringsOrBuilder
      Returns:
      The bytes for value1.
    • setValue1

      public StoreTypes.PairStrings.Builder setValue1(String value)
      optional string value1 = 1;
      Parameters:
      value - The value1 to set.
      Returns:
      This builder for chaining.
    • clearValue1

      public StoreTypes.PairStrings.Builder clearValue1()
      optional string value1 = 1;
      Returns:
      This builder for chaining.
    • setValue1Bytes

      public StoreTypes.PairStrings.Builder setValue1Bytes(com.google.protobuf.ByteString value)
      optional string value1 = 1;
      Parameters:
      value - The bytes for value1 to set.
      Returns:
      This builder for chaining.
    • hasValue2

      public boolean hasValue2()
      optional string value2 = 2;
      Specified by:
      hasValue2 in interface StoreTypes.PairStringsOrBuilder
      Returns:
      Whether the value2 field is set.
    • getValue2

      public String getValue2()
      optional string value2 = 2;
      Specified by:
      getValue2 in interface StoreTypes.PairStringsOrBuilder
      Returns:
      The value2.
    • getValue2Bytes

      public com.google.protobuf.ByteString getValue2Bytes()
      optional string value2 = 2;
      Specified by:
      getValue2Bytes in interface StoreTypes.PairStringsOrBuilder
      Returns:
      The bytes for value2.
    • setValue2

      public StoreTypes.PairStrings.Builder setValue2(String value)
      optional string value2 = 2;
      Parameters:
      value - The value2 to set.
      Returns:
      This builder for chaining.
    • clearValue2

      public StoreTypes.PairStrings.Builder clearValue2()
      optional string value2 = 2;
      Returns:
      This builder for chaining.
    • setValue2Bytes

      public StoreTypes.PairStrings.Builder setValue2Bytes(com.google.protobuf.ByteString value)
      optional string value2 = 2;
      Parameters:
      value - The bytes for value2 to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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