- 4.80.0 (latest)
- 4.79.0
- 4.78.0
- 4.77.0
- 4.75.0
- 4.73.0
- 4.72.0
- 4.71.0
- 4.70.0
- 4.69.0
- 4.67.0
- 4.65.0
- 4.64.0
- 4.61.0
- 4.60.0
- 4.59.0
- 4.57.0
- 4.56.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.46.0
- 4.45.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.34.0
- 4.33.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.8
- 3.1.2
- 3.0.3
- 2.3.1
public static final class JobPlacement.Builder extends GeneratedMessage.Builder<JobPlacement.Builder> implements JobPlacementOrBuilderDataproc job config.
Protobuf type google.cloud.dataproc.v1.JobPlacement
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > JobPlacement.BuilderImplements
JobPlacementOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public JobPlacement build()| Returns | |
|---|---|
| Type | Description |
JobPlacement |
|
buildPartial()
public JobPlacement buildPartial()| Returns | |
|---|---|
| Type | Description |
JobPlacement |
|
clear()
public JobPlacement.Builder clear()| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
|
clearClusterLabels()
public JobPlacement.Builder clearClusterLabels()| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
|
clearClusterName()
public JobPlacement.Builder clearClusterName()Required. The name of the cluster where the job will be submitted.
string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
This builder for chaining. |
clearClusterUuid()
public JobPlacement.Builder clearClusterUuid()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 |
JobPlacement.Builder |
This builder for chaining. |
containsClusterLabels(String key)
public 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 Map<String,String> getClusterLabels()Use #getClusterLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getClusterLabelsCount()
public 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 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 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 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 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 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 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 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. |
getDefaultInstanceForType()
public JobPlacement getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
JobPlacement |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMutableClusterLabels() (deprecated)
public Map<String,String> getMutableClusterLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(JobPlacement other)
public JobPlacement.Builder mergeFrom(JobPlacement other)| Parameter | |
|---|---|
| Name | Description |
other |
JobPlacement |
| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public JobPlacement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public JobPlacement.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
|
putAllClusterLabels(Map<String,String> values)
public JobPlacement.Builder putAllClusterLabels(Map<String,String> values)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 |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
|
putClusterLabels(String key, String value)
public JobPlacement.Builder putClusterLabels(String key, String value)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 |
value |
String |
| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
|
removeClusterLabels(String key)
public JobPlacement.Builder removeClusterLabels(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 |
JobPlacement.Builder |
|
setClusterName(String value)
public JobPlacement.Builder setClusterName(String value)Required. The name of the cluster where the job will be submitted.
string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clusterName to set. |
| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
This builder for chaining. |
setClusterNameBytes(ByteString value)
public JobPlacement.Builder setClusterNameBytes(ByteString value)Required. The name of the cluster where the job will be submitted.
string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clusterName to set. |
| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
This builder for chaining. |
setClusterUuid(String value)
public JobPlacement.Builder setClusterUuid(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe clusterUuid to set. |
| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
This builder for chaining. |
setClusterUuidBytes(ByteString value)
public JobPlacement.Builder setClusterUuidBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for clusterUuid to set. |
| Returns | |
|---|---|
| Type | Description |
JobPlacement.Builder |
This builder for chaining. |