Package org.apache.spark.status.protobuf
Class StoreTypes.ApplicationInfo
Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
org.apache.spark.status.protobuf.StoreTypes.ApplicationInfo
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,StoreTypes.ApplicationInfoOrBuilder
- Enclosing class:
- StoreTypes
public static final class StoreTypes.ApplicationInfo
extends com.google.protobuf.GeneratedMessage
implements StoreTypes.ApplicationInfoOrBuilder
Protobuf type
org.apache.spark.status.protobuf.ApplicationInfo- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeorg.apache.spark.status.protobuf.ApplicationInfoNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttempts(int index) 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 StoreTypes.ApplicationInfostatic final com.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;com.google.protobuf.Parser<StoreTypes.ApplicationInfo>intbooleanoptional int32 cores_granted = 3;booleanoptional int32 cores_per_executor = 5;inthashCode()booleanhasId()optional string id = 1;booleanoptional int32 max_cores = 4;booleanoptional int32 memory_per_executor_mb = 6;booleanhasName()optional string name = 2;final booleannewBuilder(StoreTypes.ApplicationInfo prototype) static StoreTypes.ApplicationInfoparseDelimitedFrom(InputStream input) static StoreTypes.ApplicationInfoparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.ApplicationInfoparseFrom(byte[] data) static StoreTypes.ApplicationInfoparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.ApplicationInfoparseFrom(com.google.protobuf.ByteString data) static StoreTypes.ApplicationInfoparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.ApplicationInfoparseFrom(com.google.protobuf.CodedInputStream input) static StoreTypes.ApplicationInfoparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.ApplicationInfoparseFrom(InputStream input) static StoreTypes.ApplicationInfoparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.ApplicationInfoparseFrom(ByteBuffer data) static StoreTypes.ApplicationInfoparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoreTypes.ApplicationInfo>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
CORES_GRANTED_FIELD_NUMBER
public static final int CORES_GRANTED_FIELD_NUMBER- See Also:
-
MAX_CORES_FIELD_NUMBER
public static final int MAX_CORES_FIELD_NUMBER- See Also:
-
CORES_PER_EXECUTOR_FIELD_NUMBER
public static final int CORES_PER_EXECUTOR_FIELD_NUMBER- See Also:
-
MEMORY_PER_EXECUTOR_MB_FIELD_NUMBER
public static final int MEMORY_PER_EXECUTOR_MB_FIELD_NUMBER- See Also:
-
ATTEMPTS_FIELD_NUMBER
public static final int ATTEMPTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getAttemptsList
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;- Specified by:
getAttemptsListin interfaceStoreTypes.ApplicationInfoOrBuilder
-
getAttemptsOrBuilderList
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;- Specified by:
getAttemptsOrBuilderListin 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
-
getAttemptsOrBuilder
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;- Specified by:
getAttemptsOrBuilderin interfaceStoreTypes.ApplicationInfoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StoreTypes.ApplicationInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.ApplicationInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.ApplicationInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.ApplicationInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.ApplicationInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.ApplicationInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StoreTypes.ApplicationInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StoreTypes.ApplicationInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StoreTypes.ApplicationInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StoreTypes.ApplicationInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-