public static final class ReplicationStatus.Builder extends GeneratedMessageV3.Builder<ReplicationStatus.Builder> implements ReplicationStatusOrBuilder
The replication status of a SecretVersion.
Protobuf type google.cloud.secretmanager.v1.ReplicationStatus
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReplicationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ReplicationStatus build()
Returns
buildPartial()
public ReplicationStatus buildPartial()
Returns
clear()
public ReplicationStatus.Builder clear()
Returns
Overrides
clearAutomatic()
public ReplicationStatus.Builder clearAutomatic()
Describes the replication status of a SecretVersion with
automatic replication.
Only populated if the parent Secret has an automatic replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ReplicationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ReplicationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReplicationStatus()
public ReplicationStatus.Builder clearReplicationStatus()
Returns
clearUserManaged()
public ReplicationStatus.Builder clearUserManaged()
Describes the replication status of a SecretVersion with
user-managed replication.
Only populated if the parent Secret has a user-managed replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;
Returns
clone()
public ReplicationStatus.Builder clone()
Returns
Overrides
getAutomatic()
public ReplicationStatus.AutomaticStatus getAutomatic()
Describes the replication status of a SecretVersion with
automatic replication.
Only populated if the parent Secret has an automatic replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;
Returns
getAutomaticBuilder()
public ReplicationStatus.AutomaticStatus.Builder getAutomaticBuilder()
Describes the replication status of a SecretVersion with
automatic replication.
Only populated if the parent Secret has an automatic replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;
Returns
getAutomaticOrBuilder()
public ReplicationStatus.AutomaticStatusOrBuilder getAutomaticOrBuilder()
Describes the replication status of a SecretVersion with
automatic replication.
Only populated if the parent Secret has an automatic replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;
Returns
getDefaultInstanceForType()
public ReplicationStatus getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getReplicationStatusCase()
public ReplicationStatus.ReplicationStatusCase getReplicationStatusCase()
Returns
getUserManaged()
public ReplicationStatus.UserManagedStatus getUserManaged()
Describes the replication status of a SecretVersion with
user-managed replication.
Only populated if the parent Secret has a user-managed replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;
Returns
getUserManagedBuilder()
public ReplicationStatus.UserManagedStatus.Builder getUserManagedBuilder()
Describes the replication status of a SecretVersion with
user-managed replication.
Only populated if the parent Secret has a user-managed replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;
Returns
getUserManagedOrBuilder()
public ReplicationStatus.UserManagedStatusOrBuilder getUserManagedOrBuilder()
Describes the replication status of a SecretVersion with
user-managed replication.
Only populated if the parent Secret has a user-managed replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;
Returns
hasAutomatic()
public boolean hasAutomatic()
Describes the replication status of a SecretVersion with
automatic replication.
Only populated if the parent Secret has an automatic replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;
Returns
Type | Description |
boolean | Whether the automatic field is set.
|
hasUserManaged()
public boolean hasUserManaged()
Describes the replication status of a SecretVersion with
user-managed replication.
Only populated if the parent Secret has a user-managed replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;
Returns
Type | Description |
boolean | Whether the userManaged field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeAutomatic(ReplicationStatus.AutomaticStatus value)
public ReplicationStatus.Builder mergeAutomatic(ReplicationStatus.AutomaticStatus value)
Describes the replication status of a SecretVersion with
automatic replication.
Only populated if the parent Secret has an automatic replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;
Parameter
Returns
mergeFrom(ReplicationStatus other)
public ReplicationStatus.Builder mergeFrom(ReplicationStatus other)
Parameter
Returns
public ReplicationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReplicationStatus.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUserManaged(ReplicationStatus.UserManagedStatus value)
public ReplicationStatus.Builder mergeUserManaged(ReplicationStatus.UserManagedStatus value)
Describes the replication status of a SecretVersion with
user-managed replication.
Only populated if the parent Secret has a user-managed replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;
Parameter
Returns
setAutomatic(ReplicationStatus.AutomaticStatus value)
public ReplicationStatus.Builder setAutomatic(ReplicationStatus.AutomaticStatus value)
Describes the replication status of a SecretVersion with
automatic replication.
Only populated if the parent Secret has an automatic replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;
Parameter
Returns
setAutomatic(ReplicationStatus.AutomaticStatus.Builder builderForValue)
public ReplicationStatus.Builder setAutomatic(ReplicationStatus.AutomaticStatus.Builder builderForValue)
Describes the replication status of a SecretVersion with
automatic replication.
Only populated if the parent Secret has an automatic replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.AutomaticStatus automatic = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ReplicationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReplicationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReplicationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUserManaged(ReplicationStatus.UserManagedStatus value)
public ReplicationStatus.Builder setUserManaged(ReplicationStatus.UserManagedStatus value)
Describes the replication status of a SecretVersion with
user-managed replication.
Only populated if the parent Secret has a user-managed replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;
Parameter
Returns
setUserManaged(ReplicationStatus.UserManagedStatus.Builder builderForValue)
public ReplicationStatus.Builder setUserManaged(ReplicationStatus.UserManagedStatus.Builder builderForValue)
Describes the replication status of a SecretVersion with
user-managed replication.
Only populated if the parent Secret has a user-managed replication
policy.
.google.cloud.secretmanager.v1.ReplicationStatus.UserManagedStatus user_managed = 2;
Parameter
Returns