public static final class RestoreConfig.SubstitutionRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder> implements RestoreConfig.SubstitutionRuleOrBuilder
A transformation rule to be applied against Kubernetes resources as they are selected for restoration from a Backup. A rule contains both filtering logic (which resources are subject to substitution) and substitution logic.Protobuf type
google.cloud.gkebackup.v1.RestoreConfig.SubstitutionRule| Modifier and Type | Method and Description |
|---|---|
RestoreConfig.SubstitutionRule.Builder |
addAllTargetGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.SubstitutionRule.Builder |
addAllTargetNamespaces(Iterable<String> values)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
RestoreConfig.SubstitutionRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RestoreConfig.SubstitutionRule.Builder |
addTargetGroupKinds(int index,
RestoreConfig.GroupKind.Builder builderForValue)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.SubstitutionRule.Builder |
addTargetGroupKinds(int index,
RestoreConfig.GroupKind value)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.SubstitutionRule.Builder |
addTargetGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.SubstitutionRule.Builder |
addTargetGroupKinds(RestoreConfig.GroupKind value)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.GroupKind.Builder |
addTargetGroupKindsBuilder()
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.GroupKind.Builder |
addTargetGroupKindsBuilder(int index)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.SubstitutionRule.Builder |
addTargetNamespaces(String value)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
RestoreConfig.SubstitutionRule.Builder |
addTargetNamespacesBytes(com.google.protobuf.ByteString value)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
RestoreConfig.SubstitutionRule |
build() |
RestoreConfig.SubstitutionRule |
buildPartial() |
RestoreConfig.SubstitutionRule.Builder |
clear() |
RestoreConfig.SubstitutionRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RestoreConfig.SubstitutionRule.Builder |
clearNewValue()
This is the new value to set for any fields that pass the filtering and
selection criteria.
|
RestoreConfig.SubstitutionRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RestoreConfig.SubstitutionRule.Builder |
clearOriginalValuePattern()
(Filtering parameter) This is a [regular expression]
(https://en.wikipedia.org/wiki/Regular_expression)
that is compared against the fields matched by the target_json_path
expression (and must also have passed the previous filters).
|
RestoreConfig.SubstitutionRule.Builder |
clearTargetGroupKinds()
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.SubstitutionRule.Builder |
clearTargetJsonPath()
Required.
|
RestoreConfig.SubstitutionRule.Builder |
clearTargetNamespaces()
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
RestoreConfig.SubstitutionRule.Builder |
clone() |
RestoreConfig.SubstitutionRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNewValue()
This is the new value to set for any fields that pass the filtering and
selection criteria.
|
com.google.protobuf.ByteString |
getNewValueBytes()
This is the new value to set for any fields that pass the filtering and
selection criteria.
|
String |
getOriginalValuePattern()
(Filtering parameter) This is a [regular expression]
(https://en.wikipedia.org/wiki/Regular_expression)
that is compared against the fields matched by the target_json_path
expression (and must also have passed the previous filters).
|
com.google.protobuf.ByteString |
getOriginalValuePatternBytes()
(Filtering parameter) This is a [regular expression]
(https://en.wikipedia.org/wiki/Regular_expression)
that is compared against the fields matched by the target_json_path
expression (and must also have passed the previous filters).
|
RestoreConfig.GroupKind |
getTargetGroupKinds(int index)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.GroupKind.Builder |
getTargetGroupKindsBuilder(int index)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
List<RestoreConfig.GroupKind.Builder> |
getTargetGroupKindsBuilderList()
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
int |
getTargetGroupKindsCount()
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
List<RestoreConfig.GroupKind> |
getTargetGroupKindsList()
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.GroupKindOrBuilder |
getTargetGroupKindsOrBuilder(int index)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
List<? extends RestoreConfig.GroupKindOrBuilder> |
getTargetGroupKindsOrBuilderList()
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
String |
getTargetJsonPath()
Required.
|
com.google.protobuf.ByteString |
getTargetJsonPathBytes()
Required.
|
String |
getTargetNamespaces(int index)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
com.google.protobuf.ByteString |
getTargetNamespacesBytes(int index)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
int |
getTargetNamespacesCount()
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
com.google.protobuf.ProtocolStringList |
getTargetNamespacesList()
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RestoreConfig.SubstitutionRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RestoreConfig.SubstitutionRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
RestoreConfig.SubstitutionRule.Builder |
mergeFrom(RestoreConfig.SubstitutionRule other) |
RestoreConfig.SubstitutionRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RestoreConfig.SubstitutionRule.Builder |
removeTargetGroupKinds(int index)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.SubstitutionRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RestoreConfig.SubstitutionRule.Builder |
setNewValue(String value)
This is the new value to set for any fields that pass the filtering and
selection criteria.
|
RestoreConfig.SubstitutionRule.Builder |
setNewValueBytes(com.google.protobuf.ByteString value)
This is the new value to set for any fields that pass the filtering and
selection criteria.
|
RestoreConfig.SubstitutionRule.Builder |
setOriginalValuePattern(String value)
(Filtering parameter) This is a [regular expression]
(https://en.wikipedia.org/wiki/Regular_expression)
that is compared against the fields matched by the target_json_path
expression (and must also have passed the previous filters).
|
RestoreConfig.SubstitutionRule.Builder |
setOriginalValuePatternBytes(com.google.protobuf.ByteString value)
(Filtering parameter) This is a [regular expression]
(https://en.wikipedia.org/wiki/Regular_expression)
that is compared against the fields matched by the target_json_path
expression (and must also have passed the previous filters).
|
RestoreConfig.SubstitutionRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RestoreConfig.SubstitutionRule.Builder |
setTargetGroupKinds(int index,
RestoreConfig.GroupKind.Builder builderForValue)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.SubstitutionRule.Builder |
setTargetGroupKinds(int index,
RestoreConfig.GroupKind value)
(Filtering parameter) Any resource subject to substitution must belong to
one of the listed "types".
|
RestoreConfig.SubstitutionRule.Builder |
setTargetJsonPath(String value)
Required.
|
RestoreConfig.SubstitutionRule.Builder |
setTargetJsonPathBytes(com.google.protobuf.ByteString value)
Required.
|
RestoreConfig.SubstitutionRule.Builder |
setTargetNamespaces(int index,
String value)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
RestoreConfig.SubstitutionRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public RestoreConfig.SubstitutionRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public RestoreConfig.SubstitutionRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RestoreConfig.SubstitutionRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RestoreConfig.SubstitutionRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RestoreConfig.SubstitutionRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public RestoreConfig.SubstitutionRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public RestoreConfig.SubstitutionRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public RestoreConfig.SubstitutionRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public RestoreConfig.SubstitutionRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public RestoreConfig.SubstitutionRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public RestoreConfig.SubstitutionRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RestoreConfig.SubstitutionRule.Builder>public RestoreConfig.SubstitutionRule.Builder mergeFrom(RestoreConfig.SubstitutionRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public RestoreConfig.SubstitutionRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RestoreConfig.SubstitutionRule.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getTargetNamespacesList()
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
If this field is not provided, no namespace filtering will be performed
(all resources in all Namespaces, including all cluster-scoped resources,
will be candidates for substitution).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string target_namespaces = 1;getTargetNamespacesList in interface RestoreConfig.SubstitutionRuleOrBuilderpublic int getTargetNamespacesCount()
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
If this field is not provided, no namespace filtering will be performed
(all resources in all Namespaces, including all cluster-scoped resources,
will be candidates for substitution).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string target_namespaces = 1;getTargetNamespacesCount in interface RestoreConfig.SubstitutionRuleOrBuilderpublic String getTargetNamespaces(int index)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
If this field is not provided, no namespace filtering will be performed
(all resources in all Namespaces, including all cluster-scoped resources,
will be candidates for substitution).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string target_namespaces = 1;getTargetNamespaces in interface RestoreConfig.SubstitutionRuleOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTargetNamespacesBytes(int index)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
If this field is not provided, no namespace filtering will be performed
(all resources in all Namespaces, including all cluster-scoped resources,
will be candidates for substitution).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string target_namespaces = 1;getTargetNamespacesBytes in interface RestoreConfig.SubstitutionRuleOrBuilderindex - The index of the value to return.public RestoreConfig.SubstitutionRule.Builder setTargetNamespaces(int index, String value)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
If this field is not provided, no namespace filtering will be performed
(all resources in all Namespaces, including all cluster-scoped resources,
will be candidates for substitution).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string target_namespaces = 1;index - The index to set the value at.value - The targetNamespaces to set.public RestoreConfig.SubstitutionRule.Builder addTargetNamespaces(String value)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
If this field is not provided, no namespace filtering will be performed
(all resources in all Namespaces, including all cluster-scoped resources,
will be candidates for substitution).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string target_namespaces = 1;value - The targetNamespaces to add.public RestoreConfig.SubstitutionRule.Builder addAllTargetNamespaces(Iterable<String> values)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
If this field is not provided, no namespace filtering will be performed
(all resources in all Namespaces, including all cluster-scoped resources,
will be candidates for substitution).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string target_namespaces = 1;values - The targetNamespaces to add.public RestoreConfig.SubstitutionRule.Builder clearTargetNamespaces()
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
If this field is not provided, no namespace filtering will be performed
(all resources in all Namespaces, including all cluster-scoped resources,
will be candidates for substitution).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string target_namespaces = 1;public RestoreConfig.SubstitutionRule.Builder addTargetNamespacesBytes(com.google.protobuf.ByteString value)
(Filtering parameter) Any resource subject to substitution must be
contained within one of the listed Kubernetes Namespace in the Backup.
If this field is not provided, no namespace filtering will be performed
(all resources in all Namespaces, including all cluster-scoped resources,
will be candidates for substitution).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string target_namespaces = 1;value - The bytes of the targetNamespaces to add.public List<RestoreConfig.GroupKind> getTargetGroupKindsList()
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
getTargetGroupKindsList in interface RestoreConfig.SubstitutionRuleOrBuilderpublic int getTargetGroupKindsCount()
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
getTargetGroupKindsCount in interface RestoreConfig.SubstitutionRuleOrBuilderpublic RestoreConfig.GroupKind getTargetGroupKinds(int index)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
getTargetGroupKinds in interface RestoreConfig.SubstitutionRuleOrBuilderpublic RestoreConfig.SubstitutionRule.Builder setTargetGroupKinds(int index, RestoreConfig.GroupKind value)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.SubstitutionRule.Builder setTargetGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.SubstitutionRule.Builder addTargetGroupKinds(RestoreConfig.GroupKind value)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.SubstitutionRule.Builder addTargetGroupKinds(int index, RestoreConfig.GroupKind value)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.SubstitutionRule.Builder addTargetGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.SubstitutionRule.Builder addTargetGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.SubstitutionRule.Builder addAllTargetGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.SubstitutionRule.Builder clearTargetGroupKinds()
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.SubstitutionRule.Builder removeTargetGroupKinds(int index)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.GroupKind.Builder getTargetGroupKindsBuilder(int index)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.GroupKindOrBuilder getTargetGroupKindsOrBuilder(int index)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
getTargetGroupKindsOrBuilder in interface RestoreConfig.SubstitutionRuleOrBuilderpublic List<? extends RestoreConfig.GroupKindOrBuilder> getTargetGroupKindsOrBuilderList()
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
getTargetGroupKindsOrBuilderList in interface RestoreConfig.SubstitutionRuleOrBuilderpublic RestoreConfig.GroupKind.Builder addTargetGroupKindsBuilder()
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public RestoreConfig.GroupKind.Builder addTargetGroupKindsBuilder(int index)
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public List<RestoreConfig.GroupKind.Builder> getTargetGroupKindsBuilderList()
(Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind target_group_kinds = 2;
public String getTargetJsonPath()
Required. This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
string target_json_path = 3 [(.google.api.field_behavior) = REQUIRED];getTargetJsonPath in interface RestoreConfig.SubstitutionRuleOrBuilderpublic com.google.protobuf.ByteString getTargetJsonPathBytes()
Required. This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
string target_json_path = 3 [(.google.api.field_behavior) = REQUIRED];getTargetJsonPathBytes in interface RestoreConfig.SubstitutionRuleOrBuilderpublic RestoreConfig.SubstitutionRule.Builder setTargetJsonPath(String value)
Required. This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
string target_json_path = 3 [(.google.api.field_behavior) = REQUIRED];value - The targetJsonPath to set.public RestoreConfig.SubstitutionRule.Builder clearTargetJsonPath()
Required. This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
string target_json_path = 3 [(.google.api.field_behavior) = REQUIRED];public RestoreConfig.SubstitutionRule.Builder setTargetJsonPathBytes(com.google.protobuf.ByteString value)
Required. This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
string target_json_path = 3 [(.google.api.field_behavior) = REQUIRED];value - The bytes for targetJsonPath to set.public String getOriginalValuePattern()
(Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
string original_value_pattern = 4;getOriginalValuePattern in interface RestoreConfig.SubstitutionRuleOrBuilderpublic com.google.protobuf.ByteString getOriginalValuePatternBytes()
(Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
string original_value_pattern = 4;getOriginalValuePatternBytes in interface RestoreConfig.SubstitutionRuleOrBuilderpublic RestoreConfig.SubstitutionRule.Builder setOriginalValuePattern(String value)
(Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
string original_value_pattern = 4;value - The originalValuePattern to set.public RestoreConfig.SubstitutionRule.Builder clearOriginalValuePattern()
(Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
string original_value_pattern = 4;public RestoreConfig.SubstitutionRule.Builder setOriginalValuePatternBytes(com.google.protobuf.ByteString value)
(Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
string original_value_pattern = 4;value - The bytes for originalValuePattern to set.public String getNewValue()
This is the new value to set for any fields that pass the filtering and
selection criteria. To remove a value from a Kubernetes resource, either
leave this field unspecified, or set it to the empty string ("").
string new_value = 5;getNewValue in interface RestoreConfig.SubstitutionRuleOrBuilderpublic com.google.protobuf.ByteString getNewValueBytes()
This is the new value to set for any fields that pass the filtering and
selection criteria. To remove a value from a Kubernetes resource, either
leave this field unspecified, or set it to the empty string ("").
string new_value = 5;getNewValueBytes in interface RestoreConfig.SubstitutionRuleOrBuilderpublic RestoreConfig.SubstitutionRule.Builder setNewValue(String value)
This is the new value to set for any fields that pass the filtering and
selection criteria. To remove a value from a Kubernetes resource, either
leave this field unspecified, or set it to the empty string ("").
string new_value = 5;value - The newValue to set.public RestoreConfig.SubstitutionRule.Builder clearNewValue()
This is the new value to set for any fields that pass the filtering and
selection criteria. To remove a value from a Kubernetes resource, either
leave this field unspecified, or set it to the empty string ("").
string new_value = 5;public RestoreConfig.SubstitutionRule.Builder setNewValueBytes(com.google.protobuf.ByteString value)
This is the new value to set for any fields that pass the filtering and
selection criteria. To remove a value from a Kubernetes resource, either
leave this field unspecified, or set it to the empty string ("").
string new_value = 5;value - The bytes for newValue to set.public final RestoreConfig.SubstitutionRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>public final RestoreConfig.SubstitutionRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RestoreConfig.SubstitutionRule.Builder>Copyright © 2023 Google LLC. All rights reserved.