Class Task.InfrastructureSpec.Builder (1.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Task.InfrastructureSpec build()
Returns
TypeDescription
Task.InfrastructureSpec

buildPartial()

public Task.InfrastructureSpec buildPartial()
Returns
TypeDescription
Task.InfrastructureSpec

clear()

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

clearContainerImage()

public Task.InfrastructureSpec.Builder clearContainerImage()

Container Image Runtime Configuration.

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

Returns
TypeDescription
Task.InfrastructureSpec.Builder

clearField(Descriptors.FieldDescriptor field)

public Task.InfrastructureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Task.InfrastructureSpec.Builder
Overrides

clearNetwork()

public Task.InfrastructureSpec.Builder clearNetwork()
Returns
TypeDescription
Task.InfrastructureSpec.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Task.InfrastructureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Task.InfrastructureSpec.Builder
Overrides

clearResources()

public Task.InfrastructureSpec.Builder clearResources()
Returns
TypeDescription
Task.InfrastructureSpec.Builder

clearRuntime()

public Task.InfrastructureSpec.Builder clearRuntime()
Returns
TypeDescription
Task.InfrastructureSpec.Builder

clearVpcNetwork()

public Task.InfrastructureSpec.Builder clearVpcNetwork()

Vpc network.

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

Returns
TypeDescription
Task.InfrastructureSpec.Builder

clone()

public Task.InfrastructureSpec.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Task.InfrastructureSpec.BatchComputeResourcesOrBuilder

getContainerImage()

public Task.InfrastructureSpec.ContainerImageRuntime getContainerImage()

Container Image Runtime Configuration.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder

getDefaultInstanceForType()

public Task.InfrastructureSpec getDefaultInstanceForType()
Returns
TypeDescription
Task.InfrastructureSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNetworkCase()

public Task.InfrastructureSpec.NetworkCase getNetworkCase()
Returns
TypeDescription
Task.InfrastructureSpec.NetworkCase

getResourcesCase()

public Task.InfrastructureSpec.ResourcesCase getResourcesCase()
Returns
TypeDescription
Task.InfrastructureSpec.ResourcesCase

getRuntimeCase()

public Task.InfrastructureSpec.RuntimeCase getRuntimeCase()
Returns
TypeDescription
Task.InfrastructureSpec.RuntimeCase

getVpcNetwork()

public Task.InfrastructureSpec.VpcNetwork getVpcNetwork()

Vpc network.

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

Returns
TypeDescription
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
TypeDescription
Task.InfrastructureSpec.VpcNetwork.Builder

getVpcNetworkOrBuilder()

public Task.InfrastructureSpec.VpcNetworkOrBuilder getVpcNetworkOrBuilder()

Vpc network.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the containerImage field is set.

hasVpcNetwork()

public boolean hasVpcNetwork()

Vpc network.

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

Returns
TypeDescription
boolean

Whether the vpcNetwork field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTask.InfrastructureSpec.BatchComputeResources
Returns
TypeDescription
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
NameDescription
valueTask.InfrastructureSpec.ContainerImageRuntime
Returns
TypeDescription
Task.InfrastructureSpec.Builder

mergeFrom(Task.InfrastructureSpec other)

public Task.InfrastructureSpec.Builder mergeFrom(Task.InfrastructureSpec other)
Parameter
NameDescription
otherTask.InfrastructureSpec
Returns
TypeDescription
Task.InfrastructureSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Task.InfrastructureSpec.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Task.InfrastructureSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Task.InfrastructureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTask.InfrastructureSpec.VpcNetwork
Returns
TypeDescription
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
NameDescription
valueTask.InfrastructureSpec.BatchComputeResources
Returns
TypeDescription
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
NameDescription
builderForValueTask.InfrastructureSpec.BatchComputeResources.Builder
Returns
TypeDescription
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
NameDescription
valueTask.InfrastructureSpec.ContainerImageRuntime
Returns
TypeDescription
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
NameDescription
builderForValueTask.InfrastructureSpec.ContainerImageRuntime.Builder
Returns
TypeDescription
Task.InfrastructureSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Task.InfrastructureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTask.InfrastructureSpec.VpcNetwork
Returns
TypeDescription
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
NameDescription
builderForValueTask.InfrastructureSpec.VpcNetwork.Builder
Returns
TypeDescription
Task.InfrastructureSpec.Builder