Class ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder (2.83.0)

public static final class ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder extends GeneratedMessage.Builder<ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder> implements ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder

Describes the status of a user-managed replica for the SecretVersion.

Protobuf type google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus

Static Methods

getDescriptor()

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

Methods

build()

public ReplicationStatus.UserManagedStatus.ReplicaStatus build()
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus

buildPartial()

public ReplicationStatus.UserManagedStatus.ReplicaStatus buildPartial()
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus

clear()

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder clear()
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
Overrides

clearCustomerManagedEncryption()

public ReplicationStatus.UserManagedStatus.ReplicaStatus.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

clearLocation()

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder clearLocation()

Output only. The canonical ID of the replica location. For example: "us-east1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

This builder for chaining.

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 = 2 [(.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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomerManagedEncryptionStatusOrBuilder

getDefaultInstanceForType()

public ReplicationStatus.UserManagedStatus.ReplicaStatus getDefaultInstanceForType()
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus

getDescriptorForType()

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

getLocation()

public String getLocation()

Output only. The canonical ID of the replica location. For example: "us-east1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

Output only. The canonical ID of the replica location. For example: "us-east1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for location.

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 = 2 [(.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.UserManagedStatus.ReplicaStatus.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CustomerManagedEncryptionStatus
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

mergeFrom(ReplicationStatus.UserManagedStatus.ReplicaStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCustomerManagedEncryption(CustomerManagedEncryptionStatus value)

public ReplicationStatus.UserManagedStatus.ReplicaStatus.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value CustomerManagedEncryptionStatus
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

setCustomerManagedEncryption(CustomerManagedEncryptionStatus.Builder builderForValue)

public ReplicationStatus.UserManagedStatus.ReplicaStatus.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue CustomerManagedEncryptionStatus.Builder
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

setLocation(String value)

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder setLocation(String value)

Output only. The canonical ID of the replica location. For example: "us-east1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The location to set.

Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

This builder for chaining.

setLocationBytes(ByteString value)

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder setLocationBytes(ByteString value)

Output only. The canonical ID of the replica location. For example: "us-east1".

string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for location to set.

Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

This builder for chaining.