Interface JobPlacementOrBuilder (4.14.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
NameDescription
keyString
Returns
TypeDescription
boolean

getClusterLabels()

public abstract Map<String,String> getClusterLabels()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
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
NameDescription
keyString
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for clusterUuid.