Class SecretManagerConfig.Builder (2.58.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.v1.SecretManagerConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecretManagerConfig build()
Returns
Type Description
SecretManagerConfig

buildPartial()

public SecretManagerConfig buildPartial()
Returns
Type Description
SecretManagerConfig

clear()

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

clearEnabled()

public SecretManagerConfig.Builder clearEnabled()

Enable/Disable Secret Manager Config.

optional bool enabled = 1;

Returns
Type Description
SecretManagerConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SecretManagerConfig getDefaultInstanceForType()
Returns
Type Description
SecretManagerConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Enable/Disable Secret Manager Config.

optional bool enabled = 1;

Returns
Type Description
boolean

The enabled.

hasEnabled()

public boolean hasEnabled()

Enable/Disable Secret Manager Config.

optional bool enabled = 1;

Returns
Type Description
boolean

Whether the enabled field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecretManagerConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEnabled(boolean value)

public SecretManagerConfig.Builder setEnabled(boolean value)

Enable/Disable Secret Manager Config.

optional bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
SecretManagerConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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