Class StartBigQueryJobsRequest (2.43.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
Type Description
int

MAX_PARALLELISM_FIELD_NUMBER

public static final int MAX_PARALLELISM_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

USER_CREDENTIALS_FIELD_NUMBER

public static final int USER_CREDENTIALS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static StartBigQueryJobsRequest getDefaultInstance()
Returns
Type Description
StartBigQueryJobsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(StartBigQueryJobsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StartBigQueryJobsRequest getDefaultInstanceForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ImportedDataInfo

getImportedDataCount()

public int getImportedDataCount()

Import jobs which should be started and monitored.

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
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
Type Description
ByteString

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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