Package com.google.cloud.dataproc.v1
Interface JobPlacementOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
JobPlacement,JobPlacement.Builder
public interface JobPlacementOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsClusterLabels(String key)Optional.Map<String,String>getClusterLabels()Deprecated.intgetClusterLabelsCount()Optional.Map<String,String>getClusterLabelsMap()Optional.StringgetClusterLabelsOrDefault(String key, String defaultValue)Optional.StringgetClusterLabelsOrThrow(String key)Optional.StringgetClusterName()Required.com.google.protobuf.ByteStringgetClusterNameBytes()Required.StringgetClusterUuid()Output only.com.google.protobuf.ByteStringgetClusterUuidBytes()Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getClusterName
String getClusterName()
Required. The name of the cluster where the job will be submitted.
string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The clusterName.
-
getClusterNameBytes
com.google.protobuf.ByteString getClusterNameBytes()
Required. The name of the cluster where the job will be submitted.
string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for clusterName.
-
getClusterUuid
String getClusterUuid()
Output only. A cluster UUID generated by the Dataproc service when the job is submitted.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The clusterUuid.
-
getClusterUuidBytes
com.google.protobuf.ByteString getClusterUuidBytes()
Output only. A cluster UUID generated by the Dataproc service when the job is submitted.
string cluster_uuid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for clusterUuid.
-
getClusterLabelsCount
int getClusterLabelsCount()
Optional. Cluster labels to identify a cluster where the job will be submitted.
map<string, string> cluster_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
-
containsClusterLabels
boolean containsClusterLabels(String key)
Optional. Cluster labels to identify a cluster where the job will be submitted.
map<string, string> cluster_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
-
getClusterLabels
@Deprecated Map<String,String> getClusterLabels()
Deprecated.UsegetClusterLabelsMap()instead.
-
getClusterLabelsMap
Map<String,String> getClusterLabelsMap()
Optional. Cluster labels to identify a cluster where the job will be submitted.
map<string, string> cluster_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
-
getClusterLabelsOrDefault
String getClusterLabelsOrDefault(String key, String defaultValue)
Optional. Cluster labels to identify a cluster where the job will be submitted.
map<string, string> cluster_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
-
-