# Interface FetchDataSourceReferencesForResourceTypeRequestOrBuilder (0.50.0)

0.50.0 (latest) 0.47.0 0.46.0 0.44.0 0.42.0 0.41.0 0.40.0 0.39.0 0.37.0 0.35.0 0.34.0 0.33.0 0.32.0 0.31.0 0.29.0 0.27.0 0.26.0 0.23.0 0.22.0 0.21.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.0 0.1.0

    public interface FetchDataSourceReferencesForResourceTypeRequestOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getFilter()

    public abstract String getFilter()

Optional. A filter expression that filters the results fetched in the
response. The expression must specify the field name, a comparison
operator, and the value that you want to use for filtering. Supported
fields:

- data_source
- data_source_gcp_resource_info.gcp_resourcename
- data_source_backup_config_state
- data_source_backup_count
- data_source_backup_config_info.last_backup_state
- data_source_gcp_resource_info.gcp_resourcename
- data_source_gcp_resource_info.type
- data_source_gcp_resource_info.location
- data_source_gcp_resource_info.cloud_sql_instance_properties.instance_create_time

`string filter = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The filter. |

### getFilterBytes()

    public abstract ByteString getFilterBytes()

Optional. A filter expression that filters the results fetched in the
response. The expression must specify the field name, a comparison
operator, and the value that you want to use for filtering. Supported
fields:

- data_source
- data_source_gcp_resource_info.gcp_resourcename
- data_source_backup_config_state
- data_source_backup_count
- data_source_backup_config_info.last_backup_state
- data_source_gcp_resource_info.gcp_resourcename
- data_source_gcp_resource_info.type
- data_source_gcp_resource_info.location
- data_source_gcp_resource_info.cloud_sql_instance_properties.instance_create_time

`string filter = 5 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for filter. |

### getOrderBy()

    public abstract String getOrderBy()

Optional. A comma-separated list of fields to order by, sorted in ascending
order. Use "desc" after a field name for descending.

Supported fields:

- name

`string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The orderBy. |

### getOrderByBytes()

    public abstract ByteString getOrderByBytes()

Optional. A comma-separated list of fields to order by, sorted in ascending
order. Use "desc" after a field name for descending.

Supported fields:

- name

`string order_by = 6 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for orderBy. |

### getPageSize()

    public abstract int getPageSize()

Optional. The maximum number of DataSourceReferences to return. The service
may return fewer than this value. If unspecified, at most 50
DataSourceReferences will be returned. The maximum value is 100; values
above 100 will be coerced to 100.

`int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The pageSize. |

### getPageToken()

    public abstract String getPageToken()

Optional. A page token, received from a previous call of
`FetchDataSourceReferencesForResourceType`.
Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to
`FetchDataSourceReferencesForResourceType` must match
the call that provided the page token.

`string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The pageToken. |

### getPageTokenBytes()

    public abstract ByteString getPageTokenBytes()

Optional. A page token, received from a previous call of
`FetchDataSourceReferencesForResourceType`.
Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to
`FetchDataSourceReferencesForResourceType` must match
the call that provided the page token.

`string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for pageToken. |

### getParent()

    public abstract String getParent()

Required. The parent resource name.
Format: projects/{project}/locations/{location}

`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The parent. |

### getParentBytes()

    public abstract ByteString getParentBytes()

Required. The parent resource name.
Format: projects/{project}/locations/{location}

`
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for parent. |

### getResourceType()

    public abstract String getResourceType()

Required. The type of the GCP resource.
Ex: sql.googleapis.com/Instance

`string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The resourceType. |

### getResourceTypeBytes()

    public abstract ByteString getResourceTypeBytes()

Required. The type of the GCP resource.
Ex: sql.googleapis.com/Instance

`string resource_type = 2 [(.google.api.field_behavior) = REQUIRED];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for resourceType. |