Package org.apache.spark.status.protobuf
Interface StoreTypes.ExecutorResourceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StoreTypes.ExecutorResourceRequest
,StoreTypes.ExecutorResourceRequest.Builder
- Enclosing class:
- StoreTypes
public static interface StoreTypes.ExecutorResourceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlong
int64 amount = 2;
optional string discoveryScript = 3;
com.google.protobuf.ByteString
optional string discoveryScript = 3;
optional string resource_name = 1;
com.google.protobuf.ByteString
optional string resource_name = 1;
optional string vendor = 4;
com.google.protobuf.ByteString
optional string vendor = 4;
boolean
optional string discoveryScript = 3;
boolean
optional string resource_name = 1;
boolean
optional string vendor = 4;
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
long getAmount()int64 amount = 2;
- Returns:
- The amount.
-
hasDiscoveryScript
boolean hasDiscoveryScript()optional string discoveryScript = 3;
- Returns:
- Whether the discoveryScript field is set.
-
getDiscoveryScript
String getDiscoveryScript()optional string discoveryScript = 3;
- Returns:
- The discoveryScript.
-
getDiscoveryScriptBytes
com.google.protobuf.ByteString getDiscoveryScriptBytes()optional string discoveryScript = 3;
- Returns:
- The bytes for discoveryScript.
-
hasVendor
boolean hasVendor()optional string vendor = 4;
- Returns:
- Whether the vendor field is set.
-
getVendor
String getVendor()optional string vendor = 4;
- Returns:
- The vendor.
-
getVendorBytes
com.google.protobuf.ByteString getVendorBytes()optional string vendor = 4;
- Returns:
- The bytes for vendor.
-