Class Task.InfrastructureSpec.Builder (1.42.0)

public static final class Task.InfrastructureSpec.Builder extends GeneratedMessageV3.Builder<Task.InfrastructureSpec.Builder> implements Task.InfrastructureSpecOrBuilder

Configuration for the underlying infrastructure used to run workloads.

Protobuf type google.cloud.dataplex.v1.Task.InfrastructureSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Task.InfrastructureSpec build()
Returns
Type Description
Task.InfrastructureSpec

buildPartial()

public Task.InfrastructureSpec buildPartial()
Returns
Type Description
Task.InfrastructureSpec

clear()

public Task.InfrastructureSpec.Builder clear()
Returns
Type Description
Task.InfrastructureSpec.Builder
Overrides

clearBatch()

public Task.InfrastructureSpec.Builder clearBatch()

Compute resources needed for a Task when using Dataproc Serverless.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52;

Returns
Type Description
Task.InfrastructureSpec.Builder

clearContainerImage()

public Task.InfrastructureSpec.Builder clearContainerImage()

Container Image Runtime Configuration.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101;

Returns
Type Description
Task.InfrastructureSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public Task.InfrastructureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Task.InfrastructureSpec.Builder
Overrides

clearNetwork()

public Task.InfrastructureSpec.Builder clearNetwork()
Returns
Type Description
Task.InfrastructureSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Task.InfrastructureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Task.InfrastructureSpec.Builder
Overrides

clearResources()

public Task.InfrastructureSpec.Builder clearResources()
Returns
Type Description
Task.InfrastructureSpec.Builder

clearRuntime()

public Task.InfrastructureSpec.Builder clearRuntime()
Returns
Type Description
Task.InfrastructureSpec.Builder

clearVpcNetwork()

public Task.InfrastructureSpec.Builder clearVpcNetwork()

Vpc network.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150;

Returns
Type Description
Task.InfrastructureSpec.Builder

clone()

public Task.InfrastructureSpec.Builder clone()
Returns
Type Description
Task.InfrastructureSpec.Builder
Overrides

getBatch()

public Task.InfrastructureSpec.BatchComputeResources getBatch()

Compute resources needed for a Task when using Dataproc Serverless.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52;

Returns
Type Description
Task.InfrastructureSpec.BatchComputeResources

The batch.

getBatchBuilder()

public Task.InfrastructureSpec.BatchComputeResources.Builder getBatchBuilder()

Compute resources needed for a Task when using Dataproc Serverless.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52;

Returns
Type Description
Task.InfrastructureSpec.BatchComputeResources.Builder

getBatchOrBuilder()

public Task.InfrastructureSpec.BatchComputeResourcesOrBuilder getBatchOrBuilder()

Compute resources needed for a Task when using Dataproc Serverless.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52;

Returns
Type Description
Task.InfrastructureSpec.BatchComputeResourcesOrBuilder

getContainerImage()

public Task.InfrastructureSpec.ContainerImageRuntime getContainerImage()

Container Image Runtime Configuration.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101;

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime

The containerImage.

getContainerImageBuilder()

public Task.InfrastructureSpec.ContainerImageRuntime.Builder getContainerImageBuilder()

Container Image Runtime Configuration.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101;

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntime.Builder

getContainerImageOrBuilder()

public Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder getContainerImageOrBuilder()

Container Image Runtime Configuration.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101;

Returns
Type Description
Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder

getDefaultInstanceForType()

public Task.InfrastructureSpec getDefaultInstanceForType()
Returns
Type Description
Task.InfrastructureSpec

getDescriptorForType()

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

getNetworkCase()

public Task.InfrastructureSpec.NetworkCase getNetworkCase()
Returns
Type Description
Task.InfrastructureSpec.NetworkCase

getResourcesCase()

public Task.InfrastructureSpec.ResourcesCase getResourcesCase()
Returns
Type Description
Task.InfrastructureSpec.ResourcesCase

getRuntimeCase()

public Task.InfrastructureSpec.RuntimeCase getRuntimeCase()
Returns
Type Description
Task.InfrastructureSpec.RuntimeCase

getVpcNetwork()

public Task.InfrastructureSpec.VpcNetwork getVpcNetwork()

Vpc network.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150;

Returns
Type Description
Task.InfrastructureSpec.VpcNetwork

The vpcNetwork.

getVpcNetworkBuilder()

public Task.InfrastructureSpec.VpcNetwork.Builder getVpcNetworkBuilder()

Vpc network.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150;

Returns
Type Description
Task.InfrastructureSpec.VpcNetwork.Builder

getVpcNetworkOrBuilder()

public Task.InfrastructureSpec.VpcNetworkOrBuilder getVpcNetworkOrBuilder()

Vpc network.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150;

Returns
Type Description
Task.InfrastructureSpec.VpcNetworkOrBuilder

hasBatch()

