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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA single task for a migration which has details about the configuration of the task.static enumPossible states of a migration task.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanTask configuration for Assessment.Task configuration for Assessment.com.google.protobuf.TimestampTime when the task was created.com.google.protobuf.TimestampOrBuilderTime when the task was created.static MigrationTaskstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.AnyDEPRECATED!com.google.protobuf.AnyOrBuilderDEPRECATED!getId()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampTime when the task was last updated.com.google.protobuf.TimestampOrBuilderTime when the task was last updated.Output only.Output only.com.google.protobuf.Parser<MigrationTask>Output only.Output only.intgetState()Output only.intOutput only.Task configuration for Batch/Offline SQL Translation.Task configuration for Batch/Offline SQL Translation.getType()The type of the task.com.google.protobuf.ByteStringThe type of the task.booleanTask configuration for Assessment.booleanTime when the task was created.booleanDEPRECATED!inthashCode()booleanTime when the task was last updated.booleanOutput only.booleanOutput only.booleanTask configuration for Batch/Offline SQL Translation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic MigrationTask.Builderstatic MigrationTask.BuildernewBuilder(MigrationTask prototype) protected MigrationTask.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static MigrationTaskparseDelimitedFrom(InputStream input) static MigrationTaskparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MigrationTaskparseFrom(byte[] data) static MigrationTaskparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MigrationTaskparseFrom(com.google.protobuf.ByteString data) static MigrationTaskparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MigrationTaskparseFrom(com.google.protobuf.CodedInputStream input) static MigrationTaskparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MigrationTaskparseFrom(InputStream input) static MigrationTaskparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static MigrationTaskparseFrom(ByteBuffer data) static MigrationTaskparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<MigrationTask>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getTaskDetailsCase
- Specified by:
getTaskDetailsCasein interfaceMigrationTaskOrBuilder
-
hasAssessmentTaskDetails
public boolean hasAssessmentTaskDetails()Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;- Specified by:
hasAssessmentTaskDetailsin interfaceMigrationTaskOrBuilder- Returns:
- Whether the assessmentTaskDetails field is set.
-
getAssessmentTaskDetails
Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;- Specified by:
getAssessmentTaskDetailsin interfaceMigrationTaskOrBuilder- Returns:
- The assessmentTaskDetails.
-
getAssessmentTaskDetailsOrBuilder
Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;- Specified by:
getAssessmentTaskDetailsOrBuilderin interfaceMigrationTaskOrBuilder
-
hasTranslationTaskDetails
public boolean hasTranslationTaskDetails()Task configuration for Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;- Specified by:
hasTranslationTaskDetailsin interfaceMigrationTaskOrBuilder- Returns:
- Whether the translationTaskDetails field is set.
-
getTranslationTaskDetails
Task configuration for Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;- Specified by:
getTranslationTaskDetailsin interfaceMigrationTaskOrBuilder- Returns:
- The translationTaskDetails.
-
getTranslationTaskDetailsOrBuilder
Task configuration for Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;- Specified by:
getTranslationTaskDetailsOrBuilderin 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.
-
getType
The type of the task. This must be a supported task type.
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 a supported task type.
string type = 2;- Specified by:
getTypeBytesin interfaceMigrationTaskOrBuilder- 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:
hasDetailsin interfaceMigrationTaskOrBuilder- 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:
getDetailsin interfaceMigrationTaskOrBuilder- 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:
getDetailsOrBuilderin interfaceMigrationTaskOrBuilder
-
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:
getStateValuein interfaceMigrationTaskOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getStatein interfaceMigrationTaskOrBuilder- 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:
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.
-
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.
-
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.
-
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
-
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:
hasOrchestrationResultin interfaceMigrationTaskOrBuilder- Returns:
- Whether the orchestrationResult field is set.
-
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:
getOrchestrationResultin interfaceMigrationTaskOrBuilder- Returns:
- The orchestrationResult.
-
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:
getOrchestrationResultOrBuilderin interfaceMigrationTaskOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static MigrationTask parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected MigrationTask.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-