Package org.apache.spark.status.protobuf
Class StoreTypes.ResourceProfileInfo
Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.spark.status.protobuf.StoreTypes.ResourceProfileInfo
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
,StoreTypes.ResourceProfileInfoOrBuilder
- Enclosing class:
- StoreTypes
public static final class StoreTypes.ResourceProfileInfo
extends com.google.protobuf.GeneratedMessageV3
implements StoreTypes.ResourceProfileInfoOrBuilder
Protobuf type
org.apache.spark.status.protobuf.ResourceProfileInfo
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Protobuf typeorg.apache.spark.status.protobuf.ResourceProfileInfo
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
boolean
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
boolean
static final com.google.protobuf.Descriptors.Descriptor
Deprecated.int
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
getExecutorResourcesOrDefault
(String key, StoreTypes.ExecutorResourceRequest defaultValue) map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
int
getId()
int32 id = 1;
com.google.protobuf.Parser<StoreTypes.ResourceProfileInfo>
int
Deprecated.int
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
getTaskResourcesOrDefault
(String key, StoreTypes.TaskResourceRequest defaultValue) map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
int
hashCode()
final boolean
newBuilder
(StoreTypes.ResourceProfileInfo prototype) parseDelimitedFrom
(InputStream input) parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(byte[] data) parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.ByteString data) parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(com.google.protobuf.CodedInputStream input) parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(InputStream input) parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom
(ByteBuffer data) parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StoreTypes.ResourceProfileInfo>
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:
-
EXECUTOR_RESOURCES_FIELD_NUMBER
public static final int EXECUTOR_RESOURCES_FIELD_NUMBER- See Also:
-
TASK_RESOURCES_FIELD_NUMBER
public static final int TASK_RESOURCES_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
getId
public int getId()int32 id = 1;
- Specified by:
getId
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
- Returns:
- The id.
-
getExecutorResourcesCount
public int getExecutorResourcesCount()Description copied from interface:StoreTypes.ResourceProfileInfoOrBuilder
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
- Specified by:
getExecutorResourcesCount
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
containsExecutorResources
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
- Specified by:
containsExecutorResources
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
getExecutorResources
Deprecated.UsegetExecutorResourcesMap()
instead.- Specified by:
getExecutorResources
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
getExecutorResourcesMap
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
- Specified by:
getExecutorResourcesMap
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
getExecutorResourcesOrDefault
public StoreTypes.ExecutorResourceRequest getExecutorResourcesOrDefault(String key, StoreTypes.ExecutorResourceRequest defaultValue) map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
- Specified by:
getExecutorResourcesOrDefault
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
getExecutorResourcesOrThrow
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
- Specified by:
getExecutorResourcesOrThrow
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
getTaskResourcesCount
public int getTaskResourcesCount()Description copied from interface:StoreTypes.ResourceProfileInfoOrBuilder
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
- Specified by:
getTaskResourcesCount
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
containsTaskResources
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
- Specified by:
containsTaskResources
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
getTaskResources
Deprecated.UsegetTaskResourcesMap()
instead.- Specified by:
getTaskResources
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
getTaskResourcesMap
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
- Specified by:
getTaskResourcesMap
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
getTaskResourcesOrDefault
public StoreTypes.TaskResourceRequest getTaskResourcesOrDefault(String key, StoreTypes.TaskResourceRequest defaultValue) map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
- Specified by:
getTaskResourcesOrDefault
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
getTaskResourcesOrThrow
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
- Specified by:
getTaskResourcesOrThrow
in interfaceStoreTypes.ResourceProfileInfoOrBuilder
-
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.ResourceProfileInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.ResourceProfileInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.ResourceProfileInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.ResourceProfileInfo 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.ResourceProfileInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StoreTypes.ResourceProfileInfo 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.ResourceProfileInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static StoreTypes.ResourceProfileInfo parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static StoreTypes.ResourceProfileInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StoreTypes.ResourceProfileInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StoreTypes.ResourceProfileInfo 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
public static StoreTypes.ResourceProfileInfo.Builder newBuilder(StoreTypes.ResourceProfileInfo prototype) -
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
-