public static final class ReplicationStatus.UserManagedStatus.ReplicaStatus extends GeneratedMessageV3 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 Fields
CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
public static final int CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
Field Value
LOCATION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ReplicationStatus.UserManagedStatus.ReplicaStatus getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder newBuilder()
Returns
newBuilder(ReplicationStatus.UserManagedStatus.ReplicaStatus prototype)
public static ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder newBuilder(ReplicationStatus.UserManagedStatus.ReplicaStatus prototype)
Parameter
Returns
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ReplicationStatus.UserManagedStatus.ReplicaStatus> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
getDefaultInstanceForType()
public ReplicationStatus.UserManagedStatus.ReplicaStatus getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<ReplicationStatus.UserManagedStatus.ReplicaStatus> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | Whether the customerManagedEncryption field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions