Package org.apache.spark.status.protobuf
Interface StoreTypes.ResourceProfileInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StoreTypes.ResourceProfileInfo
,StoreTypes.ResourceProfileInfo.Builder
- Enclosing class:
- StoreTypes
public static interface StoreTypes.ResourceProfileInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
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;
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;
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;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
int getId()int32 id = 1;
- Returns:
- The id.
-
getExecutorResourcesCount
int getExecutorResourcesCount()map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
-
containsExecutorResources
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
-
getExecutorResources
Deprecated.UsegetExecutorResourcesMap()
instead. -
getExecutorResourcesMap
Map<String,StoreTypes.ExecutorResourceRequest> getExecutorResourcesMap()map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
-
getExecutorResourcesOrDefault
StoreTypes.ExecutorResourceRequest getExecutorResourcesOrDefault(String key, StoreTypes.ExecutorResourceRequest defaultValue) map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
-
getExecutorResourcesOrThrow
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
-
getTaskResourcesCount
int getTaskResourcesCount()map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
-
containsTaskResources
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
-
getTaskResources
Deprecated.UsegetTaskResourcesMap()
instead. -
getTaskResourcesMap
Map<String,StoreTypes.TaskResourceRequest> getTaskResourcesMap()map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
-
getTaskResourcesOrDefault
StoreTypes.TaskResourceRequest getTaskResourcesOrDefault(String key, StoreTypes.TaskResourceRequest defaultValue) map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
-
getTaskResourcesOrThrow
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
-