- 0.53.0 (latest)
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class RestoreConfig.ResourceFilter.Builder extends GeneratedMessageV3.Builder<RestoreConfig.ResourceFilter.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestoreConfig.ResourceFilter.BuilderImplements
RestoreConfig.ResourceFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
public RestoreConfig.ResourceFilter.Builder addAllGroupKinds(Iterable<? extends RestoreConfig.GroupKind> values)
(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 | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKind> |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
addAllNamespaces(Iterable<String> values)
public RestoreConfig.ResourceFilter.Builder addAllNamespaces(Iterable<String> values)
(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 | |
---|---|
Name | Description |
values | Iterable<String> The namespaces to add. |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder | This builder for chaining. |
addGroupKinds(RestoreConfig.GroupKind value)
public RestoreConfig.ResourceFilter.Builder addGroupKinds(RestoreConfig.GroupKind value)
(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 | |
---|---|
Name | Description |
value | RestoreConfig.GroupKind |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
addGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ResourceFilter.Builder addGroupKinds(RestoreConfig.GroupKind.Builder builderForValue)
(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 | |
---|---|
Name | Description |
builderForValue | RestoreConfig.GroupKind.Builder |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
addGroupKinds(int index, RestoreConfig.GroupKind value)
public RestoreConfig.ResourceFilter.Builder addGroupKinds(int index, RestoreConfig.GroupKind value)
(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;
Parameters | |
---|---|
Name | Description |
index | int |
value | RestoreConfig.GroupKind |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
addGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ResourceFilter.Builder addGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
(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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | RestoreConfig.GroupKind.Builder |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
addGroupKindsBuilder()
public RestoreConfig.GroupKind.Builder addGroupKindsBuilder()
(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 | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
addGroupKindsBuilder(int index)
public RestoreConfig.GroupKind.Builder addGroupKindsBuilder(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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
addNamespaces(String value)
public RestoreConfig.ResourceFilter.Builder addNamespaces(String value)
(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 | |
---|---|
Name | Description |
value | String The namespaces to add. |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder | This builder for chaining. |
addNamespacesBytes(ByteString value)
public RestoreConfig.ResourceFilter.Builder addNamespacesBytes(ByteString value)
(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 | |
---|---|
Name | Description |
value | ByteString The bytes of the namespaces to add. |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.ResourceFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
build()
public RestoreConfig.ResourceFilter build()
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter |
buildPartial()
public RestoreConfig.ResourceFilter buildPartial()
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter |
clear()
public RestoreConfig.ResourceFilter.Builder clear()
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
clearField(Descriptors.FieldDescriptor field)
public RestoreConfig.ResourceFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
clearGroupKinds()
public RestoreConfig.ResourceFilter.Builder clearGroupKinds()
(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 | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
clearJsonPath()
public RestoreConfig.ResourceFilter.Builder clearJsonPath()
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 | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder | This builder for chaining. |
clearNamespaces()
public RestoreConfig.ResourceFilter.Builder clearNamespaces()
(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 | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreConfig.ResourceFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
clone()
public RestoreConfig.ResourceFilter.Builder clone()
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
getDefaultInstanceForType()
public RestoreConfig.ResourceFilter getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGroupKinds(int index)
public 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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind |
getGroupKindsBuilder(int index)
public RestoreConfig.GroupKind.Builder getGroupKindsBuilder(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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKind.Builder |
getGroupKindsBuilderList()
public List<RestoreConfig.GroupKind.Builder> getGroupKindsBuilderList()
(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 | |
---|---|
Type | Description |
List<Builder> |
getGroupKindsCount()
public 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 | |
---|---|
Type | Description |
int |
getGroupKindsList()
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;
Returns | |
---|---|
Type | Description |
List<GroupKind> |
getGroupKindsOrBuilder(int index)
public 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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RestoreConfig.GroupKindOrBuilder |
getGroupKindsOrBuilderList()
public 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 | |
---|---|
Type | Description |
List<? extends com.google.cloud.gkebackup.v1.RestoreConfig.GroupKindOrBuilder> |
getJsonPath()
public 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 | |
---|---|
Type | Description |
String | The jsonPath. |
getJsonPathBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for jsonPath. |
getNamespaces(int index)
public 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 | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The namespaces at the given index. |
getNamespacesBytes(int index)
public 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 | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the namespaces at the given index. |
getNamespacesCount()
public 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 | |
---|---|
Type | Description |
int | The count of namespaces. |
getNamespacesList()
public 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;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the namespaces. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RestoreConfig.ResourceFilter other)
public RestoreConfig.ResourceFilter.Builder mergeFrom(RestoreConfig.ResourceFilter other)
Parameter | |
---|---|
Name | Description |
other | RestoreConfig.ResourceFilter |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreConfig.ResourceFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RestoreConfig.ResourceFilter.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.ResourceFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
removeGroupKinds(int index)
public RestoreConfig.ResourceFilter.Builder removeGroupKinds(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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreConfig.ResourceFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
setGroupKinds(int index, RestoreConfig.GroupKind value)
public RestoreConfig.ResourceFilter.Builder setGroupKinds(int index, RestoreConfig.GroupKind value)
(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;
Parameters | |
---|---|
Name | Description |
index | int |
value | RestoreConfig.GroupKind |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
setGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
public RestoreConfig.ResourceFilter.Builder setGroupKinds(int index, RestoreConfig.GroupKind.Builder builderForValue)
(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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | RestoreConfig.GroupKind.Builder |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
setJsonPath(String value)
public RestoreConfig.ResourceFilter.Builder setJsonPath(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The jsonPath to set. |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder | This builder for chaining. |
setJsonPathBytes(ByteString value)
public RestoreConfig.ResourceFilter.Builder setJsonPathBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for jsonPath to set. |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder | This builder for chaining. |
setNamespaces(int index, String value)
public RestoreConfig.ResourceFilter.Builder setNamespaces(int index, String value)
(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;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The namespaces to set. |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreConfig.ResourceFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreConfig.ResourceFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RestoreConfig.ResourceFilter.Builder |