Package org.apache.spark.status.protobuf
Interface StoreTypes.TaskResourceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StoreTypes.TaskResourceRequest
,StoreTypes.TaskResourceRequest.Builder
- Enclosing class:
- StoreTypes
public static interface StoreTypes.TaskResourceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondouble
double amount = 2;
optional string resource_name = 1;
com.google.protobuf.ByteString
optional string resource_name = 1;
boolean
optional string resource_name = 1;
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
-
hasResourceName
boolean hasResourceName()optional string resource_name = 1;
- Returns:
- Whether the resourceName field is set.
-
getResourceName
String getResourceName()optional string resource_name = 1;
- Returns:
- The resourceName.
-
getResourceNameBytes
com.google.protobuf.ByteString getResourceNameBytes()optional string resource_name = 1;
- Returns:
- The bytes for resourceName.
-
getAmount
double getAmount()double amount = 2;
- Returns:
- The amount.
-