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; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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, hasField, hasOneof
findInitializationErrors, getInitializationErrorString, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int ID_FIELD_NUMBER
public static final int EXECUTOR_RESOURCES_FIELD_NUMBER
public static final int TASK_RESOURCES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public int getId()
int32 id = 1;
getId
in interface StoreTypes.ResourceProfileInfoOrBuilder
public int getExecutorResourcesCount()
StoreTypes.ResourceProfileInfoOrBuilder
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
getExecutorResourcesCount
in interface StoreTypes.ResourceProfileInfoOrBuilder
public 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.ResourceProfileInfoOrBuilder
public java.util.Map<String,StoreTypes.ExecutorResourceRequest> getExecutorResourcesMap()
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
getExecutorResourcesMap
in interface StoreTypes.ResourceProfileInfoOrBuilder
public StoreTypes.ExecutorResourceRequest getExecutorResourcesOrDefault(String key, StoreTypes.ExecutorResourceRequest defaultValue)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
getExecutorResourcesOrDefault
in interface StoreTypes.ResourceProfileInfoOrBuilder
public StoreTypes.ExecutorResourceRequest getExecutorResourcesOrThrow(String key)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
getExecutorResourcesOrThrow
in interface StoreTypes.ResourceProfileInfoOrBuilder
public int getTaskResourcesCount()
StoreTypes.ResourceProfileInfoOrBuilder
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
getTaskResourcesCount
in interface StoreTypes.ResourceProfileInfoOrBuilder
public 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.ResourceProfileInfoOrBuilder
public java.util.Map<String,StoreTypes.TaskResourceRequest> getTaskResourcesMap()
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
getTaskResourcesMap
in interface StoreTypes.ResourceProfileInfoOrBuilder
public StoreTypes.TaskResourceRequest getTaskResourcesOrDefault(String key, StoreTypes.TaskResourceRequest defaultValue)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
getTaskResourcesOrDefault
in interface StoreTypes.ResourceProfileInfoOrBuilder
public StoreTypes.TaskResourceRequest getTaskResourcesOrThrow(String key)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
getTaskResourcesOrThrow
in interface StoreTypes.ResourceProfileInfoOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static StoreTypes.ResourceProfileInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.ResourceProfileInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.ResourceProfileInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.ResourceProfileInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.ResourceProfileInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.ResourceProfileInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static StoreTypes.ResourceProfileInfo parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StoreTypes.ResourceProfileInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StoreTypes.ResourceProfileInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static StoreTypes.ResourceProfileInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static StoreTypes.ResourceProfileInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static StoreTypes.ResourceProfileInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public StoreTypes.ResourceProfileInfo.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public StoreTypes.ResourceProfileInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder