Class ReplicationStatus.AutomaticStatus.Builder (2.83.0)

public static final class ReplicationStatus.AutomaticStatus.Builder extends GeneratedMessage.Builder<ReplicationStatus.AutomaticStatus.Builder> implements ReplicationStatus.AutomaticStatusOrBuilder

The replication status of a SecretVersion using automatic replication.

Only populated if the parent Secret has an automatic replication policy.

Protobuf type google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus

Static Methods

getDescriptor()

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

Methods

build()

public ReplicationStatus.AutomaticStatus build()
Returns
Type Description
ReplicationStatus.AutomaticStatus

buildPartial()

public ReplicationStatus.AutomaticStatus buildPartial()
Returns
Type Description
ReplicationStatus.AutomaticStatus

clear()

public ReplicationStatus.AutomaticStatus.Builder clear()
Returns
Type Description
ReplicationStatus.AutomaticStatus.Builder
Overrides

clearCustomerManagedEncryption()

public ReplicationStatus.AutomaticStatus.Builder clearCustomerManagedEncryption()

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReplicationStatus.AutomaticStatus.Builder

getCustomerManagedEncryption()

public CustomerManagedEncryptionStatus getCustomerManagedEncryption()

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomerManagedEncryptionStatus

The customerManagedEncryption.

getCustomerManagedEncryptionBuilder()

public CustomerManagedEncryptionStatus.Builder getCustomerManagedEncryptionBuilder()

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomerManagedEncryptionStatus.Builder

getCustomerManagedEncryptionOrBuilder()

public CustomerManagedEncryptionStatusOrBuilder getCustomerManagedEncryptionOrBuilder()

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomerManagedEncryptionStatusOrBuilder

getDefaultInstanceForType()

public ReplicationStatus.AutomaticStatus getDefaultInstanceForType()
Returns
Type Description
ReplicationStatus.AutomaticStatus

getDescriptorForType()

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

hasCustomerManagedEncryption()

public boolean hasCustomerManagedEncryption()

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the customerManagedEncryption field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomerManagedEncryption(CustomerManagedEncryptionStatus value)

public ReplicationStatus.AutomaticStatus.Builder mergeCustomerManagedEncryption(CustomerManagedEncryptionStatus value)

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CustomerManagedEncryptionStatus
Returns
Type Description
ReplicationStatus.AutomaticStatus.Builder

mergeFrom(ReplicationStatus.AutomaticStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCustomerManagedEncryption(CustomerManagedEncryptionStatus value)

public ReplicationStatus.AutomaticStatus.Builder setCustomerManagedEncryption(CustomerManagedEncryptionStatus value)

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CustomerManagedEncryptionStatus
Returns
Type Description
ReplicationStatus.AutomaticStatus.Builder

setCustomerManagedEncryption(CustomerManagedEncryptionStatus.Builder builderForValue)

public ReplicationStatus.AutomaticStatus.Builder setCustomerManagedEncryption(CustomerManagedEncryptionStatus.Builder builderForValue)

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CustomerManagedEncryptionStatus.Builder
Returns
Type Description
ReplicationStatus.AutomaticStatus.Builder