Class ListDataSourcesResponse.Builder (2.13.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.datatransfer.v1.DataSource>
Returns
TypeDescription
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
NameDescription
valueDataSource
Returns
TypeDescription
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
NameDescription
builderForValueDataSource.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataSource
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataSource.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataSource.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataSourcesResponse build()
Returns
TypeDescription
ListDataSourcesResponse

buildPartial()

public ListDataSourcesResponse buildPartial()
Returns
TypeDescription
ListDataSourcesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListDataSourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListDataSourcesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListDataSourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListDataSourcesResponse.Builder
Overrides

clone()

public ListDataSourcesResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceOrBuilder>

getDefaultInstanceForType()

public ListDataSourcesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDataSourcesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDataSourcesResponse other)

public ListDataSourcesResponse.Builder mergeFrom(ListDataSourcesResponse other)
Parameter
NameDescription
otherListDataSourcesResponse
Returns
TypeDescription
ListDataSourcesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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