Class Replication.UserManaged (2.3.10)

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
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(Replication.UserManaged prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

public Parser<Replication.UserManaged> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.secretmanager.v1.Replication.UserManaged.ReplicaOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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