Class GkeBackupAgentConfig.Builder (2.56.0)

public static final class GkeBackupAgentConfig.Builder extends GeneratedMessageV3.Builder<GkeBackupAgentConfig.Builder> implements GkeBackupAgentConfigOrBuilder

Configuration for the Backup for GKE Agent.

Protobuf type google.container.v1.GkeBackupAgentConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GkeBackupAgentConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GkeBackupAgentConfig.Builder
Overrides

build()

public GkeBackupAgentConfig build()
Returns
Type Description
GkeBackupAgentConfig

buildPartial()

public GkeBackupAgentConfig buildPartial()
Returns
Type Description
GkeBackupAgentConfig

clear()

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

clearEnabled()

public GkeBackupAgentConfig.Builder clearEnabled()

Whether the Backup for GKE agent is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
GkeBackupAgentConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GkeBackupAgentConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GkeBackupAgentConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GkeBackupAgentConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GkeBackupAgentConfig.Builder
Overrides

clone()

public GkeBackupAgentConfig.Builder clone()
Returns
Type Description
GkeBackupAgentConfig.Builder
Overrides

getDefaultInstanceForType()

public GkeBackupAgentConfig getDefaultInstanceForType()
Returns
Type Description
GkeBackupAgentConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Whether the Backup for GKE agent is enabled for this cluster.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GkeBackupAgentConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GkeBackupAgentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GkeBackupAgentConfig.Builder
Overrides

setEnabled(boolean value)

public GkeBackupAgentConfig.Builder setEnabled(boolean value)

Whether the Backup for GKE agent is enabled for this cluster.

bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
GkeBackupAgentConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GkeBackupAgentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GkeBackupAgentConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GkeBackupAgentConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GkeBackupAgentConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final GkeBackupAgentConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GkeBackupAgentConfig.Builder
Overrides