Class ExecutionTemplate.DataprocParameters.Builder (0.6.2)

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

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

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

mergeFrom(Message other)

public ExecutionTemplate.DataprocParameters.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ExecutionTemplate.DataprocParameters.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionTemplate.DataprocParameters.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The cluster to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for cluster to set.

Returns
TypeDescription
ExecutionTemplate.DataprocParameters.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ExecutionTemplate.DataprocParameters.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExecutionTemplate.DataprocParameters.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ExecutionTemplate.DataprocParameters.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ExecutionTemplate.DataprocParameters.Builder
Overrides