Class ReplicationStatus.Builder (2.36.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.v1.ReplicationStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplicationStatus.Builder
Overrides

build()

public ReplicationStatus build()
Returns
TypeDescription
ReplicationStatus

buildPartial()

public ReplicationStatus buildPartial()
Returns
TypeDescription
ReplicationStatus

clear()

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

Returns
TypeDescription
ReplicationStatus.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ReplicationStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReplicationStatus.Builder
Overrides

clearReplicationStatus()

public ReplicationStatus.Builder clearReplicationStatus()
Returns
TypeDescription
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.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
TypeDescription
ReplicationStatus.Builder

clone()

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

Returns
TypeDescription
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.v1.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
TypeDescription
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.v1.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
TypeDescription
ReplicationStatus.AutomaticStatusOrBuilder

getDefaultInstanceForType()

public ReplicationStatus getDefaultInstanceForType()
Returns
TypeDescription
ReplicationStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReplicationStatusCase()

public ReplicationStatus.ReplicationStatusCase getReplicationStatusCase()
Returns
TypeDescription
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.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
TypeDescription
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.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
TypeDescription
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.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Returns
TypeDescription
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.v1.ReplicationStatus.AutomaticStatus automatic = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the userManaged field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

Parameter
NameDescription
valueReplicationStatus.AutomaticStatus
Returns
TypeDescription
ReplicationStatus.Builder

mergeFrom(ReplicationStatus other)

public ReplicationStatus.Builder mergeFrom(ReplicationStatus other)
Parameter
NameDescription
otherReplicationStatus
Returns
TypeDescription
ReplicationStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Parameter
NameDescription
valueReplicationStatus.UserManagedStatus
Returns
TypeDescription
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.v1.ReplicationStatus.AutomaticStatus automatic = 1;

Parameter
NameDescription
valueReplicationStatus.AutomaticStatus
Returns
TypeDescription
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.v1.ReplicationStatus.AutomaticStatus automatic = 1;

Parameter
NameDescription
builderForValueReplicationStatus.AutomaticStatus.Builder
Returns
TypeDescription
ReplicationStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ReplicationStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReplicationStatus.Builder
Overrides

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

public ReplicationStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReplicationStatus.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReplicationStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Parameter
NameDescription
valueReplicationStatus.UserManagedStatus
Returns
TypeDescription
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.v1.ReplicationStatus.UserManagedStatus user_managed = 2;

Parameter
NameDescription
builderForValueReplicationStatus.UserManagedStatus.Builder
Returns
TypeDescription
ReplicationStatus.Builder