Class Replication.UserManaged (2.45.0)

public static final class Replication.UserManaged extends GeneratedMessageV3 implements Replication.UserManagedOrBuilder

A replication policy that replicates the Secret payload into the locations specified in [Secret.replication.user_managed.replicas][]

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

Static Fields

REPLICAS_FIELD_NUMBER

public static final int REPLICAS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Replication.UserManaged prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

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

getReplicas(int index)

public Replication.UserManaged.Replica getReplicas(int index)

Required. The list of Replicas for this Secret.

Cannot be empty.

repeated .google.cloud.secretmanager.v1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Replication.UserManaged.Replica

getReplicasCount()

public int getReplicasCount()

Required. The list of Replicas for this Secret.

Cannot be empty.

repeated .google.cloud.secretmanager.v1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getReplicasList()

public List<Replication.UserManaged.Replica> getReplicasList()

Required. The list of Replicas for this Secret.

Cannot be empty.

repeated .google.cloud.secretmanager.v1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Replica>

getReplicasOrBuilder(int index)

public Replication.UserManaged.ReplicaOrBuilder getReplicasOrBuilder(int index)

Required. The list of Replicas for this Secret.

Cannot be empty.

repeated .google.cloud.secretmanager.v1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Replication.UserManaged.ReplicaOrBuilder

getReplicasOrBuilderList()

public List<? extends Replication.UserManaged.ReplicaOrBuilder> getReplicasOrBuilderList()

Required. The list of Replicas for this Secret.

Cannot be empty.

repeated .google.cloud.secretmanager.v1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.secretmanager.v1.Replication.UserManaged.ReplicaOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

writeTo(CodedOutputStream output)

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