Class ListTransferConfigsRequest.Builder (2.54.0)

public static final class ListTransferConfigsRequest.Builder extends GeneratedMessageV3.Builder<ListTransferConfigsRequest.Builder> implements ListTransferConfigsRequestOrBuilder

A request to list data transfers configured for a BigQuery project.

Protobuf type google.cloud.bigquery.datatransfer.v1.ListTransferConfigsRequest

Static Methods

getDescriptor()

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

Methods

addAllDataSourceIds(Iterable<String> values)

public ListTransferConfigsRequest.Builder addAllDataSourceIds(Iterable<String> values)

When specified, only configurations of requested data sources are returned.

repeated string data_source_ids = 2;

Parameter
Name Description
values Iterable<String>

The dataSourceIds to add.

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

addDataSourceIds(String value)

public ListTransferConfigsRequest.Builder addDataSourceIds(String value)

When specified, only configurations of requested data sources are returned.

repeated string data_source_ids = 2;

Parameter
Name Description
value String

The dataSourceIds to add.

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

addDataSourceIdsBytes(ByteString value)

public ListTransferConfigsRequest.Builder addDataSourceIdsBytes(ByteString value)

When specified, only configurations of requested data sources are returned.

repeated string data_source_ids = 2;

Parameter
Name Description
value ByteString

The bytes of the dataSourceIds to add.

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTransferConfigsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListTransferConfigsRequest.Builder
Overrides

build()

public ListTransferConfigsRequest build()
Returns
Type Description
ListTransferConfigsRequest

buildPartial()

public ListTransferConfigsRequest buildPartial()
Returns
Type Description
ListTransferConfigsRequest

clear()

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

clearDataSourceIds()

public ListTransferConfigsRequest.Builder clearDataSourceIds()

When specified, only configurations of requested data sources are returned.

repeated string data_source_ids = 2;

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ListTransferConfigsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListTransferConfigsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferConfigsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListTransferConfigsRequest.Builder
Overrides

clearPageSize()

public ListTransferConfigsRequest.Builder clearPageSize()

Page size. The default page size is the maximum value of 1000 results.

int32 page_size = 4;

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

clearPageToken()

public ListTransferConfigsRequest.Builder clearPageToken()

Pagination token, which can be used to request a specific page of ListTransfersRequest list results. For multiple-page results, ListTransfersResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

string page_token = 3;

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

clearParent()

public ListTransferConfigsRequest.Builder clearParent()

Required. The BigQuery project id for which transfer configs should be returned: projects/{project_id} or projects/{project_id}/locations/{location_id}

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

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

clone()

public ListTransferConfigsRequest.Builder clone()
Returns
Type Description
ListTransferConfigsRequest.Builder
Overrides

getDataSourceIds(int index)

public String getDataSourceIds(int index)

When specified, only configurations of requested data sources are returned.

repeated string data_source_ids = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dataSourceIds at the given index.

getDataSourceIdsBytes(int index)

public ByteString getDataSourceIdsBytes(int index)

When specified, only configurations of requested data sources are returned.

repeated string data_source_ids = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dataSourceIds at the given index.

getDataSourceIdsCount()

public int getDataSourceIdsCount()

When specified, only configurations of requested data sources are returned.

repeated string data_source_ids = 2;

Returns
Type Description
int

The count of dataSourceIds.

getDataSourceIdsList()

public ProtocolStringList getDataSourceIdsList()

When specified, only configurations of requested data sources are returned.

repeated string data_source_ids = 2;

Returns
Type Description
ProtocolStringList

A list containing the dataSourceIds.

getDefaultInstanceForType()

public ListTransferConfigsRequest getDefaultInstanceForType()
Returns
Type Description
ListTransferConfigsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Page size. The default page size is the maximum value of 1000 results.

int32 page_size = 4;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Pagination token, which can be used to request a specific page of ListTransfersRequest list results. For multiple-page results, ListTransfersResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

string page_token = 3;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Pagination token, which can be used to request a specific page of ListTransfersRequest list results. For multiple-page results, ListTransfersResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

string page_token = 3;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The BigQuery project id for which transfer configs should be returned: projects/{project_id} or projects/{project_id}/locations/{location_id}

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The BigQuery project id for which transfer configs should be returned: projects/{project_id} or projects/{project_id}/locations/{location_id}

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListTransferConfigsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferConfigsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTransferConfigsRequest.Builder
Overrides

setDataSourceIds(int index, String value)

public ListTransferConfigsRequest.Builder setDataSourceIds(int index, String value)

When specified, only configurations of requested data sources are returned.

repeated string data_source_ids = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The dataSourceIds to set.

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ListTransferConfigsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListTransferConfigsRequest.Builder
Overrides

setPageSize(int value)

public ListTransferConfigsRequest.Builder setPageSize(int value)

Page size. The default page size is the maximum value of 1000 results.

int32 page_size = 4;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListTransferConfigsRequest.Builder setPageToken(String value)

Pagination token, which can be used to request a specific page of ListTransfersRequest list results. For multiple-page results, ListTransfersResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

string page_token = 3;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListTransferConfigsRequest.Builder setPageTokenBytes(ByteString value)

Pagination token, which can be used to request a specific page of ListTransfersRequest list results. For multiple-page results, ListTransfersResponse outputs a next_page token, which can be used as the page_token value to request the next page of list results.

string page_token = 3;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

setParent(String value)

public ListTransferConfigsRequest.Builder setParent(String value)

Required. The BigQuery project id for which transfer configs should be returned: projects/{project_id} or projects/{project_id}/locations/{location_id}

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListTransferConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListTransferConfigsRequest.Builder setParentBytes(ByteString value)

Required. The BigQuery project id for which transfer configs should be returned: projects/{project_id} or projects/{project_id}/locations/{location_id}

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
ListTransferConfigsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListTransferConfigsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListTransferConfigsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferConfigsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListTransferConfigsRequest.Builder
Overrides