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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListDataSourcesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListDataSourcesResponse build()
Returns
buildPartial()
public ListDataSourcesResponse buildPartial()
Returns
clear()
public ListDataSourcesResponse.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public ListDataSourcesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListDataSourcesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListDataSourcesResponse.Builder clone()
Returns
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
Returns
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
Returns
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
getDataSourcesCount()
public int getDataSourcesCount()
List of supported data sources and their transfer settings.
repeated .google.cloud.bigquery.datatransfer.v1.DataSource data_sources = 1;
Returns
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
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
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListDataSourcesResponse other)
public ListDataSourcesResponse.Builder mergeFrom(ListDataSourcesResponse other)
Parameter
Returns
public ListDataSourcesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListDataSourcesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListDataSourcesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListDataSourcesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListDataSourcesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListDataSourcesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides