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