Class MigrationTask.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MigrationTask.Builder>
com.google.cloud.bigquery.migration.v2.MigrationTask.Builder
- All Implemented Interfaces:
MigrationTaskOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MigrationTask
public static final class MigrationTask.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MigrationTask.Builder>
implements MigrationTaskOrBuilder
A single task for a migration which has details about the configuration of the task.Protobuf type
google.cloud.bigquery.migration.v2.MigrationTask-
Method Summary
Modifier and TypeMethodDescriptionaddAllMetrics(Iterable<? extends TimeSeries> values) The metrics for the task.addAllResourceErrorDetails(Iterable<? extends ResourceErrorDetail> values) Output only.addMetrics(int index, TimeSeries value) The metrics for the task.addMetrics(int index, TimeSeries.Builder builderForValue) The metrics for the task.addMetrics(TimeSeries value) The metrics for the task.addMetrics(TimeSeries.Builder builderForValue) The metrics for the task.The metrics for the task.addMetricsBuilder(int index) The metrics for the task.addResourceErrorDetails(int index, ResourceErrorDetail value) Output only.addResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue) Output only.Output only.addResourceErrorDetails(ResourceErrorDetail.Builder builderForValue) Output only.Output only.addResourceErrorDetailsBuilder(int index) Output only.build()clear()Time when the task was created.clearId()Output only.Time when the task was last updated.The metrics for the task.Output only.The number or resources with errors.Output only.Output only.Output only.Count of all the processing errors in this task and its subtasks.Count of all the resource errors in this task and its subtasks.Task configuration for CW Batch/Offline SQL Translation.Task details for unified SQL Translation.The type of the task.com.google.protobuf.TimestampTime when the task was created.com.google.protobuf.Timestamp.BuilderTime when the task was created.com.google.protobuf.TimestampOrBuilderTime when the task was created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampTime when the task was last updated.com.google.protobuf.Timestamp.BuilderTime when the task was last updated.com.google.protobuf.TimestampOrBuilderTime when the task was last updated.getMetrics(int index) The metrics for the task.getMetricsBuilder(int index) The metrics for the task.The metrics for the task.intThe metrics for the task.The metrics for the task.getMetricsOrBuilder(int index) The metrics for the task.List<? extends TimeSeriesOrBuilder>The metrics for the task.Output only.Output only.Output only.intThe number or resources with errors.getResourceErrorDetails(int index) Output only.getResourceErrorDetailsBuilder(int index) Output only.Output only.intOutput only.Output only.getResourceErrorDetailsOrBuilder(int index) Output only.List<? extends ResourceErrorDetailOrBuilder>Output only.getState()Output only.intOutput only.Output only.Output only.Output only.intCount of all the processing errors in this task and its subtasks.intCount of all the resource errors in this task and its subtasks.Task configuration for CW Batch/Offline SQL Translation.Task configuration for CW Batch/Offline SQL Translation.Task configuration for CW Batch/Offline SQL Translation.Task details for unified SQL Translation.Task details for unified SQL Translation.Task details for unified SQL Translation.getType()The type of the task.com.google.protobuf.ByteStringThe type of the task.booleanTime when the task was created.booleanTime when the task was last updated.booleanOutput only.booleanOutput only.booleanTask configuration for CW Batch/Offline SQL Translation.booleanTask details for unified SQL Translation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Time when the task was created.mergeFrom(MigrationTask other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastUpdateTime(com.google.protobuf.Timestamp value) Time when the task was last updated.mergeProcessingError(ErrorInfo value) Output only.Output only.Task configuration for CW Batch/Offline SQL Translation.Task details for unified SQL Translation.removeMetrics(int index) The metrics for the task.removeResourceErrorDetails(int index) Output only.setCreateTime(com.google.protobuf.Timestamp value) Time when the task was created.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the task was created.Output only.setIdBytes(com.google.protobuf.ByteString value) Output only.setLastUpdateTime(com.google.protobuf.Timestamp value) Time when the task was last updated.setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the task was last updated.setMetrics(int index, TimeSeries value) The metrics for the task.setMetrics(int index, TimeSeries.Builder builderForValue) The metrics for the task.setProcessingError(ErrorInfo value) Output only.setProcessingError(ErrorInfo.Builder builderForValue) Output only.setResourceErrorCount(int value) The number or resources with errors.setResourceErrorDetails(int index, ResourceErrorDetail value) Output only.setResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue) Output only.setState(MigrationTask.State value) Output only.setStateValue(int value) Output only.setTaskResult(MigrationTaskResult value) Output only.setTaskResult(MigrationTaskResult.Builder builderForValue) Output only.setTotalProcessingErrorCount(int value) Count of all the processing errors in this task and its subtasks.setTotalResourceErrorCount(int value) Count of all the resource errors in this task and its subtasks.Task configuration for CW Batch/Offline SQL Translation.setTranslationConfigDetails(TranslationConfigDetails.Builder builderForValue) Task configuration for CW Batch/Offline SQL Translation.Task details for unified SQL Translation.setTranslationDetails(TranslationDetails.Builder builderForValue) Task details for unified SQL Translation.The type of the task.setTypeBytes(com.google.protobuf.ByteString value) The type of the task.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MigrationTask.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MigrationTask.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MigrationTask.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MigrationTask.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MigrationTask.Builder>
-
mergeFrom
public MigrationTask.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MigrationTask.Builder>- Throws:
IOException
-
getTaskDetailsCase
- Specified by:
getTaskDetailsCasein interfaceMigrationTaskOrBuilder
-
clearTaskDetails
-
hasTranslationConfigDetails
public boolean hasTranslationConfigDetails()Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;- Specified by:
hasTranslationConfigDetailsin interfaceMigrationTaskOrBuilder- Returns:
- Whether the translationConfigDetails field is set.
-
getTranslationConfigDetails
Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;- Specified by:
getTranslationConfigDetailsin interfaceMigrationTaskOrBuilder- Returns:
- The translationConfigDetails.
-
setTranslationConfigDetails
Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; -
setTranslationConfigDetails
public MigrationTask.Builder setTranslationConfigDetails(TranslationConfigDetails.Builder builderForValue) Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; -
mergeTranslationConfigDetails
Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; -
clearTranslationConfigDetails
Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; -
getTranslationConfigDetailsBuilder
Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; -
getTranslationConfigDetailsOrBuilder
Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;- Specified by:
getTranslationConfigDetailsOrBuilderin interfaceMigrationTaskOrBuilder
-
hasTranslationDetails
public boolean hasTranslationDetails()Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;- Specified by:
hasTranslationDetailsin interfaceMigrationTaskOrBuilder- Returns:
- Whether the translationDetails field is set.
-
getTranslationDetails
Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;- Specified by:
getTranslationDetailsin interfaceMigrationTaskOrBuilder- Returns:
- The translationDetails.
-
setTranslationDetails
Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16; -
setTranslationDetails
Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16; -
mergeTranslationDetails
Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16; -
clearTranslationDetails
Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16; -
getTranslationDetailsBuilder
Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16; -
getTranslationDetailsOrBuilder
Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;- Specified by:
getTranslationDetailsOrBuilderin interfaceMigrationTaskOrBuilder
-
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];- Specified by:
getIdin interfaceMigrationTaskOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.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];- Specified by:
getIdBytesin interfaceMigrationTaskOrBuilder- Returns:
- The bytes for id.
-
setId
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];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setIdBytes
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];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
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, Translation_MySQL2BQ, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
string type = 2;- Specified by:
getTypein interfaceMigrationTaskOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.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, Translation_MySQL2BQ, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
string type = 2;- Specified by:
getTypeBytesin interfaceMigrationTaskOrBuilder- Returns:
- The bytes for type.
-
setType
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, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
string type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
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, Translation_MySQL2BQ, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
string type = 2;- Returns:
- This builder for chaining.
-
setTypeBytes
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, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
string type = 2;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getStateValuein interfaceMigrationTaskOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceMigrationTaskOrBuilder- Returns:
- The state.
-
setState
Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
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];- Specified by:
hasProcessingErrorin interfaceMigrationTaskOrBuilder- Returns:
- Whether the processingError field is set.
-
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];- Specified by:
getProcessingErrorin interfaceMigrationTaskOrBuilder- Returns:
- The processingError.
-
setProcessingError
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]; -
setProcessingError
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]; -
mergeProcessingError
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]; -
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]; -
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]; -
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];- Specified by:
getProcessingErrorOrBuilderin interfaceMigrationTaskOrBuilder
-
hasCreateTime
public boolean hasCreateTime()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
hasCreateTimein interfaceMigrationTaskOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimein interfaceMigrationTaskOrBuilder- Returns:
- The createTime.
-
setCreateTime
Time when the task was created.
.google.protobuf.Timestamp create_time = 6; -
setCreateTime
Time when the task was created.
.google.protobuf.Timestamp create_time = 6; -
mergeCreateTime
Time when the task was created.
.google.protobuf.Timestamp create_time = 6; -
clearCreateTime
Time when the task was created.
.google.protobuf.Timestamp create_time = 6; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Time when the task was created.
.google.protobuf.Timestamp create_time = 6; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;- Specified by:
getCreateTimeOrBuilderin interfaceMigrationTaskOrBuilder
-
hasLastUpdateTime
public boolean hasLastUpdateTime()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;- Specified by:
hasLastUpdateTimein interfaceMigrationTaskOrBuilder- Returns:
- Whether the lastUpdateTime field is set.
-
getLastUpdateTime
public com.google.protobuf.Timestamp getLastUpdateTime()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;- Specified by:
getLastUpdateTimein interfaceMigrationTaskOrBuilder- Returns:
- The lastUpdateTime.
-
setLastUpdateTime
Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7; -
setLastUpdateTime
public MigrationTask.Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7; -
mergeLastUpdateTime
Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7; -
clearLastUpdateTime
Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7; -
getLastUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7; -
getLastUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;- Specified by:
getLastUpdateTimeOrBuilderin interfaceMigrationTaskOrBuilder
-
getResourceErrorDetailsList
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceErrorDetailsListin interfaceMigrationTaskOrBuilder
-
getResourceErrorDetailsCount
public int getResourceErrorDetailsCount()Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceErrorDetailsCountin interfaceMigrationTaskOrBuilder
-
getResourceErrorDetails
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceErrorDetailsin interfaceMigrationTaskOrBuilder
-
setResourceErrorDetails
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setResourceErrorDetails
public MigrationTask.Builder setResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue) Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addResourceErrorDetails
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addResourceErrorDetails
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addResourceErrorDetails
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addResourceErrorDetails
public MigrationTask.Builder addResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue) Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addAllResourceErrorDetails
public MigrationTask.Builder addAllResourceErrorDetails(Iterable<? extends ResourceErrorDetail> values) Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearResourceErrorDetails
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
removeResourceErrorDetails
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceErrorDetailsBuilder
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceErrorDetailsOrBuilder
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceErrorDetailsOrBuilderin interfaceMigrationTaskOrBuilder
-
getResourceErrorDetailsOrBuilderList
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getResourceErrorDetailsOrBuilderListin interfaceMigrationTaskOrBuilder
-
addResourceErrorDetailsBuilder
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
addResourceErrorDetailsBuilder
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceErrorDetailsBuilderList
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceErrorCount
public int getResourceErrorCount()The number or resources with errors. Note: This is not the total number of errors as each resource can have more than one error. This is used to indicate truncation by having a `resource_error_count` that is higher than the size of `resource_error_details`.
int32 resource_error_count = 18;- Specified by:
getResourceErrorCountin interfaceMigrationTaskOrBuilder- Returns:
- The resourceErrorCount.
-
setResourceErrorCount
The number or resources with errors. Note: This is not the total number of errors as each resource can have more than one error. This is used to indicate truncation by having a `resource_error_count` that is higher than the size of `resource_error_details`.
int32 resource_error_count = 18;- Parameters:
value- The resourceErrorCount to set.- Returns:
- This builder for chaining.
-
clearResourceErrorCount
The number or resources with errors. Note: This is not the total number of errors as each resource can have more than one error. This is used to indicate truncation by having a `resource_error_count` that is higher than the size of `resource_error_details`.
int32 resource_error_count = 18;- Returns:
- This builder for chaining.
-
getMetricsList
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;- Specified by:
getMetricsListin interfaceMigrationTaskOrBuilder
-
getMetricsCount
public int getMetricsCount()The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;- Specified by:
getMetricsCountin interfaceMigrationTaskOrBuilder
-
getMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;- Specified by:
getMetricsin interfaceMigrationTaskOrBuilder
-
setMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
setMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
addMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
addMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
addMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
addMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
addAllMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
clearMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
removeMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
getMetricsBuilder
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
getMetricsOrBuilder
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;- Specified by:
getMetricsOrBuilderin interfaceMigrationTaskOrBuilder
-
getMetricsOrBuilderList
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;- Specified by:
getMetricsOrBuilderListin interfaceMigrationTaskOrBuilder
-
addMetricsBuilder
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
addMetricsBuilder
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
getMetricsBuilderList
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
hasTaskResult
public boolean hasTaskResult()Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTaskResultin interfaceMigrationTaskOrBuilder- Returns:
- Whether the taskResult field is set.
-
getTaskResult
Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTaskResultin interfaceMigrationTaskOrBuilder- Returns:
- The taskResult.
-
setTaskResult
Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setTaskResult
Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeTaskResult
Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearTaskResult
Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTaskResultBuilder
Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTaskResultOrBuilder
Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTaskResultOrBuilderin interfaceMigrationTaskOrBuilder
-
getTotalProcessingErrorCount
public int getTotalProcessingErrorCount()Count of all the processing errors in this task and its subtasks.
int32 total_processing_error_count = 21;- Specified by:
getTotalProcessingErrorCountin interfaceMigrationTaskOrBuilder- Returns:
- The totalProcessingErrorCount.
-
setTotalProcessingErrorCount
Count of all the processing errors in this task and its subtasks.
int32 total_processing_error_count = 21;- Parameters:
value- The totalProcessingErrorCount to set.- Returns:
- This builder for chaining.
-
clearTotalProcessingErrorCount
Count of all the processing errors in this task and its subtasks.
int32 total_processing_error_count = 21;- Returns:
- This builder for chaining.
-
getTotalResourceErrorCount
public int getTotalResourceErrorCount()Count of all the resource errors in this task and its subtasks.
int32 total_resource_error_count = 22;- Specified by:
getTotalResourceErrorCountin interfaceMigrationTaskOrBuilder- Returns:
- The totalResourceErrorCount.
-
setTotalResourceErrorCount
Count of all the resource errors in this task and its subtasks.
int32 total_resource_error_count = 22;- Parameters:
value- The totalResourceErrorCount to set.- Returns:
- This builder for chaining.
-
clearTotalResourceErrorCount
Count of all the resource errors in this task and its subtasks.
int32 total_resource_error_count = 22;- Returns:
- This builder for chaining.
-