Class ReplicationStatus.AutomaticStatus (2.11.0)

public static final class ReplicationStatus.AutomaticStatus extends GeneratedMessageV3 implements ReplicationStatus.AutomaticStatusOrBuilder

The replication status of a SecretVersion using automatic replication. Only populated if the parent Secret has an automatic replication policy.

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

Inheritance

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

Static Fields

CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER

public static final int CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(ReplicationStatus.AutomaticStatus prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomerManagedEncryption()

public CustomerManagedEncryptionStatus getCustomerManagedEncryption()

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CustomerManagedEncryptionStatus

The customerManagedEncryption.

getCustomerManagedEncryptionOrBuilder()

public CustomerManagedEncryptionStatusOrBuilder getCustomerManagedEncryptionOrBuilder()

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
CustomerManagedEncryptionStatusOrBuilder

getDefaultInstanceForType()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCustomerManagedEncryption()

public boolean hasCustomerManagedEncryption()

Output only. The customer-managed encryption status of the SecretVersion. Only populated if customer-managed encryption is used.

.google.cloud.secretmanager.v1.CustomerManagedEncryptionStatus customer_managed_encryption = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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