public static final class JobPlacement.Builder extends GeneratedMessageV3.Builder<JobPlacement.Builder> implements JobPlacementOrBuilder
Dataproc job config.
Protobuf type google.cloud.dataproc.v1.JobPlacement
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public JobPlacement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public JobPlacement build()
buildPartial()
public JobPlacement buildPartial()
clear()
public JobPlacement.Builder clear()
Overrides
clearClusterLabels()
public JobPlacement.Builder clearClusterLabels()
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];
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];
clearField(Descriptors.FieldDescriptor field)
public JobPlacement.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public JobPlacement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public JobPlacement.Builder clone()
Overrides
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
|
getClusterLabels()
public Map<String,String> getClusterLabels()
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];
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];
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableClusterLabels()
public Map<String,String> getMutableClusterLabels()
Use alternate mutation accessors instead.
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(JobPlacement other)
public JobPlacement.Builder mergeFrom(JobPlacement other)
public JobPlacement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public JobPlacement.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final JobPlacement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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];
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
|
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 | String
The clusterName to set.
|
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 | ByteString
The bytes for clusterName to set.
|
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 | String
The clusterUuid to set.
|
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 | ByteString
The bytes for clusterUuid to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public JobPlacement.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public JobPlacement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final JobPlacement.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides