Class ReplicationStatus (2.46.0)

public final class ReplicationStatus extends GeneratedMessageV3 implements ReplicationStatusOrBuilder

The replication status of a SecretVersion.

Protobuf type google.cloud.secretmanager.v1.ReplicationStatus

Static Fields

AUTOMATIC_FIELD_NUMBER

public static final int AUTOMATIC_FIELD_NUMBER
Field Value
Type Description
int

USER_MANAGED_FIELD_NUMBER

public static final int USER_MANAGED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ReplicationStatus getDefaultInstance()
Returns
Type Description
ReplicationStatus

getDescriptor()

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

newBuilder()

public static ReplicationStatus.Builder newBuilder()
Returns
Type Description
ReplicationStatus.Builder

newBuilder(ReplicationStatus prototype)

public static ReplicationStatus.Builder newBuilder(ReplicationStatus prototype)
Parameter
Name Description
prototype ReplicationStatus
Returns
Type Description
ReplicationStatus.Builder

parseDelimitedFrom(InputStream input)

public static ReplicationStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ReplicationStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ReplicationStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ReplicationStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ReplicationStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ReplicationStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ReplicationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ReplicationStatus> parser()
Returns
Type Description
Parser<ReplicationStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAutomatic()

public ReplicationStatus.AutomaticStatus getAutomatic()

Describes the replication status of a SecretVersion with automatic replication.

Only populated if the parent Secret has an automatic replication policy.

.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
Type Description
ReplicationStatus.AutomaticStatus

The automatic.

getAutomaticOrBuilder()

public ReplicationStatus.AutomaticStatusOrBuilder getAutomaticOrBuilder()

Describes the replication status of a SecretVersion with automatic replication.

Only populated if the parent Secret has an automatic replication policy.

.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
Type Description
ReplicationStatus.AutomaticStatusOrBuilder

getDefaultInstanceForType()

public ReplicationStatus getDefaultInstanceForType()
Returns
Type Description
ReplicationStatus

getParserForType()

public Parser<ReplicationStatus> getParserForType()
Returns
Type Description
Parser<ReplicationStatus>
Overrides

getReplicationStatusCase()

public ReplicationStatus.ReplicationStatusCase getReplicationStatusCase()
Returns
Type Description
ReplicationStatus.ReplicationStatusCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserManaged()

public ReplicationStatus.UserManagedStatus getUserManaged()

Describes the replication status of a SecretVersion with user-managed replication.

Only populated if the parent Secret has a user-managed replication policy.

.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
Type Description
ReplicationStatus.UserManagedStatus

The userManaged.

getUserManagedOrBuilder()

public ReplicationStatus.UserManagedStatusOrBuilder getUserManagedOrBuilder()

Describes the replication status of a SecretVersion with user-managed replication.

Only populated if the parent Secret has a user-managed replication policy.

.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
Type Description
ReplicationStatus.UserManagedStatusOrBuilder

hasAutomatic()

public boolean hasAutomatic()

Describes the replication status of a SecretVersion with automatic replication.

Only populated if the parent Secret has an automatic replication policy.

.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
Type Description
boolean

Whether the automatic field is set.

hasUserManaged()

public boolean hasUserManaged()

Describes the replication status of a SecretVersion with user-managed replication.

Only populated if the parent Secret has a user-managed replication policy.

.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
Type Description
boolean

Whether the userManaged field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ReplicationStatus.Builder newBuilderForType()
Returns
Type Description
ReplicationStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ReplicationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ReplicationStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ReplicationStatus.Builder toBuilder()
Returns
Type Description
ReplicationStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException