public static final class RestoreConfig.ClusterResourceRestoreScope.Builder extends GeneratedMessageV3.Builder<RestoreConfig.ClusterResourceRestoreScope.Builder> implements RestoreConfig.ClusterResourceRestoreScopeOrBuilder
Identifies the cluster-scoped resources to restore from the Backup.
Protobuf type google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllSelectedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
public RestoreConfig.ClusterResourceRestoreScope.Builder addAllSelectedGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKind>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.ClusterResourceRestoreScope.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSelectedGroupKinds(RestoreConfig.GroupKind value)
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(RestoreConfig.GroupKind value)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameter
Returns
addSelectedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameter
Returns
addSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameters
Returns
addSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ClusterResourceRestoreScope.Builder addSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameters
Returns
addSelectedGroupKindsBuilder()
public RestoreConfig.GroupKind.Builder addSelectedGroupKindsBuilder()
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Returns
addSelectedGroupKindsBuilder(int index)
public RestoreConfig.GroupKind.Builder addSelectedGroupKindsBuilder(int index)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameter
Returns
build()
public RestoreConfig.ClusterResourceRestoreScope build()
Returns
buildPartial()
public RestoreConfig.ClusterResourceRestoreScope buildPartial()
Returns
clear()
public RestoreConfig.ClusterResourceRestoreScope.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RestoreConfig.ClusterResourceRestoreScope.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreConfig.ClusterResourceRestoreScope.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSelectedGroupKinds()
public RestoreConfig.ClusterResourceRestoreScope.Builder clearSelectedGroupKinds()
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Returns
clone()
public RestoreConfig.ClusterResourceRestoreScope.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RestoreConfig.ClusterResourceRestoreScope getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSelectedGroupKinds(int index)
public RestoreConfig.GroupKind getSelectedGroupKinds(int index)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameter
Returns
getSelectedGroupKindsBuilder(int index)
public RestoreConfig.GroupKind.Builder getSelectedGroupKindsBuilder(int index)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameter
Returns
getSelectedGroupKindsBuilderList()
public List<RestoreConfig.GroupKind.Builder> getSelectedGroupKindsBuilderList()
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Returns
getSelectedGroupKindsCount()
public int getSelectedGroupKindsCount()
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Returns
getSelectedGroupKindsList()
public List<RestoreConfig.GroupKind> getSelectedGroupKindsList()
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Returns
getSelectedGroupKindsOrBuilder(int index)
public RestoreConfig.GroupKindOrBuilder getSelectedGroupKindsOrBuilder(int index)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameter
Returns
getSelectedGroupKindsOrBuilderList()
public List<? extends RestoreConfig.GroupKindOrBuilder> getSelectedGroupKindsOrBuilderList()
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Returns
Type | Description |
List<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKindOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RestoreConfig.ClusterResourceRestoreScope other)
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(RestoreConfig.ClusterResourceRestoreScope other)
Parameter
Returns
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RestoreConfig.ClusterResourceRestoreScope.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.ClusterResourceRestoreScope.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeSelectedGroupKinds(int index)
public RestoreConfig.ClusterResourceRestoreScope.Builder removeSelectedGroupKinds(int index)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.ClusterResourceRestoreScope.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreConfig.ClusterResourceRestoreScope.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
public RestoreConfig.ClusterResourceRestoreScope.Builder setSelectedGroupKinds(int index, RestoreConfig.GroupKind value)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameters
Returns
setSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ClusterResourceRestoreScope.Builder setSelectedGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
A list of "types" of cluster-scoped resources to be restored from the
Backup. An empty list means that NO cluster-scoped resources will be
restored. Note that Namespaces and PersistentVolume restoration is
handled separately and is not governed by this field.
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind selected_group_kinds = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.ClusterResourceRestoreScope.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides