Class ListDataSourceDefinitionsResponse.Builder (2.43.0)

public static final class ListDataSourceDefinitionsResponse.Builder extends GeneratedMessageV3.Builder<ListDataSourceDefinitionsResponse.Builder> implements ListDataSourceDefinitionsResponseOrBuilder

Returns a list of supported data source definitions.

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

Static Methods

getDescriptor()

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

Methods

addAllDataSourceDefinitions(Iterable<? extends DataSourceDefinition> values)

public ListDataSourceDefinitionsResponse.Builder addAllDataSourceDefinitions(Iterable<? extends DataSourceDefinition> values)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

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

addDataSourceDefinitions(DataSourceDefinition value)

public ListDataSourceDefinitionsResponse.Builder addDataSourceDefinitions(DataSourceDefinition value)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameter
Name Description
value DataSourceDefinition
Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

addDataSourceDefinitions(DataSourceDefinition.Builder builderForValue)

public ListDataSourceDefinitionsResponse.Builder addDataSourceDefinitions(DataSourceDefinition.Builder builderForValue)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameter
Name Description
builderForValue DataSourceDefinition.Builder
Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

addDataSourceDefinitions(int index, DataSourceDefinition value)

public ListDataSourceDefinitionsResponse.Builder addDataSourceDefinitions(int index, DataSourceDefinition value)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameters
Name Description
index int
value DataSourceDefinition
Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

addDataSourceDefinitions(int index, DataSourceDefinition.Builder builderForValue)

public ListDataSourceDefinitionsResponse.Builder addDataSourceDefinitions(int index, DataSourceDefinition.Builder builderForValue)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameters
Name Description
index int
builderForValue DataSourceDefinition.Builder
Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

addDataSourceDefinitionsBuilder()

public DataSourceDefinition.Builder addDataSourceDefinitionsBuilder()

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Returns
Type Description
DataSourceDefinition.Builder

addDataSourceDefinitionsBuilder(int index)

public DataSourceDefinition.Builder addDataSourceDefinitionsBuilder(int index)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSourceDefinition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataSourceDefinitionsResponse build()
Returns
Type Description
ListDataSourceDefinitionsResponse

buildPartial()

public ListDataSourceDefinitionsResponse buildPartial()
Returns
Type Description
ListDataSourceDefinitionsResponse

clear()

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

clearDataSourceDefinitions()

public ListDataSourceDefinitionsResponse.Builder clearDataSourceDefinitions()

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListDataSourceDefinitionsResponse.Builder clearNextPageToken()

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

string next_page_token = 2;

Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDataSourceDefinitions(int index)

public DataSourceDefinition getDataSourceDefinitions(int index)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSourceDefinition

getDataSourceDefinitionsBuilder(int index)

public DataSourceDefinition.Builder getDataSourceDefinitionsBuilder(int index)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSourceDefinition.Builder

getDataSourceDefinitionsBuilderList()

public List<DataSourceDefinition.Builder> getDataSourceDefinitionsBuilderList()

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Returns
Type Description
List<Builder>

getDataSourceDefinitionsCount()

public int getDataSourceDefinitionsCount()

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Returns
Type Description
int

getDataSourceDefinitionsList()

public List<DataSourceDefinition> getDataSourceDefinitionsList()

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Returns
Type Description
List<DataSourceDefinition>

getDataSourceDefinitionsOrBuilder(int index)

public DataSourceDefinitionOrBuilder getDataSourceDefinitionsOrBuilder(int index)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameter
Name Description
index int
Returns
Type Description
DataSourceDefinitionOrBuilder

getDataSourceDefinitionsOrBuilderList()

public List<? extends DataSourceDefinitionOrBuilder> getDataSourceDefinitionsOrBuilderList()

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

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

getDefaultInstanceForType()

public ListDataSourceDefinitionsResponse getDefaultInstanceForType()
Returns
Type Description
ListDataSourceDefinitionsResponse

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 ListDataSourceDefinitionsRequest.page_token to request the next page of the list results.

string next_page_token = 2;

Returns
Type Description
String

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

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

string next_page_token = 2;

Returns
Type Description
ByteString

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListDataSourceDefinitionsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeDataSourceDefinitions(int index)

public ListDataSourceDefinitionsResponse.Builder removeDataSourceDefinitions(int index)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameter
Name Description
index int
Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

setDataSourceDefinitions(int index, DataSourceDefinition value)

public ListDataSourceDefinitionsResponse.Builder setDataSourceDefinitions(int index, DataSourceDefinition value)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameters
Name Description
index int
value DataSourceDefinition
Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

setDataSourceDefinitions(int index, DataSourceDefinition.Builder builderForValue)

public ListDataSourceDefinitionsResponse.Builder setDataSourceDefinitions(int index, DataSourceDefinition.Builder builderForValue)

List of supported data source definitions.

repeated .google.cloud.bigquery.datatransfer.v1.DataSourceDefinition data_source_definitions = 1;

Parameters
Name Description
index int
builderForValue DataSourceDefinition.Builder
Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListDataSourceDefinitionsResponse.Builder setNextPageToken(String value)

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

string next_page_token = 2;

Parameter
Name Description
value String
Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

setNextPageTokenBytes(ByteString value)

public ListDataSourceDefinitionsResponse.Builder setNextPageTokenBytes(ByteString value)

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

string next_page_token = 2;

Parameter
Name Description
value ByteString
Returns
Type Description
ListDataSourceDefinitionsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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