public static final class StoreTypes.ResourceProfileInfo extends com.google.protobuf.GeneratedMessageV3 implements StoreTypes.ResourceProfileInfoOrBuilder
org.apache.spark.status.protobuf.ResourceProfileInfo| Modifier and Type | Class and Description |
|---|---|
static class |
StoreTypes.ResourceProfileInfo.Builder
Protobuf type
org.apache.spark.status.protobuf.ResourceProfileInfo |
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| Modifier and Type | Field and Description |
|---|---|
static int |
EXECUTOR_RESOURCES_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
TASK_RESOURCES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsExecutorResources(String key)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2; |
boolean |
containsTaskResources(String key)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3; |
boolean |
equals(Object obj) |
static StoreTypes.ResourceProfileInfo |
getDefaultInstance() |
StoreTypes.ResourceProfileInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.util.Map<String,StoreTypes.ExecutorResourceRequest> |
getExecutorResources()
Deprecated.
|
int |
getExecutorResourcesCount()
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2; |
java.util.Map<String,StoreTypes.ExecutorResourceRequest> |
getExecutorResourcesMap()
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2; |
StoreTypes.ExecutorResourceRequest |
getExecutorResourcesOrDefault(String key,
StoreTypes.ExecutorResourceRequest defaultValue)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2; |
StoreTypes.ExecutorResourceRequest |
getExecutorResourcesOrThrow(String key)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2; |
int |
getId()
int32 id = 1; |
com.google.protobuf.Parser<StoreTypes.ResourceProfileInfo> |
getParserForType() |
int |
getSerializedSize() |
java.util.Map<String,StoreTypes.TaskResourceRequest> |
getTaskResources()
Deprecated.
|
int |
getTaskResourcesCount()
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3; |
java.util.Map<String,StoreTypes.TaskResourceRequest> |
getTaskResourcesMap()
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3; |
StoreTypes.TaskResourceRequest |
getTaskResourcesOrDefault(String key,
StoreTypes.TaskResourceRequest defaultValue)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3; |
StoreTypes.TaskResourceRequest |
getTaskResourcesOrThrow(String key)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3; |
int |
hashCode() |
boolean |
isInitialized() |
static StoreTypes.ResourceProfileInfo.Builder |
newBuilder() |
static StoreTypes.ResourceProfileInfo.Builder |
newBuilder(StoreTypes.ResourceProfileInfo prototype) |
StoreTypes.ResourceProfileInfo.Builder |
newBuilderForType() |
static StoreTypes.ResourceProfileInfo |
parseDelimitedFrom(java.io.InputStream input) |
static StoreTypes.ResourceProfileInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoreTypes.ResourceProfileInfo |
parseFrom(byte[] data) |
static StoreTypes.ResourceProfileInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoreTypes.ResourceProfileInfo |
parseFrom(java.nio.ByteBuffer data) |
static StoreTypes.ResourceProfileInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoreTypes.ResourceProfileInfo |
parseFrom(com.google.protobuf.ByteString data) |
static StoreTypes.ResourceProfileInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoreTypes.ResourceProfileInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static StoreTypes.ResourceProfileInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static StoreTypes.ResourceProfileInfo |
parseFrom(java.io.InputStream input) |
static StoreTypes.ResourceProfileInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<StoreTypes.ResourceProfileInfo> |
parser() |
StoreTypes.ResourceProfileInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneoffindInitializationErrors, getInitializationErrorString, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int ID_FIELD_NUMBER
public static final int EXECUTOR_RESOURCES_FIELD_NUMBER
public static final int TASK_RESOURCES_FIELD_NUMBER
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public int getId()
int32 id = 1;getId in interface StoreTypes.ResourceProfileInfoOrBuilderpublic int getExecutorResourcesCount()
StoreTypes.ResourceProfileInfoOrBuildermap<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;getExecutorResourcesCount in interface StoreTypes.ResourceProfileInfoOrBuilderpublic boolean containsExecutorResources(String key)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;containsExecutorResources in interface StoreTypes.ResourceProfileInfoOrBuilder@Deprecated public java.util.Map<String,StoreTypes.ExecutorResourceRequest> getExecutorResources()
getExecutorResourcesMap() instead.getExecutorResources in interface StoreTypes.ResourceProfileInfoOrBuilderpublic java.util.Map<String,StoreTypes.ExecutorResourceRequest> getExecutorResourcesMap()
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;getExecutorResourcesMap in interface StoreTypes.ResourceProfileInfoOrBuilderpublic StoreTypes.ExecutorResourceRequest getExecutorResourcesOrDefault(String key, StoreTypes.ExecutorResourceRequest defaultValue)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;getExecutorResourcesOrDefault in interface StoreTypes.ResourceProfileInfoOrBuilderpublic StoreTypes.ExecutorResourceRequest getExecutorResourcesOrThrow(String key)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;getExecutorResourcesOrThrow in interface StoreTypes.ResourceProfileInfoOrBuilderpublic int getTaskResourcesCount()
StoreTypes.ResourceProfileInfoOrBuildermap<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;getTaskResourcesCount in interface StoreTypes.ResourceProfileInfoOrBuilderpublic boolean containsTaskResources(String key)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;containsTaskResources in interface StoreTypes.ResourceProfileInfoOrBuilder@Deprecated public java.util.Map<String,StoreTypes.TaskResourceRequest> getTaskResources()
getTaskResourcesMap() instead.getTaskResources in interface StoreTypes.ResourceProfileInfoOrBuilderpublic java.util.Map<String,StoreTypes.TaskResourceRequest> getTaskResourcesMap()
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;getTaskResourcesMap in interface StoreTypes.ResourceProfileInfoOrBuilderpublic StoreTypes.TaskResourceRequest getTaskResourcesOrDefault(String key, StoreTypes.TaskResourceRequest defaultValue)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;getTaskResourcesOrDefault in interface StoreTypes.ResourceProfileInfoOrBuilderpublic StoreTypes.TaskResourceRequest getTaskResourcesOrThrow(String key)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;getTaskResourcesOrThrow in interface StoreTypes.ResourceProfileInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static StoreTypes.ResourceProfileInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoreTypes.ResourceProfileInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoreTypes.ResourceProfileInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoreTypes.ResourceProfileInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoreTypes.ResourceProfileInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoreTypes.ResourceProfileInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static StoreTypes.ResourceProfileInfo parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static StoreTypes.ResourceProfileInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static StoreTypes.ResourceProfileInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static StoreTypes.ResourceProfileInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static StoreTypes.ResourceProfileInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static StoreTypes.ResourceProfileInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic StoreTypes.ResourceProfileInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static StoreTypes.ResourceProfileInfo.Builder newBuilder()
public static StoreTypes.ResourceProfileInfo.Builder newBuilder(StoreTypes.ResourceProfileInfo prototype)
public StoreTypes.ResourceProfileInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLitepublic static StoreTypes.ResourceProfileInfo getDefaultInstance()
public static com.google.protobuf.Parser<StoreTypes.ResourceProfileInfo> parser()
public com.google.protobuf.Parser<StoreTypes.ResourceProfileInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public StoreTypes.ResourceProfileInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder