# Interface SearchPartnerLinksRequestOrBuilder (0.14.0)

0.14.0 (latest) 0.12.0 0.9.0 0.8.0 0.6.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface SearchPartnerLinksRequestOrBuilder 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 string](https://google.aip.dev/160). All fields need to
be on the left hand side of each condition (for example: `partner_link_id =
123456789`). Fields must be specified using either all [camel
case](https://en.wikipedia.org/wiki/Camel_case) or all [snake
case](https://en.wikipedia.org/wiki/Snake_case). Don't use a combination of
camel case and snake case.

Supported operations:

- `AND`
- `=`
- `!=`

  Supported fields:
- `partner_link_id`

- `owning_account.account_type`
- `owning_account.account_id`
- `partner_account.account_type`
- `partner_account.account_id`

  Example:
  `owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id
  = 987654321`

`string filter = 4 [(.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 string](https://google.aip.dev/160). All fields need to
be on the left hand side of each condition (for example: `partner_link_id =
123456789`). Fields must be specified using either all [camel
case](https://en.wikipedia.org/wiki/Camel_case) or all [snake
case](https://en.wikipedia.org/wiki/Snake_case). Don't use a combination of
camel case and snake case.

Supported operations:

- `AND`
- `=`
- `!=`

  Supported fields:
- `partner_link_id`

- `owning_account.account_type`
- `owning_account.account_id`
- `partner_account.account_type`
- `partner_account.account_id`

  Example:
  `owning_account.account_type = "GOOGLE_ADS" AND partner_account.account_id
  = 987654321`

`string filter = 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 filter. |

### getPageSize()

    public abstract int getPageSize()

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

`int32 page_size = 2;`

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

### getPageToken()

    public abstract String getPageToken()

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

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

`string page_token = 3;`

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

### getPageTokenBytes()

    public abstract ByteString getPageTokenBytes()

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

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

`string page_token = 3;`

| **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. Account to search for partner links. If no `filter` is specified,
all partner links where this account is either the `owning_account` or
`partner_account` are returned.

Format: `accountTypes/{account_type}/accounts/{account}`

`
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. Account to search for partner links. If no `filter` is specified,
all partner links where this account is either the `owning_account` or
`partner_account` are returned.

Format: `accountTypes/{account_type}/accounts/{account}`

`
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. |