Class ReplicationStatus (2.31.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
TypeDescription
int

USER_MANAGED_FIELD_NUMBER

public static final int USER_MANAGED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReplicationStatus getDefaultInstance()
Returns
TypeDescription
ReplicationStatus

getDescriptor()

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

newBuilder()

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

newBuilder(ReplicationStatus prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ReplicationStatus> parser()
Returns
TypeDescription
Parser<ReplicationStatus>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ReplicationStatus getDefaultInstanceForType()
Returns
TypeDescription
ReplicationStatus

getParserForType()

public Parser<ReplicationStatus> getParserForType()
Returns
TypeDescription
Parser<ReplicationStatus>
Overrides

getReplicationStatusCase()

public ReplicationStatus.ReplicationStatusCase getReplicationStatusCase()
Returns
TypeDescription
ReplicationStatus.ReplicationStatusCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the userManaged 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.Builder newBuilderForType()
Returns
TypeDescription
ReplicationStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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