Class MigrationTask

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.bigquery.migration.v2alpha.MigrationTask
All Implemented Interfaces:
MigrationTaskOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class MigrationTask extends com.google.protobuf.GeneratedMessage 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
See Also:
  • Field Details

    • ASSESSMENT_TASK_DETAILS_FIELD_NUMBER

      public static final int ASSESSMENT_TASK_DETAILS_FIELD_NUMBER
      See Also:
    • TRANSLATION_TASK_DETAILS_FIELD_NUMBER

      public static final int TRANSLATION_TASK_DETAILS_FIELD_NUMBER
      See Also:
    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • DETAILS_FIELD_NUMBER

      public static final int DETAILS_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • PROCESSING_ERROR_FIELD_NUMBER

      public static final int PROCESSING_ERROR_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • LAST_UPDATE_TIME_FIELD_NUMBER

      public static final int LAST_UPDATE_TIME_FIELD_NUMBER
      See Also:
    • ORCHESTRATION_RESULT_FIELD_NUMBER

      public static final int ORCHESTRATION_RESULT_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getTaskDetailsCase

      public MigrationTask.TaskDetailsCase getTaskDetailsCase()
      Specified by:
      getTaskDetailsCase in interface MigrationTaskOrBuilder
    • hasAssessmentTaskDetails

      public boolean hasAssessmentTaskDetails()
       Task configuration for Assessment.
       
      .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
      Specified by:
      hasAssessmentTaskDetails in interface MigrationTaskOrBuilder
      Returns:
      Whether the assessmentTaskDetails field is set.
    • getAssessmentTaskDetails

      public AssessmentTaskDetails getAssessmentTaskDetails()
       Task configuration for Assessment.
       
      .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
      Specified by:
      getAssessmentTaskDetails in interface MigrationTaskOrBuilder
      Returns:
      The assessmentTaskDetails.
    • getAssessmentTaskDetailsOrBuilder

      public AssessmentTaskDetailsOrBuilder getAssessmentTaskDetailsOrBuilder()
       Task configuration for Assessment.
       
      .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
      Specified by:
      getAssessmentTaskDetailsOrBuilder in interface MigrationTaskOrBuilder
    • hasTranslationTaskDetails

      public boolean hasTranslationTaskDetails()
       Task configuration for Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
      Specified by:
      hasTranslationTaskDetails in interface MigrationTaskOrBuilder
      Returns:
      Whether the translationTaskDetails field is set.
    • getTranslationTaskDetails

      public TranslationTaskDetails getTranslationTaskDetails()
       Task configuration for Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
      Specified by:
      getTranslationTaskDetails in interface MigrationTaskOrBuilder
      Returns:
      The translationTaskDetails.
    • getTranslationTaskDetailsOrBuilder

      public TranslationTaskDetailsOrBuilder getTranslationTaskDetailsOrBuilder()
       Task configuration for Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
      Specified by:
      getTranslationTaskDetailsOrBuilder in interface MigrationTaskOrBuilder
    • 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];
      Specified by:
      getId in interface MigrationTaskOrBuilder
      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:
      getIdBytes in interface MigrationTaskOrBuilder
      Returns:
      The bytes for id.
    • getType

      public String getType()
       The type of the task. This must be a supported task type.
       
      string type = 2;
      Specified by:
      getType in interface MigrationTaskOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The type of the task. This must be a supported task type.
       
      string type = 2;
      Specified by:
      getTypeBytes in interface MigrationTaskOrBuilder
      Returns:
      The bytes for type.
    • 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;
      Specified by:
      hasDetails in interface MigrationTaskOrBuilder
      Returns:
      Whether the details field is set.
    • getDetails

      public com.google.protobuf.Any 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;
      Specified by:
      getDetails in interface MigrationTaskOrBuilder
      Returns:
      The details.
    • getDetailsOrBuilder

      public com.google.protobuf.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;
      Specified by:
      getDetailsOrBuilder in interface MigrationTaskOrBuilder
    • 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];
      Specified by:
      getStateValue in interface MigrationTaskOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • 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];
      Specified by:
      getState in interface MigrationTaskOrBuilder
      Returns:
      The state.
    • 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:
      hasProcessingError in interface MigrationTaskOrBuilder
      Returns:
      Whether the processingError field is set.
    • 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];
      Specified by:
      getProcessingError in interface MigrationTaskOrBuilder
      Returns:
      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];
      Specified by:
      getProcessingErrorOrBuilder in interface MigrationTaskOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Time when the task was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      hasCreateTime in interface MigrationTaskOrBuilder
      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:
      getCreateTime in interface MigrationTaskOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Time when the task was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTimeOrBuilder in interface MigrationTaskOrBuilder
    • hasLastUpdateTime

      public boolean hasLastUpdateTime()
       Time when the task was last updated.
       
      .google.protobuf.Timestamp last_update_time = 7;
      Specified by:
      hasLastUpdateTime in interface MigrationTaskOrBuilder
      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:
      getLastUpdateTime in interface MigrationTaskOrBuilder
      Returns:
      The lastUpdateTime.
    • getLastUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
       Time when the task was last updated.
       
      .google.protobuf.Timestamp last_update_time = 7;
      Specified by:
      getLastUpdateTimeOrBuilder in interface MigrationTaskOrBuilder
    • 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];
      Specified by:
      hasOrchestrationResult in interface MigrationTaskOrBuilder
      Returns:
      Whether the orchestrationResult field is set.
    • 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];
      Specified by:
      getOrchestrationResult in interface MigrationTaskOrBuilder
      Returns:
      The orchestrationResult.
    • 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];
      Specified by:
      getOrchestrationResultOrBuilder in interface MigrationTaskOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MigrationTask parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationTask parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationTask parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationTask parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationTask parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationTask parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MigrationTask parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MigrationTask parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MigrationTask parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MigrationTask parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MigrationTask parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MigrationTask parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public MigrationTask.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MigrationTask.Builder newBuilder()
    • newBuilder

      public static MigrationTask.Builder newBuilder(MigrationTask prototype)
    • toBuilder

      public MigrationTask.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MigrationTask.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static MigrationTask getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MigrationTask> parser()
    • getParserForType

      public com.google.protobuf.Parser<MigrationTask> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public MigrationTask getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder