Class ReplicationStatus.UserManagedStatus.Builder (2.6.0)

Stay organized with collections Save and categorize content based on your preferences.
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

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>
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

Parameters
NameDescription
indexint
builderForValueReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.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];

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.ReplicaStatus.Builder

build()

public ReplicationStatus.UserManagedStatus build()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus

buildPartial()

public ReplicationStatus.UserManagedStatus buildPartial()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus

clear()

public ReplicationStatus.UserManagedStatus.Builder clear()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

Returns
TypeDescription
ReplicationStatus.UserManagedStatus.Builder

clone()

public ReplicationStatus.UserManagedStatus.Builder clone()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.Builder
Overrides

getDefaultInstanceForType()

public ReplicationStatus.UserManagedStatus getDefaultInstanceForType()
Returns
TypeDescription
ReplicationStatus.UserManagedStatus

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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.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
Returns
TypeDescription
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.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
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

Parameters
NameDescription
indexint
builderForValueReplicationStatus.UserManagedStatus.ReplicaStatus.Builder
Returns
TypeDescription
ReplicationStatus.UserManagedStatus.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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