Class StatefulHAConfig.Builder (2.86.0)

public static final class StatefulHAConfig.Builder extends GeneratedMessage.Builder<StatefulHAConfig.Builder> implements StatefulHAConfigOrBuilder

Configuration for the Stateful HA add-on.

Protobuf type google.container.v1beta1.StatefulHAConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public StatefulHAConfig build()
Returns
Type Description
StatefulHAConfig

buildPartial()

public StatefulHAConfig buildPartial()
Returns
Type Description
StatefulHAConfig

clear()

public StatefulHAConfig.Builder clear()
Returns
Type Description
StatefulHAConfig.Builder
Overrides

clearEnabled()

public StatefulHAConfig.Builder clearEnabled()

Whether the Stateful HA add-on is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
StatefulHAConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public StatefulHAConfig getDefaultInstanceForType()
Returns
Type Description
StatefulHAConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether the Stateful HA add-on is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StatefulHAConfig other)

public StatefulHAConfig.Builder mergeFrom(StatefulHAConfig other)
Parameter
Name Description
other StatefulHAConfig
Returns
Type Description
StatefulHAConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StatefulHAConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StatefulHAConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StatefulHAConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StatefulHAConfig.Builder
Overrides

setEnabled(boolean value)

public StatefulHAConfig.Builder setEnabled(boolean value)

Whether the Stateful HA add-on is enabled for this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
StatefulHAConfig.Builder

This builder for chaining.