Package com.google.cloud.gkebackup.v1
Class RestoreConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.gkebackup.v1.RestoreConfig
-
- All Implemented Interfaces:
RestoreConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class RestoreConfig extends com.google.protobuf.GeneratedMessageV3 implements RestoreConfigOrBuilder
Configuration of a restore. Next id: 12
Protobuf typegoogle.cloud.gkebackup.v1.RestoreConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RestoreConfig.Builder
Configuration of a restore.static class
RestoreConfig.ClusterResourceConflictPolicy
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.static class
RestoreConfig.ClusterResourceRestoreScope
Defines the scope of cluster-scoped resources to restore.static interface
RestoreConfig.ClusterResourceRestoreScopeOrBuilder
static class
RestoreConfig.GroupKind
This is a direct map to the Kubernetes GroupKind type [GroupKind](https://godoc.org/k8s.io/apimachinery/pkg/runtime/schema#GroupKind) and is used for identifying specific "types" of resources to restore.static interface
RestoreConfig.GroupKindOrBuilder
static class
RestoreConfig.NamespacedResourceRestoreMode
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.static class
RestoreConfig.NamespacedResourceRestoreScopeCase
static class
RestoreConfig.ResourceFilter
ResourceFilter specifies matching criteria to limit the scope of a change to a specific set of kubernetes resources that are selected for restoration from a backup.static interface
RestoreConfig.ResourceFilterOrBuilder
static class
RestoreConfig.SubstitutionRule
A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup.static interface
RestoreConfig.SubstitutionRuleOrBuilder
static class
RestoreConfig.TransformationRule
A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup.static class
RestoreConfig.TransformationRuleAction
TransformationRuleAction defines a TransformationRule action based on the JSON Patch RFC (https://www.rfc-editor.org/rfc/rfc6902)static interface
RestoreConfig.TransformationRuleActionOrBuilder
static interface
RestoreConfig.TransformationRuleOrBuilder
static class
RestoreConfig.VolumeDataRestorePolicy
Defines how volume data should be restored.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALL_NAMESPACES_FIELD_NUMBER
static int
CLUSTER_RESOURCE_CONFLICT_POLICY_FIELD_NUMBER
static int
CLUSTER_RESOURCE_RESTORE_SCOPE_FIELD_NUMBER
static int
EXCLUDED_NAMESPACES_FIELD_NUMBER
static int
NAMESPACED_RESOURCE_RESTORE_MODE_FIELD_NUMBER
static int
NO_NAMESPACES_FIELD_NUMBER
static int
SELECTED_APPLICATIONS_FIELD_NUMBER
static int
SELECTED_NAMESPACES_FIELD_NUMBER
static int
SUBSTITUTION_RULES_FIELD_NUMBER
static int
TRANSFORMATION_RULES_FIELD_NUMBER
static int
VOLUME_DATA_RESTORE_POLICY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getAllNamespaces()
Restore all namespaced resources in the Backup if set to "True".RestoreConfig.ClusterResourceConflictPolicy
getClusterResourceConflictPolicy()
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.int
getClusterResourceConflictPolicyValue()
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.RestoreConfig.ClusterResourceRestoreScope
getClusterResourceRestoreScope()
Identifies the cluster-scoped resources to restore from the Backup.RestoreConfig.ClusterResourceRestoreScopeOrBuilder
getClusterResourceRestoreScopeOrBuilder()
Identifies the cluster-scoped resources to restore from the Backup.static RestoreConfig
getDefaultInstance()
RestoreConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Namespaces
getExcludedNamespaces()
A list of selected namespaces excluded from restoration.NamespacesOrBuilder
getExcludedNamespacesOrBuilder()
A list of selected namespaces excluded from restoration.RestoreConfig.NamespacedResourceRestoreMode
getNamespacedResourceRestoreMode()
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.int
getNamespacedResourceRestoreModeValue()
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.RestoreConfig.NamespacedResourceRestoreScopeCase
getNamespacedResourceRestoreScopeCase()
boolean
getNoNamespaces()
Do not restore any namespaced resources if set to "True".com.google.protobuf.Parser<RestoreConfig>
getParserForType()
NamespacedNames
getSelectedApplications()
A list of selected ProtectedApplications to restore.NamespacedNamesOrBuilder
getSelectedApplicationsOrBuilder()
A list of selected ProtectedApplications to restore.Namespaces
getSelectedNamespaces()
A list of selected Namespaces to restore from the Backup.NamespacesOrBuilder
getSelectedNamespacesOrBuilder()
A list of selected Namespaces to restore from the Backup.int
getSerializedSize()
RestoreConfig.SubstitutionRule
getSubstitutionRules(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.int
getSubstitutionRulesCount()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.List<RestoreConfig.SubstitutionRule>
getSubstitutionRulesList()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.SubstitutionRuleOrBuilder
getSubstitutionRulesOrBuilder(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.List<? extends RestoreConfig.SubstitutionRuleOrBuilder>
getSubstitutionRulesOrBuilderList()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.TransformationRule
getTransformationRules(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.int
getTransformationRulesCount()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.List<RestoreConfig.TransformationRule>
getTransformationRulesList()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.TransformationRuleOrBuilder
getTransformationRulesOrBuilder(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.List<? extends RestoreConfig.TransformationRuleOrBuilder>
getTransformationRulesOrBuilderList()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.RestoreConfig.VolumeDataRestorePolicy
getVolumeDataRestorePolicy()
Specifies the mechanism to be used to restore volume data.int
getVolumeDataRestorePolicyValue()
Specifies the mechanism to be used to restore volume data.boolean
hasAllNamespaces()
Restore all namespaced resources in the Backup if set to "True".boolean
hasClusterResourceRestoreScope()
Identifies the cluster-scoped resources to restore from the Backup.boolean
hasExcludedNamespaces()
A list of selected namespaces excluded from restoration.int
hashCode()
boolean
hasNoNamespaces()
Do not restore any namespaced resources if set to "True".boolean
hasSelectedApplications()
A list of selected ProtectedApplications to restore.boolean
hasSelectedNamespaces()
A list of selected Namespaces to restore from the Backup.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static RestoreConfig.Builder
newBuilder()
static RestoreConfig.Builder
newBuilder(RestoreConfig prototype)
RestoreConfig.Builder
newBuilderForType()
protected RestoreConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static RestoreConfig
parseDelimitedFrom(InputStream input)
static RestoreConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RestoreConfig
parseFrom(byte[] data)
static RestoreConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RestoreConfig
parseFrom(com.google.protobuf.ByteString data)
static RestoreConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RestoreConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static RestoreConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RestoreConfig
parseFrom(InputStream input)
static RestoreConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static RestoreConfig
parseFrom(ByteBuffer data)
static RestoreConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<RestoreConfig>
parser()
RestoreConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
VOLUME_DATA_RESTORE_POLICY_FIELD_NUMBER
public static final int VOLUME_DATA_RESTORE_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_RESOURCE_CONFLICT_POLICY_FIELD_NUMBER
public static final int CLUSTER_RESOURCE_CONFLICT_POLICY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAMESPACED_RESOURCE_RESTORE_MODE_FIELD_NUMBER
public static final int NAMESPACED_RESOURCE_RESTORE_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CLUSTER_RESOURCE_RESTORE_SCOPE_FIELD_NUMBER
public static final int CLUSTER_RESOURCE_RESTORE_SCOPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALL_NAMESPACES_FIELD_NUMBER
public static final int ALL_NAMESPACES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELECTED_NAMESPACES_FIELD_NUMBER
public static final int SELECTED_NAMESPACES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SELECTED_APPLICATIONS_FIELD_NUMBER
public static final int SELECTED_APPLICATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NO_NAMESPACES_FIELD_NUMBER
public static final int NO_NAMESPACES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXCLUDED_NAMESPACES_FIELD_NUMBER
public static final int EXCLUDED_NAMESPACES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBSTITUTION_RULES_FIELD_NUMBER
public static final int SUBSTITUTION_RULES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSFORMATION_RULES_FIELD_NUMBER
public static final int TRANSFORMATION_RULES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getNamespacedResourceRestoreScopeCase
public RestoreConfig.NamespacedResourceRestoreScopeCase getNamespacedResourceRestoreScopeCase()
- Specified by:
getNamespacedResourceRestoreScopeCase
in interfaceRestoreConfigOrBuilder
-
getVolumeDataRestorePolicyValue
public int getVolumeDataRestorePolicyValue()
Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy volume_data_restore_policy = 1;
- Specified by:
getVolumeDataRestorePolicyValue
in interfaceRestoreConfigOrBuilder
- Returns:
- The enum numeric value on the wire for volumeDataRestorePolicy.
-
getVolumeDataRestorePolicy
public RestoreConfig.VolumeDataRestorePolicy getVolumeDataRestorePolicy()
Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
.google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicy volume_data_restore_policy = 1;
- Specified by:
getVolumeDataRestorePolicy
in interfaceRestoreConfigOrBuilder
- Returns:
- The volumeDataRestorePolicy.
-
getClusterResourceConflictPolicyValue
public int getClusterResourceConflictPolicyValue()
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if [cluster_resource_restore_scope][google.cloud.gkebackup.v1.RestoreConfig.cluster_resource_restore_scope] is not empty.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;
- Specified by:
getClusterResourceConflictPolicyValue
in interfaceRestoreConfigOrBuilder
- Returns:
- The enum numeric value on the wire for clusterResourceConflictPolicy.
-
getClusterResourceConflictPolicy
public RestoreConfig.ClusterResourceConflictPolicy getClusterResourceConflictPolicy()
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if [cluster_resource_restore_scope][google.cloud.gkebackup.v1.RestoreConfig.cluster_resource_restore_scope] is not empty.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceConflictPolicy cluster_resource_conflict_policy = 2;
- Specified by:
getClusterResourceConflictPolicy
in interfaceRestoreConfigOrBuilder
- Returns:
- The clusterResourceConflictPolicy.
-
getNamespacedResourceRestoreModeValue
public int getNamespacedResourceRestoreModeValue()
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
.google.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode namespaced_resource_restore_mode = 3;
- Specified by:
getNamespacedResourceRestoreModeValue
in interfaceRestoreConfigOrBuilder
- Returns:
- The enum numeric value on the wire for namespacedResourceRestoreMode.
-
getNamespacedResourceRestoreMode
public RestoreConfig.NamespacedResourceRestoreMode getNamespacedResourceRestoreMode()
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
.google.cloud.gkebackup.v1.RestoreConfig.NamespacedResourceRestoreMode namespaced_resource_restore_mode = 3;
- Specified by:
getNamespacedResourceRestoreMode
in interfaceRestoreConfigOrBuilder
- Returns:
- The namespacedResourceRestoreMode.
-
hasClusterResourceRestoreScope
public boolean hasClusterResourceRestoreScope()
Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope cluster_resource_restore_scope = 4;
- Specified by:
hasClusterResourceRestoreScope
in interfaceRestoreConfigOrBuilder
- Returns:
- Whether the clusterResourceRestoreScope field is set.
-
getClusterResourceRestoreScope
public RestoreConfig.ClusterResourceRestoreScope getClusterResourceRestoreScope()
Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope cluster_resource_restore_scope = 4;
- Specified by:
getClusterResourceRestoreScope
in interfaceRestoreConfigOrBuilder
- Returns:
- The clusterResourceRestoreScope.
-
getClusterResourceRestoreScopeOrBuilder
public RestoreConfig.ClusterResourceRestoreScopeOrBuilder getClusterResourceRestoreScopeOrBuilder()
Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
.google.cloud.gkebackup.v1.RestoreConfig.ClusterResourceRestoreScope cluster_resource_restore_scope = 4;
- Specified by:
getClusterResourceRestoreScopeOrBuilder
in interfaceRestoreConfigOrBuilder
-
hasAllNamespaces
public boolean hasAllNamespaces()
Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
bool all_namespaces = 5;
- Specified by:
hasAllNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- Whether the allNamespaces field is set.
-
getAllNamespaces
public boolean getAllNamespaces()
Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
bool all_namespaces = 5;
- Specified by:
getAllNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- The allNamespaces.
-
hasSelectedNamespaces
public boolean hasSelectedNamespaces()
A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 6;
- Specified by:
hasSelectedNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- Whether the selectedNamespaces field is set.
-
getSelectedNamespaces
public Namespaces getSelectedNamespaces()
A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 6;
- Specified by:
getSelectedNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- The selectedNamespaces.
-
getSelectedNamespacesOrBuilder
public NamespacesOrBuilder getSelectedNamespacesOrBuilder()
A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
.google.cloud.gkebackup.v1.Namespaces selected_namespaces = 6;
- Specified by:
getSelectedNamespacesOrBuilder
in interfaceRestoreConfigOrBuilder
-
hasSelectedApplications
public boolean hasSelectedApplications()
A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 7;
- Specified by:
hasSelectedApplications
in interfaceRestoreConfigOrBuilder
- Returns:
- Whether the selectedApplications field is set.
-
getSelectedApplications
public NamespacedNames getSelectedApplications()
A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 7;
- Specified by:
getSelectedApplications
in interfaceRestoreConfigOrBuilder
- Returns:
- The selectedApplications.
-
getSelectedApplicationsOrBuilder
public NamespacedNamesOrBuilder getSelectedApplicationsOrBuilder()
A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
.google.cloud.gkebackup.v1.NamespacedNames selected_applications = 7;
- Specified by:
getSelectedApplicationsOrBuilder
in interfaceRestoreConfigOrBuilder
-
hasNoNamespaces
public boolean hasNoNamespaces()
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
bool no_namespaces = 9;
- Specified by:
hasNoNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- Whether the noNamespaces field is set.
-
getNoNamespaces
public boolean getNoNamespaces()
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
bool no_namespaces = 9;
- Specified by:
getNoNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- The noNamespaces.
-
hasExcludedNamespaces
public boolean hasExcludedNamespaces()
A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
.google.cloud.gkebackup.v1.Namespaces excluded_namespaces = 10;
- Specified by:
hasExcludedNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- Whether the excludedNamespaces field is set.
-
getExcludedNamespaces
public Namespaces getExcludedNamespaces()
A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
.google.cloud.gkebackup.v1.Namespaces excluded_namespaces = 10;
- Specified by:
getExcludedNamespaces
in interfaceRestoreConfigOrBuilder
- Returns:
- The excludedNamespaces.
-
getExcludedNamespacesOrBuilder
public NamespacesOrBuilder getExcludedNamespacesOrBuilder()
A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
.google.cloud.gkebackup.v1.Namespaces excluded_namespaces = 10;
- Specified by:
getExcludedNamespacesOrBuilder
in interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesList
public List<RestoreConfig.SubstitutionRule> getSubstitutionRulesList()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;
- Specified by:
getSubstitutionRulesList
in interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesOrBuilderList
public List<? extends RestoreConfig.SubstitutionRuleOrBuilder> getSubstitutionRulesOrBuilderList()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;
- Specified by:
getSubstitutionRulesOrBuilderList
in interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesCount
public int getSubstitutionRulesCount()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;
- Specified by:
getSubstitutionRulesCount
in interfaceRestoreConfigOrBuilder
-
getSubstitutionRules
public RestoreConfig.SubstitutionRule getSubstitutionRules(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;
- Specified by:
getSubstitutionRules
in interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesOrBuilder
public RestoreConfig.SubstitutionRuleOrBuilder getSubstitutionRulesOrBuilder(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule substitution_rules = 8;
- Specified by:
getSubstitutionRulesOrBuilder
in interfaceRestoreConfigOrBuilder
-
getTransformationRulesList
public List<RestoreConfig.TransformationRule> getTransformationRulesList()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11;
- Specified by:
getTransformationRulesList
in interfaceRestoreConfigOrBuilder
-
getTransformationRulesOrBuilderList
public List<? extends RestoreConfig.TransformationRuleOrBuilder> getTransformationRulesOrBuilderList()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11;
- Specified by:
getTransformationRulesOrBuilderList
in interfaceRestoreConfigOrBuilder
-
getTransformationRulesCount
public int getTransformationRulesCount()
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11;
- Specified by:
getTransformationRulesCount
in interfaceRestoreConfigOrBuilder
-
getTransformationRules
public RestoreConfig.TransformationRule getTransformationRules(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11;
- Specified by:
getTransformationRules
in interfaceRestoreConfigOrBuilder
-
getTransformationRulesOrBuilder
public RestoreConfig.TransformationRuleOrBuilder getTransformationRulesOrBuilder(int index)
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
repeated .google.cloud.gkebackup.v1.RestoreConfig.TransformationRule transformation_rules = 11;
- Specified by:
getTransformationRulesOrBuilder
in interfaceRestoreConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RestoreConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RestoreConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RestoreConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static RestoreConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static RestoreConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public RestoreConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RestoreConfig.Builder newBuilder()
-
newBuilder
public static RestoreConfig.Builder newBuilder(RestoreConfig prototype)
-
toBuilder
public RestoreConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RestoreConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RestoreConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RestoreConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<RestoreConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RestoreConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-