Class ReplicationStatus.UserManagedStatus.Builder (2.13.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.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
TypeDescription
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
NameDescription
valuesIterable<? 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
NameDescription
fieldFieldDescriptor
valueObject
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];

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
NameDescription
builderForValueReplicationStatus.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
NameDescription
indexint
valueReplicationStatus.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
NameDescription
indexint
builderForValueReplicationStatus.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
NameDescription
indexint

build()

public ReplicationStatus.UserManagedStatus build()

buildPartial()

public ReplicationStatus.UserManagedStatus buildPartial()

clear()

public ReplicationStatus.UserManagedStatus.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

public ReplicationStatus.UserManagedStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplicationStatus.UserManagedStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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()

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint

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
NameDescription
indexint

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint

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
TypeDescription
List<? extends com.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus.ReplicaStatusOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReplicationStatus.UserManagedStatus other)

public ReplicationStatus.UserManagedStatus.Builder mergeFrom(ReplicationStatus.UserManagedStatus other)
Parameter
NameDescription
otherReplicationStatus.UserManagedStatus

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReplicationStatus.UserManagedStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReplicationStatus.UserManagedStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.UserManagedStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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
NameDescription
indexint

setField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.UserManagedStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Overrides

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

public ReplicationStatus.UserManagedStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
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
NameDescription
indexint
valueReplicationStatus.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
NameDescription
indexint
builderForValueReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.UserManagedStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Overrides