Class GkeBackupAgentConfig.Builder (2.86.0)

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

Configuration for the Backup for GKE Agent.

Protobuf type google.container.v1beta1.GkeBackupAgentConfig

Static Methods

getDescriptor()

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

Methods

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.

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 GeneratedMessage.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

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.