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