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.v1.Instance.ReadPoolConfig
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.ReadPoolConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Instance.ReadPoolConfig build()
buildPartial()
public Instance.ReadPoolConfig buildPartial()
clear()
public Instance.ReadPoolConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Instance.ReadPoolConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNodeCount()
public Instance.ReadPoolConfig.Builder clearNodeCount()
Read capacity, i.e. number of nodes in a read pool instance.
int32 node_count = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.ReadPoolConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Instance.ReadPoolConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public Instance.ReadPoolConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Instance.ReadPoolConfig other)
public Instance.ReadPoolConfig.Builder mergeFrom(Instance.ReadPoolConfig other)
public Instance.ReadPoolConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Instance.ReadPoolConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.ReadPoolConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.ReadPoolConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.ReadPoolConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.ReadPoolConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides