public static final class Instance.ReadPoolConfig.Builder extends GeneratedMessageV3.Builder<Instance.ReadPoolConfig.Builder> implements Instance.ReadPoolConfigOrBuilder
Configuration for a read pool instance.
Protobuf type google.cloud.alloydb.v1beta.Instance.ReadPoolConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.ReadPoolConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Instance.ReadPoolConfig build()
Returns
buildPartial()
public Instance.ReadPoolConfig buildPartial()
Returns
clear()
public Instance.ReadPoolConfig.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Instance.ReadPoolConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearNodeCount()
public Instance.ReadPoolConfig.Builder clearNodeCount()
Read capacity, i.e. number of nodes in a read pool instance.
int32 node_count = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.ReadPoolConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Instance.ReadPoolConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Instance.ReadPoolConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getNodeCount()
public int getNodeCount()
Read capacity, i.e. number of nodes in a read pool instance.
int32 node_count = 1;
Returns
Type |
Description |
int |
The nodeCount.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Instance.ReadPoolConfig other)
public Instance.ReadPoolConfig.Builder mergeFrom(Instance.ReadPoolConfig other)
Parameter
Returns
public Instance.ReadPoolConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Instance.ReadPoolConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.ReadPoolConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.ReadPoolConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setNodeCount(int value)
public Instance.ReadPoolConfig.Builder setNodeCount(int value)
Read capacity, i.e. number of nodes in a read pool instance.
int32 node_count = 1;
Parameter
Name |
Description |
value |
int
The nodeCount to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.ReadPoolConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.ReadPoolConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides