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 classRestoreConfig.BuilderConfiguration of a restore.static classRestoreConfig.ClusterResourceConflictPolicyDefines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.static classRestoreConfig.ClusterResourceRestoreScopeDefines the scope of cluster-scoped resources to restore.static interfaceRestoreConfig.ClusterResourceRestoreScopeOrBuilderstatic classRestoreConfig.GroupKindThis 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 interfaceRestoreConfig.GroupKindOrBuilderstatic classRestoreConfig.NamespacedResourceRestoreModeDefines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.static classRestoreConfig.NamespacedResourceRestoreScopeCasestatic classRestoreConfig.ResourceFilterResourceFilter 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 interfaceRestoreConfig.ResourceFilterOrBuilderstatic classRestoreConfig.SubstitutionRuleA transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup.static interfaceRestoreConfig.SubstitutionRuleOrBuilderstatic classRestoreConfig.TransformationRuleA transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup.static classRestoreConfig.TransformationRuleActionTransformationRuleAction defines a TransformationRule action based on the JSON Patch RFC (https://www.rfc-editor.org/rfc/rfc6902)static interfaceRestoreConfig.TransformationRuleActionOrBuilderstatic interfaceRestoreConfig.TransformationRuleOrBuilderstatic classRestoreConfig.VolumeDataRestorePolicyDefines 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 intALL_NAMESPACES_FIELD_NUMBERstatic intCLUSTER_RESOURCE_CONFLICT_POLICY_FIELD_NUMBERstatic intCLUSTER_RESOURCE_RESTORE_SCOPE_FIELD_NUMBERstatic intEXCLUDED_NAMESPACES_FIELD_NUMBERstatic intNAMESPACED_RESOURCE_RESTORE_MODE_FIELD_NUMBERstatic intNO_NAMESPACES_FIELD_NUMBERstatic intSELECTED_APPLICATIONS_FIELD_NUMBERstatic intSELECTED_NAMESPACES_FIELD_NUMBERstatic intSUBSTITUTION_RULES_FIELD_NUMBERstatic intTRANSFORMATION_RULES_FIELD_NUMBERstatic intVOLUME_DATA_RESTORE_POLICY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetAllNamespaces()Restore all namespaced resources in the Backup if set to "True".RestoreConfig.ClusterResourceConflictPolicygetClusterResourceConflictPolicy()Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.intgetClusterResourceConflictPolicyValue()Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.RestoreConfig.ClusterResourceRestoreScopegetClusterResourceRestoreScope()Identifies the cluster-scoped resources to restore from the Backup.RestoreConfig.ClusterResourceRestoreScopeOrBuildergetClusterResourceRestoreScopeOrBuilder()Identifies the cluster-scoped resources to restore from the Backup.static RestoreConfiggetDefaultInstance()RestoreConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()NamespacesgetExcludedNamespaces()A list of selected namespaces excluded from restoration.NamespacesOrBuildergetExcludedNamespacesOrBuilder()A list of selected namespaces excluded from restoration.RestoreConfig.NamespacedResourceRestoreModegetNamespacedResourceRestoreMode()Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.intgetNamespacedResourceRestoreModeValue()Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.RestoreConfig.NamespacedResourceRestoreScopeCasegetNamespacedResourceRestoreScopeCase()booleangetNoNamespaces()Do not restore any namespaced resources if set to "True".com.google.protobuf.Parser<RestoreConfig>getParserForType()NamespacedNamesgetSelectedApplications()A list of selected ProtectedApplications to restore.NamespacedNamesOrBuildergetSelectedApplicationsOrBuilder()A list of selected ProtectedApplications to restore.NamespacesgetSelectedNamespaces()A list of selected Namespaces to restore from the Backup.NamespacesOrBuildergetSelectedNamespacesOrBuilder()A list of selected Namespaces to restore from the Backup.intgetSerializedSize()RestoreConfig.SubstitutionRulegetSubstitutionRules(int index)A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.intgetSubstitutionRulesCount()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.SubstitutionRuleOrBuildergetSubstitutionRulesOrBuilder(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.TransformationRulegetTransformationRules(int index)A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup.intgetTransformationRulesCount()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.TransformationRuleOrBuildergetTransformationRulesOrBuilder(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.VolumeDataRestorePolicygetVolumeDataRestorePolicy()Specifies the mechanism to be used to restore volume data.intgetVolumeDataRestorePolicyValue()Specifies the mechanism to be used to restore volume data.booleanhasAllNamespaces()Restore all namespaced resources in the Backup if set to "True".booleanhasClusterResourceRestoreScope()Identifies the cluster-scoped resources to restore from the Backup.booleanhasExcludedNamespaces()A list of selected namespaces excluded from restoration.inthashCode()booleanhasNoNamespaces()Do not restore any namespaced resources if set to "True".booleanhasSelectedApplications()A list of selected ProtectedApplications to restore.booleanhasSelectedNamespaces()A list of selected Namespaces to restore from the Backup.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RestoreConfig.BuildernewBuilder()static RestoreConfig.BuildernewBuilder(RestoreConfig prototype)RestoreConfig.BuildernewBuilderForType()protected RestoreConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RestoreConfigparseDelimitedFrom(InputStream input)static RestoreConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreConfigparseFrom(byte[] data)static RestoreConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreConfigparseFrom(com.google.protobuf.ByteString data)static RestoreConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreConfigparseFrom(com.google.protobuf.CodedInputStream input)static RestoreConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreConfigparseFrom(InputStream input)static RestoreConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RestoreConfigparseFrom(ByteBuffer data)static RestoreConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RestoreConfig>parser()RestoreConfig.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getNamespacedResourceRestoreScopeCase
public RestoreConfig.NamespacedResourceRestoreScopeCase getNamespacedResourceRestoreScopeCase()
- Specified by:
getNamespacedResourceRestoreScopeCasein 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:
getVolumeDataRestorePolicyValuein 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:
getVolumeDataRestorePolicyin 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:
getClusterResourceConflictPolicyValuein 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:
getClusterResourceConflictPolicyin 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:
getNamespacedResourceRestoreModeValuein 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:
getNamespacedResourceRestoreModein 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:
hasClusterResourceRestoreScopein 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:
getClusterResourceRestoreScopein 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:
getClusterResourceRestoreScopeOrBuilderin 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:
hasAllNamespacesin 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:
getAllNamespacesin 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:
hasSelectedNamespacesin 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:
getSelectedNamespacesin 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:
getSelectedNamespacesOrBuilderin 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:
hasSelectedApplicationsin 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:
getSelectedApplicationsin 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:
getSelectedApplicationsOrBuilderin 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:
hasNoNamespacesin 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:
getNoNamespacesin 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:
hasExcludedNamespacesin 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:
getExcludedNamespacesin 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:
getExcludedNamespacesOrBuilderin 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:
getSubstitutionRulesListin 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:
getSubstitutionRulesOrBuilderListin 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:
getSubstitutionRulesCountin 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:
getSubstitutionRulesin 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:
getSubstitutionRulesOrBuilderin 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:
getTransformationRulesListin 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:
getTransformationRulesOrBuilderListin 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:
getTransformationRulesCountin 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:
getTransformationRulesin 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:
getTransformationRulesOrBuilderin interfaceRestoreConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RestoreConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RestoreConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-