Class ListDataSourcesResponse.Builder (2.46.0)

public static final class ListDataSourcesResponse.Builder extends GeneratedMessageV3.Builder<ListDataSourcesResponse.Builder> implements ListDataSourcesResponseOrBuilder

Returns list of supported data sources and their metadata.

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

Static Methods

getDescriptor()

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

Methods

addAllDataSources(Iterable<? extends DataSource> values)

public ListDataSourcesResponse.Builder addAllDataSources(Iterable<? extends DataSource> 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)

public ListDataSourcesResponse.Builder addDataSources(DataSource value)

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)

public ListDataSourcesResponse.Builder addDataSources(DataSource.Builder builderForValue)

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)

public ListDataSourcesResponse.Builder addDataSources(int index, DataSource value)

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)

public ListDataSourcesResponse.Builder addDataSources(int index, DataSource.Builder builderForValue)

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()

public DataSource.Builder addDataSourcesBuilder()

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)

public DataSource.Builder addDataSourcesBuilder(int index)

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)

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

build()

public ListDataSourcesResponse build()
Returns
Type Description
ListDataSourcesResponse

buildPartial()

public ListDataSourcesResponse buildPartial()
Returns
Type Description
ListDataSourcesResponse

clear()

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

clearDataSources()

public ListDataSourcesResponse.Builder clearDataSources()

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)

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

clearNextPageToken()

public ListDataSourcesResponse.Builder clearNextPageToken()

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)

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

clone()

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

getDataSources(int index)

public DataSource getDataSources(int index)

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)

public DataSource.Builder getDataSourcesBuilder(int index)

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()

public List<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()

public int getDataSourcesCount()

List of supported data sources and their transfer settings.

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

Returns
Type Description
int

getDataSourcesList()

public List<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)

public DataSourceOrBuilder getDataSourcesOrBuilder(int index)

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()

public List<? extends DataSourceOrBuilder> 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()

public ListDataSourcesResponse getDefaultInstanceForType()
Returns
Type Description
ListDataSourcesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

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()

public ByteString getNextPageTokenBytes()

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()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDataSourcesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataSources(int index)

public ListDataSourcesResponse.Builder removeDataSources(int index)

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)

public ListDataSourcesResponse.Builder setDataSources(int index, DataSource value)

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)

public ListDataSourcesResponse.Builder setDataSources(int index, DataSource.Builder builderForValue)

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)

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

setNextPageToken(String value)

public ListDataSourcesResponse.Builder setNextPageToken(String value)

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)

public ListDataSourcesResponse.Builder setNextPageTokenBytes(ByteString value)

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)

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

setUnknownFields(UnknownFieldSet unknownFields)

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