public static final class Instance.MachineConfig.Builder extends GeneratedMessageV3.Builder<Instance.MachineConfig.Builder> implements Instance.MachineConfigOrBuilder
MachineConfig describes the configuration of a machine.
Protobuf type google.cloud.alloydb.v1.Instance.MachineConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.MachineConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Instance.MachineConfig build()
buildPartial()
public Instance.MachineConfig buildPartial()
clear()
public Instance.MachineConfig.Builder clear()
Overrides
clearCpuCount()
public Instance.MachineConfig.Builder clearCpuCount()
The number of CPU's in the VM instance.
int32 cpu_count = 1;
clearField(Descriptors.FieldDescriptor field)
public Instance.MachineConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.MachineConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Instance.MachineConfig.Builder clone()
Overrides
getCpuCount()
The number of CPU's in the VM instance.
int32 cpu_count = 1;
Returns |
Type |
Description |
int |
The cpuCount.
|
getDefaultInstanceForType()
public Instance.MachineConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Instance.MachineConfig other)
public Instance.MachineConfig.Builder mergeFrom(Instance.MachineConfig other)
public Instance.MachineConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Instance.MachineConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.MachineConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCpuCount(int value)
public Instance.MachineConfig.Builder setCpuCount(int value)
The number of CPU's in the VM instance.
int32 cpu_count = 1;
Parameter |
Name |
Description |
value |
int
The cpuCount to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.MachineConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.MachineConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.MachineConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides