Class ReplicationStatus.UserManagedStatus.ReplicaStatus (2.16.0)

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

Inheritance

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

Static Fields

CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER

public static final int CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
Field Value
TypeDescription
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReplicationStatus.UserManagedStatus.ReplicaStatus getDefaultInstance()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus

getDescriptor()

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

newBuilder()

public static ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder newBuilder()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

newBuilder(ReplicationStatus.UserManagedStatus.ReplicaStatus prototype)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder newBuilder(ReplicationStatus.UserManagedStatus.ReplicaStatus prototype)
Parameter
NameDescription
prototypeReplicationStatus.UserManagedStatus.ReplicaStatus
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

parseDelimitedFrom(InputStream input)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus.UserManagedStatus.ReplicaStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ReplicationStatus.UserManagedStatus.ReplicaStatus> parser()
Returns
TypeDescription
Parser<ReplicaStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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.

getParserForType()

public Parser<ReplicationStatus.UserManagedStatus.ReplicaStatus> getParserForType()
Returns
TypeDescription
Parser<ReplicaStatus>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the customerManagedEncryption field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder newBuilderForType()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder toBuilder()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException