Class Replication.Automatic (2.54.0)

public static final class Replication.Automatic extends GeneratedMessageV3 implements Replication.AutomaticOrBuilder

A replication policy that replicates the Secret payload without any restrictions.

Protobuf type google.cloud.secretmanager.v1.Replication.Automatic

Static Fields

CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER

public static final int CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Replication.Automatic getDefaultInstance()
Returns
Type Description
Replication.Automatic

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Replication.Automatic.Builder newBuilder()
Returns
Type Description
Replication.Automatic.Builder

newBuilder(Replication.Automatic prototype)

public static Replication.Automatic.Builder newBuilder(Replication.Automatic prototype)
Parameter
Name Description
prototype Replication.Automatic
Returns
Type Description
Replication.Automatic.Builder

parseDelimitedFrom(InputStream input)

public static Replication.Automatic parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Replication.Automatic parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Replication.Automatic parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Replication.Automatic parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Replication.Automatic parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Replication.Automatic parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Replication.Automatic parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Replication.Automatic parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Replication.Automatic parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Replication.Automatic parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Replication.Automatic parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Replication.Automatic parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Replication.Automatic
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Replication.Automatic> parser()
Returns
Type Description
Parser<Automatic>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCustomerManagedEncryption()

public CustomerManagedEncryption getCustomerManagedEncryption()

Optional. The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used.

Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions.

.google.cloud.secretmanager.v1.CustomerManagedEncryption customer_managed_encryption = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerManagedEncryption

The customerManagedEncryption.

getCustomerManagedEncryptionOrBuilder()

public CustomerManagedEncryptionOrBuilder getCustomerManagedEncryptionOrBuilder()

Optional. The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used.

Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions.

.google.cloud.secretmanager.v1.CustomerManagedEncryption customer_managed_encryption = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerManagedEncryptionOrBuilder

getDefaultInstanceForType()

public Replication.Automatic getDefaultInstanceForType()
Returns
Type Description
Replication.Automatic

getParserForType()

public Parser<Replication.Automatic> getParserForType()
Returns
Type Description
Parser<Automatic>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCustomerManagedEncryption()

public boolean hasCustomerManagedEncryption()

Optional. The customer-managed encryption configuration of the Secret. If no configuration is provided, Google-managed default encryption is used.

Updates to the Secret encryption configuration only apply to SecretVersions added afterwards. They do not apply retroactively to existing SecretVersions.

.google.cloud.secretmanager.v1.CustomerManagedEncryption customer_managed_encryption = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the customerManagedEncryption field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Replication.Automatic.Builder newBuilderForType()
Returns
Type Description
Replication.Automatic.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Replication.Automatic.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Replication.Automatic.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Replication.Automatic.Builder toBuilder()
Returns
Type Description
Replication.Automatic.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException