Class ListDataSourceDefinitionsResponse.Builder (2.3.14)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceDefinition>
Returns
TypeDescription
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
NameDescription
valueDataSourceDefinition
Returns
TypeDescription
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
NameDescription
builderForValueDataSourceDefinition.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataSourceDefinition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataSourceDefinition.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataSourceDefinition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListDataSourceDefinitionsResponse build()
Returns
TypeDescription
ListDataSourceDefinitionsResponse

buildPartial()

public ListDataSourceDefinitionsResponse buildPartial()
Returns
TypeDescription
ListDataSourceDefinitionsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ListDataSourceDefinitionsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getDataSourceDefinitionsCount()

public int getDataSourceDefinitionsCount()

List of supported data source definitions.

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

Returns
TypeDescription
int

getDataSourceDefinitionsList()

public List<DataSourceDefinition> getDataSourceDefinitionsList()

List of supported data source definitions.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.bigquery.datatransfer.v1.DataSourceDefinitionOrBuilder>

getDefaultInstanceForType()

public ListDataSourceDefinitionsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListDataSourceDefinitionsResponse

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

string next_page_token = 2;

Returns
TypeDescription
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
TypeDescription
ByteString

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListDataSourceDefinitionsResponse other)

public ListDataSourceDefinitionsResponse.Builder mergeFrom(ListDataSourceDefinitionsResponse other)
Parameter
NameDescription
otherListDataSourceDefinitionsResponse
Returns
TypeDescription
ListDataSourceDefinitionsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListDataSourceDefinitionsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueDataSourceDefinition
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataSourceDefinition.Builder
Returns
TypeDescription
ListDataSourceDefinitionsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ListDataSourceDefinitionsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListDataSourceDefinitionsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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