public boolean hasBatch()

Compute resources needed for a Task when using Dataproc Serverless.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52;

Returns
Type Description
boolean

Whether the batch field is set.

hasContainerImage()

public boolean hasContainerImage()

Container Image Runtime Configuration.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101;

Returns
Type Description
boolean

Whether the containerImage field is set.

hasVpcNetwork()

public boolean hasVpcNetwork()

Vpc network.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150;

Returns
Type Description
boolean

Whether the vpcNetwork field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBatch(Task.InfrastructureSpec.BatchComputeResources value)

public Task.InfrastructureSpec.Builder mergeBatch(Task.InfrastructureSpec.BatchComputeResources value)

Compute resources needed for a Task when using Dataproc Serverless.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52;

Parameter
Name Description
value Task.InfrastructureSpec.BatchComputeResources
Returns
Type Description
Task.InfrastructureSpec.Builder

mergeContainerImage(Task.InfrastructureSpec.ContainerImageRuntime value)

public Task.InfrastructureSpec.Builder mergeContainerImage(Task.InfrastructureSpec.ContainerImageRuntime value)

Container Image Runtime Configuration.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101;

Parameter
Name Description
value Task.InfrastructureSpec.ContainerImageRuntime
Returns
Type Description
Task.InfrastructureSpec.Builder

mergeFrom(Task.InfrastructureSpec other)

public Task.InfrastructureSpec.Builder mergeFrom(Task.InfrastructureSpec other)
Parameter
Name Description
other Task.InfrastructureSpec
Returns
Type Description
Task.InfrastructureSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Task.InfrastructureSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Task.InfrastructureSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Task.InfrastructureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Task.InfrastructureSpec.Builder
Overrides

mergeVpcNetwork(Task.InfrastructureSpec.VpcNetwork value)

public Task.InfrastructureSpec.Builder mergeVpcNetwork(Task.InfrastructureSpec.VpcNetwork value)

Vpc network.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150;

Parameter
Name Description
value Task.InfrastructureSpec.VpcNetwork
Returns
Type Description
Task.InfrastructureSpec.Builder

setBatch(Task.InfrastructureSpec.BatchComputeResources value)

public Task.InfrastructureSpec.Builder setBatch(Task.InfrastructureSpec.BatchComputeResources value)

Compute resources needed for a Task when using Dataproc Serverless.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52;

Parameter
Name Description
value Task.InfrastructureSpec.BatchComputeResources
Returns
Type Description
Task.InfrastructureSpec.Builder

setBatch(Task.InfrastructureSpec.BatchComputeResources.Builder builderForValue)

public Task.InfrastructureSpec.Builder setBatch(Task.InfrastructureSpec.BatchComputeResources.Builder builderForValue)

Compute resources needed for a Task when using Dataproc Serverless.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources batch = 52;

Parameter
Name Description
builderForValue Task.InfrastructureSpec.BatchComputeResources.Builder
Returns
Type Description
Task.InfrastructureSpec.Builder

setContainerImage(Task.InfrastructureSpec.ContainerImageRuntime value)

public Task.InfrastructureSpec.Builder setContainerImage(Task.InfrastructureSpec.ContainerImageRuntime value)

Container Image Runtime Configuration.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101;

Parameter
Name Description
value Task.InfrastructureSpec.ContainerImageRuntime
Returns
Type Description
Task.InfrastructureSpec.Builder

setContainerImage(Task.InfrastructureSpec.ContainerImageRuntime.Builder builderForValue)

public Task.InfrastructureSpec.Builder setContainerImage(Task.InfrastructureSpec.ContainerImageRuntime.Builder builderForValue)

Container Image Runtime Configuration.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.ContainerImageRuntime container_image = 101;

Parameter
Name Description
builderForValue Task.InfrastructureSpec.ContainerImageRuntime.Builder
Returns
Type Description
Task.InfrastructureSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Task.InfrastructureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Task.InfrastructureSpec.Builder
Overrides

setVpcNetwork(Task.InfrastructureSpec.VpcNetwork value)

public Task.InfrastructureSpec.Builder setVpcNetwork(Task.InfrastructureSpec.VpcNetwork value)

Vpc network.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150;

Parameter
Name Description
value Task.InfrastructureSpec.VpcNetwork
Returns
Type Description
Task.InfrastructureSpec.Builder

setVpcNetwork(Task.InfrastructureSpec.VpcNetwork.Builder builderForValue)

public Task.InfrastructureSpec.Builder setVpcNetwork(Task.InfrastructureSpec.VpcNetwork.Builder builderForValue)

Vpc network.

.google.cloud.dataplex.v1.Task.InfrastructureSpec.VpcNetwork vpc_network = 150;

Parameter
Name Description
builderForValue Task.InfrastructureSpec.VpcNetwork.Builder
Returns
Type Description
Task.InfrastructureSpec.Builder