Class ReplicationStatus.UserManagedStatus (2.39.0)

public static final class ReplicationStatus.UserManagedStatus extends GeneratedMessageV3 implements ReplicationStatus.UserManagedStatusOrBuilder

The replication status of a SecretVersion using user-managed replication.

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

Protobuf type google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus

Inheritance

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

Static Fields

REPLICAS_FIELD_NUMBER

public static final int REPLICAS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ReplicationStatus.UserManagedStatus prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ReplicationStatus.UserManagedStatus getDefaultInstanceForType()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus

getParserForType()

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

getReplicas(int index)

public ReplicationStatus.UserManagedStatus.ReplicaStatus getReplicas(int index)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus

getReplicasCount()

public int getReplicasCount()

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getReplicasList()

public List<ReplicationStatus.UserManagedStatus.ReplicaStatus> getReplicasList()

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<ReplicaStatus>

getReplicasOrBuilder(int index)

public ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder getReplicasOrBuilder(int index)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
indexint
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder

getReplicasOrBuilderList()

public List<? extends ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder> getReplicasOrBuilderList()

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
List<? extends com.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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