Class StoreTypes.RuntimeInfo.Builder

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

public static final class StoreTypes.RuntimeInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RuntimeInfo.Builder> implements StoreTypes.RuntimeInfoOrBuilder
Protobuf type org.apache.spark.status.protobuf.RuntimeInfo
  • 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.RuntimeInfo.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.RuntimeInfo.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

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

      public boolean hasJavaVersion()
      optional string java_version = 1;
      Specified by:
      hasJavaVersion in interface StoreTypes.RuntimeInfoOrBuilder
      Returns:
      Whether the javaVersion field is set.
    • getJavaVersion

      public String getJavaVersion()
      optional string java_version = 1;
      Specified by:
      getJavaVersion in interface StoreTypes.RuntimeInfoOrBuilder
      Returns:
      The javaVersion.
    • getJavaVersionBytes

      public com.google.protobuf.ByteString getJavaVersionBytes()
      optional string java_version = 1;
      Specified by:
      getJavaVersionBytes in interface StoreTypes.RuntimeInfoOrBuilder
      Returns:
      The bytes for javaVersion.
    • setJavaVersion

      public StoreTypes.RuntimeInfo.Builder setJavaVersion(String value)
      optional string java_version = 1;
      Parameters:
      value - The javaVersion to set.
      Returns:
      This builder for chaining.
    • clearJavaVersion

      public StoreTypes.RuntimeInfo.Builder clearJavaVersion()
      optional string java_version = 1;
      Returns:
      This builder for chaining.
    • setJavaVersionBytes

      public StoreTypes.RuntimeInfo.Builder setJavaVersionBytes(com.google.protobuf.ByteString value)
      optional string java_version = 1;
      Parameters:
      value - The bytes for javaVersion to set.
      Returns:
      This builder for chaining.
    • hasJavaHome

      public boolean hasJavaHome()
      optional string java_home = 2;
      Specified by:
      hasJavaHome in interface StoreTypes.RuntimeInfoOrBuilder
      Returns:
      Whether the javaHome field is set.
    • getJavaHome

      public String getJavaHome()
      optional string java_home = 2;
      Specified by:
      getJavaHome in interface StoreTypes.RuntimeInfoOrBuilder
      Returns:
      The javaHome.
    • getJavaHomeBytes

      public com.google.protobuf.ByteString getJavaHomeBytes()
      optional string java_home = 2;
      Specified by:
      getJavaHomeBytes in interface StoreTypes.RuntimeInfoOrBuilder
      Returns:
      The bytes for javaHome.
    • setJavaHome

      public StoreTypes.RuntimeInfo.Builder setJavaHome(String value)
      optional string java_home = 2;
      Parameters:
      value - The javaHome to set.
      Returns:
      This builder for chaining.
    • clearJavaHome

      public StoreTypes.RuntimeInfo.Builder clearJavaHome()
      optional string java_home = 2;
      Returns:
      This builder for chaining.
    • setJavaHomeBytes

      public StoreTypes.RuntimeInfo.Builder setJavaHomeBytes(com.google.protobuf.ByteString value)
      optional string java_home = 2;
      Parameters:
      value - The bytes for javaHome to set.
      Returns:
      This builder for chaining.
    • hasScalaVersion

      public boolean hasScalaVersion()
      optional string scala_version = 3;
      Specified by:
      hasScalaVersion in interface StoreTypes.RuntimeInfoOrBuilder
      Returns:
      Whether the scalaVersion field is set.
    • getScalaVersion

      public String getScalaVersion()
      optional string scala_version = 3;
      Specified by:
      getScalaVersion in interface StoreTypes.RuntimeInfoOrBuilder
      Returns:
      The scalaVersion.
    • getScalaVersionBytes

      public com.google.protobuf.ByteString getScalaVersionBytes()
      optional string scala_version = 3;
      Specified by:
      getScalaVersionBytes in interface StoreTypes.RuntimeInfoOrBuilder
      Returns:
      The bytes for scalaVersion.
    • setScalaVersion

      public StoreTypes.RuntimeInfo.Builder setScalaVersion(String value)
      optional string scala_version = 3;
      Parameters:
      value - The scalaVersion to set.
      Returns:
      This builder for chaining.
    • clearScalaVersion

      public StoreTypes.RuntimeInfo.Builder clearScalaVersion()
      optional string scala_version = 3;
      Returns:
      This builder for chaining.
    • setScalaVersionBytes

      public StoreTypes.RuntimeInfo.Builder setScalaVersionBytes(com.google.protobuf.ByteString value)
      optional string scala_version = 3;
      Parameters:
      value - The bytes for scalaVersion to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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