public static final class Replication.UserManaged.Builder extends GeneratedMessage.Builder<Replication.UserManaged.Builder> implements Replication.UserManagedOrBuilderA replication policy that replicates the Secret payload into the locations specified in Replication.UserManaged.replicas
Protobuf type google.cloud.secrets.v1beta1.Replication.UserManaged
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Replication.UserManaged.BuilderImplements
Replication.UserManagedOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.secretmanager.v1beta1.Replication.UserManaged.Replica> |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
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.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Replication.UserManaged.Replica |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
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.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Replication.UserManaged.Replica.Builder |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
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.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Replication.UserManaged.Replica |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
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.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Replication.UserManaged.Replica.Builder |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
addReplicasBuilder()
public Replication.UserManaged.Replica.Builder addReplicasBuilder()Required. The list of Replicas for this Secret.
Cannot be empty.
repeated .google.cloud.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Replica.Builder |
|
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.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Replica.Builder |
|
build()
public Replication.UserManaged build()| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged |
|
buildPartial()
public Replication.UserManaged buildPartial()| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged |
|
clear()
public Replication.UserManaged.Builder clear()| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
clearReplicas()
public Replication.UserManaged.Builder clearReplicas()Required. The list of Replicas for this Secret.
Cannot be empty.
repeated .google.cloud.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
getDefaultInstanceForType()
public Replication.UserManaged getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getReplicas(int index)
public Replication.UserManaged.Replica getReplicas(int index)Required. The list of Replicas for this Secret.
Cannot be empty.
repeated .google.cloud.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Replica |
|
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.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Replica.Builder |
|
getReplicasBuilderList()
public List<Replication.UserManaged.Replica.Builder> getReplicasBuilderList()Required. The list of Replicas for this Secret.
Cannot be empty.
repeated .google.cloud.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getReplicasCount()
public int getReplicasCount()Required. The list of Replicas for this Secret.
Cannot be empty.
repeated .google.cloud.secrets.v1beta1.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.secrets.v1beta1.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.secrets.v1beta1.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.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.secretmanager.v1beta1.Replication.UserManaged.ReplicaOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Replication.UserManaged other)
public Replication.UserManaged.Builder mergeFrom(Replication.UserManaged other)| Parameter | |
|---|---|
| Name | Description |
other |
Replication.UserManaged |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Replication.UserManaged.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Replication.UserManaged.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
removeReplicas(int index)
public Replication.UserManaged.Builder removeReplicas(int index)Required. The list of Replicas for this Secret.
Cannot be empty.
repeated .google.cloud.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
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.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Replication.UserManaged.Replica |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|
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.secrets.v1beta1.Replication.UserManaged.Replica replicas = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Replication.UserManaged.Replica.Builder |
| Returns | |
|---|---|
| Type | Description |
Replication.UserManaged.Builder |
|