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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MigrationTask
build()
MigrationTask
buildPartial()
MigrationTask.Builder
clear()
MigrationTask.Builder
clearAssessmentTaskDetails()
Task configuration for Assessment.MigrationTask.Builder
clearCreateTime()
Time when the task was created.MigrationTask.Builder
clearDetails()
DEPRECATED! Use one of the task_details below.MigrationTask.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MigrationTask.Builder
clearId()
Output only.MigrationTask.Builder
clearLastUpdateTime()
Time when the task was last updated.MigrationTask.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MigrationTask.Builder
clearOrchestrationResult()
Output only.MigrationTask.Builder
clearProcessingError()
Output only.MigrationTask.Builder
clearState()
Output only.MigrationTask.Builder
clearTaskDetails()
MigrationTask.Builder
clearTranslationTaskDetails()
Task configuration for Batch/Offline SQL Translation.MigrationTask.Builder
clearType()
The type of the task.MigrationTask.Builder
clone()
AssessmentTaskDetails
getAssessmentTaskDetails()
Task configuration for Assessment.AssessmentTaskDetails.Builder
getAssessmentTaskDetailsBuilder()
Task configuration for Assessment.AssessmentTaskDetailsOrBuilder
getAssessmentTaskDetailsOrBuilder()
Task configuration for Assessment.com.google.protobuf.Timestamp
getCreateTime()
Time when the task was created.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Time when the task was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Time when the task was created.MigrationTask
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Any
getDetails()
DEPRECATED! Use one of the task_details below.com.google.protobuf.Any.Builder
getDetailsBuilder()
DEPRECATED! Use one of the task_details below.com.google.protobuf.AnyOrBuilder
getDetailsOrBuilder()
DEPRECATED! Use one of the task_details below.String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.com.google.protobuf.Timestamp
getLastUpdateTime()
Time when the task was last updated.com.google.protobuf.Timestamp.Builder
getLastUpdateTimeBuilder()
Time when the task was last updated.com.google.protobuf.TimestampOrBuilder
getLastUpdateTimeOrBuilder()
Time when the task was last updated.MigrationTaskOrchestrationResult
getOrchestrationResult()
Output only.MigrationTaskOrchestrationResult.Builder
getOrchestrationResultBuilder()
Output only.MigrationTaskOrchestrationResultOrBuilder
getOrchestrationResultOrBuilder()
Output only.com.google.rpc.ErrorInfo
getProcessingError()
Output only.com.google.rpc.ErrorInfo.Builder
getProcessingErrorBuilder()
Output only.com.google.rpc.ErrorInfoOrBuilder
getProcessingErrorOrBuilder()
Output only.MigrationTask.State
getState()
Output only.int
getStateValue()
Output only.MigrationTask.TaskDetailsCase
getTaskDetailsCase()
TranslationTaskDetails
getTranslationTaskDetails()
Task configuration for Batch/Offline SQL Translation.TranslationTaskDetails.Builder
getTranslationTaskDetailsBuilder()
Task configuration for Batch/Offline SQL Translation.TranslationTaskDetailsOrBuilder
getTranslationTaskDetailsOrBuilder()
Task configuration for Batch/Offline SQL Translation.String
getType()
The type of the task.com.google.protobuf.ByteString
getTypeBytes()
The type of the task.boolean
hasAssessmentTaskDetails()
Task configuration for Assessment.boolean
hasCreateTime()
Time when the task was created.boolean
hasDetails()
DEPRECATED! Use one of the task_details below.boolean
hasLastUpdateTime()
Time when the task was last updated.boolean
hasOrchestrationResult()
Output only.boolean
hasProcessingError()
Output only.boolean
hasTranslationTaskDetails()
Task configuration for Batch/Offline SQL Translation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MigrationTask.Builder
mergeAssessmentTaskDetails(AssessmentTaskDetails value)
Task configuration for Assessment.MigrationTask.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Time when the task was created.MigrationTask.Builder
mergeDetails(com.google.protobuf.Any value)
DEPRECATED! Use one of the task_details below.MigrationTask.Builder
mergeFrom(MigrationTask other)
MigrationTask.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MigrationTask.Builder
mergeFrom(com.google.protobuf.Message other)
MigrationTask.Builder
mergeLastUpdateTime(com.google.protobuf.Timestamp value)
Time when the task was last updated.MigrationTask.Builder
mergeOrchestrationResult(MigrationTaskOrchestrationResult value)
Output only.MigrationTask.Builder
mergeProcessingError(com.google.rpc.ErrorInfo value)
Output only.MigrationTask.Builder
mergeTranslationTaskDetails(TranslationTaskDetails value)
Task configuration for Batch/Offline SQL Translation.MigrationTask.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MigrationTask.Builder
setAssessmentTaskDetails(AssessmentTaskDetails value)
Task configuration for Assessment.MigrationTask.Builder
setAssessmentTaskDetails(AssessmentTaskDetails.Builder builderForValue)
Task configuration for Assessment.MigrationTask.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Time when the task was created.MigrationTask.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the task was created.MigrationTask.Builder
setDetails(com.google.protobuf.Any value)
DEPRECATED! Use one of the task_details below.MigrationTask.Builder
setDetails(com.google.protobuf.Any.Builder builderForValue)
DEPRECATED! Use one of the task_details below.MigrationTask.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MigrationTask.Builder
setId(String value)
Output only.MigrationTask.Builder
setIdBytes(com.google.protobuf.ByteString value)
Output only.MigrationTask.Builder
setLastUpdateTime(com.google.protobuf.Timestamp value)
Time when the task was last updated.MigrationTask.Builder
setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the task was last updated.MigrationTask.Builder
setOrchestrationResult(MigrationTaskOrchestrationResult value)
Output only.MigrationTask.Builder
setOrchestrationResult(MigrationTaskOrchestrationResult.Builder builderForValue)
Output only.MigrationTask.Builder
setProcessingError(com.google.rpc.ErrorInfo value)
Output only.MigrationTask.Builder
setProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue)
Output only.MigrationTask.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MigrationTask.Builder
setState(MigrationTask.State value)
Output only.MigrationTask.Builder
setStateValue(int value)
Output only.MigrationTask.Builder
setTranslationTaskDetails(TranslationTaskDetails value)
Task configuration for Batch/Offline SQL Translation.MigrationTask.Builder
setTranslationTaskDetails(TranslationTaskDetails.Builder builderForValue)
Task configuration for Batch/Offline SQL Translation.MigrationTask.Builder
setType(String value)
The type of the task.MigrationTask.Builder
setTypeBytes(com.google.protobuf.ByteString value)
The type of the task.MigrationTask.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
clear
public MigrationTask.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
getDefaultInstanceForType
public MigrationTask getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MigrationTask build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MigrationTask buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MigrationTask.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
setField
public MigrationTask.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
clearField
public MigrationTask.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
clearOneof
public MigrationTask.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
setRepeatedField
public MigrationTask.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
addRepeatedField
public MigrationTask.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
mergeFrom
public MigrationTask.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MigrationTask.Builder>
-
mergeFrom
public MigrationTask.Builder mergeFrom(MigrationTask other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MigrationTask.Builder>
- Throws:
IOException
-
getTaskDetailsCase
public MigrationTask.TaskDetailsCase getTaskDetailsCase()
- Specified by:
getTaskDetailsCase
in 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:
hasAssessmentTaskDetails
in 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:
getAssessmentTaskDetails
in 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:
getAssessmentTaskDetailsOrBuilder
in interfaceMigrationTaskOrBuilder
-
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 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:
getTranslationTaskDetails
in 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:
getTranslationTaskDetailsOrBuilder
in 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:
getId
in 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:
getIdBytes
in 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:
getType
in 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:
getTypeBytes
in 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:
hasDetails
in 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:
getDetails
in 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:
getDetailsOrBuilder
in 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:
getStateValue
in 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:
getState
in 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:
hasProcessingError
in 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:
getProcessingError
in 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:
getProcessingErrorOrBuilder
in interfaceMigrationTaskOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Time when the task was created.
.google.protobuf.Timestamp create_time = 6;
- Specified by:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in interfaceMigrationTaskOrBuilder
-
hasLastUpdateTime
public boolean hasLastUpdateTime()
Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;
- Specified by:
hasLastUpdateTime
in 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:
getLastUpdateTime
in 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:
getLastUpdateTimeOrBuilder
in 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:
hasOrchestrationResult
in 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:
getOrchestrationResult
in 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:
getOrchestrationResultOrBuilder
in interfaceMigrationTaskOrBuilder
-
setUnknownFields
public final MigrationTask.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
mergeUnknownFields
public final MigrationTask.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationTask.Builder>
-
-