Class ListDataSourceDefinitionsRequest (2.20.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
TypeDescription
int

PAGE_TOKEN_FIELD_NUMBER

public static final int PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListDataSourceDefinitionsRequest getDefaultInstance()
Returns
TypeDescription
ListDataSourceDefinitionsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ListDataSourceDefinitionsRequest prototype)

public static ListDataSourceDefinitionsRequest.Builder newBuilder(ListDataSourceDefinitionsRequest prototype)
Parameter
NameDescription
prototypeListDataSourceDefinitionsRequest
Returns
TypeDescription
ListDataSourceDefinitionsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListDataSourceDefinitionsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListDataSourceDefinitionsRequest

getPageSize()

public int getPageSize()

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

int32 page_size = 3;

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

getParserForType()

public Parser<ListDataSourceDefinitionsRequest> getParserForType()
Returns
TypeDescription
Parser<ListDataSourceDefinitionsRequest>
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 ListDataSourceDefinitionsRequest.Builder newBuilderForType()
Returns
TypeDescription
ListDataSourceDefinitionsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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