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
USER_MANAGED_FIELD_NUMBER
public static final int USER_MANAGED_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ReplicationStatus getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ReplicationStatus.Builder newBuilder()
Returns
newBuilder(ReplicationStatus prototype)
public static ReplicationStatus.Builder newBuilder(ReplicationStatus prototype)
Parameter
Returns
public static ReplicationStatus parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReplicationStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ReplicationStatus parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReplicationStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ReplicationStatus parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReplicationStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReplicationStatus parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ReplicationStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ReplicationStatus parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ReplicationStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ReplicationStatus parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReplicationStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ReplicationStatus> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
getDefaultInstanceForType()
public ReplicationStatus getDefaultInstanceForType()
Returns
getParserForType()
public Parser<ReplicationStatus> getParserForType()
Returns
Overrides
getReplicationStatusCase()
public ReplicationStatus.ReplicationStatusCase getReplicationStatusCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ReplicationStatus.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReplicationStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ReplicationStatus.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions