Class ListTransferConfigsRequest.Builder (2.2.5)

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
TypeDescription
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
NameDescription
valuesIterable<String>

The dataSourceIds to add.

Returns
TypeDescription
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
NameDescription
valueString

The dataSourceIds to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the dataSourceIds to add.

Returns
TypeDescription
ListTransferConfigsRequest.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListTransferConfigsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListTransferConfigsRequest.Builder
Overrides

build()

public ListTransferConfigsRequest build()
Returns
TypeDescription
ListTransferConfigsRequest

buildPartial()

public ListTransferConfigsRequest buildPartial()
Returns
TypeDescription
ListTransferConfigsRequest

clear()

public ListTransferConfigsRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListTransferConfigsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ListTransferConfigsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListTransferConfigsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListTransferConfigsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListTransferConfigsRequest.Builder

This builder for chaining.

clearParent()

public ListTransferConfigsRequest.Builder clearParent()

Required. The BigQuery project id for which data sources 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
TypeDescription
ListTransferConfigsRequest.Builder

This builder for chaining.

clone()

public ListTransferConfigsRequest.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the dataSourceIds.

getDefaultInstanceForType()

public ListTransferConfigsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListTransferConfigsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

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

int32 page_size = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The BigQuery project id for which data sources 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
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The BigQuery project id for which data sources 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
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTransferConfigsRequest other)

public ListTransferConfigsRequest.Builder mergeFrom(ListTransferConfigsRequest other)
Parameter
NameDescription
otherListTransferConfigsRequest
Returns
TypeDescription
ListTransferConfigsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListTransferConfigsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListTransferConfigsRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListTransferConfigsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListTransferConfigsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferConfigsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The dataSourceIds to set.

Returns
TypeDescription
ListTransferConfigsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ListTransferConfigsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
ListTransferConfigsRequest.Builder

This builder for chaining.

setParent(String value)

public ListTransferConfigsRequest.Builder setParent(String value)

Required. The BigQuery project id for which data sources 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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListTransferConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListTransferConfigsRequest.Builder setParentBytes(ByteString value)

Required. The BigQuery project id for which data sources 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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListTransferConfigsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListTransferConfigsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTransferConfigsRequest.Builder
Overrides