- 0.79.0 (latest)
- 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
public static final class MigrationTask.Builder extends GeneratedMessageV3.Builder<MigrationTask.Builder> implements MigrationTaskOrBuilderA 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
MigrationTaskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationTask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| MigrationTask.Builder |
build()
public MigrationTask build()| Type | Description |
| MigrationTask |
buildPartial()
public MigrationTask buildPartial()| Type | Description |
| MigrationTask |
clear()
public MigrationTask.Builder clear()| Type | Description |
| MigrationTask.Builder |
clearCreateTime()
public MigrationTask.Builder clearCreateTime()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
| Type | Description |
| MigrationTask.Builder |
clearField(Descriptors.FieldDescriptor field)
public MigrationTask.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| MigrationTask.Builder |
clearId()
public MigrationTask.Builder clearId()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];
| Type | Description |
| MigrationTask.Builder | This builder for chaining. |
clearLastUpdateTime()
public MigrationTask.Builder clearLastUpdateTime()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
| Type | Description |
| MigrationTask.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationTask.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| MigrationTask.Builder |
clearProcessingError()
public MigrationTask.Builder clearProcessingError()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];
| Type | Description |
| MigrationTask.Builder |
clearState()
public MigrationTask.Builder clearState()Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| MigrationTask.Builder | This builder for chaining. |
clearTaskDetails()
public MigrationTask.Builder clearTaskDetails()| Type | Description |
| MigrationTask.Builder |
clearTranslationConfigDetails()
public MigrationTask.Builder clearTranslationConfigDetails()Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
| Type | Description |
| MigrationTask.Builder |
clearType()
public MigrationTask.Builder clearType()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.
string type = 2;
| Type | Description |
| MigrationTask.Builder | This builder for chaining. |
clone()
public MigrationTask.Builder clone()| Type | Description |
| MigrationTask.Builder |
getCreateTime()
public Timestamp getCreateTime()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
| Type | Description |
| Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
| Type | Description |
| Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
| Type | Description |
| TimestampOrBuilder |
getDefaultInstanceForType()
public MigrationTask getDefaultInstanceForType()| Type | Description |
| MigrationTask |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getId()
public String getId()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];
| Type | Description |
| String | The id. |
getIdBytes()
public ByteString getIdBytes()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];
| Type | Description |
| ByteString | The bytes for id. |
getLastUpdateTime()
public Timestamp getLastUpdateTime()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
| Type | Description |
| Timestamp | The lastUpdateTime. |
getLastUpdateTimeBuilder()
public Timestamp.Builder getLastUpdateTimeBuilder()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
| Type | Description |
| Builder |
getLastUpdateTimeOrBuilder()
public TimestampOrBuilder getLastUpdateTimeOrBuilder()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
| Type | Description |
| TimestampOrBuilder |
getProcessingError()
public ErrorInfo getProcessingError()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];
| Type | Description |
| com.google.rpc.ErrorInfo | The processingError. |
getProcessingErrorBuilder()
public ErrorInfo.Builder getProcessingErrorBuilder()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];
| Type | Description |
| com.google.rpc.ErrorInfo.Builder |
getProcessingErrorOrBuilder()
public ErrorInfoOrBuilder getProcessingErrorOrBuilder()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];
| Type | Description |
| com.google.rpc.ErrorInfoOrBuilder |
getState()
public MigrationTask.State getState()Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| MigrationTask.State | The state. |
getStateValue()
public int getStateValue()Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| int | The enum numeric value on the wire for state. |
getTaskDetailsCase()
public MigrationTask.TaskDetailsCase getTaskDetailsCase()| Type | Description |
| MigrationTask.TaskDetailsCase |
getTranslationConfigDetails()
public TranslationConfigDetails getTranslationConfigDetails()Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
| Type | Description |
| TranslationConfigDetails | The translationConfigDetails. |
getTranslationConfigDetailsBuilder()
public TranslationConfigDetails.Builder getTranslationConfigDetailsBuilder()Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
| Type | Description |
| TranslationConfigDetails.Builder |
getTranslationConfigDetailsOrBuilder()
public TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder()Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
| Type | Description |
| TranslationConfigDetailsOrBuilder |
getType()
public String getType()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.
string type = 2;
| Type | Description |
| String | The type. |
getTypeBytes()
public ByteString getTypeBytes()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.
string type = 2;
| Type | Description |
| ByteString | The bytes for type. |
hasCreateTime()
public boolean hasCreateTime()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
| Type | Description |
| boolean | Whether the createTime field is set. |
hasLastUpdateTime()
public boolean hasLastUpdateTime()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
| Type | Description |
| boolean | Whether the lastUpdateTime field is set. |
hasProcessingError()
public boolean hasProcessingError()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];
| Type | Description |
| boolean | Whether the processingError field is set. |
hasTranslationConfigDetails()
public boolean hasTranslationConfigDetails()Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
| Type | Description |
| boolean | Whether the translationConfigDetails field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeCreateTime(Timestamp value)
public MigrationTask.Builder mergeCreateTime(Timestamp value)Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
| Name | Description |
| value | Timestamp |
| Type | Description |
| MigrationTask.Builder |
mergeFrom(MigrationTask other)
public MigrationTask.Builder mergeFrom(MigrationTask other)| Name | Description |
| other | MigrationTask |
| Type | Description |
| MigrationTask.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigrationTask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| MigrationTask.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public MigrationTask.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| MigrationTask.Builder |
mergeLastUpdateTime(Timestamp value)
public MigrationTask.Builder mergeLastUpdateTime(Timestamp value)Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
| Name | Description |
| value | Timestamp |
| Type | Description |
| MigrationTask.Builder |
mergeProcessingError(ErrorInfo value)
public MigrationTask.Builder mergeProcessingError(ErrorInfo value)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];
| Name | Description |
| value | com.google.rpc.ErrorInfo |
| Type | Description |
| MigrationTask.Builder |
mergeTranslationConfigDetails(TranslationConfigDetails value)
public MigrationTask.Builder mergeTranslationConfigDetails(TranslationConfigDetails value)Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
| Name | Description |
| value | TranslationConfigDetails |
| Type | Description |
| MigrationTask.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationTask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| MigrationTask.Builder |
setCreateTime(Timestamp value)
public MigrationTask.Builder setCreateTime(Timestamp value)Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
| Name | Description |
| value | Timestamp |
| Type | Description |
| MigrationTask.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public MigrationTask.Builder setCreateTime(Timestamp.Builder builderForValue)Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| MigrationTask.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationTask.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| MigrationTask.Builder |
setId(String value)
public MigrationTask.Builder setId(String value)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];
| Name | Description |
| value | StringThe id to set. |
| Type | Description |
| MigrationTask.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public MigrationTask.Builder setIdBytes(ByteString value)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];
| Name | Description |
| value | ByteStringThe bytes for id to set. |
| Type | Description |
| MigrationTask.Builder | This builder for chaining. |
setLastUpdateTime(Timestamp value)
public MigrationTask.Builder setLastUpdateTime(Timestamp value)Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
| Name | Description |
| value | Timestamp |
| Type | Description |
| MigrationTask.Builder |
setLastUpdateTime(Timestamp.Builder builderForValue)
public MigrationTask.Builder setLastUpdateTime(Timestamp.Builder builderForValue)Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| MigrationTask.Builder |
setProcessingError(ErrorInfo value)
public MigrationTask.Builder setProcessingError(ErrorInfo value)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];
| Name | Description |
| value | com.google.rpc.ErrorInfo |
| Type | Description |
| MigrationTask.Builder |
setProcessingError(ErrorInfo.Builder builderForValue)
public MigrationTask.Builder setProcessingError(ErrorInfo.Builder builderForValue)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];
| Name | Description |
| builderForValue | com.google.rpc.ErrorInfo.Builder |
| Type | Description |
| MigrationTask.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationTask.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| MigrationTask.Builder |
setState(MigrationTask.State value)
public MigrationTask.Builder setState(MigrationTask.State value)Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | MigrationTask.StateThe state to set. |
| Type | Description |
| MigrationTask.Builder | This builder for chaining. |
setStateValue(int value)
public MigrationTask.Builder setStateValue(int value)Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | intThe enum numeric value on the wire for state to set. |
| Type | Description |
| MigrationTask.Builder | This builder for chaining. |
setTranslationConfigDetails(TranslationConfigDetails value)
public MigrationTask.Builder setTranslationConfigDetails(TranslationConfigDetails value)Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
| Name | Description |
| value | TranslationConfigDetails |
| Type | Description |
| MigrationTask.Builder |
setTranslationConfigDetails(TranslationConfigDetails.Builder builderForValue)
public MigrationTask.Builder setTranslationConfigDetails(TranslationConfigDetails.Builder builderForValue)Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
| Name | Description |
| builderForValue | TranslationConfigDetails.Builder |
| Type | Description |
| MigrationTask.Builder |
setType(String value)
public MigrationTask.Builder setType(String value)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.
string type = 2;
| Name | Description |
| value | StringThe type to set. |
| Type | Description |
| MigrationTask.Builder | This builder for chaining. |
setTypeBytes(ByteString value)
public MigrationTask.Builder setTypeBytes(ByteString value)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.
string type = 2;
| Name | Description |
| value | ByteStringThe bytes for type to set. |
| Type | Description |
| MigrationTask.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationTask.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| MigrationTask.Builder |