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
Inherited Members
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
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplicationStatus.UserManagedStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
build()
public ReplicationStatus.UserManagedStatus build()
Returns
buildPartial()
public ReplicationStatus.UserManagedStatus buildPartial()
Returns
clear()
public ReplicationStatus.UserManagedStatus.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReplicationStatus.UserManagedStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplicationStatus.UserManagedStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public ReplicationStatus.UserManagedStatus.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ReplicationStatus.UserManagedStatus getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ReplicationStatus.UserManagedStatus other)
public ReplicationStatus.UserManagedStatus.Builder mergeFrom(ReplicationStatus.UserManagedStatus other)
Parameter
Returns
public ReplicationStatus.UserManagedStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReplicationStatus.UserManagedStatus.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationStatus.UserManagedStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ReplicationStatus.UserManagedStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplicationStatus.UserManagedStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationStatus.UserManagedStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides