Class StartBigQueryJobsRequest (2.15.0)

public final class StartBigQueryJobsRequest extends GeneratedMessageV3 implements StartBigQueryJobsRequestOrBuilder

A request to start and monitor a BigQuery load job.

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

Static Fields

IMPORTED_DATA_FIELD_NUMBER

public static final int IMPORTED_DATA_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_PARALLELISM_FIELD_NUMBER

public static final int MAX_PARALLELISM_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

USER_CREDENTIALS_FIELD_NUMBER

public static final int USER_CREDENTIALS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StartBigQueryJobsRequest getDefaultInstance()
Returns
TypeDescription
StartBigQueryJobsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(StartBigQueryJobsRequest prototype)

public static StartBigQueryJobsRequest.Builder newBuilder(StartBigQueryJobsRequest prototype)
Parameter
NameDescription
prototypeStartBigQueryJobsRequest
Returns
TypeDescription
StartBigQueryJobsRequest.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StartBigQueryJobsRequest getDefaultInstanceForType()
Returns
TypeDescription
StartBigQueryJobsRequest

getImportedData(int index)

public ImportedDataInfo getImportedData(int index)

Import jobs which should be started and monitored.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportedDataInfo

getImportedDataCount()

public int getImportedDataCount()

Import jobs which should be started and monitored.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;

Returns
TypeDescription
int

getImportedDataList()

public List<ImportedDataInfo> getImportedDataList()

Import jobs which should be started and monitored.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;

Returns
TypeDescription
List<ImportedDataInfo>

getImportedDataOrBuilder(int index)

public ImportedDataInfoOrBuilder getImportedDataOrBuilder(int index)

Import jobs which should be started and monitored.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
ImportedDataInfoOrBuilder

getImportedDataOrBuilderList()

public List<? extends ImportedDataInfoOrBuilder> getImportedDataOrBuilderList()

Import jobs which should be started and monitored.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfoOrBuilder>

getMaxParallelism()

public int getMaxParallelism()

The number of BQ Jobs that can run in parallel.

int32 max_parallelism = 8;

Returns
TypeDescription
int

getName()

public String getName()

Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"

string name = 1;

Returns
TypeDescription
String

getNameBytes()

public ByteString getNameBytes()

Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"

string name = 1;

Returns
TypeDescription
ByteString

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUserCredentials()

public ByteString getUserCredentials()

User credentials which should be used to start/monitor BigQuery jobs. If not specified, then jobs are started using data source service account credentials. This may be OAuth token or JWT token.

bytes user_credentials = 3;

Returns
TypeDescription
ByteString

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 StartBigQueryJobsRequest.Builder newBuilderForType()
Returns
TypeDescription
StartBigQueryJobsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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