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
Static Methods
getDefaultInstance()
public static Replication.UserManaged getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Replication.UserManaged.Builder newBuilder()
Returns
newBuilder(Replication.UserManaged prototype)
public static Replication.UserManaged.Builder newBuilder(Replication.UserManaged prototype)
Parameter
Returns
public static Replication.UserManaged parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Replication.UserManaged parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Replication.UserManaged parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Replication.UserManaged parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Replication.UserManaged parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Replication.UserManaged parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Replication.UserManaged parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Replication.UserManaged parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Replication.UserManaged parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Replication.UserManaged> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Replication.UserManaged getDefaultInstanceForType()
Returns
getParserForType()
public Parser<Replication.UserManaged> getParserForType()
Returns
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
Returns
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
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
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
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Replication.UserManaged.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Replication.UserManaged.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Replication.UserManaged.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions