public final class MigrationTask extends GeneratedMessageV3 implements MigrationTaskOrBuilder
   
   A single task for a migration which has details about the configuration of
 the task.
 Protobuf type google.cloud.bigquery.migration.v2alpha.MigrationTask
Static Fields
  
  ASSESSMENT_TASK_DETAILS_FIELD_NUMBER
  
    public static final int ASSESSMENT_TASK_DETAILS_FIELD_NUMBER
   
  Field Value
  
  CREATE_TIME_FIELD_NUMBER
  
    public static final int CREATE_TIME_FIELD_NUMBER
   
  Field Value
  
  DETAILS_FIELD_NUMBER
  
    public static final int DETAILS_FIELD_NUMBER
   
  Field Value
  
  ID_FIELD_NUMBER
  
    public static final int ID_FIELD_NUMBER
   
  Field Value
  
  LAST_UPDATE_TIME_FIELD_NUMBER
  
    public static final int LAST_UPDATE_TIME_FIELD_NUMBER
   
  Field Value
  
  ORCHESTRATION_RESULT_FIELD_NUMBER
  
    public static final int ORCHESTRATION_RESULT_FIELD_NUMBER
   
  Field Value
  
  PROCESSING_ERROR_FIELD_NUMBER
  
    public static final int PROCESSING_ERROR_FIELD_NUMBER
   
  Field Value
  
  STATE_FIELD_NUMBER
  
    public static final int STATE_FIELD_NUMBER
   
  Field Value
  
  TRANSLATION_TASK_DETAILS_FIELD_NUMBER
  
    public static final int TRANSLATION_TASK_DETAILS_FIELD_NUMBER
   
  Field Value
  
  TYPE_FIELD_NUMBER
  
    public static final int TYPE_FIELD_NUMBER
   
  Field Value
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static MigrationTask getDefaultInstance()
   
  Returns
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  
  newBuilder()
  
    public static MigrationTask.Builder newBuilder()
   
  Returns
  
  
  newBuilder(MigrationTask prototype)
  
    public static MigrationTask.Builder newBuilder(MigrationTask prototype)
   
  Parameter
  
  Returns
  
  
  
  
    public static MigrationTask parseDelimitedFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static MigrationTask parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(byte[] data)
  
    public static MigrationTask parseFrom(byte[] data)
   
  Parameter
  
    
      
        | Name | Description | 
      
        | data | byte[]
 | 
    
  
  Returns
  
  Exceptions
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static MigrationTask parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteString data)
  
    public static MigrationTask parseFrom(ByteString data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static MigrationTask parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static MigrationTask parseFrom(CodedInputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static MigrationTask parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static MigrationTask parseFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static MigrationTask parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteBuffer data)
  
    public static MigrationTask parseFrom(ByteBuffer data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static MigrationTask parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parser()
  
    public static Parser<MigrationTask> parser()
   
  Returns
  
  Methods
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  getAssessmentTaskDetails()
  
    public AssessmentTaskDetails getAssessmentTaskDetails()
   
   Task configuration for Assessment.
 
 .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
 
getAssessmentTaskDetailsOrBuilder()
  
    public AssessmentTaskDetailsOrBuilder getAssessmentTaskDetailsOrBuilder()
   
   Task configuration for Assessment.
 
 .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
 
getCreateTime()
  
    public Timestamp getCreateTime()
   
   Time when the task was created.
 .google.protobuf.Timestamp create_time = 6;
getCreateTimeOrBuilder()
  
    public TimestampOrBuilder getCreateTimeOrBuilder()
   
   Time when the task was created.
 .google.protobuf.Timestamp create_time = 6;
getDefaultInstanceForType()
  
    public MigrationTask getDefaultInstanceForType()
   
  Returns
  
  
  getDetails()
  
   DEPRECATED! Use one of the task_details below.
 The details of the task. The type URL must be one of the supported task
 details messages and correspond to the Task's type.
 .google.protobuf.Any details = 3;
    
      
        | Type | Description | 
      
        | Any | The details. | 
    
  
  
  getDetailsOrBuilder()
  
    public AnyOrBuilder getDetailsOrBuilder()
   
   DEPRECATED! Use one of the task_details below.
 The details of the task. The type URL must be one of the supported task
 details messages and correspond to the Task's type.
 .google.protobuf.Any details = 3;
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];
 
getLastUpdateTime()
  
    public Timestamp getLastUpdateTime()
   
   Time when the task was last updated.
 .google.protobuf.Timestamp last_update_time = 7;
    
      
        | Type | Description | 
      
        | Timestamp | The lastUpdateTime. | 
    
  
  
  getLastUpdateTimeOrBuilder()
  
    public TimestampOrBuilder getLastUpdateTimeOrBuilder()
   
   Time when the task was last updated.
 .google.protobuf.Timestamp last_update_time = 7;
getOrchestrationResult()
  
    public MigrationTaskOrchestrationResult getOrchestrationResult()
   
   Output only. Additional information about the orchestration.
 
 .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getOrchestrationResultOrBuilder()
  
    public MigrationTaskOrchestrationResultOrBuilder getOrchestrationResultOrBuilder()
   
   Output only. Additional information about the orchestration.
 
 .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getParserForType()
  
    public Parser<MigrationTask> getParserForType()
   
  Returns
  
  Overrides
  
  
  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. | 
    
  
  
  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 |  | 
    
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  Returns
  
  Overrides
  
  
  getState()
  
    public MigrationTask.State getState()
   
   Output only. The current state of the task.
 
 .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getStateValue()
  
    public int getStateValue()
   
   Output only. The current state of the task.
 
 .google.cloud.bigquery.migration.v2alpha.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()
   
  Returns
  
  
  getTranslationTaskDetails()
  
    public TranslationTaskDetails getTranslationTaskDetails()
   
   Task configuration for Batch/Offline SQL Translation.
 
 .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
 
getTranslationTaskDetailsOrBuilder()
  
    public TranslationTaskDetailsOrBuilder getTranslationTaskDetailsOrBuilder()
   
   Task configuration for Batch/Offline SQL Translation.
 
 .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
 
getType()
  
   The type of the task. This must be a supported task type.
 string type = 2;
    
      
        | Type | Description | 
      
        | String | The type. | 
    
  
  
  getTypeBytes()
  
    public ByteString getTypeBytes()
   
   The type of the task. This must be a supported task type.
 string type = 2;
getUnknownFields()
  
    public final UnknownFieldSet getUnknownFields()
   
  Returns
  
  Overrides
  
  
  hasAssessmentTaskDetails()
  
    public boolean hasAssessmentTaskDetails()
   
   Task configuration for Assessment.
 
 .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
 
    
      
        | Type | Description | 
      
        | boolean | Whether the assessmentTaskDetails field is set. | 
    
  
  
  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. | 
    
  
  
  hasDetails()
  
    public boolean hasDetails()
   
   DEPRECATED! Use one of the task_details below.
 The details of the task. The type URL must be one of the supported task
 details messages and correspond to the Task's type.
 .google.protobuf.Any details = 3;
    
      
        | Type | Description | 
      
        | boolean | Whether the details 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. | 
    
  
  
  hasOrchestrationResult()
  
    public boolean hasOrchestrationResult()
   
   Output only. Additional information about the orchestration.
 
 .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        | Type | Description | 
      
        | boolean | Whether the orchestrationResult 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. | 
    
  
  
  hasTranslationTaskDetails()
  
    public boolean hasTranslationTaskDetails()
   
   Task configuration for Batch/Offline SQL Translation.
 
 .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
 
    
      
        | Type | Description | 
      
        | boolean | Whether the translationTaskDetails field is set. | 
    
  
  
  hashCode()
  
  Returns
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  newBuilderForType()
  
    public MigrationTask.Builder newBuilderForType()
   
  Returns
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected MigrationTask.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  toBuilder()
  
    public MigrationTask.Builder toBuilder()
   
  Returns
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  Parameter
  
  Overrides
  
  Exceptions