public static final class Replication.Builder extends GeneratedMessageV3.Builder<Replication.Builder> implements ReplicationOrBuilder
A policy that defines the replication and encryption configuration of data.
Protobuf type google.cloud.secretmanager.v1.Replication
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 Replication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Replication build()
Returns
buildPartial()
public Replication buildPartial()
Returns
clear()
public Replication.Builder clear()
Returns
Overrides
clearAutomatic()
public Replication.Builder clearAutomatic()
The Secret will automatically be
replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public Replication.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Replication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReplication()
public Replication.Builder clearReplication()
Returns
clearUserManaged()
public Replication.Builder clearUserManaged()
The Secret will only be
replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
Returns
clone()
public Replication.Builder clone()
Returns
Overrides
getAutomatic()
public Replication.Automatic getAutomatic()
The Secret will automatically be
replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
Returns
getAutomaticBuilder()
public Replication.Automatic.Builder getAutomaticBuilder()
The Secret will automatically be
replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
Returns
getAutomaticOrBuilder()
public Replication.AutomaticOrBuilder getAutomaticOrBuilder()
The Secret will automatically be
replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
Returns
getDefaultInstanceForType()
public Replication getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getReplicationCase()
public Replication.ReplicationCase getReplicationCase()
Returns
getUserManaged()
public Replication.UserManaged getUserManaged()
The Secret will only be
replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
Returns
getUserManagedBuilder()
public Replication.UserManaged.Builder getUserManagedBuilder()
The Secret will only be
replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
Returns
getUserManagedOrBuilder()
public Replication.UserManagedOrBuilder getUserManagedOrBuilder()
The Secret will only be
replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
Returns
hasAutomatic()
public boolean hasAutomatic()
The Secret will automatically be
replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
Returns
Type | Description |
boolean | Whether the automatic field is set.
|
hasUserManaged()
public boolean hasUserManaged()
The Secret will only be
replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged 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(Replication.Automatic value)
public Replication.Builder mergeAutomatic(Replication.Automatic value)
The Secret will automatically be
replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
Parameter
Returns
mergeFrom(Replication other)
public Replication.Builder mergeFrom(Replication other)
Parameter
Returns
public Replication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Replication.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Replication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUserManaged(Replication.UserManaged value)
public Replication.Builder mergeUserManaged(Replication.UserManaged value)
The Secret will only be
replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
Parameter
Returns
setAutomatic(Replication.Automatic value)
public Replication.Builder setAutomatic(Replication.Automatic value)
The Secret will automatically be
replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
Parameter
Returns
setAutomatic(Replication.Automatic.Builder builderForValue)
public Replication.Builder setAutomatic(Replication.Automatic.Builder builderForValue)
The Secret will automatically be
replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Replication.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Replication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Replication.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUserManaged(Replication.UserManaged value)
public Replication.Builder setUserManaged(Replication.UserManaged value)
The Secret will only be
replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
Parameter
Returns
setUserManaged(Replication.UserManaged.Builder builderForValue)
public Replication.Builder setUserManaged(Replication.UserManaged.Builder builderForValue)
The Secret will only be
replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
Parameter
Returns