public static final class StatefulHAConfig.Builder extends GeneratedMessageV3.Builder<StatefulHAConfig.Builder> implements StatefulHAConfigOrBuilder
Configuration for the Stateful HA add-on.
Protobuf type google.container.v1beta1.StatefulHAConfig
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 StatefulHAConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StatefulHAConfig build()
buildPartial()
public StatefulHAConfig buildPartial()
clear()
public StatefulHAConfig.Builder clear()
Overrides
clearEnabled()
public StatefulHAConfig.Builder clearEnabled()
Whether the Stateful HA add-on is enabled for this cluster.
bool enabled = 1;
clearField(Descriptors.FieldDescriptor field)
public StatefulHAConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StatefulHAConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StatefulHAConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public StatefulHAConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StatefulHAConfig other)
public StatefulHAConfig.Builder mergeFrom(StatefulHAConfig other)
public StatefulHAConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StatefulHAConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StatefulHAConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public StatefulHAConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StatefulHAConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StatefulHAConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides