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