Class ReplicationStatus.UserManagedStatus.Builder (2.58.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.v1.ReplicationStatus.UserManagedStatus

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()
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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus>

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.UserManagedStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ReplicationStatus.UserManagedStatus.ReplicaStatus

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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue ReplicationStatus.UserManagedStatus.ReplicaStatus.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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ReplicationStatus.UserManagedStatus.ReplicaStatus

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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

addReplicasBuilder()

public ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder addReplicasBuilder()

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

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

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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

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()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReplicas()

public ReplicationStatus.UserManagedStatus.Builder clearReplicas()

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

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

clone()

public ReplicationStatus.UserManagedStatus.Builder clone()
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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

getReplicasBuilderList()

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

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

repeated .google.cloud.secretmanager.v1.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.v1.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.v1.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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

getReplicasOrBuilderList()

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

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

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

Returns
Type Description
List<? extends com.google.cloud.secretmanager.v1.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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.UserManagedStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

setField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.UserManagedStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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
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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value ReplicationStatus.UserManagedStatus.ReplicaStatus

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.v1.ReplicationStatus.UserManagedStatus.ReplicaStatus replicas = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

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

setUnknownFields(UnknownFieldSet unknownFields)

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