Class ListDataExchangesRequest.Builder (2.78.0)

public static final class ListDataExchangesRequest.Builder extends GeneratedMessage.Builder<ListDataExchangesRequest.Builder> implements ListDataExchangesRequestOrBuilder

Message for requesting the list of data exchanges.

Protobuf type google.cloud.bigquery.dataexchange.v1beta1.ListDataExchangesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ListDataExchangesRequest build()
Returns
Type Description
ListDataExchangesRequest

buildPartial()

public ListDataExchangesRequest buildPartial()
Returns
Type Description
ListDataExchangesRequest

clear()

public ListDataExchangesRequest.Builder clear()
Returns
Type Description
ListDataExchangesRequest.Builder
Overrides

clearPageSize()

public ListDataExchangesRequest.Builder clearPageSize()

The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.

int32 page_size = 2;

Returns
Type Description
ListDataExchangesRequest.Builder

This builder for chaining.

clearPageToken()

public ListDataExchangesRequest.Builder clearPageToken()

Page token, returned by a previous call, to request the next page of results.

string page_token = 3;

Returns
Type Description
ListDataExchangesRequest.Builder

This builder for chaining.

clearParent()

public ListDataExchangesRequest.Builder clearParent()

Required. The parent resource path of the data exchanges. e.g. projects/myproject/locations/US.

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

Returns
Type Description
ListDataExchangesRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListDataExchangesRequest getDefaultInstanceForType()
Returns
Type Description
ListDataExchangesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getPageSize()

public int getPageSize()

The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.

int32 page_size = 2;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Page token, returned by a previous call, to request the next page of results.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Page token, returned by a previous call, to request the next page of results.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The parent resource path of the data exchanges. e.g. projects/myproject/locations/US.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The parent resource path of the data exchanges. e.g. projects/myproject/locations/US.

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDataExchangesRequest other)

public ListDataExchangesRequest.Builder mergeFrom(ListDataExchangesRequest other)
Parameter
Name Description
other ListDataExchangesRequest
Returns
Type Description
ListDataExchangesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListDataExchangesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataExchangesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListDataExchangesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListDataExchangesRequest.Builder
Overrides

setPageSize(int value)

public ListDataExchangesRequest.Builder setPageSize(int value)

The maximum number of results to return in a single response page. Leverage the page tokens to iterate through the entire collection.

int32 page_size = 2;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListDataExchangesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListDataExchangesRequest.Builder setPageToken(String value)

Page token, returned by a previous call, to request the next page of results.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListDataExchangesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListDataExchangesRequest.Builder setPageTokenBytes(ByteString value)

Page token, returned by a previous call, to request the next page of results.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListDataExchangesRequest.Builder

This builder for chaining.

setParent(String value)

public ListDataExchangesRequest.Builder setParent(String value)

Required. The parent resource path of the data exchanges. e.g. projects/myproject/locations/US.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListDataExchangesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListDataExchangesRequest.Builder setParentBytes(ByteString value)

Required. The parent resource path of the data exchanges. e.g. projects/myproject/locations/US.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListDataExchangesRequest.Builder

This builder for chaining.