Class ReplicationStatus.AutomaticStatus.Builder (2.44.0)

public static final class ReplicationStatus.AutomaticStatus.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.AutomaticStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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