Class MigrationSubtask (0.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 0.83.0 (latest)
- 0.81.0
- 0.79.0
- 0.78.0
- 0.77.0
- 0.76.0
- 0.75.0
- 0.73.0
- 0.71.0
- 0.70.0
- 0.67.0
- 0.66.0
- 0.65.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
publicfinalclass MigrationSubtaskextendsGeneratedMessageV3implementsMigrationSubtaskOrBuilderA subtask for a migration which carries details about the configuration of the subtask. The content of the details should not matter to the end user, but is a contract between the subtask creator and subtask worker.
Protobuf type google.cloud.bigquery.migration.v2.MigrationSubtask
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > MigrationSubtaskImplements
MigrationSubtaskOrBuilderInherited Members
Static Fields
CREATE_TIME_FIELD_NUMBER
publicstaticfinalintCREATE_TIME_FIELD_NUMBERLAST_UPDATE_TIME_FIELD_NUMBER
publicstaticfinalintLAST_UPDATE_TIME_FIELD_NUMBERMETRICS_FIELD_NUMBER
publicstaticfinalintMETRICS_FIELD_NUMBERNAME_FIELD_NUMBER
publicstaticfinalintNAME_FIELD_NUMBERPROCESSING_ERROR_FIELD_NUMBER
publicstaticfinalintPROCESSING_ERROR_FIELD_NUMBERRESOURCE_ERROR_COUNT_FIELD_NUMBER
publicstaticfinalintRESOURCE_ERROR_COUNT_FIELD_NUMBERRESOURCE_ERROR_DETAILS_FIELD_NUMBER
publicstaticfinalintRESOURCE_ERROR_DETAILS_FIELD_NUMBERSTATE_FIELD_NUMBER
publicstaticfinalintSTATE_FIELD_NUMBERTASK_ID_FIELD_NUMBER
publicstaticfinalintTASK_ID_FIELD_NUMBERTYPE_FIELD_NUMBER
publicstaticfinalintTYPE_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticMigrationSubtaskgetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticMigrationSubtask.BuildernewBuilder()newBuilder(MigrationSubtask prototype)
publicstaticMigrationSubtask.BuildernewBuilder(MigrationSubtaskprototype)parseDelimitedFrom(InputStream input)
publicstaticMigrationSubtaskparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticMigrationSubtaskparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticMigrationSubtaskparseFrom(byte[]data)byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticMigrationSubtaskparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)byte[]parseFrom(ByteString data)
publicstaticMigrationSubtaskparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticMigrationSubtaskparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticMigrationSubtaskparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticMigrationSubtaskparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticMigrationSubtaskparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticMigrationSubtaskparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticMigrationSubtaskparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticMigrationSubtaskparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<MigrationSubtask>parser()Methods
equals(Object obj)
publicbooleanequals(Objectobj)getCreateTime()
publicTimestampgetCreateTime()Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
The createTime.
getCreateTimeOrBuilder()
publicTimestampOrBuildergetCreateTimeOrBuilder()Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
getDefaultInstanceForType()
publicMigrationSubtaskgetDefaultInstanceForType()getLastUpdateTime()
publicTimestampgetLastUpdateTime()Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
The lastUpdateTime.
getLastUpdateTimeOrBuilder()
publicTimestampOrBuildergetLastUpdateTimeOrBuilder()Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
getMetrics(int index)
publicTimeSeriesgetMetrics(intindex)The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
getMetricsCount()
publicintgetMetricsCount()The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
getMetricsList()
publicList<TimeSeries>getMetricsList()The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
getMetricsOrBuilder(int index)
publicTimeSeriesOrBuildergetMetricsOrBuilder(intindex)The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
getMetricsOrBuilderList()
publicList<?extendsTimeSeriesOrBuilder>getMetricsOrBuilderList()The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
getName()
publicStringgetName() Output only. Immutable. The resource name for the migration subtask. The ID
is server-generated.
Example: projects/123/locations/us/workflows/345/subtasks/678
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
The name.
getNameBytes()
publicByteStringgetNameBytes() Output only. Immutable. The resource name for the migration subtask. The ID
is server-generated.
Example: projects/123/locations/us/workflows/345/subtasks/678
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
The bytes for name.
getParserForType()
publicParser<MigrationSubtask>getParserForType()getProcessingError()
publicErrorInfogetProcessingError()Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
The processingError.
getProcessingErrorOrBuilder()
publicErrorInfoOrBuildergetProcessingErrorOrBuilder()Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResourceErrorCount()
publicintgetResourceErrorCount() The number or resources with errors. Note: This is not the total
number of errors as each resource can have more than one error.
This is used to indicate truncation by having a resource_error_count
that is higher than the size of resource_error_details.
int32 resource_error_count = 13;
The resourceErrorCount.
getResourceErrorDetails(int index)
publicResourceErrorDetailgetResourceErrorDetails(intindex)Output only. Provides details to errors and issues encountered while processing the subtask. Presence of error details does not mean that the subtask failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResourceErrorDetailsCount()
publicintgetResourceErrorDetailsCount()Output only. Provides details to errors and issues encountered while processing the subtask. Presence of error details does not mean that the subtask failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResourceErrorDetailsList()
publicList<ResourceErrorDetail>getResourceErrorDetailsList()Output only. Provides details to errors and issues encountered while processing the subtask. Presence of error details does not mean that the subtask failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResourceErrorDetailsOrBuilder(int index)
publicResourceErrorDetailOrBuildergetResourceErrorDetailsOrBuilder(intindex)Output only. Provides details to errors and issues encountered while processing the subtask. Presence of error details does not mean that the subtask failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getResourceErrorDetailsOrBuilderList()
publicList<?extendsResourceErrorDetailOrBuilder>getResourceErrorDetailsOrBuilderList()Output only. Provides details to errors and issues encountered while processing the subtask. Presence of error details does not mean that the subtask failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getSerializedSize()
publicintgetSerializedSize()getState()
publicMigrationSubtask.StategetState()Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
The state.
getStateValue()
publicintgetStateValue()Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
The enum numeric value on the wire for state.
getTaskId()
publicStringgetTaskId()The unique ID of the task to which this subtask belongs.
string task_id = 2;
The taskId.
getTaskIdBytes()
publicByteStringgetTaskIdBytes()The unique ID of the task to which this subtask belongs.
string task_id = 2;
The bytes for taskId.
getType()
publicStringgetType()The type of the Subtask. The migration service does not check whether this is a known type. It is up to the task creator (i.e. orchestrator or worker) to ensure it only creates subtasks for which there are compatible workers polling for Subtasks.
string type = 3;
The type.
getTypeBytes()
publicByteStringgetTypeBytes()The type of the Subtask. The migration service does not check whether this is a known type. It is up to the task creator (i.e. orchestrator or worker) to ensure it only creates subtasks for which there are compatible workers polling for Subtasks.
string type = 3;
The bytes for type.
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()hasCreateTime()
publicbooleanhasCreateTime()Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Whether the createTime field is set.
hasLastUpdateTime()
publicbooleanhasLastUpdateTime()Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Whether the lastUpdateTime field is set.
hasProcessingError()
publicbooleanhasProcessingError()Output only. An explanation that may be populated when the task is in FAILED state.
.google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Whether the processingError field is set.
hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicMigrationSubtask.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedMigrationSubtask.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicMigrationSubtask.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)