Class ReplicationStatus.UserManagedStatus.Builder (2.54.0)

public static final class ReplicationStatus.UserManagedStatus.Builder extends GeneratedMessageV3.Builder<ReplicationStatus.UserManagedStatus.Builder> implements ReplicationStatus.UserManagedStatusOrBuilder

The replication status of a SecretVersion using user-managed replication.

Only populated if the parent Secret has a user-managed replication policy.

Protobuf type google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllReplicas(Iterable<? extends ReplicationStatus.UserManagedStatus.ReplicaStatus> values)

public ReplicationStatus.UserManagedStatus.Builder addAllReplicas(Iterable<? extends ReplicationStatus.UserManagedStatus.ReplicaStatus> values)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus>
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.UserManagedStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides

addReplicas(ReplicationStatus.UserManagedStatus.ReplicaStatus value)

public ReplicationStatus.UserManagedStatus.Builder addReplicas(ReplicationStatus.UserManagedStatus.ReplicaStatus value)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ReplicationStatus.UserManagedStatus.ReplicaStatus
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

addReplicas(ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder builderForValue)

public ReplicationStatus.UserManagedStatus.Builder addReplicas(ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder builderForValue)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

addReplicas(int index, ReplicationStatus.UserManagedStatus.ReplicaStatus value)

public ReplicationStatus.UserManagedStatus.Builder addReplicas(int index, ReplicationStatus.UserManagedStatus.ReplicaStatus value)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ReplicationStatus.UserManagedStatus.ReplicaStatus
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

addReplicas(int index, ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder builderForValue)

public ReplicationStatus.UserManagedStatus.Builder addReplicas(int index, ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder builderForValue)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

addReplicasBuilder()

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder addReplicasBuilder()

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

addReplicasBuilder(int index)

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder addReplicasBuilder(int index)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

build()

public ReplicationStatus.UserManagedStatus build()
Returns
Type Description
ReplicationStatus.UserManagedStatus

buildPartial()

public ReplicationStatus.UserManagedStatus buildPartial()
Returns
Type Description
ReplicationStatus.UserManagedStatus

clear()

public ReplicationStatus.UserManagedStatus.Builder clear()
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReplicationStatus.UserManagedStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplicationStatus.UserManagedStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides

clearReplicas()

public ReplicationStatus.UserManagedStatus.Builder clearReplicas()

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

clone()

public ReplicationStatus.UserManagedStatus.Builder clone()
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides

getDefaultInstanceForType()

public ReplicationStatus.UserManagedStatus getDefaultInstanceForType()
Returns
Type Description
ReplicationStatus.UserManagedStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReplicas(int index)

public ReplicationStatus.UserManagedStatus.ReplicaStatus getReplicas(int index)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus

getReplicasBuilder(int index)

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder getReplicasBuilder(int index)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

getReplicasBuilderList()

public List<ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder> getReplicasBuilderList()

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getReplicasCount()

public int getReplicasCount()

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getReplicasList()

public List<ReplicationStatus.UserManagedStatus.ReplicaStatus> getReplicasList()

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ReplicaStatus>

getReplicasOrBuilder(int index)

public ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder getReplicasOrBuilder(int index)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder

getReplicasOrBuilderList()

public List<? extends ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder> getReplicasOrBuilderList()

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReplicationStatus.UserManagedStatus other)

public ReplicationStatus.UserManagedStatus.Builder mergeFrom(ReplicationStatus.UserManagedStatus other)
Parameter
Name Description
other ReplicationStatus.UserManagedStatus
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReplicationStatus.UserManagedStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReplicationStatus.UserManagedStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.UserManagedStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides

removeReplicas(int index)

public ReplicationStatus.UserManagedStatus.Builder removeReplicas(int index)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.UserManagedStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReplicationStatus.UserManagedStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides

setReplicas(int index, ReplicationStatus.UserManagedStatus.ReplicaStatus value)

public ReplicationStatus.UserManagedStatus.Builder setReplicas(int index, ReplicationStatus.UserManagedStatus.ReplicaStatus value)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ReplicationStatus.UserManagedStatus.ReplicaStatus
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

setReplicas(int index, ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder builderForValue)

public ReplicationStatus.UserManagedStatus.Builder setReplicas(int index, ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder builderForValue)

Output only. The list of replica statuses for the SecretVersion.

repeated .google.cloud.secretmanager.v1beta2.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.UserManagedStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder
Overrides