Class Task.InfrastructureSpec (1.41.0)

public static final class Task.InfrastructureSpec extends GeneratedMessageV3 implements Task.InfrastructureSpecOrBuilder

Configuration for the underlying infrastructure used to run workloads.

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

Static Fields

BATCH_FIELD_NUMBER

public static final int BATCH_FIELD_NUMBER
Field Value
Type Description
int

CONTAINER_IMAGE_FIELD_NUMBER

public static final int CONTAINER_IMAGE_FIELD_NUMBER
Field Value
Type Description
int

VPC_NETWORK_FIELD_NUMBER

public static final int VPC_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Task.InfrastructureSpec getDefaultInstance()
Returns
Type Description
Task.InfrastructureSpec

getDescriptor()

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

newBuilder()

public static Task.InfrastructureSpec.Builder newBuilder()
Returns
Type Description
Task.InfrastructureSpec.Builder

newBuilder(Task.InfrastructureSpec prototype)

public static Task.InfrastructureSpec.Builder newBuilder(Task.InfrastructureSpec prototype)
Parameter
Name Description
prototype Task.InfrastructureSpec
Returns
Type Description
Task.InfrastructureSpec.Builder

parseDelimitedFrom(InputStream input)

public static Task.InfrastructureSpec parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Task.InfrastructureSpec parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Task.InfrastructureSpec parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Task.InfrastructureSpec parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Task.InfrastructureSpec parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Task.InfrastructureSpec parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Task.InfrastructureSpec
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Task.InfrastructureSpec> parser()
Returns
Type Description
Parser<InfrastructureSpec>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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

getNetworkCase()

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

getParserForType()

public Parser<Task.InfrastructureSpec> getParserForType()
Returns
Type Description
Parser<InfrastructureSpec>
Overrides

getResourcesCase()

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

getRuntimeCase()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Task.InfrastructureSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Task.InfrastructureSpec.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException