Class ExecutionTemplate.DataprocParameters.Builder (1.4.0)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ExecutionTemplate.DataprocParameters.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ExecutionTemplate.DataprocParameters.Builder
Overrides

build()

public ExecutionTemplate.DataprocParameters build()
Returns
TypeDescription
ExecutionTemplate.DataprocParameters

buildPartial()

public ExecutionTemplate.DataprocParameters buildPartial()
Returns
TypeDescription
ExecutionTemplate.DataprocParameters

clear()

public ExecutionTemplate.DataprocParameters.Builder clear()
Returns
TypeDescription
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
TypeDescription
ExecutionTemplate.DataprocParameters.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ExecutionTemplate.DataprocParameters.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExecutionTemplate.DataprocParameters.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ExecutionTemplate.DataprocParameters.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ExecutionTemplate.DataprocParameters.Builder
Overrides

clone()

public ExecutionTemplate.DataprocParameters.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for cluster.

getDefaultInstanceForType()

public ExecutionTemplate.DataprocParameters getDefaultInstanceForType()
Returns
TypeDescription
ExecutionTemplate.DataprocParameters

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ExecutionTemplate.DataprocParameters other)

public ExecutionTemplate.DataprocParameters.Builder mergeFrom(ExecutionTemplate.DataprocParameters other)
Parameter
NameDescription
otherExecutionTemplate.DataprocParameters
Returns
TypeDescription
ExecutionTemplate.DataprocParameters.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExecutionTemplate.DataprocParameters.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExecutionTemplate.DataprocParameters.Builder
Overrides Exceptions
TypeDescription
IOException