Class ListDataSourcesResponse (2.15.0)

public final class ListDataSourcesResponse extends GeneratedMessageV3 implements ListDataSourcesResponseOrBuilder

Returns list of supported data sources and their metadata.

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

Static Fields

DATA_SOURCES_FIELD_NUMBER

public static final int DATA_SOURCES_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDataSourcesResponse getDefaultInstance()
Returns
TypeDescription
ListDataSourcesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListDataSourcesResponse.Builder newBuilder()
Returns
TypeDescription
ListDataSourcesResponse.Builder

newBuilder(ListDataSourcesResponse prototype)

public static ListDataSourcesResponse.Builder newBuilder(ListDataSourcesResponse prototype)
Parameter
NameDescription
prototypeListDataSourcesResponse
Returns
TypeDescription
ListDataSourcesResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListDataSourcesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataSourcesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListDataSourcesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDataSourcesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDataSourcesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDataSourcesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDataSourcesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataSourcesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListDataSourcesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataSourcesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListDataSourcesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDataSourcesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListDataSourcesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListDataSourcesResponse> parser()
Returns
TypeDescription
Parser<ListDataSourcesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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

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.

getParserForType()

public Parser<ListDataSourcesResponse> getParserForType()
Returns
TypeDescription
Parser<ListDataSourcesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListDataSourcesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListDataSourcesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListDataSourcesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListDataSourcesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListDataSourcesResponse.Builder toBuilder()
Returns
TypeDescription
ListDataSourcesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException