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 - PersistentVolumeProtobuf type
google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope| Modifier and Type | Method and 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.Builder builderForValue)
A list of cluster-scoped resource group kinds to NOT 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(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.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.Builder builderForValue)
A list of cluster-scoped resource group kinds to restore from the
backup.
|
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(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.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(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RestoreConfig.ClusterResourceRestoreScope.Builder |
mergeFrom(com.google.protobuf.Message other) |
RestoreConfig.ClusterResourceRestoreScope.Builder |
mergeFrom(RestoreConfig.ClusterResourceRestoreScope 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.Builder builderForValue)
A list of cluster-scoped resource group kinds to NOT restore from the
backup.
|
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 |
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.Builder builderForValue)
A list of cluster-scoped resource group kinds to restore from the
backup.
|
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 |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public RestoreConfig.ClusterResourceRestoreScope.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public RestoreConfig.ClusterResourceRestoreScope getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RestoreConfig.ClusterResourceRestoreScope build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RestoreConfig.ClusterResourceRestoreScope buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RestoreConfig.ClusterResourceRestoreScope.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public RestoreConfig.ClusterResourceRestoreScope.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public RestoreConfig.ClusterResourceRestoreScope.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public RestoreConfig.ClusterResourceRestoreScope.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public RestoreConfig.ClusterResourceRestoreScope.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public RestoreConfig.ClusterResourceRestoreScope.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(RestoreConfig.ClusterResourceRestoreScope other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>IOExceptionpublic 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;
getSelectedGroupKindsList in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;
getSelectedGroupKindsCount in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;
getSelectedGroupKinds in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getSelectedGroupKindsOrBuilder in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;
getSelectedGroupKindsOrBuilderList in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;
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;
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;
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;
getExcludedGroupKindsList in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;
getExcludedGroupKindsCount in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;
getExcludedGroupKinds in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getExcludedGroupKindsOrBuilder in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;
getExcludedGroupKindsOrBuilderList in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;
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;
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;
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;getAllGroupKinds in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;value - The allGroupKinds to set.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;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;getNoGroupKinds in interface RestoreConfig.ClusterResourceRestoreScopeOrBuilderpublic 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;value - The noGroupKinds to set.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;public final RestoreConfig.ClusterResourceRestoreScope.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>public final RestoreConfig.ClusterResourceRestoreScope.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder>Copyright © 2023 Google LLC. All rights reserved.