Class SecretSyncConfig.Builder (2.86.0)

public static final class SecretSyncConfig.Builder extends GeneratedMessage.Builder<SecretSyncConfig.Builder> implements SecretSyncConfigOrBuilder

Configuration for sync Secret Manager secrets as k8s secrets.

Protobuf type google.container.v1beta1.SecretSyncConfig

Static Methods

getDescriptor()

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

Methods

build()

public SecretSyncConfig build()
Returns
Type Description
SecretSyncConfig

buildPartial()

public SecretSyncConfig buildPartial()
Returns
Type Description
SecretSyncConfig

clear()

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

clearEnabled()

public SecretSyncConfig.Builder clearEnabled()

Enable/Disable Secret Sync Config.

optional bool enabled = 1;

Returns
Type Description
SecretSyncConfig.Builder

This builder for chaining.

clearRotationConfig()

public SecretSyncConfig.Builder clearRotationConfig()

Rotation config for secret manager.

optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;

Returns
Type Description
SecretSyncConfig.Builder

getDefaultInstanceForType()

public SecretSyncConfig getDefaultInstanceForType()
Returns
Type Description
SecretSyncConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Enable/Disable Secret Sync Config.

optional bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getRotationConfig()

public SecretSyncConfig.SyncRotationConfig getRotationConfig()

Rotation config for secret manager.

optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;

Returns
Type Description
SecretSyncConfig.SyncRotationConfig

The rotationConfig.

getRotationConfigBuilder()

public SecretSyncConfig.SyncRotationConfig.Builder getRotationConfigBuilder()

Rotation config for secret manager.

optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;

Returns
Type Description
SecretSyncConfig.SyncRotationConfig.Builder

getRotationConfigOrBuilder()

public SecretSyncConfig.SyncRotationConfigOrBuilder getRotationConfigOrBuilder()

Rotation config for secret manager.

optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;

Returns
Type Description
SecretSyncConfig.SyncRotationConfigOrBuilder

hasEnabled()

public boolean hasEnabled()

Enable/Disable Secret Sync Config.

optional bool enabled = 1;

Returns
Type Description
boolean

Whether the enabled field is set.

hasRotationConfig()

public boolean hasRotationConfig()

Rotation config for secret manager.

optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;

Returns
Type Description
boolean

Whether the rotationConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecretSyncConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRotationConfig(SecretSyncConfig.SyncRotationConfig value)

public SecretSyncConfig.Builder mergeRotationConfig(SecretSyncConfig.SyncRotationConfig value)

Rotation config for secret manager.

optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;

Parameter
Name Description
value SecretSyncConfig.SyncRotationConfig
Returns
Type Description
SecretSyncConfig.Builder

setEnabled(boolean value)

public SecretSyncConfig.Builder setEnabled(boolean value)

Enable/Disable Secret Sync Config.

optional bool enabled = 1;

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
SecretSyncConfig.Builder

This builder for chaining.

setRotationConfig(SecretSyncConfig.SyncRotationConfig value)

public SecretSyncConfig.Builder setRotationConfig(SecretSyncConfig.SyncRotationConfig value)

Rotation config for secret manager.

optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;

Parameter
Name Description
value SecretSyncConfig.SyncRotationConfig
Returns
Type Description
SecretSyncConfig.Builder

setRotationConfig(SecretSyncConfig.SyncRotationConfig.Builder builderForValue)

public SecretSyncConfig.Builder setRotationConfig(SecretSyncConfig.SyncRotationConfig.Builder builderForValue)

Rotation config for secret manager.

optional .google.container.v1beta1.SecretSyncConfig.SyncRotationConfig rotation_config = 2;

Parameter
Name Description
builderForValue SecretSyncConfig.SyncRotationConfig.Builder
Returns
Type Description
SecretSyncConfig.Builder