# Interface SearchCloudLocationsRequestOrBuilder (0.18.0)

0.18.0 (latest) 0.16.0 0.13.0 0.12.0 0.10.0 0.8.0 0.7.0 0.6.0 0.5.0 0.3.0 0.1.0

    public interface SearchCloudLocationsRequestOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getPageSize()

    public abstract int getPageSize()

Optional. The maximum number of cloud locations to return. The service
might return fewer cloud locations than this value. If unspecified, server
will pick an appropriate default.

`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 token identifying a page of results the server should return.
Provide Page token returned by a previous 'ListCloudLocations' call to
retrieve the next page of results. When paginating, all other parameters
provided to 'ListCloudLocations' 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 token identifying a page of results the server should return.
Provide Page token returned by a previous 'ListCloudLocations' call to
retrieve the next page of results. When paginating, all other parameters
provided to 'ListCloudLocations' 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, which owns this collection of cloud locations.
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, which owns this collection of cloud locations.
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. |

### getQuery()

    public abstract String getQuery()

Optional. The query string in search query syntax. While filter is used to
filter the search results by attributes, query is used to specify the
search requirements.

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

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

### getQueryBytes()

    public abstract ByteString getQueryBytes()

Optional. The query string in search query syntax. While filter is used to
filter the search results by attributes, query is used to specify the
search requirements.

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

### getSourceCloudLocation()

    public abstract String getSourceCloudLocation()

Required. The source cloud location to search from.
Example search can be searching nearby cloud locations from the source
cloud location by latency.

`
string source_cloud_location = 2 [(.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 sourceCloudLocation. |

### getSourceCloudLocationBytes()

    public abstract ByteString getSourceCloudLocationBytes()

Required. The source cloud location to search from.
Example search can be searching nearby cloud locations from the source
cloud location by latency.

`
string source_cloud_location = 2 [(.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 sourceCloudLocation. |