Class GkeBackupAgentConfig.Builder (2.3.6)

public static final class GkeBackupAgentConfig.Builder extends GeneratedMessageV3.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GkeBackupAgentConfig build()
Returns
TypeDescription
GkeBackupAgentConfig

buildPartial()

public GkeBackupAgentConfig buildPartial()
Returns
TypeDescription
GkeBackupAgentConfig

clear()

public GkeBackupAgentConfig.Builder clear()
Returns
TypeDescription
GkeBackupAgentConfig.Builder
Overrides

clearEnabled()

public GkeBackupAgentConfig.Builder clearEnabled()

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

bool enabled = 1;

Returns
TypeDescription
GkeBackupAgentConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GkeBackupAgentConfig.Builder clone()
Returns
TypeDescription
GkeBackupAgentConfig.Builder
Overrides

getDefaultInstanceForType()

public GkeBackupAgentConfig getDefaultInstanceForType()
Returns
TypeDescription
GkeBackupAgentConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

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

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GkeBackupAgentConfig other)

public GkeBackupAgentConfig.Builder mergeFrom(GkeBackupAgentConfig other)
Parameter
NameDescription
otherGkeBackupAgentConfig
Returns
TypeDescription
GkeBackupAgentConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GkeBackupAgentConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
GkeBackupAgentConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public GkeBackupAgentConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GkeBackupAgentConfig.Builder
Overrides

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

public GkeBackupAgentConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GkeBackupAgentConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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