Class ListDataSourceDefinitionsRequest.Builder (2.42.0)

public static final class ListDataSourceDefinitionsRequest.Builder extends GeneratedMessageV3.Builder<ListDataSourceDefinitionsRequest.Builder> implements ListDataSourceDefinitionsRequestOrBuilder

Represents the request of the ListDataSourceDefinitions method.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataSourceDefinitionsRequest build()
Returns
Type Description
ListDataSourceDefinitionsRequest

buildPartial()

public ListDataSourceDefinitionsRequest buildPartial()
Returns
Type Description
ListDataSourceDefinitionsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListDataSourceDefinitionsRequest.Builder clearPageSize()

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

int32 page_size = 3;

Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

clearPageToken()

public ListDataSourceDefinitionsRequest.Builder clearPageToken()

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

string page_token = 2;

Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

clearParent()

public ListDataSourceDefinitionsRequest.Builder clearParent()

The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

clone()

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

getDefaultInstanceForType()

public ListDataSourceDefinitionsRequest getDefaultInstanceForType()
Returns
Type Description
ListDataSourceDefinitionsRequest

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 = 3;

Returns
Type Description
int

getPageToken()

public String getPageToken()

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

string page_token = 2;

Returns
Type Description
String

getPageTokenBytes()

public ByteString getPageTokenBytes()

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

string page_token = 2;

Returns
Type Description
ByteString

getParent()

public String getParent()

The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Returns
Type Description
String

getParentBytes()

public ByteString getParentBytes()

The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Returns
Type Description
ByteString

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDataSourceDefinitionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListDataSourceDefinitionsRequest.Builder setPageSize(int value)

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

int32 page_size = 3;

Parameter
Name Description
value int
Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

setPageToken(String value)

public ListDataSourceDefinitionsRequest.Builder setPageToken(String value)

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

string page_token = 2;

Parameter
Name Description
value String
Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

setPageTokenBytes(ByteString value)

public ListDataSourceDefinitionsRequest.Builder setPageTokenBytes(ByteString value)

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

string page_token = 2;

Parameter
Name Description
value ByteString
Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

setParent(String value)

public ListDataSourceDefinitionsRequest.Builder setParent(String value)

The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Parameter
Name Description
value String
Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

setParentBytes(ByteString value)

public ListDataSourceDefinitionsRequest.Builder setParentBytes(ByteString value)

The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Parameter
Name Description
value ByteString
Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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