Interface JobPlacementOrBuilder (4.43.0)

public interface JobPlacementOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsClusterLabels(String key)

public abstract 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];

Parameter
Name Description
key String
Returns
Type Description
boolean

getClusterLabels() (deprecated)

public abstract Map<String,String> getClusterLabels()
Returns
Type Description
Map<String,String>

getClusterLabelsCount()

public abstract 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];

Returns
Type Description
int

getClusterLabelsMap()

public abstract 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];

Returns
Type Description
Map<String,String>

getClusterLabelsOrDefault(String key, String defaultValue)

public abstract 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];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getClusterLabelsOrThrow(String key)

public abstract String getClusterLabelsOrThrow(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];

Parameter
Name Description
key String
Returns
Type Description
String

getClusterName()

public abstract String getClusterName()

Required. The name of the cluster where the job will be submitted.

string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The clusterName.

getClusterNameBytes()

public abstract ByteString getClusterNameBytes()

Required. The name of the cluster where the job will be submitted.

string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for clusterName.

getClusterUuid()

public abstract 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
Type Description
String

The clusterUuid.

getClusterUuidBytes()

public abstract 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
Type Description
ByteString

The bytes for clusterUuid.