Package org.apache.spark.status.protobuf
Class StoreTypes.ApplicationInfo
Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
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.GeneratedMessageV3
implements StoreTypes.ApplicationInfoOrBuilder
Protobuf type
org.apache.spark.status.protobuf.ApplicationInfo
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeorg.apache.spark.status.protobuf.ApplicationInfo
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,
BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getAttempts
(int index) 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 StoreTypes.ApplicationInfo
static final 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;
com.google.protobuf.Parser<StoreTypes.ApplicationInfo>
int
boolean
optional int32 cores_granted = 3;
boolean
optional int32 cores_per_executor = 5;
int
hashCode()
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
newBuilder
(StoreTypes.ApplicationInfo prototype) static StoreTypes.ApplicationInfo
parseDelimitedFrom
(InputStream input) static StoreTypes.ApplicationInfo
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.ApplicationInfo
parseFrom
(byte[] data) static StoreTypes.ApplicationInfo
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.ApplicationInfo
parseFrom
(com.google.protobuf.ByteString data) static StoreTypes.ApplicationInfo
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.ApplicationInfo
parseFrom
(com.google.protobuf.CodedInputStream input) static StoreTypes.ApplicationInfo
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.ApplicationInfo
parseFrom
(InputStream input) static StoreTypes.ApplicationInfo
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StoreTypes.ApplicationInfo
parseFrom
(ByteBuffer data) static StoreTypes.ApplicationInfo
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoreTypes.ApplicationInfo>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods 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:
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getAttemptsList
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
- Specified by:
getAttemptsList
in interfaceStoreTypes.ApplicationInfoOrBuilder
-
getAttemptsOrBuilderList
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
- Specified by:
getAttemptsOrBuilderList
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
-
getAttemptsOrBuilder
repeated .org.apache.spark.status.protobuf.ApplicationAttemptInfo attempts = 7;
- Specified by:
getAttemptsOrBuilder
in interfaceStoreTypes.ApplicationInfoOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-