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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.ReadPoolConfig.BuilderImplements
Instance.ReadPoolConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.ReadPoolConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Instance.ReadPoolConfig.Builder |
build()
public Instance.ReadPoolConfig build()
Type | Description |
Instance.ReadPoolConfig |
buildPartial()
public Instance.ReadPoolConfig buildPartial()
Type | Description |
Instance.ReadPoolConfig |
clear()
public Instance.ReadPoolConfig.Builder clear()
Type | Description |
Instance.ReadPoolConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public Instance.ReadPoolConfig.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
Instance.ReadPoolConfig.Builder |
clearNodeCount()
public Instance.ReadPoolConfig.Builder clearNodeCount()
Read capacity, i.e. number of nodes in a read pool instance.
int32 node_count = 1;
Type | Description |
Instance.ReadPoolConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.ReadPoolConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
Instance.ReadPoolConfig.Builder |
clone()
public Instance.ReadPoolConfig.Builder clone()
Type | Description |
Instance.ReadPoolConfig.Builder |
getDefaultInstanceForType()
public Instance.ReadPoolConfig getDefaultInstanceForType()
Type | Description |
Instance.ReadPoolConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getNodeCount()
public int getNodeCount()
Read capacity, i.e. number of nodes in a read pool instance.
int32 node_count = 1;
Type | Description |
int |
The nodeCount. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Instance.ReadPoolConfig other)
public Instance.ReadPoolConfig.Builder mergeFrom(Instance.ReadPoolConfig other)
Name | Description |
other |
Instance.ReadPoolConfig |
Type | Description |
Instance.ReadPoolConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.ReadPoolConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
Instance.ReadPoolConfig.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Instance.ReadPoolConfig.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
Instance.ReadPoolConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.ReadPoolConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Instance.ReadPoolConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.ReadPoolConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
Instance.ReadPoolConfig.Builder |
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;
Name | Description |
value |
int The nodeCount to set. |
Type | Description |
Instance.ReadPoolConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.ReadPoolConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
Instance.ReadPoolConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.ReadPoolConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
Instance.ReadPoolConfig.Builder |