Class StartBigQueryJobsRequest.Builder (2.13.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo>
Returns
TypeDescription
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
NameDescription
valueImportedDataInfo
Returns
TypeDescription
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
NameDescription
builderForValueImportedDataInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueImportedDataInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportedDataInfo.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportedDataInfo.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StartBigQueryJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
StartBigQueryJobsRequest.Builder
Overrides

build()

public StartBigQueryJobsRequest build()
Returns
TypeDescription
StartBigQueryJobsRequest

buildPartial()

public StartBigQueryJobsRequest buildPartial()
Returns
TypeDescription
StartBigQueryJobsRequest

clear()

public StartBigQueryJobsRequest.Builder clear()
Returns
TypeDescription
StartBigQueryJobsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public StartBigQueryJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
StartBigQueryJobsRequest.Builder

clearMaxParallelism()

public StartBigQueryJobsRequest.Builder clearMaxParallelism()

The number of BQ Jobs that can run in parallel.

int32 max_parallelism = 8;

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

clearOneof(Descriptors.OneofDescriptor oneof)

public StartBigQueryJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
StartBigQueryJobsRequest.Builder

clone()

public StartBigQueryJobsRequest.Builder clone()
Returns
TypeDescription
StartBigQueryJobsRequest.Builder
Overrides

getDefaultInstanceForType()

public StartBigQueryJobsRequest getDefaultInstanceForType()
Returns
TypeDescription
StartBigQueryJobsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(StartBigQueryJobsRequest other)

public StartBigQueryJobsRequest.Builder mergeFrom(StartBigQueryJobsRequest other)
Parameter
NameDescription
otherStartBigQueryJobsRequest
Returns
TypeDescription
StartBigQueryJobsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StartBigQueryJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
StartBigQueryJobsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public StartBigQueryJobsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
StartBigQueryJobsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StartBigQueryJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
StartBigQueryJobsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public StartBigQueryJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueImportedDataInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportedDataInfo.Builder
Returns
TypeDescription
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
NameDescription
valueint
Returns
TypeDescription
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
NameDescription
valueString
Returns
TypeDescription
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
NameDescription
valueByteString
Returns
TypeDescription
StartBigQueryJobsRequest.Builder

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

public StartBigQueryJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
StartBigQueryJobsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StartBigQueryJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueByteString
Returns
TypeDescription
StartBigQueryJobsRequest.Builder