Class ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder (2.40.0)

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

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReplicationStatus.UserManagedStatus.ReplicaStatus build()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus

buildPartial()

public ReplicationStatus.UserManagedStatus.ReplicaStatus buildPartial()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

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
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

Returns
TypeDescription
CustomerManagedEncryptionStatusOrBuilder

getDefaultInstanceForType()

public ReplicationStatus.UserManagedStatus.ReplicaStatus getDefaultInstanceForType()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
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.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
NameDescription
valueCustomerManagedEncryptionStatus
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

mergeFrom(ReplicationStatus.UserManagedStatus.ReplicaStatus other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
Overrides

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
NameDescription
valueString

The location to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for location to set.

Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

This builder for chaining.

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

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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