public static final class SecretManagerConfig.Builder extends GeneratedMessage.Builder<SecretManagerConfig.Builder> implements SecretManagerConfigOrBuilderSecretManagerConfig is config for secret manager enablement.
Protobuf type google.container.v1beta1.SecretManagerConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SecretManagerConfig.BuilderImplements
SecretManagerConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearEnabled()
public SecretManagerConfig.Builder clearEnabled()Enable/Disable Secret Manager Config.
optional bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.Builder |
This builder for chaining. |
clearRotationConfig()
public SecretManagerConfig.Builder clearRotationConfig()Rotation config for secret manager.
optional .google.container.v1beta1.SecretManagerConfig.RotationConfig rotation_config = 2;
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.Builder |
|
getDefaultInstanceForType()
public SecretManagerConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEnabled()
public boolean getEnabled()Enable/Disable Secret Manager Config.
optional bool enabled = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
The enabled. |
getRotationConfig()
public SecretManagerConfig.RotationConfig getRotationConfig()Rotation config for secret manager.
optional .google.container.v1beta1.SecretManagerConfig.RotationConfig rotation_config = 2;
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig |
The rotationConfig. |
getRotationConfigBuilder()
public SecretManagerConfig.RotationConfig.Builder getRotationConfigBuilder()Rotation config for secret manager.
optional .google.container.v1beta1.SecretManagerConfig.RotationConfig rotation_config = 2;
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfig.Builder |
|
getRotationConfigOrBuilder()
public SecretManagerConfig.RotationConfigOrBuilder getRotationConfigOrBuilder()Rotation config for secret manager.
optional .google.container.v1beta1.SecretManagerConfig.RotationConfig rotation_config = 2;
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.RotationConfigOrBuilder |
|
hasEnabled()
public boolean hasEnabled()Enable/Disable Secret Manager 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.SecretManagerConfig.RotationConfig rotation_config = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the rotationConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SecretManagerConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.Builder |
|
mergeRotationConfig(SecretManagerConfig.RotationConfig value)
public SecretManagerConfig.Builder mergeRotationConfig(SecretManagerConfig.RotationConfig value)Rotation config for secret manager.
optional .google.container.v1beta1.SecretManagerConfig.RotationConfig rotation_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SecretManagerConfig.RotationConfig |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.Builder |
|
setEnabled(boolean value)
public SecretManagerConfig.Builder setEnabled(boolean value)Enable/Disable Secret Manager Config.
optional bool enabled = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe enabled to set. |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.Builder |
This builder for chaining. |
setRotationConfig(SecretManagerConfig.RotationConfig value)
public SecretManagerConfig.Builder setRotationConfig(SecretManagerConfig.RotationConfig value)Rotation config for secret manager.
optional .google.container.v1beta1.SecretManagerConfig.RotationConfig rotation_config = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SecretManagerConfig.RotationConfig |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.Builder |
|
setRotationConfig(SecretManagerConfig.RotationConfig.Builder builderForValue)
public SecretManagerConfig.Builder setRotationConfig(SecretManagerConfig.RotationConfig.Builder builderForValue)Rotation config for secret manager.
optional .google.container.v1beta1.SecretManagerConfig.RotationConfig rotation_config = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SecretManagerConfig.RotationConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
SecretManagerConfig.Builder |
|