public static final class RestoreConfig.ResourceFilter extends com.google.protobuf.GeneratedMessageV3 implements RestoreConfig.ResourceFilterOrBuilder
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.Protobuf type
google.cloud.gkebackup.v1.RestoreConfig.ResourceFilter| Modifier and Type | Class and Description |
|---|---|
static class |
RestoreConfig.ResourceFilter.Builder
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.
|
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 |
GROUP_KINDS_FIELD_NUMBER |
static int |
JSON_PATH_FIELD_NUMBER |
static int |
NAMESPACES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RestoreConfig.ResourceFilter |
getDefaultInstance() |
RestoreConfig.ResourceFilter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
RestoreConfig.GroupKind |
getGroupKinds(int index)
(Filtering parameter) Any resource subject to transformation must belong
to one of the listed "types".
|
int |
getGroupKindsCount()
(Filtering parameter) Any resource subject to transformation must belong
to one of the listed "types".
|
List<RestoreConfig.GroupKind> |
getGroupKindsList()
(Filtering parameter) Any resource subject to transformation must belong
to one of the listed "types".
|
RestoreConfig.GroupKindOrBuilder |
getGroupKindsOrBuilder(int index)
(Filtering parameter) Any resource subject to transformation must belong
to one of the listed "types".
|
List<? extends RestoreConfig.GroupKindOrBuilder> |
getGroupKindsOrBuilderList()
(Filtering parameter) Any resource subject to transformation must belong
to one of the listed "types".
|
String |
getJsonPath()
This is a [JSONPath]
(https://github.com/json-path/JsonPath/blob/master/README.md)
expression that matches specific fields of candidate
resources and it operates as a filtering parameter (resources that
are not matched with this expression will not be candidates for
transformation).
|
com.google.protobuf.ByteString |
getJsonPathBytes()
This is a [JSONPath]
(https://github.com/json-path/JsonPath/blob/master/README.md)
expression that matches specific fields of candidate
resources and it operates as a filtering parameter (resources that
are not matched with this expression will not be candidates for
transformation).
|
String |
getNamespaces(int index)
(Filtering parameter) Any resource subject to transformation must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
com.google.protobuf.ByteString |
getNamespacesBytes(int index)
(Filtering parameter) Any resource subject to transformation must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
int |
getNamespacesCount()
(Filtering parameter) Any resource subject to transformation must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
com.google.protobuf.ProtocolStringList |
getNamespacesList()
(Filtering parameter) Any resource subject to transformation must be
contained within one of the listed Kubernetes Namespace in the Backup.
|
com.google.protobuf.Parser<RestoreConfig.ResourceFilter> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RestoreConfig.ResourceFilter.Builder |
newBuilder() |
static RestoreConfig.ResourceFilter.Builder |
newBuilder(RestoreConfig.ResourceFilter prototype) |
RestoreConfig.ResourceFilter.Builder |
newBuilderForType() |
protected RestoreConfig.ResourceFilter.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RestoreConfig.ResourceFilter |
parseDelimitedFrom(InputStream input) |
static RestoreConfig.ResourceFilter |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RestoreConfig.ResourceFilter |
parseFrom(byte[] data) |
static RestoreConfig.ResourceFilter |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RestoreConfig.ResourceFilter |
parseFrom(ByteBuffer data) |
static RestoreConfig.ResourceFilter |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RestoreConfig.ResourceFilter |
parseFrom(com.google.protobuf.ByteString data) |
static RestoreConfig.ResourceFilter |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RestoreConfig.ResourceFilter |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RestoreConfig.ResourceFilter |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RestoreConfig.ResourceFilter |
parseFrom(InputStream input) |
static RestoreConfig.ResourceFilter |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RestoreConfig.ResourceFilter> |
parser() |
RestoreConfig.ResourceFilter.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 NAMESPACES_FIELD_NUMBER
public static final int GROUP_KINDS_FIELD_NUMBER
public static final int JSON_PATH_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 com.google.protobuf.ProtocolStringList getNamespacesList()
(Filtering parameter) Any resource subject to transformation 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 transformation).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string namespaces = 1;getNamespacesList in interface RestoreConfig.ResourceFilterOrBuilderpublic int getNamespacesCount()
(Filtering parameter) Any resource subject to transformation 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 transformation).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string namespaces = 1;getNamespacesCount in interface RestoreConfig.ResourceFilterOrBuilderpublic String getNamespaces(int index)
(Filtering parameter) Any resource subject to transformation 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 transformation).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string namespaces = 1;getNamespaces in interface RestoreConfig.ResourceFilterOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getNamespacesBytes(int index)
(Filtering parameter) Any resource subject to transformation 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 transformation).
To mix cluster-scoped and namespaced resources in the same rule, use an
empty string ("") as one of the target namespaces.
repeated string namespaces = 1;getNamespacesBytes in interface RestoreConfig.ResourceFilterOrBuilderindex - The index of the value to return.public List<RestoreConfig.GroupKind> getGroupKindsList()
(Filtering parameter) Any resource subject to transformation 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 transformation).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2;getGroupKindsList in interface RestoreConfig.ResourceFilterOrBuilderpublic List<? extends RestoreConfig.GroupKindOrBuilder> getGroupKindsOrBuilderList()
(Filtering parameter) Any resource subject to transformation 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 transformation).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2;getGroupKindsOrBuilderList in interface RestoreConfig.ResourceFilterOrBuilderpublic int getGroupKindsCount()
(Filtering parameter) Any resource subject to transformation 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 transformation).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2;getGroupKindsCount in interface RestoreConfig.ResourceFilterOrBuilderpublic RestoreConfig.GroupKind getGroupKinds(int index)
(Filtering parameter) Any resource subject to transformation 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 transformation).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2;getGroupKinds in interface RestoreConfig.ResourceFilterOrBuilderpublic RestoreConfig.GroupKindOrBuilder getGroupKindsOrBuilder(int index)
(Filtering parameter) Any resource subject to transformation 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 transformation).
repeated .google.cloud.gkebackup.v1.RestoreConfig.GroupKind group_kinds = 2;getGroupKindsOrBuilder in interface RestoreConfig.ResourceFilterOrBuilderpublic String getJsonPath()
This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
string json_path = 3;getJsonPath in interface RestoreConfig.ResourceFilterOrBuilderpublic com.google.protobuf.ByteString getJsonPathBytes()
This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
string json_path = 3;getJsonPathBytes in interface RestoreConfig.ResourceFilterOrBuilderpublic 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.ResourceFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig.ResourceFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig.ResourceFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig.ResourceFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig.ResourceFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig.ResourceFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RestoreConfig.ResourceFilter parseFrom(InputStream input) throws IOException
IOExceptionpublic static RestoreConfig.ResourceFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RestoreConfig.ResourceFilter parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RestoreConfig.ResourceFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RestoreConfig.ResourceFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RestoreConfig.ResourceFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RestoreConfig.ResourceFilter.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RestoreConfig.ResourceFilter.Builder newBuilder()
public static RestoreConfig.ResourceFilter.Builder newBuilder(RestoreConfig.ResourceFilter prototype)
public RestoreConfig.ResourceFilter.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RestoreConfig.ResourceFilter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RestoreConfig.ResourceFilter getDefaultInstance()
public static com.google.protobuf.Parser<RestoreConfig.ResourceFilter> parser()
public com.google.protobuf.Parser<RestoreConfig.ResourceFilter> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RestoreConfig.ResourceFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.