Class MigrationTask.Builder (0.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 0.83.0 (latest)
- 0.81.0
- 0.79.0
- 0.78.0
- 0.77.0
- 0.76.0
- 0.75.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
publicstaticfinalclass MigrationTask.BuilderextendsGeneratedMessageV3.Builder<MigrationTask.Builder>implementsMigrationTaskOrBuilderA single task for a migration which has details about the configuration of the task.
Protobuf type google.cloud.bigquery.migration.v2.MigrationTask
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigrationTask.BuilderImplements
MigrationTaskOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicMigrationTask.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicMigrationTaskbuild()buildPartial()
publicMigrationTaskbuildPartial()clear()
publicMigrationTask.Builderclear()clearCreateTime()
publicMigrationTask.BuilderclearCreateTime()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
clearField(Descriptors.FieldDescriptor field)
publicMigrationTask.BuilderclearField(Descriptors.FieldDescriptorfield)clearId()
publicMigrationTask.BuilderclearId()Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
This builder for chaining.
clearLastUpdateTime()
publicMigrationTask.BuilderclearLastUpdateTime()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
clearOneof(Descriptors.OneofDescriptor oneof)
publicMigrationTask.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearProcessingError()
publicMigrationTask.BuilderclearProcessingError()Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearState()
publicMigrationTask.BuilderclearState()Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
This builder for chaining.
clearTaskDetails()
publicMigrationTask.BuilderclearTaskDetails()clearTranslationConfigDetails()
publicMigrationTask.BuilderclearTranslationConfigDetails()Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
clearType()
publicMigrationTask.BuilderclearType()The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ.
string type = 2;
This builder for chaining.
clone()
publicMigrationTask.Builderclone()getCreateTime()
publicTimestampgetCreateTime()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
The createTime.
getCreateTimeBuilder()
publicTimestamp.BuildergetCreateTimeBuilder()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
getDefaultInstanceForType()
publicMigrationTaskgetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getId()
publicStringgetId()Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
The id.
getIdBytes()
publicByteStringgetIdBytes()Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
The bytes for id.
getLastUpdateTime()
publicTimestampgetLastUpdateTime()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
The lastUpdateTime.
getLastUpdateTimeBuilder()
publicTimestamp.BuildergetLastUpdateTimeBuilder()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
getLastUpdateTimeOrBuilder()
publicTimestampOrBuildergetLastUpdateTimeOrBuilder()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
getProcessingError()
publicErrorInfogetProcessingError()Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
The processingError.
getProcessingErrorBuilder()
publicErrorInfo.BuildergetProcessingErrorBuilder()Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getProcessingErrorOrBuilder()
publicErrorInfoOrBuildergetProcessingErrorOrBuilder()Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState()
publicMigrationTask.StategetState()Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
The state.
getStateValue()
publicintgetStateValue()Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
The enum numeric value on the wire for state.
getTaskDetailsCase()
publicMigrationTask.TaskDetailsCasegetTaskDetailsCase()getTranslationConfigDetails()
publicTranslationConfigDetailsgetTranslationConfigDetails()Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
The translationConfigDetails.
getTranslationConfigDetailsBuilder()
publicTranslationConfigDetails.BuildergetTranslationConfigDetailsBuilder()Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
getTranslationConfigDetailsOrBuilder()
publicTranslationConfigDetailsOrBuildergetTranslationConfigDetailsOrBuilder()Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
getType()
publicStringgetType()The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ.
string type = 2;
The type.
getTypeBytes()
publicByteStringgetTypeBytes()The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ.
string type = 2;
The bytes for type.
hasCreateTime()
publicbooleanhasCreateTime()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
Whether the createTime field is set.
hasLastUpdateTime()
publicbooleanhasLastUpdateTime()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
Whether the lastUpdateTime field is set.
hasProcessingError()
publicbooleanhasProcessingError()Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Whether the processingError field is set.
hasTranslationConfigDetails()
publicbooleanhasTranslationConfigDetails()Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
Whether the translationConfigDetails field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeCreateTime(Timestamp value)
publicMigrationTask.BuildermergeCreateTime(Timestampvalue)Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
mergeFrom(MigrationTask other)
publicMigrationTask.BuildermergeFrom(MigrationTaskother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicMigrationTask.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicMigrationTask.BuildermergeFrom(Messageother)mergeLastUpdateTime(Timestamp value)
publicMigrationTask.BuildermergeLastUpdateTime(Timestampvalue)Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
mergeProcessingError(ErrorInfo value)
publicMigrationTask.BuildermergeProcessingError(ErrorInfovalue)Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.rpc.ErrorInfomergeTranslationConfigDetails(TranslationConfigDetails value)
publicMigrationTask.BuildermergeTranslationConfigDetails(TranslationConfigDetailsvalue)Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalMigrationTask.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setCreateTime(Timestamp value)
publicMigrationTask.BuildersetCreateTime(Timestampvalue)Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
setCreateTime(Timestamp.Builder builderForValue)
publicMigrationTask.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
setField(Descriptors.FieldDescriptor field, Object value)
publicMigrationTask.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setId(String value)
publicMigrationTask.BuildersetId(Stringvalue)Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
This builder for chaining.
setIdBytes(ByteString value)
publicMigrationTask.BuildersetIdBytes(ByteStringvalue)Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
This builder for chaining.
setLastUpdateTime(Timestamp value)
publicMigrationTask.BuildersetLastUpdateTime(Timestampvalue)Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
setLastUpdateTime(Timestamp.Builder builderForValue)
publicMigrationTask.BuildersetLastUpdateTime(Timestamp.BuilderbuilderForValue)Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
setProcessingError(ErrorInfo value)
publicMigrationTask.BuildersetProcessingError(ErrorInfovalue)Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.rpc.ErrorInfosetProcessingError(ErrorInfo.Builder builderForValue)
publicMigrationTask.BuildersetProcessingError(ErrorInfo.BuilderbuilderForValue)Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
com.google.rpc.ErrorInfo.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicMigrationTask.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setState(MigrationTask.State value)
publicMigrationTask.BuildersetState(MigrationTask.Statevalue)Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
This builder for chaining.
setStateValue(int value)
publicMigrationTask.BuildersetStateValue(intvalue)Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
This builder for chaining.
setTranslationConfigDetails(TranslationConfigDetails value)
publicMigrationTask.BuildersetTranslationConfigDetails(TranslationConfigDetailsvalue)Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
setTranslationConfigDetails(TranslationConfigDetails.Builder builderForValue)
publicMigrationTask.BuildersetTranslationConfigDetails(TranslationConfigDetails.BuilderbuilderForValue)Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
setType(String value)
publicMigrationTask.BuildersetType(Stringvalue)The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ.
string type = 2;
This builder for chaining.
setTypeBytes(ByteString value)
publicMigrationTask.BuildersetTypeBytes(ByteStringvalue)The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ.
string type = 2;
This builder for chaining.
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalMigrationTask.BuildersetUnknownFields(UnknownFieldSetunknownFields)