Package org.apache.spark.status.protobuf
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional string java_home = 2;
optional string java_version = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional string scala_version = 3;
clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional string java_home = 2;
com.google.protobuf.ByteString
optional string java_home = 2;
optional string java_version = 1;
com.google.protobuf.ByteString
optional string java_version = 1;
optional string scala_version = 3;
com.google.protobuf.ByteString
optional string scala_version = 3;
boolean
optional string java_home = 2;
boolean
optional string java_version = 1;
boolean
optional string scala_version = 3;
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(StoreTypes.RuntimeInfo other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setJavaHome
(String value) optional string java_home = 2;
setJavaHomeBytes
(com.google.protobuf.ByteString value) optional string java_home = 2;
setJavaVersion
(String value) optional string java_version = 1;
setJavaVersionBytes
(com.google.protobuf.ByteString value) optional string java_version = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setScalaVersion
(String value) optional string scala_version = 3;
setScalaVersionBytes
(com.google.protobuf.ByteString value) optional string scala_version = 3;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeFrom
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RuntimeInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RuntimeInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RuntimeInfo.Builder>
-
clearField
public StoreTypes.RuntimeInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RuntimeInfo.Builder>
-
clearOneof
public StoreTypes.RuntimeInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RuntimeInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.RuntimeInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.RuntimeInfo.Builder>
- Throws:
IOException
-
hasJavaVersion
public boolean hasJavaVersion()optional string java_version = 1;
- Specified by:
hasJavaVersion
in interfaceStoreTypes.RuntimeInfoOrBuilder
- Returns:
- Whether the javaVersion field is set.
-
getJavaVersion
optional string java_version = 1;
- Specified by:
getJavaVersion
in interfaceStoreTypes.RuntimeInfoOrBuilder
- Returns:
- The javaVersion.
-
getJavaVersionBytes
public com.google.protobuf.ByteString getJavaVersionBytes()optional string java_version = 1;
- Specified by:
getJavaVersionBytes
in interfaceStoreTypes.RuntimeInfoOrBuilder
- Returns:
- The bytes for javaVersion.
-
setJavaVersion
optional string java_version = 1;
- Parameters:
value
- The javaVersion to set.- Returns:
- This builder for chaining.
-
clearJavaVersion
optional string java_version = 1;
- Returns:
- This builder for chaining.
-
setJavaVersionBytes
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 interfaceStoreTypes.RuntimeInfoOrBuilder
- Returns:
- Whether the javaHome field is set.
-
getJavaHome
optional string java_home = 2;
- Specified by:
getJavaHome
in interfaceStoreTypes.RuntimeInfoOrBuilder
- Returns:
- The javaHome.
-
getJavaHomeBytes
public com.google.protobuf.ByteString getJavaHomeBytes()optional string java_home = 2;
- Specified by:
getJavaHomeBytes
in interfaceStoreTypes.RuntimeInfoOrBuilder
- Returns:
- The bytes for javaHome.
-
setJavaHome
optional string java_home = 2;
- Parameters:
value
- The javaHome to set.- Returns:
- This builder for chaining.
-
clearJavaHome
optional string java_home = 2;
- Returns:
- This builder for chaining.
-
setJavaHomeBytes
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 interfaceStoreTypes.RuntimeInfoOrBuilder
- Returns:
- Whether the scalaVersion field is set.
-
getScalaVersion
optional string scala_version = 3;
- Specified by:
getScalaVersion
in interfaceStoreTypes.RuntimeInfoOrBuilder
- Returns:
- The scalaVersion.
-
getScalaVersionBytes
public com.google.protobuf.ByteString getScalaVersionBytes()optional string scala_version = 3;
- Specified by:
getScalaVersionBytes
in interfaceStoreTypes.RuntimeInfoOrBuilder
- Returns:
- The bytes for scalaVersion.
-
setScalaVersion
optional string scala_version = 3;
- Parameters:
value
- The scalaVersion to set.- Returns:
- This builder for chaining.
-
clearScalaVersion
optional string scala_version = 3;
- Returns:
- This builder for chaining.
-
setScalaVersionBytes
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RuntimeInfo.Builder>
-
mergeUnknownFields
public final StoreTypes.RuntimeInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.RuntimeInfo.Builder>
-