Class Task.InfrastructureSpec.Builder (1.81.0)

public static final class Task.InfrastructureSpec.Builder extends GeneratedMessage.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

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

clearNetwork()

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

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

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 GeneratedMessage.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

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

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