Class Replication.Automatic (2.40.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static Replication.Automatic getDefaultInstance()
Returns
TypeDescription
Replication.Automatic

getDescriptor()

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

newBuilder()

public static Replication.Automatic.Builder newBuilder()
Returns
TypeDescription
Replication.Automatic.Builder

newBuilder(Replication.Automatic prototype)

public static Replication.Automatic.Builder newBuilder(Replication.Automatic prototype)
Parameter
NameDescription
prototypeReplication.Automatic
Returns
TypeDescription
Replication.Automatic.Builder

parseDelimitedFrom(InputStream input)

public static Replication.Automatic parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Replication.Automatic
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Replication.Automatic parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Replication.Automatic
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Replication.Automatic parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Replication.Automatic
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Replication.Automatic parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Replication.Automatic
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Replication.Automatic parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Replication.Automatic
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CustomerManagedEncryptionOrBuilder

getDefaultInstanceForType()

public Replication.Automatic getDefaultInstanceForType()
Returns
TypeDescription
Replication.Automatic

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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 Replication.Automatic.Builder newBuilderForType()
Returns
TypeDescription
Replication.Automatic.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Replication.Automatic.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Replication.Automatic.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Replication.Automatic.Builder toBuilder()
Returns
TypeDescription
Replication.Automatic.Builder

writeTo(CodedOutputStream output)

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