public static final class Environment.InfrastructureSpec.ComputeResources.Builder extends GeneratedMessage.Builder<Environment.InfrastructureSpec.ComputeResources.Builder> implements Environment.InfrastructureSpec.ComputeResourcesOrBuilderCompute resources associated with the analyze interactive workloads.
Protobuf type
google.cloud.dataplex.v1.Environment.InfrastructureSpec.ComputeResources
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Environment.InfrastructureSpec.ComputeResources.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Environment.InfrastructureSpec.ComputeResources build()| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources |
|
buildPartial()
public Environment.InfrastructureSpec.ComputeResources buildPartial()| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources |
|
clear()
public Environment.InfrastructureSpec.ComputeResources.Builder clear()| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources.Builder |
|
clearDiskSizeGb()
public Environment.InfrastructureSpec.ComputeResources.Builder clearDiskSizeGb()Optional. Size in GB of the disk. Default is 100 GB.
int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources.Builder |
This builder for chaining. |
clearMaxNodeCount()
public Environment.InfrastructureSpec.ComputeResources.Builder clearMaxNodeCount()Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled.
int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources.Builder |
This builder for chaining. |
clearNodeCount()
public Environment.InfrastructureSpec.ComputeResources.Builder clearNodeCount()Optional. Total number of nodes in the sessions created for this environment.
int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Environment.InfrastructureSpec.ComputeResources getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDiskSizeGb()
public int getDiskSizeGb()Optional. Size in GB of the disk. Default is 100 GB.
int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The diskSizeGb. |
getMaxNodeCount()
public int getMaxNodeCount()Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled.
int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The maxNodeCount. |
getNodeCount()
public int getNodeCount()Optional. Total number of nodes in the sessions created for this environment.
int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The nodeCount. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Environment.InfrastructureSpec.ComputeResources other)
public Environment.InfrastructureSpec.ComputeResources.Builder mergeFrom(Environment.InfrastructureSpec.ComputeResources other)| Parameter | |
|---|---|
| Name | Description |
other |
Environment.InfrastructureSpec.ComputeResources |
| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Environment.InfrastructureSpec.ComputeResources.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Environment.InfrastructureSpec.ComputeResources.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources.Builder |
|
setDiskSizeGb(int value)
public Environment.InfrastructureSpec.ComputeResources.Builder setDiskSizeGb(int value)Optional. Size in GB of the disk. Default is 100 GB.
int32 disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe diskSizeGb to set. |
| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources.Builder |
This builder for chaining. |
setMaxNodeCount(int value)
public Environment.InfrastructureSpec.ComputeResources.Builder setMaxNodeCount(int value)Optional. Max configurable nodes. If max_node_count > node_count, then auto-scaling is enabled.
int32 max_node_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe maxNodeCount to set. |
| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources.Builder |
This builder for chaining. |
setNodeCount(int value)
public Environment.InfrastructureSpec.ComputeResources.Builder setNodeCount(int value)Optional. Total number of nodes in the sessions created for this environment.
int32 node_count = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe nodeCount to set. |
| Returns | |
|---|---|
| Type | Description |
Environment.InfrastructureSpec.ComputeResources.Builder |
This builder for chaining. |