Class ListDataSourcesResponse.Builder (2.78.0)

publicstaticfinalclass ListDataSourcesResponse.BuilderextendsGeneratedMessageV3.Builder<ListDataSourcesResponse.Builder>implementsListDataSourcesResponseOrBuilder

Returns list of supported data sources and their metadata.

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

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDataSources(Iterable<? extends DataSource> values)

publicListDataSourcesResponse.BuilderaddAllDataSources(Iterable<?extendsDataSource>values)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.datatransfer.v1.DataSource>
Returns
Type Description
ListDataSourcesResponse.Builder

addDataSources(DataSource value)

publicListDataSourcesResponse.BuilderaddDataSources(DataSourcevalue)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameter
Name Description
value DataSource
Returns
Type Description
ListDataSourcesResponse.Builder

addDataSources(DataSource.Builder builderForValue)

publicListDataSourcesResponse.BuilderaddDataSources(DataSource.BuilderbuilderForValue)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameter
Name Description
builderForValue DataSource.Builder
Returns
Type Description
ListDataSourcesResponse.Builder

addDataSources(int index, DataSource value)

publicListDataSourcesResponse.BuilderaddDataSources(intindex,DataSourcevalue)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameters
Name Description
index int
value DataSource
Returns
Type Description
ListDataSourcesResponse.Builder

addDataSources(int index, DataSource.Builder builderForValue)

publicListDataSourcesResponse.BuilderaddDataSources(intindex,DataSource.BuilderbuilderForValue)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameters
Name Description
index int
builderForValue DataSource.Builder
Returns
Type Description
ListDataSourcesResponse.Builder

addDataSourcesBuilder()

publicDataSource.BuilderaddDataSourcesBuilder()

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Returns
Type Description
DataSource.Builder

addDataSourcesBuilder(int index)

publicDataSource.BuilderaddDataSourcesBuilder(intindex)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicListDataSourcesResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides

build()

publicListDataSourcesResponsebuild()
Returns
Type Description
ListDataSourcesResponse

buildPartial()

publicListDataSourcesResponsebuildPartial()
Returns
Type Description
ListDataSourcesResponse

clear()

publicListDataSourcesResponse.Builderclear()
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides

clearDataSources()

publicListDataSourcesResponse.BuilderclearDataSources()

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Returns
Type Description
ListDataSourcesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

publicListDataSourcesResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides

clearNextPageToken()

publicListDataSourcesResponse.BuilderclearNextPageToken()

Output only. The next-pagination token. For multiple-page list results, this token can be used as the ListDataSourcesRequest.page_token to request the next page of list results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ListDataSourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicListDataSourcesResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides

clone()

publicListDataSourcesResponse.Builderclone()
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides

getDataSources(int index)

publicDataSourcegetDataSources(intindex)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSource

getDataSourcesBuilder(int index)

publicDataSource.BuildergetDataSourcesBuilder(intindex)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSource.Builder

getDataSourcesBuilderList()

publicList<DataSource.Builder>getDataSourcesBuilderList()

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Returns
Type Description
List<Builder>

getDataSourcesCount()

publicintgetDataSourcesCount()

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Returns
Type Description
int

getDataSourcesList()

publicList<DataSource>getDataSourcesList()

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Returns
Type Description
List<DataSource>

getDataSourcesOrBuilder(int index)

publicDataSourceOrBuildergetDataSourcesOrBuilder(intindex)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSourceOrBuilder

getDataSourcesOrBuilderList()

publicList<?extendsDataSourceOrBuilder>getDataSourcesOrBuilderList()

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Returns
Type Description
List<? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder>

getDefaultInstanceForType()

publicListDataSourcesResponsegetDefaultInstanceForType()
Returns
Type Description
ListDataSourcesResponse

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getNextPageToken()

publicStringgetNextPageToken()

Output only. The next-pagination token. For multiple-page list results, this token can be used as the ListDataSourcesRequest.page_token to request the next page of list results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

publicByteStringgetNextPageTokenBytes()

Output only. The next-pagination token. For multiple-page list results, this token can be used as the ListDataSourcesRequest.page_token to request the next page of list results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDataSourcesResponse other)

publicListDataSourcesResponse.BuildermergeFrom(ListDataSourcesResponseother)
Parameter
Name Description
other ListDataSourcesResponse
Returns
Type Description
ListDataSourcesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicListDataSourcesResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicListDataSourcesResponse.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalListDataSourcesResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides

removeDataSources(int index)

publicListDataSourcesResponse.BuilderremoveDataSources(intindex)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDataSourcesResponse.Builder

setDataSources(int index, DataSource value)

publicListDataSourcesResponse.BuildersetDataSources(intindex,DataSourcevalue)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameters
Name Description
index int
value DataSource
Returns
Type Description
ListDataSourcesResponse.Builder

setDataSources(int index, DataSource.Builder builderForValue)

publicListDataSourcesResponse.BuildersetDataSources(intindex,DataSource.BuilderbuilderForValue)

List of supported data sources and their transfer settings.

repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;

Parameters
Name Description
index int
builderForValue DataSource.Builder
Returns
Type Description
ListDataSourcesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicListDataSourcesResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides

setNextPageToken(String value)

publicListDataSourcesResponse.BuildersetNextPageToken(Stringvalue)

Output only. The next-pagination token. For multiple-page list results, this token can be used as the ListDataSourcesRequest.page_token to request the next page of list results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListDataSourcesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

publicListDataSourcesResponse.BuildersetNextPageTokenBytes(ByteStringvalue)

Output only. The next-pagination token. For multiple-page list results, this token can be used as the ListDataSourcesRequest.page_token to request the next page of list results.

string next_page_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListDataSourcesResponse.Builder

This builder for chaining.

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

publicListDataSourcesResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalListDataSourcesResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListDataSourcesResponse.Builder
Overrides

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.