Class SecretManagerConfig.Builder (2.42.0)

public static final class SecretManagerConfig.Builder extends GeneratedMessageV3.Builder<SecretManagerConfig.Builder> implements SecretManagerConfigOrBuilder

SecretManagerConfig is config for secret manager enablement.

Protobuf type google.container.v1beta1.SecretManagerConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecretManagerConfig build()
Returns
TypeDescription
SecretManagerConfig

buildPartial()

public SecretManagerConfig buildPartial()
Returns
TypeDescription
SecretManagerConfig

clear()

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

clearEnabled()

public SecretManagerConfig.Builder clearEnabled()

Whether the cluster is configured to use secret manager CSI component.

optional bool enabled = 1;

Returns
TypeDescription
SecretManagerConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SecretManagerConfig getDefaultInstanceForType()
Returns
TypeDescription
SecretManagerConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Whether the cluster is configured to use secret manager CSI component.

optional bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

hasEnabled()

public boolean hasEnabled()

Whether the cluster is configured to use secret manager CSI component.

optional bool enabled = 1;

Returns
TypeDescription
boolean

Whether the enabled field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SecretManagerConfig other)

public SecretManagerConfig.Builder mergeFrom(SecretManagerConfig other)
Parameter
NameDescription
otherSecretManagerConfig
Returns
TypeDescription
SecretManagerConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecretManagerConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SecretManagerConfig.Builder
Overrides

setEnabled(boolean value)

public SecretManagerConfig.Builder setEnabled(boolean value)

Whether the cluster is configured to use secret manager CSI component.

optional bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
SecretManagerConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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