Package com.google.cloud.gkebackup.v1
Class RestoreConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class RestoreConfig
extends com.google.protobuf.GeneratedMessage
implements RestoreConfigOrBuilder
Configuration of a restore.Protobuf type
google.cloud.gkebackup.v1.RestoreConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration of a restore.static enumDefines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster.static final classDefines the scope of cluster-scoped resources to restore.static interfacestatic final classThis 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 interfacestatic enumDefines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster.static enumstatic final classResourceFilter 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 interfacestatic final classAllows customers to specify dependencies between resources that Backup for GKE can use to compute a resasonable restore order.static interfacestatic final classA transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup.static interfacestatic final classA transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup.static final classTransformationRuleAction defines a TransformationRule action based on the JSON Patch RFC (https://www.rfc-editor.org/rfc/rfc6902)static interfacestatic interfacestatic enumDefines how volume data should be restored.static final classBinds resources in the scope to the given VolumeDataRestorePolicy.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanRestore all namespaced resources in the Backup if set to "True".Optional.intOptional.Optional.Optional.static RestoreConfigstatic final com.google.protobuf.Descriptors.DescriptorA list of selected namespaces excluded from restoration.A list of selected namespaces excluded from restoration.Optional.intOptional.booleanDo not restore any namespaced resources if set to "True".com.google.protobuf.Parser<RestoreConfig>Optional.Optional.A list of selected ProtectedApplications to restore.A list of selected ProtectedApplications to restore.A list of selected Namespaces to restore from the Backup.A list of selected Namespaces to restore from the Backup.intgetSubstitutionRules(int index) Optional.intOptional.Optional.getSubstitutionRulesOrBuilder(int index) Optional.List<? extends RestoreConfig.SubstitutionRuleOrBuilder>Optional.getTransformationRules(int index) Optional.intOptional.Optional.getTransformationRulesOrBuilder(int index) Optional.List<? extends RestoreConfig.TransformationRuleOrBuilder>Optional.Optional.getVolumeDataRestorePolicyBindings(int index) Optional.intOptional.Optional.getVolumeDataRestorePolicyBindingsOrBuilder(int index) Optional.Optional.intOptional.booleanRestore all namespaced resources in the Backup if set to "True".booleanOptional.booleanA list of selected namespaces excluded from restoration.inthashCode()booleanDo not restore any namespaced resources if set to "True".booleanOptional.booleanA list of selected ProtectedApplications to restore.booleanA list of selected Namespaces to restore from the Backup.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic RestoreConfig.Builderstatic RestoreConfig.BuildernewBuilder(RestoreConfig prototype) protected RestoreConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
VOLUME_DATA_RESTORE_POLICY_FIELD_NUMBER
public static final int VOLUME_DATA_RESTORE_POLICY_FIELD_NUMBER- See Also:
-
CLUSTER_RESOURCE_CONFLICT_POLICY_FIELD_NUMBER
public static final int CLUSTER_RESOURCE_CONFLICT_POLICY_FIELD_NUMBER- See Also:
-
NAMESPACED_RESOURCE_RESTORE_MODE_FIELD_NUMBER
public static final int NAMESPACED_RESOURCE_RESTORE_MODE_FIELD_NUMBER- See Also:
-
CLUSTER_RESOURCE_RESTORE_SCOPE_FIELD_NUMBER
public static final int CLUSTER_RESOURCE_RESTORE_SCOPE_FIELD_NUMBER- See Also:
-
ALL_NAMESPACES_FIELD_NUMBER
public static final int ALL_NAMESPACES_FIELD_NUMBER- See Also:
-
SELECTED_NAMESPACES_FIELD_NUMBER
public static final int SELECTED_NAMESPACES_FIELD_NUMBER- See Also:
-
SELECTED_APPLICATIONS_FIELD_NUMBER
public static final int SELECTED_APPLICATIONS_FIELD_NUMBER- See Also:
-
NO_NAMESPACES_FIELD_NUMBER
public static final int NO_NAMESPACES_FIELD_NUMBER- See Also:
-
EXCLUDED_NAMESPACES_FIELD_NUMBER
public static final int EXCLUDED_NAMESPACES_FIELD_NUMBER- See Also:
-
SUBSTITUTION_RULES_FIELD_NUMBER
public static final int SUBSTITUTION_RULES_FIELD_NUMBER- See Also:
-
TRANSFORMATION_RULES_FIELD_NUMBER
public static final int TRANSFORMATION_RULES_FIELD_NUMBER- See Also:
-
VOLUME_DATA_RESTORE_POLICY_BINDINGS_FIELD_NUMBER
public static final int VOLUME_DATA_RESTORE_POLICY_BINDINGS_FIELD_NUMBER- See Also:
-
RESTORE_ORDER_FIELD_NUMBER
public static final int RESTORE_ORDER_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getNamespacedResourceRestoreScopeCase
- Specified by:
getNamespacedResourceRestoreScopeCasein interfaceRestoreConfigOrBuilder
-
getVolumeDataRestorePolicyValue
public int getVolumeDataRestorePolicyValue()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVolumeDataRestorePolicyValuein interfaceRestoreConfigOrBuilder- Returns:
- The enum numeric value on the wire for volumeDataRestorePolicy.
-
getVolumeDataRestorePolicy
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVolumeDataRestorePolicyin interfaceRestoreConfigOrBuilder- Returns:
- The volumeDataRestorePolicy.
-
getClusterResourceConflictPolicyValue
public int getClusterResourceConflictPolicyValue()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClusterResourceConflictPolicyValuein interfaceRestoreConfigOrBuilder- Returns:
- The enum numeric value on the wire for clusterResourceConflictPolicy.
-
getClusterResourceConflictPolicy
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClusterResourceConflictPolicyin interfaceRestoreConfigOrBuilder- Returns:
- The clusterResourceConflictPolicy.
-
getNamespacedResourceRestoreModeValue
public int getNamespacedResourceRestoreModeValue()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamespacedResourceRestoreModeValuein interfaceRestoreConfigOrBuilder- Returns:
- The enum numeric value on the wire for namespacedResourceRestoreMode.
-
getNamespacedResourceRestoreMode
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getNamespacedResourceRestoreModein interfaceRestoreConfigOrBuilder- Returns:
- The namespacedResourceRestoreMode.
-
hasClusterResourceRestoreScope
public boolean hasClusterResourceRestoreScope()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasClusterResourceRestoreScopein interfaceRestoreConfigOrBuilder- Returns:
- Whether the clusterResourceRestoreScope field is set.
-
getClusterResourceRestoreScope
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getClusterResourceRestoreScopein interfaceRestoreConfigOrBuilder- Returns:
- The clusterResourceRestoreScope.
-
getClusterResourceRestoreScopeOrBuilder
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- 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
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
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
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
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
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
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
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSubstitutionRulesListin interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesOrBuilderList
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSubstitutionRulesOrBuilderListin interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesCount
public int getSubstitutionRulesCount()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSubstitutionRulesCountin interfaceRestoreConfigOrBuilder
-
getSubstitutionRules
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSubstitutionRulesin interfaceRestoreConfigOrBuilder
-
getSubstitutionRulesOrBuilder
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getSubstitutionRulesOrBuilderin interfaceRestoreConfigOrBuilder
-
getTransformationRulesList
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransformationRulesListin interfaceRestoreConfigOrBuilder
-
getTransformationRulesOrBuilderList
public List<? extends RestoreConfig.TransformationRuleOrBuilder> getTransformationRulesOrBuilderList()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransformationRulesOrBuilderListin interfaceRestoreConfigOrBuilder
-
getTransformationRulesCount
public int getTransformationRulesCount()Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransformationRulesCountin interfaceRestoreConfigOrBuilder
-
getTransformationRules
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransformationRulesin interfaceRestoreConfigOrBuilder
-
getTransformationRulesOrBuilder
Optional. 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 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getTransformationRulesOrBuilderin interfaceRestoreConfigOrBuilder
-
getVolumeDataRestorePolicyBindingsList
Optional. A table that binds volumes by their scope to a restore policy. Bindings must have a unique scope. Any volumes not scoped in the bindings are subject to the policy defined in volume_data_restore_policy.
repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVolumeDataRestorePolicyBindingsListin interfaceRestoreConfigOrBuilder
-
getVolumeDataRestorePolicyBindingsOrBuilderList
public List<? extends RestoreConfig.VolumeDataRestorePolicyBindingOrBuilder> getVolumeDataRestorePolicyBindingsOrBuilderList()Optional. A table that binds volumes by their scope to a restore policy. Bindings must have a unique scope. Any volumes not scoped in the bindings are subject to the policy defined in volume_data_restore_policy.
repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVolumeDataRestorePolicyBindingsOrBuilderListin interfaceRestoreConfigOrBuilder
-
getVolumeDataRestorePolicyBindingsCount
public int getVolumeDataRestorePolicyBindingsCount()Optional. A table that binds volumes by their scope to a restore policy. Bindings must have a unique scope. Any volumes not scoped in the bindings are subject to the policy defined in volume_data_restore_policy.
repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVolumeDataRestorePolicyBindingsCountin interfaceRestoreConfigOrBuilder
-
getVolumeDataRestorePolicyBindings
Optional. A table that binds volumes by their scope to a restore policy. Bindings must have a unique scope. Any volumes not scoped in the bindings are subject to the policy defined in volume_data_restore_policy.
repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVolumeDataRestorePolicyBindingsin interfaceRestoreConfigOrBuilder
-
getVolumeDataRestorePolicyBindingsOrBuilder
public RestoreConfig.VolumeDataRestorePolicyBindingOrBuilder getVolumeDataRestorePolicyBindingsOrBuilder(int index) Optional. A table that binds volumes by their scope to a restore policy. Bindings must have a unique scope. Any volumes not scoped in the bindings are subject to the policy defined in volume_data_restore_policy.
repeated .google.cloud.gkebackup.v1.RestoreConfig.VolumeDataRestorePolicyBinding volume_data_restore_policy_bindings = 12 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getVolumeDataRestorePolicyBindingsOrBuilderin interfaceRestoreConfigOrBuilder
-
hasRestoreOrder
public boolean hasRestoreOrder()Optional. RestoreOrder contains custom ordering to use on a Restore.
.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRestoreOrderin interfaceRestoreConfigOrBuilder- Returns:
- Whether the restoreOrder field is set.
-
getRestoreOrder
Optional. RestoreOrder contains custom ordering to use on a Restore.
.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRestoreOrderin interfaceRestoreConfigOrBuilder- Returns:
- The restoreOrder.
-
getRestoreOrderOrBuilder
Optional. RestoreOrder contains custom ordering to use on a Restore.
.google.cloud.gkebackup.v1.RestoreConfig.RestoreOrder restore_order = 13 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRestoreOrderOrBuilderin interfaceRestoreConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static RestoreConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RestoreConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-