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
Modifier and Type | Method and Description |
---|---|
Replication.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Replication |
build() |
Replication |
buildPartial() |
Replication.Builder |
clear() |
Replication.Builder |
clearAutomatic()
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
|
Replication.Builder |
clearField(Descriptors.FieldDescriptor field) |
Replication.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Replication.Builder |
clearReplication() |
Replication.Builder |
clearUserManaged()
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
|
Replication.Builder |
clone() |
Replication.Automatic |
getAutomatic()
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
|
Replication.Automatic.Builder |
getAutomaticBuilder()
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
|
Replication.AutomaticOrBuilder |
getAutomaticOrBuilder()
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
|
Replication |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Replication.ReplicationCase |
getReplicationCase() |
Replication.UserManaged |
getUserManaged()
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
|
Replication.UserManaged.Builder |
getUserManagedBuilder()
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
|
Replication.UserManagedOrBuilder |
getUserManagedOrBuilder()
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
|
boolean |
hasAutomatic()
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
|
boolean |
hasUserManaged()
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Replication.Builder |
mergeAutomatic(Replication.Automatic value)
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
|
Replication.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Replication.Builder |
mergeFrom(Message other) |
Replication.Builder |
mergeFrom(Replication other) |
Replication.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Replication.Builder |
mergeUserManaged(Replication.UserManaged value)
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
|
Replication.Builder |
setAutomatic(Replication.Automatic.Builder builderForValue)
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
|
Replication.Builder |
setAutomatic(Replication.Automatic value)
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
|
Replication.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
Replication.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Replication.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
Replication.Builder |
setUserManaged(Replication.UserManaged.Builder builderForValue)
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
|
Replication.Builder |
setUserManaged(Replication.UserManaged value)
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Replication.Builder>
public Replication.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Replication.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Replication.Builder>
public Replication getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Replication build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Replication buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Replication.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Replication.Builder>
public Replication.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Replication.Builder>
public Replication.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Replication.Builder>
public Replication.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Replication.Builder>
public Replication.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Replication.Builder>
public Replication.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Replication.Builder>
public Replication.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Replication.Builder>
public Replication.Builder mergeFrom(Replication other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Replication.Builder>
public Replication.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Replication.Builder>
IOException
public Replication.ReplicationCase getReplicationCase()
getReplicationCase
in interface ReplicationOrBuilder
public Replication.Builder clearReplication()
public boolean hasAutomatic()
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
hasAutomatic
in interface ReplicationOrBuilder
public Replication.Automatic getAutomatic()
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
getAutomatic
in interface ReplicationOrBuilder
public Replication.Builder setAutomatic(Replication.Automatic value)
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
public Replication.Builder setAutomatic(Replication.Automatic.Builder builderForValue)
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
public Replication.Builder mergeAutomatic(Replication.Automatic value)
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
public Replication.Builder clearAutomatic()
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
public Replication.Automatic.Builder getAutomaticBuilder()
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
public Replication.AutomaticOrBuilder getAutomaticOrBuilder()
The [Secret][google.cloud.secretmanager.v1.Secret] will automatically be replicated without any restrictions.
.google.cloud.secretmanager.v1.Replication.Automatic automatic = 1;
getAutomaticOrBuilder
in interface ReplicationOrBuilder
public boolean hasUserManaged()
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
hasUserManaged
in interface ReplicationOrBuilder
public Replication.UserManaged getUserManaged()
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
getUserManaged
in interface ReplicationOrBuilder
public Replication.Builder setUserManaged(Replication.UserManaged value)
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
public Replication.Builder setUserManaged(Replication.UserManaged.Builder builderForValue)
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
public Replication.Builder mergeUserManaged(Replication.UserManaged value)
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
public Replication.Builder clearUserManaged()
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
public Replication.UserManaged.Builder getUserManagedBuilder()
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
public Replication.UserManagedOrBuilder getUserManagedOrBuilder()
The [Secret][google.cloud.secretmanager.v1.Secret] will only be replicated into the locations specified.
.google.cloud.secretmanager.v1.Replication.UserManaged user_managed = 2;
getUserManagedOrBuilder
in interface ReplicationOrBuilder
public final Replication.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Replication.Builder>
public final Replication.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Replication.Builder>
Copyright © 2022 Google LLC. All rights reserved.