Class Replication (2.43.0)

public final class Replication extends GeneratedMessageV3 implements ReplicationOrBuilder

A policy that defines the replication and encryption configuration of data.

Protobuf type google.cloud.secretmanager.v1beta2.Replication

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 Replication getDefaultInstance()
Returns
Type Description
Replication

getDescriptor()

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

newBuilder()

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

newBuilder(Replication prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAutomatic()

public Replication.Automatic getAutomatic()

The Secret will automatically be replicated without any restrictions.

.google.cloud.secretmanager.v1beta2.Replication.Automatic automatic = 1;

Returns
Type Description
Replication.Automatic

The automatic.

getAutomaticOrBuilder()

public Replication.AutomaticOrBuilder getAutomaticOrBuilder()

The Secret will automatically be replicated without any restrictions.

.google.cloud.secretmanager.v1beta2.Replication.Automatic automatic = 1;

Returns
Type Description
Replication.AutomaticOrBuilder

getDefaultInstanceForType()

public Replication getDefaultInstanceForType()
Returns
Type Description
Replication

getParserForType()

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

getReplicationCase()

public Replication.ReplicationCase getReplicationCase()
Returns
Type Description
Replication.ReplicationCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUserManaged()

public Replication.UserManaged getUserManaged()

The Secret will only be replicated into the locations specified.

.google.cloud.secretmanager.v1beta2.Replication.UserManaged user_managed = 2;

Returns
Type Description
Replication.UserManaged

The userManaged.

getUserManagedOrBuilder()

public Replication.UserManagedOrBuilder getUserManagedOrBuilder()

The Secret will only be replicated into the locations specified.

.google.cloud.secretmanager.v1beta2.Replication.UserManaged user_managed = 2;

Returns
Type Description
Replication.UserManagedOrBuilder

hasAutomatic()

public boolean hasAutomatic()

The Secret will automatically be replicated without any restrictions.

.google.cloud.secretmanager.v1beta2.Replication.Automatic automatic = 1;

Returns
Type Description
boolean

Whether the automatic field is set.

hasUserManaged()

public boolean hasUserManaged()

The Secret will only be replicated into the locations specified.

.google.cloud.secretmanager.v1beta2.Replication.UserManaged user_managed = 2;

Returns
Type Description
boolean

Whether the userManaged 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.Builder newBuilderForType()
Returns
Type Description
Replication.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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