Class StartBigQueryJobsRequest.Builder (2.48.0)

public static final class StartBigQueryJobsRequest.Builder extends GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder> implements StartBigQueryJobsRequestOrBuilder

A request to start and monitor a BigQuery load job.

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

Static Methods

getDescriptor()

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

Methods

addAllImportedData(Iterable<? extends ImportedDataInfo> values)

public StartBigQueryJobsRequest.Builder addAllImportedData(Iterable<? extends ImportedDataInfo> values)

Import jobs which should be started and monitored.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo>
Returns
Type Description
StartBigQueryJobsRequest.Builder

addImportedData(ImportedDataInfo value)

public StartBigQueryJobsRequest.Builder addImportedData(ImportedDataInfo value)

Import jobs which should be started and monitored.

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

Parameter
Name Description
value ImportedDataInfo
Returns
Type Description
StartBigQueryJobsRequest.Builder

addImportedData(ImportedDataInfo.Builder builderForValue)

public StartBigQueryJobsRequest.Builder addImportedData(ImportedDataInfo.Builder builderForValue)

Import jobs which should be started and monitored.

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

Parameter
Name Description
builderForValue ImportedDataInfo.Builder
Returns
Type Description
StartBigQueryJobsRequest.Builder

addImportedData(int index, ImportedDataInfo value)

public StartBigQueryJobsRequest.Builder addImportedData(int index, ImportedDataInfo value)

Import jobs which should be started and monitored.

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

Parameters
Name Description
index int
value ImportedDataInfo
Returns
Type Description
StartBigQueryJobsRequest.Builder

addImportedData(int index, ImportedDataInfo.Builder builderForValue)

public StartBigQueryJobsRequest.Builder addImportedData(int index, ImportedDataInfo.Builder builderForValue)

Import jobs which should be started and monitored.

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

Parameters
Name Description
index int
builderForValue ImportedDataInfo.Builder
Returns
Type Description
StartBigQueryJobsRequest.Builder

addImportedDataBuilder()

public ImportedDataInfo.Builder addImportedDataBuilder()

Import jobs which should be started and monitored.

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

Returns
Type Description
ImportedDataInfo.Builder

addImportedDataBuilder(int index)

public ImportedDataInfo.Builder addImportedDataBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StartBigQueryJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides

build()

public StartBigQueryJobsRequest build()
Returns
Type Description
StartBigQueryJobsRequest

buildPartial()

public StartBigQueryJobsRequest buildPartial()
Returns
Type Description
StartBigQueryJobsRequest

clear()

public StartBigQueryJobsRequest.Builder clear()
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StartBigQueryJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides

clearImportedData()

public StartBigQueryJobsRequest.Builder clearImportedData()

Import jobs which should be started and monitored.

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

Returns
Type Description
StartBigQueryJobsRequest.Builder

clearMaxParallelism()

public StartBigQueryJobsRequest.Builder clearMaxParallelism()

The number of BQ Jobs that can run in parallel.

int32 max_parallelism = 8;

Returns
Type Description
StartBigQueryJobsRequest.Builder

clearName()

public StartBigQueryJobsRequest.Builder clearName()

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
StartBigQueryJobsRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public StartBigQueryJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides

clearUserCredentials()

public StartBigQueryJobsRequest.Builder clearUserCredentials()

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
StartBigQueryJobsRequest.Builder

clone()

public StartBigQueryJobsRequest.Builder clone()
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides

getDefaultInstanceForType()

public StartBigQueryJobsRequest getDefaultInstanceForType()
Returns
Type Description
StartBigQueryJobsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getImportedDataBuilder(int index)

public ImportedDataInfo.Builder getImportedDataBuilder(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.Builder

getImportedDataBuilderList()

public List<ImportedDataInfo.Builder> getImportedDataBuilderList()

Import jobs which should be started and monitored.

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

Returns
Type Description
List<Builder>

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

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StartBigQueryJobsRequest other)

public StartBigQueryJobsRequest.Builder mergeFrom(StartBigQueryJobsRequest other)
Parameter
Name Description
other StartBigQueryJobsRequest
Returns
Type Description
StartBigQueryJobsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StartBigQueryJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StartBigQueryJobsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StartBigQueryJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides

removeImportedData(int index)

public StartBigQueryJobsRequest.Builder removeImportedData(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
StartBigQueryJobsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StartBigQueryJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides

setImportedData(int index, ImportedDataInfo value)

public StartBigQueryJobsRequest.Builder setImportedData(int index, ImportedDataInfo value)

Import jobs which should be started and monitored.

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

Parameters
Name Description
index int
value ImportedDataInfo
Returns
Type Description
StartBigQueryJobsRequest.Builder

setImportedData(int index, ImportedDataInfo.Builder builderForValue)

public StartBigQueryJobsRequest.Builder setImportedData(int index, ImportedDataInfo.Builder builderForValue)

Import jobs which should be started and monitored.

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

Parameters
Name Description
index int
builderForValue ImportedDataInfo.Builder
Returns
Type Description
StartBigQueryJobsRequest.Builder

setMaxParallelism(int value)

public StartBigQueryJobsRequest.Builder setMaxParallelism(int value)

The number of BQ Jobs that can run in parallel.

int32 max_parallelism = 8;

Parameter
Name Description
value int
Returns
Type Description
StartBigQueryJobsRequest.Builder

setName(String value)

public StartBigQueryJobsRequest.Builder setName(String value)

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

string name = 1;

Parameter
Name Description
value String
Returns
Type Description
StartBigQueryJobsRequest.Builder

setNameBytes(ByteString value)

public StartBigQueryJobsRequest.Builder setNameBytes(ByteString value)

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

string name = 1;

Parameter
Name Description
value ByteString
Returns
Type Description
StartBigQueryJobsRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StartBigQueryJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StartBigQueryJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StartBigQueryJobsRequest.Builder
Overrides

setUserCredentials(ByteString value)

public StartBigQueryJobsRequest.Builder setUserCredentials(ByteString value)

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;

Parameter
Name Description
value ByteString
Returns
Type Description
StartBigQueryJobsRequest.Builder