- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class RestoreConfig.ClusterResourceRestoreScope.Builder extends 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 type google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestoreConfig.ClusterResourceRestoreScope.BuilderInherited Members
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllExcludedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
public RestoreConfig.ClusterResourceRestoreScope.Builder addAllExcludedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKind> |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addAllSelectedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
public RestoreConfig.ClusterResourceRestoreScope.Builder addAllSelectedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKind> |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addExcludedGroupKinds(RestoreConfig.GroupKind value)
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(RestoreConfig.GroupKind value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
RestoreConfig.GroupKind |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addExcludedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
RestoreConfig.GroupKind.Builder |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addExcludedGroupKinds(int index, RestoreConfig.GroupKind value)
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(int index, RestoreConfig.GroupKind value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
RestoreConfig.GroupKind |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ClusterResourceRestoreScope.Builder addExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
RestoreConfig.GroupKind.Builder |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addExcludedGroupKindsBuilder()
public RestoreConfig.GroupKind.Builder addExcludedGroupKindsBuilder()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
addExcludedGroupKindsBuilder(int index)
public RestoreConfig.GroupKind.Builder addExcludedGroupKindsBuilder(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.ClusterResourceRestoreScope.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addSelectedGroupKinds(RestoreConfig.GroupKind value)
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(RestoreConfig.GroupKind value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
RestoreConfig.GroupKind |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addSelectedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
RestoreConfig.GroupKind.Builder |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
RestoreConfig.GroupKind |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
RestoreConfig.GroupKind.Builder |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
addSelectedGroupKindsBuilder()
public RestoreConfig.GroupKind.Builder addSelectedGroupKindsBuilder()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
addSelectedGroupKindsBuilder(int index)
public RestoreConfig.GroupKind.Builder addSelectedGroupKindsBuilder(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
build()
public RestoreConfig.ClusterResourceRestoreScope build()
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope |
buildPartial()
public RestoreConfig.ClusterResourceRestoreScope buildPartial()
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope |
clear()
public RestoreConfig.ClusterResourceRestoreScope.Builder clear()
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
clearAllGroupKinds()
public RestoreConfig.ClusterResourceRestoreScope.Builder clearAllGroupKinds()
Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
bool all_group_kinds = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
This builder for chaining. |
clearExcludedGroupKinds()
public RestoreConfig.ClusterResourceRestoreScope.Builder clearExcludedGroupKinds()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
clearField(Descriptors.FieldDescriptor field)
public RestoreConfig.ClusterResourceRestoreScope.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
clearNoGroupKinds()
public RestoreConfig.ClusterResourceRestoreScope.Builder clearNoGroupKinds()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreConfig.ClusterResourceRestoreScope.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
clearSelectedGroupKinds()
public RestoreConfig.ClusterResourceRestoreScope.Builder clearSelectedGroupKinds()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
clone()
public RestoreConfig.ClusterResourceRestoreScope.Builder clone()
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
getAllGroupKinds()
public boolean getAllGroupKinds()
Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
bool all_group_kinds = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The allGroupKinds. |
getDefaultInstanceForType()
public RestoreConfig.ClusterResourceRestoreScope getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExcludedGroupKinds(int index)
public RestoreConfig.GroupKind getExcludedGroupKinds(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
getExcludedGroupKindsBuilder(int index)
public RestoreConfig.GroupKind.Builder getExcludedGroupKindsBuilder(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
getExcludedGroupKindsBuilderList()
public List<RestoreConfig.GroupKind.Builder> getExcludedGroupKindsBuilderList()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
getExcludedGroupKindsCount()
public int getExcludedGroupKindsCount()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getExcludedGroupKindsList()
public List<RestoreConfig.GroupKind> getExcludedGroupKindsList()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
getExcludedGroupKindsOrBuilder(int index)
public RestoreConfig.GroupKindOrBuilder getExcludedGroupKindsOrBuilder(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKindOrBuilder |
getExcludedGroupKindsOrBuilderList()
public List<? extends RestoreConfig.GroupKindOrBuilder> getExcludedGroupKindsOrBuilderList()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKindOrBuilder> |
getNoGroupKinds()
public boolean getNoGroupKinds()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The noGroupKinds. |
getSelectedGroupKinds(int index)
public RestoreConfig.GroupKind getSelectedGroupKinds(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
getSelectedGroupKindsBuilder(int index)
public RestoreConfig.GroupKind.Builder getSelectedGroupKindsBuilder(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
getSelectedGroupKindsBuilderList()
public List<RestoreConfig.GroupKind.Builder> getSelectedGroupKindsBuilderList()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
getSelectedGroupKindsCount()
public int getSelectedGroupKindsCount()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getSelectedGroupKindsList()
public List<RestoreConfig.GroupKind> getSelectedGroupKindsList()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
getSelectedGroupKindsOrBuilder(int index)
public RestoreConfig.GroupKindOrBuilder getSelectedGroupKindsOrBuilder(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKindOrBuilder |
getSelectedGroupKindsOrBuilderList()
public List<? extends RestoreConfig.GroupKindOrBuilder> getSelectedGroupKindsOrBuilderList()
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKindOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RestoreConfig.ClusterResourceRestoreScope other)
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(RestoreConfig.ClusterResourceRestoreScope other)
Parameter | |
---|---|
Name | Description |
other |
RestoreConfig.ClusterResourceRestoreScope |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.ClusterResourceRestoreScope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
removeExcludedGroupKinds(int index)
public RestoreConfig.ClusterResourceRestoreScope.Builder removeExcludedGroupKinds(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
removeSelectedGroupKinds(int index)
public RestoreConfig.ClusterResourceRestoreScope.Builder removeSelectedGroupKinds(int index)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
setAllGroupKinds(boolean value)
public RestoreConfig.ClusterResourceRestoreScope.Builder setAllGroupKinds(boolean value)
Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
bool all_group_kinds = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The allGroupKinds to set. |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
This builder for chaining. |
setExcludedGroupKinds(int index, RestoreConfig.GroupKind value)
public RestoreConfig.ClusterResourceRestoreScope.Builder setExcludedGroupKinds(int index, RestoreConfig.GroupKind value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
RestoreConfig.GroupKind |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
setExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ClusterResourceRestoreScope.Builder setExcludedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
RestoreConfig.GroupKind.Builder |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.ClusterResourceRestoreScope.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
setNoGroupKinds(boolean value)
public RestoreConfig.ClusterResourceRestoreScope.Builder setNoGroupKinds(boolean value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The noGroupKinds to set. |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreConfig.ClusterResourceRestoreScope.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
setSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
public RestoreConfig.ClusterResourceRestoreScope.Builder setSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
RestoreConfig.GroupKind |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
setSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ClusterResourceRestoreScope.Builder setSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
RestoreConfig.GroupKind.Builder |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.ClusterResourceRestoreScope.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestoreConfig.ClusterResourceRestoreScope.Builder |