Class MigrationTask.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
- com.google.cloud.bigquery.migration.v2alpha.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.GeneratedMessageV3.Builder<MigrationTask.Builder> implements MigrationTaskOrBuilder
A single task for a migration which has details about the configuration of the task.
Protobuf typegoogle.cloud.bigquery.migration.v2alpha.MigrationTask
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationTask.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MigrationTaskbuild()MigrationTaskbuildPartial()MigrationTask.Builderclear()MigrationTask.BuilderclearAssessmentTaskDetails()Task configuration for Assessment.MigrationTask.BuilderclearCreateTime()Time when the task was created.MigrationTask.BuilderclearDetails()DEPRECATED! Use one of the task_details below.MigrationTask.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)MigrationTask.BuilderclearId()Output only.MigrationTask.BuilderclearLastUpdateTime()Time when the task was last updated.MigrationTask.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)MigrationTask.BuilderclearOrchestrationResult()Output only.MigrationTask.BuilderclearProcessingError()Output only.MigrationTask.BuilderclearState()Output only.MigrationTask.BuilderclearTaskDetails()MigrationTask.BuilderclearTranslationTaskDetails()Task configuration for Batch/Offline SQL Translation.MigrationTask.BuilderclearType()The type of the task.MigrationTask.Builderclone()AssessmentTaskDetailsgetAssessmentTaskDetails()Task configuration for Assessment.AssessmentTaskDetails.BuildergetAssessmentTaskDetailsBuilder()Task configuration for Assessment.AssessmentTaskDetailsOrBuildergetAssessmentTaskDetailsOrBuilder()Task configuration for Assessment.com.google.protobuf.TimestampgetCreateTime()Time when the task was created.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Time when the task was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Time when the task was created.MigrationTaskgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.AnygetDetails()DEPRECATED! Use one of the task_details below.com.google.protobuf.Any.BuildergetDetailsBuilder()DEPRECATED! Use one of the task_details below.com.google.protobuf.AnyOrBuildergetDetailsOrBuilder()DEPRECATED! Use one of the task_details below.StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.com.google.protobuf.TimestampgetLastUpdateTime()Time when the task was last updated.com.google.protobuf.Timestamp.BuildergetLastUpdateTimeBuilder()Time when the task was last updated.com.google.protobuf.TimestampOrBuildergetLastUpdateTimeOrBuilder()Time when the task was last updated.MigrationTaskOrchestrationResultgetOrchestrationResult()Output only.MigrationTaskOrchestrationResult.BuildergetOrchestrationResultBuilder()Output only.MigrationTaskOrchestrationResultOrBuildergetOrchestrationResultOrBuilder()Output only.com.google.rpc.ErrorInfogetProcessingError()Output only.com.google.rpc.ErrorInfo.BuildergetProcessingErrorBuilder()Output only.com.google.rpc.ErrorInfoOrBuildergetProcessingErrorOrBuilder()Output only.MigrationTask.StategetState()Output only.intgetStateValue()Output only.MigrationTask.TaskDetailsCasegetTaskDetailsCase()TranslationTaskDetailsgetTranslationTaskDetails()Task configuration for Batch/Offline SQL Translation.TranslationTaskDetails.BuildergetTranslationTaskDetailsBuilder()Task configuration for Batch/Offline SQL Translation.TranslationTaskDetailsOrBuildergetTranslationTaskDetailsOrBuilder()Task configuration for Batch/Offline SQL Translation.StringgetType()The type of the task.com.google.protobuf.ByteStringgetTypeBytes()The type of the task.booleanhasAssessmentTaskDetails()Task configuration for Assessment.booleanhasCreateTime()Time when the task was created.booleanhasDetails()DEPRECATED! Use one of the task_details below.booleanhasLastUpdateTime()Time when the task was last updated.booleanhasOrchestrationResult()Output only.booleanhasProcessingError()Output only.booleanhasTranslationTaskDetails()Task configuration for Batch/Offline SQL Translation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()MigrationTask.BuildermergeAssessmentTaskDetails(AssessmentTaskDetails value)Task configuration for Assessment.MigrationTask.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Time when the task was created.MigrationTask.BuildermergeDetails(com.google.protobuf.Any value)DEPRECATED! Use one of the task_details below.MigrationTask.BuildermergeFrom(MigrationTask other)MigrationTask.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)MigrationTask.BuildermergeFrom(com.google.protobuf.Message other)MigrationTask.BuildermergeLastUpdateTime(com.google.protobuf.Timestamp value)Time when the task was last updated.MigrationTask.BuildermergeOrchestrationResult(MigrationTaskOrchestrationResult value)Output only.MigrationTask.BuildermergeProcessingError(com.google.rpc.ErrorInfo value)Output only.MigrationTask.BuildermergeTranslationTaskDetails(TranslationTaskDetails value)Task configuration for Batch/Offline SQL Translation.MigrationTask.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)MigrationTask.BuildersetAssessmentTaskDetails(AssessmentTaskDetails value)Task configuration for Assessment.MigrationTask.BuildersetAssessmentTaskDetails(AssessmentTaskDetails.Builder builderForValue)Task configuration for Assessment.MigrationTask.BuildersetCreateTime(com.google.protobuf.Timestamp value)Time when the task was created.MigrationTask.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Time when the task was created.MigrationTask.BuildersetDetails(com.google.protobuf.Any value)DEPRECATED! Use one of the task_details below.MigrationTask.BuildersetDetails(com.google.protobuf.Any.Builder builderForValue)DEPRECATED! Use one of the task_details below.MigrationTask.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)MigrationTask.BuildersetId(String value)Output only.MigrationTask.BuildersetIdBytes(com.google.protobuf.ByteString value)Output only.MigrationTask.BuildersetLastUpdateTime(com.google.protobuf.Timestamp value)Time when the task was last updated.MigrationTask.BuildersetLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Time when the task was last updated.MigrationTask.BuildersetOrchestrationResult(MigrationTaskOrchestrationResult value)Output only.MigrationTask.BuildersetOrchestrationResult(MigrationTaskOrchestrationResult.Builder builderForValue)Output only.MigrationTask.BuildersetProcessingError(com.google.rpc.ErrorInfo value)Output only.MigrationTask.BuildersetProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue)Output only.MigrationTask.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)MigrationTask.BuildersetState(MigrationTask.State value)Output only.MigrationTask.BuildersetStateValue(int value)Output only.MigrationTask.BuildersetTranslationTaskDetails(TranslationTaskDetails value)Task configuration for Batch/Offline SQL Translation.MigrationTask.BuildersetTranslationTaskDetails(TranslationTaskDetails.Builder builderForValue)Task configuration for Batch/Offline SQL Translation.MigrationTask.BuildersetType(String value)The type of the task.MigrationTask.BuildersetTypeBytes(com.google.protobuf.ByteString value)The type of the task.MigrationTask.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
clear
public MigrationTask.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
getDefaultInstanceForType
public MigrationTask getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public MigrationTask build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MigrationTask buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MigrationTask.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
setField
public MigrationTask.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
clearField
public MigrationTask.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
clearOneof
public MigrationTask.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
setRepeatedField
public MigrationTask.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
addRepeatedField
public MigrationTask.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
mergeFrom
public MigrationTask.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MigrationTask.Builder>
-
mergeFrom
public MigrationTask.Builder mergeFrom(MigrationTask other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public MigrationTask.TaskDetailsCase getTaskDetailsCase()
- Specified by:
getTaskDetailsCasein interfaceMigrationTaskOrBuilder
-
clearTaskDetails
public MigrationTask.Builder clearTaskDetails()
-
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
public AssessmentTaskDetails getAssessmentTaskDetails()
Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;- Specified by:
getAssessmentTaskDetailsin interfaceMigrationTaskOrBuilder- Returns:
- The assessmentTaskDetails.
-
setAssessmentTaskDetails
public MigrationTask.Builder setAssessmentTaskDetails(AssessmentTaskDetails value)
Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
-
setAssessmentTaskDetails
public MigrationTask.Builder setAssessmentTaskDetails(AssessmentTaskDetails.Builder builderForValue)
Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
-
mergeAssessmentTaskDetails
public MigrationTask.Builder mergeAssessmentTaskDetails(AssessmentTaskDetails value)
Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
-
clearAssessmentTaskDetails
public MigrationTask.Builder clearAssessmentTaskDetails()
Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
-
getAssessmentTaskDetailsBuilder
public AssessmentTaskDetails.Builder getAssessmentTaskDetailsBuilder()
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;- 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
public TranslationTaskDetails 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.
-
setTranslationTaskDetails
public MigrationTask.Builder setTranslationTaskDetails(TranslationTaskDetails value)
Task configuration for Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
-
setTranslationTaskDetails
public MigrationTask.Builder setTranslationTaskDetails(TranslationTaskDetails.Builder builderForValue)
Task configuration for Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
-
mergeTranslationTaskDetails
public MigrationTask.Builder mergeTranslationTaskDetails(TranslationTaskDetails value)
Task configuration for Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
-
clearTranslationTaskDetails
public MigrationTask.Builder clearTranslationTaskDetails()
Task configuration for Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
-
getTranslationTaskDetailsBuilder
public TranslationTaskDetails.Builder getTranslationTaskDetailsBuilder()
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;- Specified by:
getTranslationTaskDetailsOrBuilderin interfaceMigrationTaskOrBuilder
-
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:
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
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];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setIdBytes
public MigrationTask.Builder setIdBytes(com.google.protobuf.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];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getType
public String 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.
-
setType
public MigrationTask.Builder setType(String value)
The type of the task. This must be a supported task type.
string type = 2;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public MigrationTask.Builder clearType()
The type of the task. This must be a supported task type.
string type = 2;- Returns:
- This builder for chaining.
-
setTypeBytes
public MigrationTask.Builder setTypeBytes(com.google.protobuf.ByteString value)
The type of the task. This must be a supported task type.
string type = 2;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
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.
-
setDetails
public MigrationTask.Builder setDetails(com.google.protobuf.Any value)
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;
-
setDetails
public MigrationTask.Builder setDetails(com.google.protobuf.Any.Builder builderForValue)
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;
-
mergeDetails
public MigrationTask.Builder mergeDetails(com.google.protobuf.Any value)
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;
-
clearDetails
public MigrationTask.Builder clearDetails()
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;
-
getDetailsBuilder
public com.google.protobuf.Any.Builder getDetailsBuilder()
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;
-
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.
-
setStateValue
public MigrationTask.Builder setStateValue(int value)
Output only. The current state of the task.
.google.cloud.bigquery.migration.v2alpha.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
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:
getStatein interfaceMigrationTaskOrBuilder- Returns:
- The state.
-
setState
public MigrationTask.Builder setState(MigrationTask.State value)
Output only. The current state of the task.
.google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
public MigrationTask.Builder clearState()
Output only. The current state of the task.
.google.cloud.bigquery.migration.v2alpha.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
public com.google.rpc.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:
getProcessingErrorin interfaceMigrationTaskOrBuilder- Returns:
- The processingError.
-
setProcessingError
public MigrationTask.Builder setProcessingError(com.google.rpc.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];
-
setProcessingError
public MigrationTask.Builder setProcessingError(com.google.rpc.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];
-
mergeProcessingError
public MigrationTask.Builder mergeProcessingError(com.google.rpc.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];
-
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];
-
getProcessingErrorBuilder
public com.google.rpc.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];
-
getProcessingErrorOrBuilder
public com.google.rpc.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:
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
public MigrationTask.Builder setCreateTime(com.google.protobuf.Timestamp value)
Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
-
setCreateTime
public MigrationTask.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
-
mergeCreateTime
public MigrationTask.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
-
clearCreateTime
public MigrationTask.Builder 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
public MigrationTask.Builder setLastUpdateTime(com.google.protobuf.Timestamp value)
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
public MigrationTask.Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value)
Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
-
clearLastUpdateTime
public MigrationTask.Builder 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
-
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
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:
getOrchestrationResultin interfaceMigrationTaskOrBuilder- Returns:
- The orchestrationResult.
-
setOrchestrationResult
public MigrationTask.Builder setOrchestrationResult(MigrationTaskOrchestrationResult value)
Output only. Additional information about the orchestration.
.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setOrchestrationResult
public MigrationTask.Builder setOrchestrationResult(MigrationTaskOrchestrationResult.Builder builderForValue)
Output only. Additional information about the orchestration.
.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeOrchestrationResult
public MigrationTask.Builder mergeOrchestrationResult(MigrationTaskOrchestrationResult value)
Output only. Additional information about the orchestration.
.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearOrchestrationResult
public MigrationTask.Builder clearOrchestrationResult()
Output only. Additional information about the orchestration.
.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getOrchestrationResultBuilder
public MigrationTaskOrchestrationResult.Builder getOrchestrationResultBuilder()
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];- Specified by:
getOrchestrationResultOrBuilderin interfaceMigrationTaskOrBuilder
-
setUnknownFields
public final MigrationTask.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
mergeUnknownFields
public final MigrationTask.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
-