public static final class StoreTypes.ResourceProfileInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder> implements StoreTypes.ResourceProfileInfoOrBuilder
org.apache.spark.status.protobuf.ResourceProfileInfo
Modifier and Type | Method and Description |
---|---|
StoreTypes.ResourceProfileInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.ResourceProfileInfo |
build() |
StoreTypes.ResourceProfileInfo |
buildPartial() |
StoreTypes.ResourceProfileInfo.Builder |
clear() |
StoreTypes.ResourceProfileInfo.Builder |
clearExecutorResources() |
StoreTypes.ResourceProfileInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoreTypes.ResourceProfileInfo.Builder |
clearId()
int32 id = 1; |
StoreTypes.ResourceProfileInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoreTypes.ResourceProfileInfo.Builder |
clearTaskResources() |
StoreTypes.ResourceProfileInfo.Builder |
clone() |
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; |
StoreTypes.ResourceProfileInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
java.util.Map<String,StoreTypes.ExecutorResourceRequest> |
getMutableExecutorResources()
Deprecated.
|
java.util.Map<String,StoreTypes.TaskResourceRequest> |
getMutableTaskResources()
Deprecated.
|
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; |
boolean |
isInitialized() |
StoreTypes.ResourceProfileInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoreTypes.ResourceProfileInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoreTypes.ResourceProfileInfo.Builder |
mergeFrom(StoreTypes.ResourceProfileInfo other) |
StoreTypes.ResourceProfileInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.ResourceProfileInfo.Builder |
putAllExecutorResources(java.util.Map<String,StoreTypes.ExecutorResourceRequest> values)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2; |
StoreTypes.ResourceProfileInfo.Builder |
putAllTaskResources(java.util.Map<String,StoreTypes.TaskResourceRequest> values)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3; |
StoreTypes.ResourceProfileInfo.Builder |
putExecutorResources(String key,
StoreTypes.ExecutorResourceRequest value)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2; |
StoreTypes.ResourceProfileInfo.Builder |
putTaskResources(String key,
StoreTypes.TaskResourceRequest value)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3; |
StoreTypes.ResourceProfileInfo.Builder |
removeExecutorResources(String key)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2; |
StoreTypes.ResourceProfileInfo.Builder |
removeTaskResources(String key)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3; |
StoreTypes.ResourceProfileInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.ResourceProfileInfo.Builder |
setId(int value)
int32 id = 1; |
StoreTypes.ResourceProfileInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoreTypes.ResourceProfileInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public StoreTypes.ResourceProfileInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>
public StoreTypes.ResourceProfileInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StoreTypes.ResourceProfileInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.ResourceProfileInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.ResourceProfileInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>
public StoreTypes.ResourceProfileInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>
public StoreTypes.ResourceProfileInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>
public StoreTypes.ResourceProfileInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>
public StoreTypes.ResourceProfileInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>
public StoreTypes.ResourceProfileInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>
public StoreTypes.ResourceProfileInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.ResourceProfileInfo.Builder>
public StoreTypes.ResourceProfileInfo.Builder mergeFrom(StoreTypes.ResourceProfileInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>
public StoreTypes.ResourceProfileInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.ResourceProfileInfo.Builder>
java.io.IOException
public int getId()
int32 id = 1;
getId
in interface StoreTypes.ResourceProfileInfoOrBuilder
public StoreTypes.ResourceProfileInfo.Builder setId(int value)
int32 id = 1;
value
- The id to set.public StoreTypes.ResourceProfileInfo.Builder clearId()
int32 id = 1;
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 StoreTypes.ResourceProfileInfo.Builder clearExecutorResources()
public StoreTypes.ResourceProfileInfo.Builder removeExecutorResources(String key)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
@Deprecated public java.util.Map<String,StoreTypes.ExecutorResourceRequest> getMutableExecutorResources()
public StoreTypes.ResourceProfileInfo.Builder putExecutorResources(String key, StoreTypes.ExecutorResourceRequest value)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
public StoreTypes.ResourceProfileInfo.Builder putAllExecutorResources(java.util.Map<String,StoreTypes.ExecutorResourceRequest> values)
map<string, .org.apache.spark.status.protobuf.ExecutorResourceRequest> executor_resources = 2;
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 StoreTypes.ResourceProfileInfo.Builder clearTaskResources()
public StoreTypes.ResourceProfileInfo.Builder removeTaskResources(String key)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
@Deprecated public java.util.Map<String,StoreTypes.TaskResourceRequest> getMutableTaskResources()
public StoreTypes.ResourceProfileInfo.Builder putTaskResources(String key, StoreTypes.TaskResourceRequest value)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
public StoreTypes.ResourceProfileInfo.Builder putAllTaskResources(java.util.Map<String,StoreTypes.TaskResourceRequest> values)
map<string, .org.apache.spark.status.protobuf.TaskResourceRequest> task_resources = 3;
public final StoreTypes.ResourceProfileInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>
public final StoreTypes.ResourceProfileInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceProfileInfo.Builder>