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.v1beta2.Replication.UserManaged
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Replication.UserManaged.Builder newBuilder()
newBuilder(Replication.UserManaged prototype)
public static Replication.UserManaged.Builder newBuilder(Replication.UserManaged prototype)
public static Replication.UserManaged parseDelimitedFrom(InputStream input)
public static Replication.UserManaged parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Replication.UserManaged parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Replication.UserManaged parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged parseFrom(CodedInputStream input)
public static Replication.UserManaged parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged parseFrom(InputStream input)
public static Replication.UserManaged parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Replication.UserManaged parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Replication.UserManaged parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Replication.UserManaged> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Replication.UserManaged getDefaultInstanceForType()
getParserForType()
public Parser<Replication.UserManaged> getParserForType()
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.v1beta2.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getReplicasCount()
public int getReplicasCount()
Required. The list of Replicas for this
Secret.
Cannot be empty.
repeated .google.cloud.secretmanager.v1beta2.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.v1beta2.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
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.v1beta2.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
getReplicasOrBuilderList()
public List<? extends Replication.UserManaged.ReplicaOrBuilder> getReplicasOrBuilderList()
Required. The list of Replicas for this
Secret.
Cannot be empty.
repeated .google.cloud.secretmanager.v1beta2.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.secretmanager.v1beta2.Replication.UserManaged.ReplicaOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Replication.UserManaged.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Replication.UserManaged.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Replication.UserManaged.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides