public static final class JobPlacement.Builder extends GeneratedMessageV3.Builder<JobPlacement.Builder> implements JobPlacementOrBuilder
Dataproc job config.Protobuf type
google.cloud.dataproc.v1.JobPlacement
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected MapField internalGetMapField(int number)
internalGetMapField
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
protected MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public JobPlacement.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public JobPlacement getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public JobPlacement build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public JobPlacement buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public JobPlacement.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public JobPlacement.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public JobPlacement.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public JobPlacement.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public JobPlacement.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public JobPlacement.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public JobPlacement.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<JobPlacement.Builder>
public JobPlacement.Builder mergeFrom(JobPlacement other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public JobPlacement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<JobPlacement.Builder>
IOException
public String getClusterName()
Required. The name of the cluster where the job will be submitted.
string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED];
getClusterName
in interface JobPlacementOrBuilder
public ByteString getClusterNameBytes()
Required. The name of the cluster where the job will be submitted.
string cluster_name = 1 [(.google.api.field_behavior) = REQUIRED];
getClusterNameBytes
in interface JobPlacementOrBuilder
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];
value
- The clusterName to set.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];
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];
value
- The bytes for clusterName to set.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];
getClusterUuid
in interface JobPlacementOrBuilder
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];
getClusterUuidBytes
in interface JobPlacementOrBuilder
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];
value
- The clusterUuid to set.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];
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];
value
- The bytes for clusterUuid to set.public int getClusterLabelsCount()
JobPlacementOrBuilder
Optional. Cluster labels to identify a cluster where the job will be submitted.
map<string, string> cluster_labels = 3 [(.google.api.field_behavior) = OPTIONAL];
getClusterLabelsCount
in interface JobPlacementOrBuilder
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];
containsClusterLabels
in interface JobPlacementOrBuilder
@Deprecated public Map<String,String> getClusterLabels()
getClusterLabelsMap()
instead.getClusterLabels
in interface JobPlacementOrBuilder
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];
getClusterLabelsMap
in interface JobPlacementOrBuilder
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];
getClusterLabelsOrDefault
in interface JobPlacementOrBuilder
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];
getClusterLabelsOrThrow
in interface JobPlacementOrBuilder
public JobPlacement.Builder clearClusterLabels()
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];
@Deprecated public Map<String,String> getMutableClusterLabels()
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];
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];
public final JobPlacement.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
public final JobPlacement.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<JobPlacement.Builder>
Copyright © 2022 Google LLC. All rights reserved.