Package com.google.cloud.gkebackup.v1
Class RestoreConfig.ClusterResourceRestoreScope.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
- com.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope.Builder
-
- All Implemented Interfaces:
RestoreConfig.ClusterResourceRestoreScopeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RestoreConfig.ClusterResourceRestoreScope
public static final class RestoreConfig.ClusterResourceRestoreScope.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder> implements RestoreConfig.ClusterResourceRestoreScopeOrBuilder
Defines the scope of cluster-scoped resources to restore. Some group kinds are not reasonable choices for a restore, and will cause an error if selected here. Any scope selection that would restore "all valid" resources automatically excludes these group kinds. - gkebackup.gke.io/BackupJob - gkebackup.gke.io/RestoreJob - metrics.k8s.io/NodeMetrics - migration.k8s.io/StorageState - migration.k8s.io/StorageVersionMigration - Node - snapshot.storage.k8s.io/VolumeSnapshotContent - storage.k8s.io/CSINode Some group kinds are driven by restore configuration elsewhere, and will cause an error if selected here. - Namespace - PersistentVolume
Protobuf typegoogle.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RestoreConfig.ClusterResourceRestoreScope.BuilderaddAllExcludedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderaddAllSelectedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderaddExcludedGroupKinds(int index, RestoreConfig.GroupKind value)A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderaddExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderaddExcludedGroupKinds(RestoreConfig.GroupKind value)A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderaddExcludedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.GroupKind.BuilderaddExcludedGroupKindsBuilder()A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.GroupKind.BuilderaddExcludedGroupKindsBuilder(int index)A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RestoreConfig.ClusterResourceRestoreScope.BuilderaddSelectedGroupKinds(int index, RestoreConfig.GroupKind value)A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderaddSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderaddSelectedGroupKinds(RestoreConfig.GroupKind value)A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderaddSelectedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.GroupKind.BuilderaddSelectedGroupKindsBuilder()A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.GroupKind.BuilderaddSelectedGroupKindsBuilder(int index)A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScopebuild()RestoreConfig.ClusterResourceRestoreScopebuildPartial()RestoreConfig.ClusterResourceRestoreScope.Builderclear()RestoreConfig.ClusterResourceRestoreScope.BuilderclearAllGroupKinds()If True, all valid cluster-scoped resources will be restored.RestoreConfig.ClusterResourceRestoreScope.BuilderclearExcludedGroupKinds()A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RestoreConfig.ClusterResourceRestoreScope.BuilderclearNoGroupKinds()If True, no cluster-scoped resources will be restored.RestoreConfig.ClusterResourceRestoreScope.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RestoreConfig.ClusterResourceRestoreScope.BuilderclearSelectedGroupKinds()A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builderclone()booleangetAllGroupKinds()If True, all valid cluster-scoped resources will be restored.RestoreConfig.ClusterResourceRestoreScopegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RestoreConfig.GroupKindgetExcludedGroupKinds(int index)A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.GroupKind.BuildergetExcludedGroupKindsBuilder(int index)A list of cluster-scoped resource group kinds to NOT restore from the backup.List<RestoreConfig.GroupKind.Builder>getExcludedGroupKindsBuilderList()A list of cluster-scoped resource group kinds to NOT restore from the backup.intgetExcludedGroupKindsCount()A list of cluster-scoped resource group kinds to NOT restore from the backup.List<RestoreConfig.GroupKind>getExcludedGroupKindsList()A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.GroupKindOrBuildergetExcludedGroupKindsOrBuilder(int index)A list of cluster-scoped resource group kinds to NOT restore from the backup.List<? extends RestoreConfig.GroupKindOrBuilder>getExcludedGroupKindsOrBuilderList()A list of cluster-scoped resource group kinds to NOT restore from the backup.booleangetNoGroupKinds()If True, no cluster-scoped resources will be restored.RestoreConfig.GroupKindgetSelectedGroupKinds(int index)A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.GroupKind.BuildergetSelectedGroupKindsBuilder(int index)A list of cluster-scoped resource group kinds to restore from the backup.List<RestoreConfig.GroupKind.Builder>getSelectedGroupKindsBuilderList()A list of cluster-scoped resource group kinds to restore from the backup.intgetSelectedGroupKindsCount()A list of cluster-scoped resource group kinds to restore from the backup.List<RestoreConfig.GroupKind>getSelectedGroupKindsList()A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.GroupKindOrBuildergetSelectedGroupKindsOrBuilder(int index)A list of cluster-scoped resource group kinds to restore from the backup.List<? extends RestoreConfig.GroupKindOrBuilder>getSelectedGroupKindsOrBuilderList()A list of cluster-scoped resource group kinds to restore from the backup.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RestoreConfig.ClusterResourceRestoreScope.BuildermergeFrom(RestoreConfig.ClusterResourceRestoreScope other)RestoreConfig.ClusterResourceRestoreScope.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RestoreConfig.ClusterResourceRestoreScope.BuildermergeFrom(com.google.protobuf.Message other)RestoreConfig.ClusterResourceRestoreScope.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RestoreConfig.ClusterResourceRestoreScope.BuilderremoveExcludedGroupKinds(int index)A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuilderremoveSelectedGroupKinds(int index)A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuildersetAllGroupKinds(boolean value)If True, all valid cluster-scoped resources will be restored.RestoreConfig.ClusterResourceRestoreScope.BuildersetExcludedGroupKinds(int index, RestoreConfig.GroupKind value)A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuildersetExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RestoreConfig.ClusterResourceRestoreScope.BuildersetNoGroupKinds(boolean value)If True, no cluster-scoped resources will be restored.RestoreConfig.ClusterResourceRestoreScope.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RestoreConfig.ClusterResourceRestoreScope.BuildersetSelectedGroupKinds(int index, RestoreConfig.GroupKind value)A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuildersetSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
clear
public RestoreConfig.ClusterResourceRestoreScope.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
getDefaultInstanceForType
public RestoreConfig.ClusterResourceRestoreScope getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RestoreConfig.ClusterResourceRestoreScope build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RestoreConfig.ClusterResourceRestoreScope buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RestoreConfig.ClusterResourceRestoreScope.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
setField
public RestoreConfig.ClusterResourceRestoreScope.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
clearField
public RestoreConfig.ClusterResourceRestoreScope.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
clearOneof
public RestoreConfig.ClusterResourceRestoreScope.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
setRepeatedField
public RestoreConfig.ClusterResourceRestoreScope.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
addRepeatedField
public RestoreConfig.ClusterResourceRestoreScope.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
mergeFrom
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
mergeFrom
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(RestoreConfig.ClusterResourceRestoreScope other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
mergeFrom
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>- Throws:
IOException
-
getSelectedGroupKindsList
public List<RestoreConfig.GroupKind> getSelectedGroupKindsList()
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;- Specified by:
getSelectedGroupKindsListin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
getSelectedGroupKindsCount
public int getSelectedGroupKindsCount()
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;- Specified by:
getSelectedGroupKindsCountin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
getSelectedGroupKinds
public RestoreConfig.GroupKind getSelectedGroupKinds(int index)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;- Specified by:
getSelectedGroupKindsin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
setSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder setSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
setSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder setSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
addSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
addSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
addSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
addSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
addAllSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addAllSelectedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
clearSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder clearSelectedGroupKinds()
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
removeSelectedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder removeSelectedGroupKinds(int index)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
getSelectedGroupKindsBuilder
public RestoreConfig.GroupKind.Builder getSelectedGroupKindsBuilder(int index)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
getSelectedGroupKindsOrBuilder
public RestoreConfig.GroupKindOrBuilder getSelectedGroupKindsOrBuilder(int index)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;- Specified by:
getSelectedGroupKindsOrBuilderin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
getSelectedGroupKindsOrBuilderList
public List<? extends RestoreConfig.GroupKindOrBuilder> getSelectedGroupKindsOrBuilderList()
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;- Specified by:
getSelectedGroupKindsOrBuilderListin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
addSelectedGroupKindsBuilder
public RestoreConfig.GroupKind.Builder addSelectedGroupKindsBuilder()
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
addSelectedGroupKindsBuilder
public RestoreConfig.GroupKind.Builder addSelectedGroupKindsBuilder(int index)
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
getSelectedGroupKindsBuilderList
public List<RestoreConfig.GroupKind.Builder> getSelectedGroupKindsBuilderList()
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
-
getExcludedGroupKindsList
public List<RestoreConfig.GroupKind> getExcludedGroupKindsList()
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;- Specified by:
getExcludedGroupKindsListin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
getExcludedGroupKindsCount
public int getExcludedGroupKindsCount()
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;- Specified by:
getExcludedGroupKindsCountin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
getExcludedGroupKinds
public RestoreConfig.GroupKind getExcludedGroupKinds(int index)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;- Specified by:
getExcludedGroupKindsin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
setExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder setExcludedGroupKinds(int index, RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
setExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder setExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
addExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
addExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(int index, RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
addExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
addExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
addAllExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder addAllExcludedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
clearExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder clearExcludedGroupKinds()
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
removeExcludedGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder removeExcludedGroupKinds(int index)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
getExcludedGroupKindsBuilder
public RestoreConfig.GroupKind.Builder getExcludedGroupKindsBuilder(int index)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
getExcludedGroupKindsOrBuilder
public RestoreConfig.GroupKindOrBuilder getExcludedGroupKindsOrBuilder(int index)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;- Specified by:
getExcludedGroupKindsOrBuilderin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
getExcludedGroupKindsOrBuilderList
public List<? extends RestoreConfig.GroupKindOrBuilder> getExcludedGroupKindsOrBuilderList()
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;- Specified by:
getExcludedGroupKindsOrBuilderListin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder
-
addExcludedGroupKindsBuilder
public RestoreConfig.GroupKind.Builder addExcludedGroupKindsBuilder()
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
addExcludedGroupKindsBuilder
public RestoreConfig.GroupKind.Builder addExcludedGroupKindsBuilder(int index)
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
getExcludedGroupKindsBuilderList
public List<RestoreConfig.GroupKind.Builder> getExcludedGroupKindsBuilderList()
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind excluded_group_kinds = 2;
-
getAllGroupKinds
public boolean getAllGroupKinds()
If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
bool all_group_kinds = 3;- Specified by:
getAllGroupKindsin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder- Returns:
- The allGroupKinds.
-
setAllGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder setAllGroupKinds(boolean value)
If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
bool all_group_kinds = 3;- Parameters:
value- The allGroupKinds to set.- Returns:
- This builder for chaining.
-
clearAllGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder clearAllGroupKinds()
If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
bool all_group_kinds = 3;- Returns:
- This builder for chaining.
-
getNoGroupKinds
public boolean getNoGroupKinds()
If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
bool no_group_kinds = 4;- Specified by:
getNoGroupKindsin interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilder- Returns:
- The noGroupKinds.
-
setNoGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder setNoGroupKinds(boolean value)
If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
bool no_group_kinds = 4;- Parameters:
value- The noGroupKinds to set.- Returns:
- This builder for chaining.
-
clearNoGroupKinds
public RestoreConfig.ClusterResourceRestoreScope.Builder clearNoGroupKinds()
If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
bool no_group_kinds = 4;- Returns:
- This builder for chaining.
-
setUnknownFields
public final RestoreConfig.ClusterResourceRestoreScope.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
mergeUnknownFields
public final RestoreConfig.ClusterResourceRestoreScope.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
-