Class StartBigQueryJobsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
- com.google.cloud.bigquery.datatransfer.v1.StartBigQueryJobsRequest.Builder
-
- All Implemented Interfaces:
StartBigQueryJobsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- StartBigQueryJobsRequest
public static final class StartBigQueryJobsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder> implements StartBigQueryJobsRequestOrBuilder
A request to start and monitor a BigQuery load job.
Protobuf typegoogle.cloud.bigquery.datatransfer.v1.StartBigQueryJobsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StartBigQueryJobsRequest.Builder
addAllImportedData(Iterable<? extends ImportedDataInfo> values)
Import jobs which should be started and monitored.StartBigQueryJobsRequest.Builder
addImportedData(int index, ImportedDataInfo value)
Import jobs which should be started and monitored.StartBigQueryJobsRequest.Builder
addImportedData(int index, ImportedDataInfo.Builder builderForValue)
Import jobs which should be started and monitored.StartBigQueryJobsRequest.Builder
addImportedData(ImportedDataInfo value)
Import jobs which should be started and monitored.StartBigQueryJobsRequest.Builder
addImportedData(ImportedDataInfo.Builder builderForValue)
Import jobs which should be started and monitored.ImportedDataInfo.Builder
addImportedDataBuilder()
Import jobs which should be started and monitored.ImportedDataInfo.Builder
addImportedDataBuilder(int index)
Import jobs which should be started and monitored.StartBigQueryJobsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
StartBigQueryJobsRequest
build()
StartBigQueryJobsRequest
buildPartial()
StartBigQueryJobsRequest.Builder
clear()
StartBigQueryJobsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
StartBigQueryJobsRequest.Builder
clearImportedData()
Import jobs which should be started and monitored.StartBigQueryJobsRequest.Builder
clearMaxParallelism()
The number of BQ Jobs that can run in parallel.StartBigQueryJobsRequest.Builder
clearName()
Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"StartBigQueryJobsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
StartBigQueryJobsRequest.Builder
clearUserCredentials()
User credentials which should be used to start/monitor BigQuery jobs.StartBigQueryJobsRequest.Builder
clone()
StartBigQueryJobsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ImportedDataInfo
getImportedData(int index)
Import jobs which should be started and monitored.ImportedDataInfo.Builder
getImportedDataBuilder(int index)
Import jobs which should be started and monitored.List<ImportedDataInfo.Builder>
getImportedDataBuilderList()
Import jobs which should be started and monitored.int
getImportedDataCount()
Import jobs which should be started and monitored.List<ImportedDataInfo>
getImportedDataList()
Import jobs which should be started and monitored.ImportedDataInfoOrBuilder
getImportedDataOrBuilder(int index)
Import jobs which should be started and monitored.List<? extends ImportedDataInfoOrBuilder>
getImportedDataOrBuilderList()
Import jobs which should be started and monitored.int
getMaxParallelism()
The number of BQ Jobs that can run in parallel.String
getName()
Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"com.google.protobuf.ByteString
getNameBytes()
Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"com.google.protobuf.ByteString
getUserCredentials()
User credentials which should be used to start/monitor BigQuery jobs.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
StartBigQueryJobsRequest.Builder
mergeFrom(StartBigQueryJobsRequest other)
StartBigQueryJobsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
StartBigQueryJobsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
StartBigQueryJobsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StartBigQueryJobsRequest.Builder
removeImportedData(int index)
Import jobs which should be started and monitored.StartBigQueryJobsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
StartBigQueryJobsRequest.Builder
setImportedData(int index, ImportedDataInfo value)
Import jobs which should be started and monitored.StartBigQueryJobsRequest.Builder
setImportedData(int index, ImportedDataInfo.Builder builderForValue)
Import jobs which should be started and monitored.StartBigQueryJobsRequest.Builder
setMaxParallelism(int value)
The number of BQ Jobs that can run in parallel.StartBigQueryJobsRequest.Builder
setName(String value)
Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"StartBigQueryJobsRequest.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"StartBigQueryJobsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
StartBigQueryJobsRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
StartBigQueryJobsRequest.Builder
setUserCredentials(com.google.protobuf.ByteString value)
User credentials which should be used to start/monitor BigQuery jobs.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
clear
public StartBigQueryJobsRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
getDefaultInstanceForType
public StartBigQueryJobsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public StartBigQueryJobsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StartBigQueryJobsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StartBigQueryJobsRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
setField
public StartBigQueryJobsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
clearField
public StartBigQueryJobsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
clearOneof
public StartBigQueryJobsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
setRepeatedField
public StartBigQueryJobsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
addRepeatedField
public StartBigQueryJobsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
mergeFrom
public StartBigQueryJobsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartBigQueryJobsRequest.Builder>
-
mergeFrom
public StartBigQueryJobsRequest.Builder mergeFrom(StartBigQueryJobsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
mergeFrom
public StartBigQueryJobsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<StartBigQueryJobsRequest.Builder>
- Throws:
IOException
-
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;
- Specified by:
getName
in interfaceStartBigQueryJobsRequestOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
string name = 1;
- Specified by:
getNameBytes
in interfaceStartBigQueryJobsRequestOrBuilder
-
setName
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;
-
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;
-
setNameBytes
public StartBigQueryJobsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of the resource in the form: "projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}"
string name = 1;
-
getImportedDataList
public List<ImportedDataInfo> getImportedDataList()
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
- Specified by:
getImportedDataList
in interfaceStartBigQueryJobsRequestOrBuilder
-
getImportedDataCount
public int getImportedDataCount()
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
- Specified by:
getImportedDataCount
in interfaceStartBigQueryJobsRequestOrBuilder
-
getImportedData
public ImportedDataInfo getImportedData(int index)
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
- Specified by:
getImportedData
in interfaceStartBigQueryJobsRequestOrBuilder
-
setImportedData
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;
-
setImportedData
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;
-
addImportedData
public StartBigQueryJobsRequest.Builder addImportedData(ImportedDataInfo value)
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
-
addImportedData
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;
-
addImportedData
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;
-
addImportedData
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;
-
addAllImportedData
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;
-
clearImportedData
public StartBigQueryJobsRequest.Builder clearImportedData()
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
-
removeImportedData
public StartBigQueryJobsRequest.Builder removeImportedData(int index)
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
-
getImportedDataBuilder
public ImportedDataInfo.Builder getImportedDataBuilder(int index)
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
-
getImportedDataOrBuilder
public ImportedDataInfoOrBuilder getImportedDataOrBuilder(int index)
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
- Specified by:
getImportedDataOrBuilder
in interfaceStartBigQueryJobsRequestOrBuilder
-
getImportedDataOrBuilderList
public List<? extends ImportedDataInfoOrBuilder> getImportedDataOrBuilderList()
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
- Specified by:
getImportedDataOrBuilderList
in interfaceStartBigQueryJobsRequestOrBuilder
-
addImportedDataBuilder
public ImportedDataInfo.Builder addImportedDataBuilder()
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
-
addImportedDataBuilder
public ImportedDataInfo.Builder addImportedDataBuilder(int index)
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
-
getImportedDataBuilderList
public List<ImportedDataInfo.Builder> getImportedDataBuilderList()
Import jobs which should be started and monitored.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo imported_data = 2;
-
getUserCredentials
public com.google.protobuf.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;
- Specified by:
getUserCredentials
in interfaceStartBigQueryJobsRequestOrBuilder
-
setUserCredentials
public StartBigQueryJobsRequest.Builder setUserCredentials(com.google.protobuf.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;
-
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;
-
getMaxParallelism
public int getMaxParallelism()
The number of BQ Jobs that can run in parallel.
int32 max_parallelism = 8;
- Specified by:
getMaxParallelism
in interfaceStartBigQueryJobsRequestOrBuilder
-
setMaxParallelism
public StartBigQueryJobsRequest.Builder setMaxParallelism(int value)
The number of BQ Jobs that can run in parallel.
int32 max_parallelism = 8;
-
clearMaxParallelism
public StartBigQueryJobsRequest.Builder clearMaxParallelism()
The number of BQ Jobs that can run in parallel.
int32 max_parallelism = 8;
-
setUnknownFields
public final StartBigQueryJobsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
mergeUnknownFields
public final StartBigQueryJobsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<StartBigQueryJobsRequest.Builder>
-
-