Class ExecutionTemplate.DataprocParameters.Builder (1.47.0)

public static final class ExecutionTemplate.DataprocParameters.Builder extends GeneratedMessageV3.Builder<ExecutionTemplate.DataprocParameters.Builder> implements ExecutionTemplate.DataprocParametersOrBuilder

Parameters used in Dataproc JobType executions.

Protobuf type google.cloud.notebooks.v1.ExecutionTemplate.DataprocParameters

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExecutionTemplate.DataprocParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides

build()

public ExecutionTemplate.DataprocParameters build()
Returns
Type Description
ExecutionTemplate.DataprocParameters

buildPartial()

public ExecutionTemplate.DataprocParameters buildPartial()
Returns
Type Description
ExecutionTemplate.DataprocParameters

clear()

public ExecutionTemplate.DataprocParameters.Builder clear()
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides

clearCluster()

public ExecutionTemplate.DataprocParameters.Builder clearCluster()

URI for cluster used to run Dataproc execution. Format: projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}

string cluster = 1;

Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExecutionTemplate.DataprocParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExecutionTemplate.DataprocParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides

clone()

public ExecutionTemplate.DataprocParameters.Builder clone()
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides

getCluster()

public String getCluster()

URI for cluster used to run Dataproc execution. Format: projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}

string cluster = 1;

Returns
Type Description
String

The cluster.

getClusterBytes()

public ByteString getClusterBytes()

URI for cluster used to run Dataproc execution. Format: projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}

string cluster = 1;

Returns
Type Description
ByteString

The bytes for cluster.

getDefaultInstanceForType()

public ExecutionTemplate.DataprocParameters getDefaultInstanceForType()
Returns
Type Description
ExecutionTemplate.DataprocParameters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExecutionTemplate.DataprocParameters other)

public ExecutionTemplate.DataprocParameters.Builder mergeFrom(ExecutionTemplate.DataprocParameters other)
Parameter
Name Description
other ExecutionTemplate.DataprocParameters
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExecutionTemplate.DataprocParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExecutionTemplate.DataprocParameters.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionTemplate.DataprocParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides

setCluster(String value)

public ExecutionTemplate.DataprocParameters.Builder setCluster(String value)

URI for cluster used to run Dataproc execution. Format: projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}

string cluster = 1;

Parameter
Name Description
value String

The cluster to set.

Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder

This builder for chaining.

setClusterBytes(ByteString value)

public ExecutionTemplate.DataprocParameters.Builder setClusterBytes(ByteString value)

URI for cluster used to run Dataproc execution. Format: projects/{PROJECT_ID}/regions/{REGION}/clusters/{CLUSTER_NAME}

string cluster = 1;

Parameter
Name Description
value ByteString

The bytes for cluster to set.

Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExecutionTemplate.DataprocParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ExecutionTemplate.DataprocParameters.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionTemplate.DataprocParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ExecutionTemplate.DataprocParameters.Builder
Overrides