Class ListDataSourceDefinitionsRequest (2.42.0)

public final class ListDataSourceDefinitionsRequest extends GeneratedMessageV3 implements ListDataSourceDefinitionsRequestOrBuilder

Represents the request of the ListDataSourceDefinitions method.

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListDataSourceDefinitionsRequest

Static Fields

PAGE_SIZE_FIELD_NUMBER

public static final int PAGE_SIZE_FIELD_NUMBER
Field Value
Type Description
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListDataSourceDefinitionsRequest getDefaultInstance()
Returns
Type Description
ListDataSourceDefinitionsRequest

getDescriptor()

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

newBuilder()

public static ListDataSourceDefinitionsRequest.Builder newBuilder()
Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

newBuilder(ListDataSourceDefinitionsRequest prototype)

public static ListDataSourceDefinitionsRequest.Builder newBuilder(ListDataSourceDefinitionsRequest prototype)
Parameter
Name Description
prototype ListDataSourceDefinitionsRequest
Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

parseDelimitedFrom(InputStream input)

public static ListDataSourceDefinitionsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataSourceDefinitionsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListDataSourceDefinitionsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListDataSourceDefinitionsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListDataSourceDefinitionsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListDataSourceDefinitionsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListDataSourceDefinitionsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataSourceDefinitionsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListDataSourceDefinitionsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListDataSourceDefinitionsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListDataSourceDefinitionsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListDataSourceDefinitionsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListDataSourceDefinitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListDataSourceDefinitionsRequest> parser()
Returns
Type Description
Parser<ListDataSourceDefinitionsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListDataSourceDefinitionsRequest getDefaultInstanceForType()
Returns
Type Description
ListDataSourceDefinitionsRequest

getPageSize()

public int getPageSize()

Page size. The default page size is the maximum value of 1000 results.

int32 page_size = 3;

Returns
Type Description
int

getPageToken()

public String getPageToken()

Pagination token, which can be used to request a specific page of ListDataSourceDefinitionsRequest list results. For multiple-page results, ListDataSourceDefinitionsResponse outputs a next_page token, which can be used as the page_token value to request the next page of the list results.

string page_token = 2;

Returns
Type Description
String

getPageTokenBytes()

public ByteString getPageTokenBytes()

Pagination token, which can be used to request a specific page of ListDataSourceDefinitionsRequest list results. For multiple-page results, ListDataSourceDefinitionsResponse outputs a next_page token, which can be used as the page_token value to request the next page of the list results.

string page_token = 2;

Returns
Type Description
ByteString

getParent()

public String getParent()

The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Returns
Type Description
String

getParentBytes()

public ByteString getParentBytes()

The BigQuery project id for which data sources should be returned. Must be in the form: projects/{project_id}/locations/{location_id}

string parent = 1;

Returns
Type Description
ByteString

getParserForType()

public Parser<ListDataSourceDefinitionsRequest> getParserForType()
Returns
Type Description
Parser<ListDataSourceDefinitionsRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListDataSourceDefinitionsRequest.Builder newBuilderForType()
Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListDataSourceDefinitionsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListDataSourceDefinitionsRequest.Builder
Overrides

toBuilder()

public ListDataSourceDefinitionsRequest.Builder toBuilder()
Returns
Type Description
ListDataSourceDefinitionsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException