Class Task.InfrastructureSpec.BatchComputeResources (1.28.0)

public static final class Task.InfrastructureSpec.BatchComputeResources extends GeneratedMessageV3 implements Task.InfrastructureSpec.BatchComputeResourcesOrBuilder

Batch compute resources associated with the task.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Task.InfrastructureSpec.BatchComputeResources

Static Fields

EXECUTORS_COUNT_FIELD_NUMBER

public static final int EXECUTORS_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_EXECUTORS_COUNT_FIELD_NUMBER

public static final int MAX_EXECUTORS_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Task.InfrastructureSpec.BatchComputeResources getDefaultInstance()
Returns
TypeDescription
Task.InfrastructureSpec.BatchComputeResources

getDescriptor()

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

newBuilder()

public static Task.InfrastructureSpec.BatchComputeResources.Builder newBuilder()
Returns
TypeDescription
Task.InfrastructureSpec.BatchComputeResources.Builder

newBuilder(Task.InfrastructureSpec.BatchComputeResources prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getExecutorsCount()

public int getExecutorsCount()

Optional. Total number of job executors. Executor Count should be between 2 and 100. [Default=2]

int32 executors_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The executorsCount.

getMaxExecutorsCount()

public int getMaxExecutorsCount()

Optional. Max configurable executors. If max_executors_count > executors_count, then auto-scaling is enabled. Max Executor Count should be between 2 and 1000. [Default=1000]

int32 max_executors_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The maxExecutorsCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Task.InfrastructureSpec.BatchComputeResources.Builder toBuilder()
Returns
TypeDescription
Task.InfrastructureSpec.BatchComputeResources.Builder

writeTo(CodedOutputStream output)

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