Class ListDataSourceDefinitionsRequest.Builder (2.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataSourceDefinitionsRequest build()
Returns
TypeDescription
ListDataSourceDefinitionsRequest

buildPartial()

public ListDataSourceDefinitionsRequest buildPartial()
Returns
TypeDescription
ListDataSourceDefinitionsRequest

clear()

public ListDataSourceDefinitionsRequest.Builder clear()
Returns
TypeDescription
ListDataSourceDefinitionsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListDataSourceDefinitionsRequest.Builder clone()
Returns
TypeDescription
ListDataSourceDefinitionsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListDataSourceDefinitionsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListDataSourceDefinitionsRequest

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDataSourceDefinitionsRequest other)

public ListDataSourceDefinitionsRequest.Builder mergeFrom(ListDataSourceDefinitionsRequest other)
Parameter
NameDescription
otherListDataSourceDefinitionsRequest
Returns
TypeDescription
ListDataSourceDefinitionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDataSourceDefinitionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListDataSourceDefinitionsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ListDataSourceDefinitionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDataSourceDefinitionsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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