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
Static Fields
EXECUTORS_COUNT_FIELD_NUMBER
public static final int EXECUTORS_COUNT_FIELD_NUMBER
Field Value
MAX_EXECUTORS_COUNT_FIELD_NUMBER
public static final int MAX_EXECUTORS_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Task.InfrastructureSpec.BatchComputeResources getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Task.InfrastructureSpec.BatchComputeResources.Builder newBuilder()
Returns
newBuilder(Task.InfrastructureSpec.BatchComputeResources prototype)
public static Task.InfrastructureSpec.BatchComputeResources.Builder newBuilder(Task.InfrastructureSpec.BatchComputeResources prototype)
Parameter
Returns
public static Task.InfrastructureSpec.BatchComputeResources parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Task.InfrastructureSpec.BatchComputeResources parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Task.InfrastructureSpec.BatchComputeResources parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.BatchComputeResources parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Task.InfrastructureSpec.BatchComputeResources parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.BatchComputeResources parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Task.InfrastructureSpec.BatchComputeResources parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Task.InfrastructureSpec.BatchComputeResources parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Task.InfrastructureSpec.BatchComputeResources parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Task.InfrastructureSpec.BatchComputeResources parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Task.InfrastructureSpec.BatchComputeResources parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Task.InfrastructureSpec.BatchComputeResources parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Task.InfrastructureSpec.BatchComputeResources> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Task.InfrastructureSpec.BatchComputeResources getDefaultInstanceForType()
Returns
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
Type | Description |
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
Type | Description |
int | The maxExecutorsCount.
|
getParserForType()
public Parser<Task.InfrastructureSpec.BatchComputeResources> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Task.InfrastructureSpec.BatchComputeResources.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Task.InfrastructureSpec.BatchComputeResources.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Task.InfrastructureSpec.BatchComputeResources.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions