Class Replication

public final class Replication extends GeneratedMessageV3 implements ReplicationOrBuilder

A policy that defines the replication configuration of data.

Protobuf type google.cloud.secrets.v1beta1.Replication

Static Fields

AUTOMATIC_FIELD_NUMBER

public static final int AUTOMATIC_FIELD_NUMBER
Field Value
TypeDescription
int

USER_MANAGED_FIELD_NUMBER

public static final int USER_MANAGED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Replication getDefaultInstance()
Returns
TypeDescription
Replication

getDescriptor()

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

newBuilder()

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

newBuilder(Replication prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAutomatic()

public Replication.Automatic getAutomatic()

The Secret will automatically be replicated without any restrictions.

.google.cloud.secrets.v1beta1.Replication.Automatic automatic = 1;

Returns
TypeDescription
Replication.Automatic

The automatic.

getAutomaticOrBuilder()

public Replication.AutomaticOrBuilder getAutomaticOrBuilder()

The Secret will automatically be replicated without any restrictions.

.google.cloud.secrets.v1beta1.Replication.Automatic automatic = 1;

Returns
TypeDescription
Replication.AutomaticOrBuilder

getDefaultInstanceForType()

public Replication getDefaultInstanceForType()
Returns
TypeDescription
Replication

getParserForType()

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

getReplicationCase()

public Replication.ReplicationCase getReplicationCase()
Returns
TypeDescription
Replication.ReplicationCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUserManaged()

public Replication.UserManaged getUserManaged()

The Secret will only be replicated into the locations specified.

.google.cloud.secrets.v1beta1.Replication.UserManaged user_managed = 2;

Returns
TypeDescription
Replication.UserManaged

The userManaged.

getUserManagedOrBuilder()

public Replication.UserManagedOrBuilder getUserManagedOrBuilder()

The Secret will only be replicated into the locations specified.

.google.cloud.secrets.v1beta1.Replication.UserManaged user_managed = 2;

Returns
TypeDescription
Replication.UserManagedOrBuilder

hasAutomatic()

public boolean hasAutomatic()

The Secret will automatically be replicated without any restrictions.

.google.cloud.secrets.v1beta1.Replication.Automatic automatic = 1;

Returns
TypeDescription
boolean

Whether the automatic field is set.

hasUserManaged()

public boolean hasUserManaged()

The Secret will only be replicated into the locations specified.

.google.cloud.secrets.v1beta1.Replication.UserManaged user_managed = 2;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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