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.Builder
addAllExcludedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
addAllSelectedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
addExcludedGroupKinds(int index, RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
addExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
addExcludedGroupKinds(RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
addExcludedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.GroupKind.Builder
addExcludedGroupKindsBuilder()
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.GroupKind.Builder
addExcludedGroupKindsBuilder(int index)
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RestoreConfig.ClusterResourceRestoreScope.Builder
addSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
addSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
addSelectedGroupKinds(RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
addSelectedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.GroupKind.Builder
addSelectedGroupKindsBuilder()
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.GroupKind.Builder
addSelectedGroupKindsBuilder(int index)
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope
build()
RestoreConfig.ClusterResourceRestoreScope
buildPartial()
RestoreConfig.ClusterResourceRestoreScope.Builder
clear()
RestoreConfig.ClusterResourceRestoreScope.Builder
clearAllGroupKinds()
If True, all valid cluster-scoped resources will be restored.RestoreConfig.ClusterResourceRestoreScope.Builder
clearExcludedGroupKinds()
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RestoreConfig.ClusterResourceRestoreScope.Builder
clearNoGroupKinds()
If True, no cluster-scoped resources will be restored.RestoreConfig.ClusterResourceRestoreScope.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RestoreConfig.ClusterResourceRestoreScope.Builder
clearSelectedGroupKinds()
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
clone()
boolean
getAllGroupKinds()
If True, all valid cluster-scoped resources will be restored.RestoreConfig.ClusterResourceRestoreScope
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
RestoreConfig.GroupKind
getExcludedGroupKinds(int index)
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.GroupKind.Builder
getExcludedGroupKindsBuilder(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.int
getExcludedGroupKindsCount()
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.GroupKindOrBuilder
getExcludedGroupKindsOrBuilder(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.boolean
getNoGroupKinds()
If True, no cluster-scoped resources will be restored.RestoreConfig.GroupKind
getSelectedGroupKinds(int index)
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.GroupKind.Builder
getSelectedGroupKindsBuilder(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.int
getSelectedGroupKindsCount()
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.GroupKindOrBuilder
getSelectedGroupKindsOrBuilder(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.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RestoreConfig.ClusterResourceRestoreScope.Builder
mergeFrom(RestoreConfig.ClusterResourceRestoreScope other)
RestoreConfig.ClusterResourceRestoreScope.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RestoreConfig.ClusterResourceRestoreScope.Builder
mergeFrom(com.google.protobuf.Message other)
RestoreConfig.ClusterResourceRestoreScope.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RestoreConfig.ClusterResourceRestoreScope.Builder
removeExcludedGroupKinds(int index)
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
removeSelectedGroupKinds(int index)
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
setAllGroupKinds(boolean value)
If True, all valid cluster-scoped resources will be restored.RestoreConfig.ClusterResourceRestoreScope.Builder
setExcludedGroupKinds(int index, RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
setExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to NOT restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RestoreConfig.ClusterResourceRestoreScope.Builder
setNoGroupKinds(boolean value)
If True, no cluster-scoped resources will be restored.RestoreConfig.ClusterResourceRestoreScope.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RestoreConfig.ClusterResourceRestoreScope.Builder
setSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
setSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
A list of cluster-scoped resource group kinds to restore from the backup.RestoreConfig.ClusterResourceRestoreScope.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
clear
public RestoreConfig.ClusterResourceRestoreScope.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
getDefaultInstanceForType
public RestoreConfig.ClusterResourceRestoreScope getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RestoreConfig.ClusterResourceRestoreScope build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RestoreConfig.ClusterResourceRestoreScope buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RestoreConfig.ClusterResourceRestoreScope.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
setField
public RestoreConfig.ClusterResourceRestoreScope.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
clearField
public RestoreConfig.ClusterResourceRestoreScope.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
clearOneof
public RestoreConfig.ClusterResourceRestoreScope.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
addRepeatedField
public RestoreConfig.ClusterResourceRestoreScope.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
mergeFrom
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
mergeFrom
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(RestoreConfig.ClusterResourceRestoreScope other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getSelectedGroupKindsList
in 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:
getSelectedGroupKindsCount
in 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:
getSelectedGroupKinds
in 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:
getSelectedGroupKindsOrBuilder
in 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:
getSelectedGroupKindsOrBuilderList
in 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:
getExcludedGroupKindsList
in 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:
getExcludedGroupKindsCount
in 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:
getExcludedGroupKinds
in 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:
getExcludedGroupKindsOrBuilder
in 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:
getExcludedGroupKindsOrBuilderList
in 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:
getAllGroupKinds
in 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:
getNoGroupKinds
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
mergeUnknownFields
public final RestoreConfig.ClusterResourceRestoreScope.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>
-
-