Package org.apache.spark.status.protobuf
Class StoreTypes.ApplicationInfo.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationInfo.Builder>
org.apache.spark.status.protobuf.StoreTypes.ApplicationInfo.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,StoreTypes.ApplicationInfoOrBuilder
- Enclosing class:
- StoreTypes.ApplicationInfo
public static final class StoreTypes.ApplicationInfo.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationInfo.Builder>
implements StoreTypes.ApplicationInfoOrBuilder
Protobuf type
org.apache.spark.status.protobuf.ApplicationInfo
-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttempts
(Iterable<? extends StoreTypes.ApplicationAttemptInfo> values) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
addAttempts
(int index, StoreTypes.ApplicationAttemptInfo value) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
addAttempts
(int index, StoreTypes.ApplicationAttemptInfo.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
addAttempts
(StoreTypes.ApplicationAttemptInfo.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
addAttemptsBuilder
(int index) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
optional int32 cores_granted = 3;
optional int32 cores_per_executor = 5;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
optional string id = 1;
optional int32 max_cores = 4;
optional int32 memory_per_executor_mb = 6;
optional string name = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
getAttempts
(int index) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
getAttemptsBuilder
(int index) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
int
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
getAttemptsOrBuilder
(int index) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
List<? extends StoreTypes.ApplicationAttemptInfoOrBuilder>
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
int
optional int32 cores_granted = 3;
int
optional int32 cores_per_executor = 5;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getId()
optional string id = 1;
com.google.protobuf.ByteString
optional string id = 1;
int
optional int32 max_cores = 4;
int
optional int32 memory_per_executor_mb = 6;
getName()
optional string name = 2;
com.google.protobuf.ByteString
optional string name = 2;
boolean
optional int32 cores_granted = 3;
boolean
optional int32 cores_per_executor = 5;
boolean
hasId()
optional string id = 1;
boolean
optional int32 max_cores = 4;
boolean
optional int32 memory_per_executor_mb = 6;
boolean
hasName()
optional string name = 2;
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeAttempts
(int index) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
setAttempts
(int index, StoreTypes.ApplicationAttemptInfo value) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
setAttempts
(int index, StoreTypes.ApplicationAttemptInfo.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
setCoresGranted
(int value) optional int32 cores_granted = 3;
setCoresPerExecutor
(int value) optional int32 cores_per_executor = 5;
optional string id = 1;
setIdBytes
(com.google.protobuf.ByteString value) optional string id = 1;
setMaxCores
(int value) optional int32 max_cores = 4;
setMemoryPerExecutorMb
(int value) optional int32 memory_per_executor_mb = 6;
optional string name = 2;
setNameBytes
(com.google.protobuf.ByteString value) optional string name = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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.ApplicationInfo.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.ApplicationInfo.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.ApplicationInfo.Builder>
-
setField
public StoreTypes.ApplicationInfo.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.ApplicationInfo.Builder>
-
clearField
public StoreTypes.ApplicationInfo.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.ApplicationInfo.Builder>
-
clearOneof
public StoreTypes.ApplicationInfo.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.ApplicationInfo.Builder>
-
setRepeatedField
public StoreTypes.ApplicationInfo.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.ApplicationInfo.Builder>
-
addRepeatedField
public StoreTypes.ApplicationInfo.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.ApplicationInfo.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ApplicationInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ApplicationInfo.Builder>
-
mergeFrom
public StoreTypes.ApplicationInfo.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.ApplicationInfo.Builder>
- Throws:
IOException
-
hasId
public boolean hasId()optional string id = 1;
- Specified by:
hasId
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- Whether the id field is set.
-
getId
optional string id = 1;
- Specified by:
getId
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()optional string id = 1;
- Specified by:
getIdBytes
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- The bytes for id.
-
setId
optional string id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
optional string id = 1;
- Returns:
- This builder for chaining.
-
setIdBytes
optional string id = 1;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()optional string name = 2;
- Specified by:
hasName
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;
- Specified by:
getName
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;
- Specified by:
getNameBytes
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- The bytes for name.
-
setName
optional string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
optional string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
optional string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCoresGranted
public boolean hasCoresGranted()optional int32 cores_granted = 3;
- Specified by:
hasCoresGranted
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- Whether the coresGranted field is set.
-
getCoresGranted
public int getCoresGranted()optional int32 cores_granted = 3;
- Specified by:
getCoresGranted
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- The coresGranted.
-
setCoresGranted
optional int32 cores_granted = 3;
- Parameters:
value
- The coresGranted to set.- Returns:
- This builder for chaining.
-
clearCoresGranted
optional int32 cores_granted = 3;
- Returns:
- This builder for chaining.
-
hasMaxCores
public boolean hasMaxCores()optional int32 max_cores = 4;
- Specified by:
hasMaxCores
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- Whether the maxCores field is set.
-
getMaxCores
public int getMaxCores()optional int32 max_cores = 4;
- Specified by:
getMaxCores
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- The maxCores.
-
setMaxCores
optional int32 max_cores = 4;
- Parameters:
value
- The maxCores to set.- Returns:
- This builder for chaining.
-
clearMaxCores
optional int32 max_cores = 4;
- Returns:
- This builder for chaining.
-
hasCoresPerExecutor
public boolean hasCoresPerExecutor()optional int32 cores_per_executor = 5;
- Specified by:
hasCoresPerExecutor
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- Whether the coresPerExecutor field is set.
-
getCoresPerExecutor
public int getCoresPerExecutor()optional int32 cores_per_executor = 5;
- Specified by:
getCoresPerExecutor
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- The coresPerExecutor.
-
setCoresPerExecutor
optional int32 cores_per_executor = 5;
- Parameters:
value
- The coresPerExecutor to set.- Returns:
- This builder for chaining.
-
clearCoresPerExecutor
optional int32 cores_per_executor = 5;
- Returns:
- This builder for chaining.
-
hasMemoryPerExecutorMb
public boolean hasMemoryPerExecutorMb()optional int32 memory_per_executor_mb = 6;
- Specified by:
hasMemoryPerExecutorMb
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- Whether the memoryPerExecutorMb field is set.
-
getMemoryPerExecutorMb
public int getMemoryPerExecutorMb()optional int32 memory_per_executor_mb = 6;
- Specified by:
getMemoryPerExecutorMb
in interfaceStoreTypes.ApplicationInfoOrBuilder
- Returns:
- The memoryPerExecutorMb.
-
setMemoryPerExecutorMb
optional int32 memory_per_executor_mb = 6;
- Parameters:
value
- The memoryPerExecutorMb to set.- Returns:
- This builder for chaining.
-
clearMemoryPerExecutorMb
optional int32 memory_per_executor_mb = 6;
- Returns:
- This builder for chaining.
-
getAttemptsList
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
- Specified by:
getAttemptsList
in interfaceStoreTypes.ApplicationInfoOrBuilder
-
getAttemptsCount
public int getAttemptsCount()repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
- Specified by:
getAttemptsCount
in interfaceStoreTypes.ApplicationInfoOrBuilder
-
getAttempts
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
- Specified by:
getAttempts
in interfaceStoreTypes.ApplicationInfoOrBuilder
-
setAttempts
public StoreTypes.ApplicationInfo.Builder setAttempts(int index, StoreTypes.ApplicationAttemptInfo value) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
setAttempts
public StoreTypes.ApplicationInfo.Builder setAttempts(int index, StoreTypes.ApplicationAttemptInfo.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
addAttempts
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
addAttempts
public StoreTypes.ApplicationInfo.Builder addAttempts(int index, StoreTypes.ApplicationAttemptInfo value) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
addAttempts
public StoreTypes.ApplicationInfo.Builder addAttempts(StoreTypes.ApplicationAttemptInfo.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
addAttempts
public StoreTypes.ApplicationInfo.Builder addAttempts(int index, StoreTypes.ApplicationAttemptInfo.Builder builderForValue) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
addAllAttempts
public StoreTypes.ApplicationInfo.Builder addAllAttempts(Iterable<? extends StoreTypes.ApplicationAttemptInfo> values) repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
clearAttempts
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
removeAttempts
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
getAttemptsBuilder
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
getAttemptsOrBuilder
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
- Specified by:
getAttemptsOrBuilder
in interfaceStoreTypes.ApplicationInfoOrBuilder
-
getAttemptsOrBuilderList
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
- Specified by:
getAttemptsOrBuilderList
in interfaceStoreTypes.ApplicationInfoOrBuilder
-
addAttemptsBuilder
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
addAttemptsBuilder
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
getAttemptsBuilderList
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
-
setUnknownFields
public final StoreTypes.ApplicationInfo.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.ApplicationInfo.Builder>
-
mergeUnknownFields
public final StoreTypes.ApplicationInfo.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.ApplicationInfo.Builder>
-