Interface RestoreConfig.ResourceFilterOrBuilder (0.36.0)

public static interface RestoreConfig.ResourceFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGroupKinds(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreConfig.GroupKind

getGroupKindsCount()

public abstract 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;

Returns
TypeDescription
int

getGroupKindsList()

public abstract 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;

Returns
TypeDescription
List<GroupKind>

getGroupKindsOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
RestoreConfig.GroupKindOrBuilder

getGroupKindsOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKindOrBuilder>

getJsonPath()

public abstract String getJsonPath()

This is a JSONPath 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;

Returns
TypeDescription
String

The jsonPath.

getJsonPathBytes()

public abstract ByteString getJsonPathBytes()

This is a JSONPath 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;

Returns
TypeDescription
ByteString

The bytes for jsonPath.

getNamespaces(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The namespaces at the given index.

getNamespacesBytes(int index)

public abstract 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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the namespaces at the given index.

getNamespacesCount()

public abstract 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;

Returns
TypeDescription
int

The count of namespaces.

getNamespacesList()

public abstract List<String> 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;

Returns
TypeDescription
List<String>

A list containing the namespaces.