Class ReplicationStatus.AutomaticStatus.Builder (2.9.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.AutomaticStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplicationStatus.AutomaticStatus.Builder
Overrides

build()

public ReplicationStatus.AutomaticStatus build()
Returns
TypeDescription
ReplicationStatus.AutomaticStatus

buildPartial()

public ReplicationStatus.AutomaticStatus buildPartial()
Returns
TypeDescription
ReplicationStatus.AutomaticStatus

clear()

public ReplicationStatus.AutomaticStatus.Builder clear()
Returns
TypeDescription
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
TypeDescription
ReplicationStatus.AutomaticStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public ReplicationStatus.AutomaticStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReplicationStatus.AutomaticStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplicationStatus.AutomaticStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReplicationStatus.AutomaticStatus.Builder
Overrides

clone()

public ReplicationStatus.AutomaticStatus.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CustomerManagedEncryptionStatusOrBuilder

getDefaultInstanceForType()

public ReplicationStatus.AutomaticStatus getDefaultInstanceForType()
Returns
TypeDescription
ReplicationStatus.AutomaticStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the customerManagedEncryption field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCustomerManagedEncryptionStatus
Returns
TypeDescription
ReplicationStatus.AutomaticStatus.Builder

mergeFrom(ReplicationStatus.AutomaticStatus other)

public ReplicationStatus.AutomaticStatus.Builder mergeFrom(ReplicationStatus.AutomaticStatus other)
Parameter
NameDescription
otherReplicationStatus.AutomaticStatus
Returns
TypeDescription
ReplicationStatus.AutomaticStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReplicationStatus.AutomaticStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationStatus.AutomaticStatus.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReplicationStatus.AutomaticStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReplicationStatus.AutomaticStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.AutomaticStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCustomerManagedEncryptionStatus
Returns
TypeDescription
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
NameDescription
builderForValueCustomerManagedEncryptionStatus.Builder
Returns
TypeDescription
ReplicationStatus.AutomaticStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.AutomaticStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReplicationStatus.AutomaticStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.AutomaticStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReplicationStatus.AutomaticStatus.Builder
Overrides