public static final class Replication.UserManaged.Builder extends GeneratedMessageV3.Builder<Replication.UserManaged.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllReplicas(Iterable<? extends Replication.UserManaged.Replica> values)
public Replication.UserManaged.Builder addAllReplicas(Iterable<? extends Replication.UserManaged.Replica> values)
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 |
values | Iterable<? extends com.google.cloud.secretmanager.v1.Replication.UserManaged.Replica>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Replication.UserManaged.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addReplicas(Replication.UserManaged.Replica value)
public Replication.UserManaged.Builder addReplicas(Replication.UserManaged.Replica value)
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];
addReplicas(Replication.UserManaged.Replica.Builder builderForValue)
public Replication.UserManaged.Builder addReplicas(Replication.UserManaged.Replica.Builder builderForValue)
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];
addReplicas(int index, Replication.UserManaged.Replica value)
public Replication.UserManaged.Builder addReplicas(int index, Replication.UserManaged.Replica value)
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];
addReplicas(int index, Replication.UserManaged.Replica.Builder builderForValue)
public Replication.UserManaged.Builder addReplicas(int index, Replication.UserManaged.Replica.Builder builderForValue)
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];
addReplicasBuilder()
public Replication.UserManaged.Replica.Builder addReplicasBuilder()
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];
addReplicasBuilder(int index)
public Replication.UserManaged.Replica.Builder addReplicasBuilder(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
|
build()
public Replication.UserManaged build()
buildPartial()
public Replication.UserManaged buildPartial()
clear()
public Replication.UserManaged.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Replication.UserManaged.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Replication.UserManaged.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearReplicas()
public Replication.UserManaged.Builder clearReplicas()
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];
clone()
public Replication.UserManaged.Builder clone()
Overrides
getDefaultInstanceForType()
public Replication.UserManaged getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
getReplicasBuilder(int index)
public Replication.UserManaged.Replica.Builder getReplicasBuilder(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
|
getReplicasBuilderList()
public List<Replication.UserManaged.Replica.Builder> getReplicasBuilderList()
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];
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];
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
|
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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Replication.UserManaged other)
public Replication.UserManaged.Builder mergeFrom(Replication.UserManaged other)
public Replication.UserManaged.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Replication.UserManaged.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Replication.UserManaged.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeReplicas(int index)
public Replication.UserManaged.Builder removeReplicas(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public Replication.UserManaged.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Replication.UserManaged.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setReplicas(int index, Replication.UserManaged.Replica value)
public Replication.UserManaged.Builder setReplicas(int index, Replication.UserManaged.Replica value)
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];
setReplicas(int index, Replication.UserManaged.Replica.Builder builderForValue)
public Replication.UserManaged.Builder setReplicas(int index, Replication.UserManaged.Replica.Builder builderForValue)
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];
setUnknownFields(UnknownFieldSet unknownFields)
public final Replication.UserManaged.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides