Class Instance.ReadPoolConfig.Builder (0.14.1)

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.events.cloud.alloydb.v1.Instance.ReadPoolConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Instance.ReadPoolConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
Overrides

build()

public Instance.ReadPoolConfig build()
Returns
TypeDescription
Instance.ReadPoolConfig

buildPartial()

public Instance.ReadPoolConfig buildPartial()
Returns
TypeDescription
Instance.ReadPoolConfig

clear()

public Instance.ReadPoolConfig.Builder clear()
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Instance.ReadPoolConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
Overrides

clearNodeCount()

public Instance.ReadPoolConfig.Builder clearNodeCount()

Read capacity, i.e. number of nodes in a read pool instance.

int32 node_count = 1;

Returns
TypeDescription
Instance.ReadPoolConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.ReadPoolConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
Overrides

clone()

public Instance.ReadPoolConfig.Builder clone()
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
Overrides

getDefaultInstanceForType()

public Instance.ReadPoolConfig getDefaultInstanceForType()
Returns
TypeDescription
Instance.ReadPoolConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNodeCount()

public int getNodeCount()

Read capacity, i.e. number of nodes in a read pool instance.

int32 node_count = 1;

Returns
TypeDescription
int

The nodeCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Instance.ReadPoolConfig other)

public Instance.ReadPoolConfig.Builder mergeFrom(Instance.ReadPoolConfig other)
Parameter
NameDescription
otherInstance.ReadPoolConfig
Returns
TypeDescription
Instance.ReadPoolConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Instance.ReadPoolConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Instance.ReadPoolConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.ReadPoolConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.ReadPoolConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
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
NameDescription
valueint

The nodeCount to set.

Returns
TypeDescription
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)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.ReadPoolConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Instance.ReadPoolConfig.Builder
Overrides