public static final class MachineConfig.Builder extends GeneratedMessage.Builder<MachineConfig.Builder> implements MachineConfigOrBuilderMachineConfig describes the configuration of a machine specific to a Database Resource.
Protobuf type google.cloud.databasecenter.v1beta.MachineConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > MachineConfig.BuilderImplements
MachineConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public MachineConfig build()| Returns | |
|---|---|
| Type | Description |
MachineConfig |
|
buildPartial()
public MachineConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
MachineConfig |
|
clear()
public MachineConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
|
clearBaselineSlotCount()
public MachineConfig.Builder clearBaselineSlotCount()Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.
optional int64 baseline_slot_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
This builder for chaining. |
clearMaxReservationSlotCount()
public MachineConfig.Builder clearMaxReservationSlotCount()Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.
optional int64 max_reservation_slot_count = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
This builder for chaining. |
clearMemorySizeBytes()
public MachineConfig.Builder clearMemorySizeBytes()Memory size in bytes.
int64 memory_size_bytes = 2;
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
This builder for chaining. |
clearShardCount()
public MachineConfig.Builder clearShardCount()Optional. The number of Shards (if applicable).
optional int32 shard_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
This builder for chaining. |
clearVcpuCount()
public MachineConfig.Builder clearVcpuCount()Optional. The number of vCPUs (if applicable).
optional double vcpu_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
This builder for chaining. |
getBaselineSlotCount()
public long getBaselineSlotCount()Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.
optional int64 baseline_slot_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The baselineSlotCount. |
getDefaultInstanceForType()
public MachineConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MachineConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMaxReservationSlotCount()
public long getMaxReservationSlotCount()Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.
optional int64 max_reservation_slot_count = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The maxReservationSlotCount. |
getMemorySizeBytes()
public long getMemorySizeBytes()Memory size in bytes.
int64 memory_size_bytes = 2;
| Returns | |
|---|---|
| Type | Description |
long |
The memorySizeBytes. |
getShardCount()
public int getShardCount()Optional. The number of Shards (if applicable).
optional int32 shard_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The shardCount. |
getVcpuCount()
public double getVcpuCount()Optional. The number of vCPUs (if applicable).
optional double vcpu_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
double |
The vcpuCount. |
hasBaselineSlotCount()
public boolean hasBaselineSlotCount()Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.
optional int64 baseline_slot_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the baselineSlotCount field is set. |
hasMaxReservationSlotCount()
public boolean hasMaxReservationSlotCount()Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.
optional int64 max_reservation_slot_count = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the maxReservationSlotCount field is set. |
hasShardCount()
public boolean hasShardCount()Optional. The number of Shards (if applicable).
optional int32 shard_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the shardCount field is set. |
hasVcpuCount()
public boolean hasVcpuCount()Optional. The number of vCPUs (if applicable).
optional double vcpu_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the vcpuCount field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(MachineConfig other)
public MachineConfig.Builder mergeFrom(MachineConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
MachineConfig |
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MachineConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public MachineConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
|
setBaselineSlotCount(long value)
public MachineConfig.Builder setBaselineSlotCount(long value)Optional. Baseline slots for BigQuery Reservations. Baseline slots are in increments of 50.
optional int64 baseline_slot_count = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe baselineSlotCount to set. |
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
This builder for chaining. |
setMaxReservationSlotCount(long value)
public MachineConfig.Builder setMaxReservationSlotCount(long value)Optional. Max slots for BigQuery Reservations. Max slots are in increments of 50.
optional int64 max_reservation_slot_count = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe maxReservationSlotCount to set. |
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
This builder for chaining. |
setMemorySizeBytes(long value)
public MachineConfig.Builder setMemorySizeBytes(long value)Memory size in bytes.
int64 memory_size_bytes = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
longThe memorySizeBytes to set. |
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
This builder for chaining. |
setShardCount(int value)
public MachineConfig.Builder setShardCount(int value)Optional. The number of Shards (if applicable).
optional int32 shard_count = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe shardCount to set. |
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
This builder for chaining. |
setVcpuCount(double value)
public MachineConfig.Builder setVcpuCount(double value)Optional. The number of vCPUs (if applicable).
optional double vcpu_count = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe vcpuCount to set. |
| Returns | |
|---|---|
| Type | Description |
MachineConfig.Builder |
This builder for chaining. |