Class Task.InfrastructureSpec (1.4.0)

See more code actions.
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
TypeDescription
int

CONTAINER_IMAGE_FIELD_NUMBER

public static final int CONTAINER_IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

VPC_NETWORK_FIELD_NUMBER

public static final int VPC_NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Task.InfrastructureSpec getDefaultInstance()
Returns

getDescriptor()

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

newBuilder()

public static Task.InfrastructureSpec.Builder newBuilder()
Returns

newBuilder(Task.InfrastructureSpec prototype)

public static Task.InfrastructureSpec.Builder newBuilder(Task.InfrastructureSpec prototype)
Parameter
NameDescription
prototypeTask.InfrastructureSpec
Returns

parseDelimitedFrom(InputStream input)

public static Task.InfrastructureSpec parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Task.InfrastructureSpec parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns Exceptions

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns Exceptions

parseFrom(ByteString data)

public static Task.InfrastructureSpec parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns Exceptions

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns Exceptions

parseFrom(CodedInputStream input)

public static Task.InfrastructureSpec parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Task.InfrastructureSpec parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Task.InfrastructureSpec parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns Exceptions

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Task.InfrastructureSpec parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns Exceptions

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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

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

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.

getContainerImageOrBuilder()

public Task.InfrastructureSpec.ContainerImageRuntimeOrBuilder getContainerImageOrBuilder()

Container Image Runtime Configuration.

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

Returns

getDefaultInstanceForType()

public Task.InfrastructureSpec getDefaultInstanceForType()
Returns

getNetworkCase()

public Task.InfrastructureSpec.NetworkCase getNetworkCase()
Returns

getParserForType()

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

getResourcesCase()

public Task.InfrastructureSpec.ResourcesCase getResourcesCase()
Returns

getRuntimeCase()

public Task.InfrastructureSpec.RuntimeCase getRuntimeCase()
Returns

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

getVpcNetworkOrBuilder()

public Task.InfrastructureSpec.VpcNetworkOrBuilder getVpcNetworkOrBuilder()

Vpc network.

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

Returns

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Task.InfrastructureSpec.Builder newBuilderForType()
Returns

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Task.InfrastructureSpec.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Task.InfrastructureSpec.Builder toBuilder()
Returns

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException