public static final class Task.InfrastructureSpec.BatchComputeResources.Builder extends GeneratedMessage.Builder<Task.InfrastructureSpec.BatchComputeResources.Builder> implements Task.InfrastructureSpec.BatchComputeResourcesOrBuilderBatch compute resources associated with the task.
Protobuf type
google.cloud.dataplex.v1.Task.InfrastructureSpec.BatchComputeResources
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Task.InfrastructureSpec.BatchComputeResources.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Task.InfrastructureSpec.BatchComputeResources build()| Returns | |
|---|---|
| Type | Description |
Task.InfrastructureSpec.BatchComputeResources |
|
buildPartial()
public Task.InfrastructureSpec.BatchComputeResources buildPartial()| Returns | |
|---|---|
| Type | Description |
Task.InfrastructureSpec.BatchComputeResources |
|
clear()
public Task.InfrastructureSpec.BatchComputeResources.Builder clear()| Returns | |
|---|---|
| Type | Description |
Task.InfrastructureSpec.BatchComputeResources.Builder |
|
clearExecutorsCount()
public Task.InfrastructureSpec.BatchComputeResources.Builder clearExecutorsCount()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 |
Task.InfrastructureSpec.BatchComputeResources.Builder |
This builder for chaining. |
clearMaxExecutorsCount()
public Task.InfrastructureSpec.BatchComputeResources.Builder clearMaxExecutorsCount()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 |
Task.InfrastructureSpec.BatchComputeResources.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Task.InfrastructureSpec.BatchComputeResources getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Task.InfrastructureSpec.BatchComputeResources |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Task.InfrastructureSpec.BatchComputeResources other)
public Task.InfrastructureSpec.BatchComputeResources.Builder mergeFrom(Task.InfrastructureSpec.BatchComputeResources other)| Parameter | |
|---|---|
| Name | Description |
other |
Task.InfrastructureSpec.BatchComputeResources |
| Returns | |
|---|---|
| Type | Description |
Task.InfrastructureSpec.BatchComputeResources.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Task.InfrastructureSpec.BatchComputeResources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Task.InfrastructureSpec.BatchComputeResources.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Task.InfrastructureSpec.BatchComputeResources.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Task.InfrastructureSpec.BatchComputeResources.Builder |
|
setExecutorsCount(int value)
public Task.InfrastructureSpec.BatchComputeResources.Builder setExecutorsCount(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe executorsCount to set. |
| Returns | |
|---|---|
| Type | Description |
Task.InfrastructureSpec.BatchComputeResources.Builder |
This builder for chaining. |
setMaxExecutorsCount(int value)
public Task.InfrastructureSpec.BatchComputeResources.Builder setMaxExecutorsCount(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maxExecutorsCount to set. |
| Returns | |
|---|---|
| Type | Description |
Task.InfrastructureSpec.BatchComputeResources.Builder |
This builder for chaining. |