Class Replication.UserManaged.Replica (2.54.0)

public static final class Replication.UserManaged.Replica extends GeneratedMessageV3 implements Replication.UserManaged.ReplicaOrBuilder

Represents a Replica for this Secret.

Protobuf type google.cloud.secretmanager.v1beta2.Replication.UserManaged.Replica

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Replication.UserManaged.Replica

Static Fields

CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER

public static final int CUSTOMER_MANAGED_ENCRYPTION_FIELD_NUMBER
Field Value
Type Description
int

LOCATION_FIELD_NUMBER

public static final int LOCATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Replication.UserManaged.Replica getDefaultInstance()
Returns
Type Description
Replication.UserManaged.Replica

getDescriptor()

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

newBuilder()

public static Replication.UserManaged.Replica.Builder newBuilder()
Returns
Type Description
Replication.UserManaged.Replica.Builder

newBuilder(Replication.UserManaged.Replica prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

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 User-Managed Replica. 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.v1beta2.CustomerManagedEncryption customer_managed_encryption = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerManagedEncryption

The customerManagedEncryption.

getCustomerManagedEncryptionOrBuilder()

public CustomerManagedEncryptionOrBuilder getCustomerManagedEncryptionOrBuilder()

Optional. The customer-managed encryption configuration of the User-Managed Replica. 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.v1beta2.CustomerManagedEncryption customer_managed_encryption = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CustomerManagedEncryptionOrBuilder

getDefaultInstanceForType()

public Replication.UserManaged.Replica getDefaultInstanceForType()
Returns
Type Description
Replication.UserManaged.Replica

getLocation()

public String getLocation()

The canonical IDs of the location to replicate data. For example: "us-east1".

string location = 1;

Returns
Type Description
String

The location.

getLocationBytes()

public ByteString getLocationBytes()

The canonical IDs of the location to replicate data. For example: "us-east1".

string location = 1;

Returns
Type Description
ByteString

The bytes for location.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCustomerManagedEncryption()

public boolean hasCustomerManagedEncryption()

Optional. The customer-managed encryption configuration of the User-Managed Replica. 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.v1beta2.CustomerManagedEncryption customer_managed_encryption = 2 [(.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.UserManaged.Replica.Builder newBuilderForType()
Returns
Type Description
Replication.UserManaged.Replica.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Replication.UserManaged.Replica.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Replication.UserManaged.Replica.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.UserManaged.Replica.Builder toBuilder()
Returns
Type Description
Replication.UserManaged.Replica.Builder

writeTo(CodedOutputStream output)

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