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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
addImportedDataBuilder()
public ImportedDataInfo.Builder addImportedDataBuilder()
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StartBigQueryJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public StartBigQueryJobsRequest build()
Returns
buildPartial()
public StartBigQueryJobsRequest buildPartial()
Returns
clear()
public StartBigQueryJobsRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public StartBigQueryJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearMaxParallelism()
public StartBigQueryJobsRequest.Builder clearMaxParallelism()
The number of BQ Jobs that can run in parallel.
int32 max_parallelism = 8;
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public StartBigQueryJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public StartBigQueryJobsRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public StartBigQueryJobsRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
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
getImportedDataCount()
public int getImportedDataCount()
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
Returns
getImportedDataList()
public List<ImportedDataInfo> getImportedDataList()
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
Returns
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
Returns
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
getName()
Name of the resource in the form:
"projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
string name = 1;
Returns
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(StartBigQueryJobsRequest other)
public StartBigQueryJobsRequest.Builder mergeFrom(StartBigQueryJobsRequest other)
Parameter
Returns
public StartBigQueryJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public StartBigQueryJobsRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StartBigQueryJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public StartBigQueryJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setMaxParallelism(int value)
public StartBigQueryJobsRequest.Builder setMaxParallelism(int value)
The number of BQ Jobs that can run in parallel.
int32 max_parallelism = 8;
Parameter
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StartBigQueryJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StartBigQueryJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns