Package org.apache.spark.status.protobuf
Class StoreTypes.ApplicationInfo.Builder
Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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;build()clear()repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;optional int32 cores_granted = 3;optional int32 cores_per_executor = 5;clearId()optional string id = 1;optional int32 max_cores = 4;optional int32 memory_per_executor_mb = 6;optional string name = 2;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;intrepeated .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;intoptional int32 cores_granted = 3;intoptional int32 cores_per_executor = 5;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()optional string id = 1;com.google.protobuf.ByteStringoptional string id = 1;intoptional int32 max_cores = 4;intoptional int32 memory_per_executor_mb = 6;getName()optional string name = 2;com.google.protobuf.ByteStringoptional string name = 2;booleanoptional int32 cores_granted = 3;booleanoptional int32 cores_per_executor = 5;booleanhasId()optional string id = 1;booleanoptional int32 max_cores = 4;booleanoptional int32 memory_per_executor_mb = 6;booleanhasName()optional string name = 2;final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) 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;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, mergeUnknownFields, newBuilderForField, setField, setRepeatedField, setUnknownFieldsMethods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
mergeDelimitedFrom, mergeDelimitedFrom, mergeFromMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.ApplicationInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.ApplicationInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ApplicationInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<StoreTypes.ApplicationInfo.Builder>
-
mergeFrom
public StoreTypes.ApplicationInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StoreTypes.ApplicationInfo.Builder>- Throws:
IOException
-
hasId
public boolean hasId()optional string id = 1;- Specified by:
hasIdin interfaceStoreTypes.ApplicationInfoOrBuilder- Returns:
- Whether the id field is set.
-
getId
optional string id = 1;- Specified by:
getIdin interfaceStoreTypes.ApplicationInfoOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()optional string id = 1;- Specified by:
getIdBytesin 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:
hasNamein interfaceStoreTypes.ApplicationInfoOrBuilder- Returns:
- Whether the name field is set.
-
getName
optional string name = 2;- Specified by:
getNamein interfaceStoreTypes.ApplicationInfoOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()optional string name = 2;- Specified by:
getNameBytesin 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:
hasCoresGrantedin interfaceStoreTypes.ApplicationInfoOrBuilder- Returns:
- Whether the coresGranted field is set.
-
getCoresGranted
public int getCoresGranted()optional int32 cores_granted = 3;- Specified by:
getCoresGrantedin 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:
hasMaxCoresin interfaceStoreTypes.ApplicationInfoOrBuilder- Returns:
- Whether the maxCores field is set.
-
getMaxCores
public int getMaxCores()optional int32 max_cores = 4;- Specified by:
getMaxCoresin 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:
hasCoresPerExecutorin interfaceStoreTypes.ApplicationInfoOrBuilder- Returns:
- Whether the coresPerExecutor field is set.
-
getCoresPerExecutor
public int getCoresPerExecutor()optional int32 cores_per_executor = 5;- Specified by:
getCoresPerExecutorin 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:
hasMemoryPerExecutorMbin interfaceStoreTypes.ApplicationInfoOrBuilder- Returns:
- Whether the memoryPerExecutorMb field is set.
-
getMemoryPerExecutorMb
public int getMemoryPerExecutorMb()optional int32 memory_per_executor_mb = 6;- Specified by:
getMemoryPerExecutorMbin 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:
getAttemptsListin interfaceStoreTypes.ApplicationInfoOrBuilder
-
getAttemptsCount
public int getAttemptsCount()repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;- Specified by:
getAttemptsCountin interfaceStoreTypes.ApplicationInfoOrBuilder
-
getAttempts
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;- Specified by:
getAttemptsin 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:
getAttemptsOrBuilderin interfaceStoreTypes.ApplicationInfoOrBuilder
-
getAttemptsOrBuilderList
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;- Specified by:
getAttemptsOrBuilderListin 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;
-