Class ReplicationStatus.Builder (2.43.0)

public static final class ReplicationStatus.Builder extends GeneratedMessageV3.Builder<ReplicationStatus.Builder> implements ReplicationStatusOrBuilder

The replication status of a SecretVersion.

Protobuf type google.cloud.secretmanager.v1beta2.ReplicationStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReplicationStatus.Builder
Overrides

build()

public ReplicationStatus build()
Returns
Type Description
ReplicationStatus

buildPartial()

public ReplicationStatus buildPartial()
Returns
Type Description
ReplicationStatus

clear()

public ReplicationStatus.Builder clear()
Returns
Type Description
ReplicationStatus.Builder
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.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
Type Description
ReplicationStatus.Builder

clearField(Descriptors.FieldDescriptor field)

public ReplicationStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ReplicationStatus.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplicationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReplicationStatus.Builder
Overrides

clearReplicationStatus()

public ReplicationStatus.Builder clearReplicationStatus()
Returns
Type Description
ReplicationStatus.Builder

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.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
Type Description
ReplicationStatus.Builder

clone()

public ReplicationStatus.Builder clone()
Returns
Type Description
ReplicationStatus.Builder
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.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
Type Description
ReplicationStatus.AutomaticStatus

The automatic.

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.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
Type Description
ReplicationStatus.AutomaticStatus.Builder

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.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
Type Description
ReplicationStatus.AutomaticStatusOrBuilder

getDefaultInstanceForType()

public ReplicationStatus getDefaultInstanceForType()
Returns
Type Description
ReplicationStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReplicationStatusCase()

public ReplicationStatus.ReplicationStatusCase getReplicationStatusCase()
Returns
Type Description
ReplicationStatus.ReplicationStatusCase

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.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
Type Description
ReplicationStatus.UserManagedStatus

The userManaged.

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.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
Type Description
ReplicationStatus.UserManagedStatus.Builder

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.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
Type Description
ReplicationStatus.UserManagedStatusOrBuilder

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.v1beta2.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.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
Type Description
boolean

Whether the userManaged field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
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.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1;

Parameter
Name Description
value ReplicationStatus.AutomaticStatus
Returns
Type Description
ReplicationStatus.Builder

mergeFrom(ReplicationStatus other)

public ReplicationStatus.Builder mergeFrom(ReplicationStatus other)
Parameter
Name Description
other ReplicationStatus
Returns
Type Description
ReplicationStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReplicationStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReplicationStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReplicationStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReplicationStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReplicationStatus.Builder
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.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;

Parameter
Name Description
value ReplicationStatus.UserManagedStatus
Returns
Type Description
ReplicationStatus.Builder

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.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1;

Parameter
Name Description
value ReplicationStatus.AutomaticStatus
Returns
Type Description
ReplicationStatus.Builder

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.v1beta2.ReplicationStatus.AutomaticStatus automatic = 1;

Parameter
Name Description
builderForValue ReplicationStatus.AutomaticStatus.Builder
Returns
Type Description
ReplicationStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReplicationStatus.Builder
Overrides

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

public ReplicationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReplicationStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReplicationStatus.Builder
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.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;

Parameter
Name Description
value ReplicationStatus.UserManagedStatus
Returns
Type Description
ReplicationStatus.Builder

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.v1beta2.ReplicationStatus.UserManagedStatus user_managed = 2;

Parameter
Name Description
builderForValue ReplicationStatus.UserManagedStatus.Builder
Returns
Type Description
ReplicationStatus.Builder