public final class RestoreConfig extends com.google.protobuf.GeneratedMessageV3 implements RestoreConfigOrBuilder
Configuration of a restore. Next id: 12Protobuf type
google.cloud.gkebackup.v1.RestoreConfig| Modifier and Type | Class and 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.
|
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| Modifier and Type | Field and 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 |
| Modifier and Type | Method and 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(ByteBuffer data) |
static RestoreConfig |
parseFrom(ByteBuffer 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 com.google.protobuf.Parser<RestoreConfig> |
parser() |
RestoreConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int VOLUME_DATA_RESTORE_POLICY_FIELD_NUMBER
public static final int CLUSTER_RESOURCE_CONFLICT_POLICY_FIELD_NUMBER
public static final int NAMESPACED_RESOURCE_RESTORE_MODE_FIELD_NUMBER
public static final int CLUSTER_RESOURCE_RESTORE_SCOPE_FIELD_NUMBER
public static final int ALL_NAMESPACES_FIELD_NUMBER
public static final int SELECTED_NAMESPACES_FIELD_NUMBER
public static final int SELECTED_APPLICATIONS_FIELD_NUMBER
public static final int NO_NAMESPACES_FIELD_NUMBER
public static final int EXCLUDED_NAMESPACES_FIELD_NUMBER
public static final int SUBSTITUTION_RULES_FIELD_NUMBER
public static final int TRANSFORMATION_RULES_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public RestoreConfig.NamespacedResourceRestoreScopeCase getNamespacedResourceRestoreScopeCase()
getNamespacedResourceRestoreScopeCase in interface RestoreConfigOrBuilderpublic 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;
getVolumeDataRestorePolicyValue in interface RestoreConfigOrBuilderpublic 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;
getVolumeDataRestorePolicy in interface RestoreConfigOrBuilderpublic 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;
getClusterResourceConflictPolicyValue in interface RestoreConfigOrBuilderpublic 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;
getClusterResourceConflictPolicy in interface RestoreConfigOrBuilderpublic 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;
getNamespacedResourceRestoreModeValue in interface RestoreConfigOrBuilderpublic 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;
getNamespacedResourceRestoreMode in interface RestoreConfigOrBuilderpublic 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;
hasClusterResourceRestoreScope in interface RestoreConfigOrBuilderpublic 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;
getClusterResourceRestoreScope in interface RestoreConfigOrBuilderpublic 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;
getClusterResourceRestoreScopeOrBuilder in interface RestoreConfigOrBuilderpublic 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;hasAllNamespaces in interface RestoreConfigOrBuilderpublic 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;getAllNamespaces in interface RestoreConfigOrBuilderpublic 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;hasSelectedNamespaces in interface RestoreConfigOrBuilderpublic 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;getSelectedNamespaces in interface RestoreConfigOrBuilderpublic 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;getSelectedNamespacesOrBuilder in interface RestoreConfigOrBuilderpublic 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;hasSelectedApplications in interface RestoreConfigOrBuilderpublic 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;getSelectedApplications in interface RestoreConfigOrBuilderpublic 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;getSelectedApplicationsOrBuilder in interface RestoreConfigOrBuilderpublic boolean hasNoNamespaces()
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
bool no_namespaces = 9;hasNoNamespaces in interface RestoreConfigOrBuilderpublic boolean getNoNamespaces()
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
bool no_namespaces = 9;getNoNamespaces in interface RestoreConfigOrBuilderpublic 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;hasExcludedNamespaces in interface RestoreConfigOrBuilderpublic 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;getExcludedNamespaces in interface RestoreConfigOrBuilderpublic 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;getExcludedNamespacesOrBuilder in interface RestoreConfigOrBuilderpublic 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;
getSubstitutionRulesList in interface RestoreConfigOrBuilderpublic 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;
getSubstitutionRulesOrBuilderList in interface RestoreConfigOrBuilderpublic 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;
getSubstitutionRulesCount in interface RestoreConfigOrBuilderpublic 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;
getSubstitutionRules in interface RestoreConfigOrBuilderpublic 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;
getSubstitutionRulesOrBuilder in interface RestoreConfigOrBuilderpublic 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;
getTransformationRulesList in interface RestoreConfigOrBuilderpublic 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;
getTransformationRulesOrBuilderList in interface RestoreConfigOrBuilderpublic 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;
getTransformationRulesCount in interface RestoreConfigOrBuilderpublic 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;
getTransformationRules in interface RestoreConfigOrBuilderpublic 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;
getTransformationRulesOrBuilder in interface RestoreConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RestoreConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static RestoreConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RestoreConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RestoreConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RestoreConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RestoreConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RestoreConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RestoreConfig.Builder newBuilder()
public static RestoreConfig.Builder newBuilder(RestoreConfig prototype)
public RestoreConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RestoreConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RestoreConfig getDefaultInstance()
public static com.google.protobuf.Parser<RestoreConfig> parser()
public com.google.protobuf.Parser<RestoreConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RestoreConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.