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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ReplicationStatus.UserManagedStatus.ReplicaStatus build()
buildPartial()
public ReplicationStatus.UserManagedStatus.ReplicaStatus buildPartial()
clear()
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder clone()
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];
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];
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];
getDefaultInstanceForType()
public ReplicationStatus.UserManagedStatus.ReplicaStatus getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(ReplicationStatus.UserManagedStatus.ReplicaStatus other)
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder mergeFrom(ReplicationStatus.UserManagedStatus.ReplicaStatus other)
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
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 |
---|
Name | Description |
value | String
The location to set.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides