Class MigrationSubtask.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MigrationSubtask.Builder>
com.google.cloud.bigquery.migration.v2.MigrationSubtask.Builder
- All Implemented Interfaces:
MigrationSubtaskOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- MigrationSubtask
public static final class MigrationSubtask.Builder
extends com.google.protobuf.GeneratedMessage.Builder<MigrationSubtask.Builder>
implements MigrationSubtaskOrBuilder
A 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-
Method Summary
Modifier and TypeMethodDescriptionaddAllMetrics(Iterable<? extends TimeSeries> values) The metrics for the subtask.addAllResourceErrorDetails(Iterable<? extends ResourceErrorDetail> values) Output only.addMetrics(int index, TimeSeries value) The metrics for the subtask.addMetrics(int index, TimeSeries.Builder builderForValue) The metrics for the subtask.addMetrics(TimeSeries value) The metrics for the subtask.addMetrics(TimeSeries.Builder builderForValue) The metrics for the subtask.The metrics for the subtask.addMetricsBuilder(int index) The metrics for the subtask.addResourceErrorDetails(int index, ResourceErrorDetail value) Output only.addResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue) Output only.Output only.addResourceErrorDetails(ResourceErrorDetail.Builder builderForValue) Output only.Output only.addResourceErrorDetailsBuilder(int index) Output only.build()clear()Time when the subtask was created.Time when the subtask was last updated.The metrics for the subtask.Output only.Output only.The number or resources with errors.Output only.Output only.The unique ID of the task to which this subtask belongs.The type of the Subtask.com.google.protobuf.TimestampTime when the subtask was created.com.google.protobuf.Timestamp.BuilderTime when the subtask was created.com.google.protobuf.TimestampOrBuilderTime when the subtask was created.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampTime when the subtask was last updated.com.google.protobuf.Timestamp.BuilderTime when the subtask was last updated.com.google.protobuf.TimestampOrBuilderTime when the subtask was last updated.getMetrics(int index) The metrics for the subtask.getMetricsBuilder(int index) The metrics for the subtask.The metrics for the subtask.intThe metrics for the subtask.The metrics for the subtask.getMetricsOrBuilder(int index) The metrics for the subtask.List<? extends TimeSeriesOrBuilder>The metrics for the subtask.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.Output only.intThe number or resources with errors.getResourceErrorDetails(int index) Output only.getResourceErrorDetailsBuilder(int index) Output only.Output only.intOutput only.Output only.getResourceErrorDetailsOrBuilder(int index) Output only.List<? extends ResourceErrorDetailOrBuilder>Output only.getState()Output only.intOutput only.The unique ID of the task to which this subtask belongs.com.google.protobuf.ByteStringThe unique ID of the task to which this subtask belongs.getType()The type of the Subtask.com.google.protobuf.ByteStringThe type of the Subtask.booleanTime when the subtask was created.booleanTime when the subtask was last updated.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Time when the subtask was created.mergeFrom(MigrationSubtask other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLastUpdateTime(com.google.protobuf.Timestamp value) Time when the subtask was last updated.mergeProcessingError(ErrorInfo value) Output only.removeMetrics(int index) The metrics for the subtask.removeResourceErrorDetails(int index) Output only.setCreateTime(com.google.protobuf.Timestamp value) Time when the subtask was created.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the subtask was created.setLastUpdateTime(com.google.protobuf.Timestamp value) Time when the subtask was last updated.setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the subtask was last updated.setMetrics(int index, TimeSeries value) The metrics for the subtask.setMetrics(int index, TimeSeries.Builder builderForValue) The metrics for the subtask.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setProcessingError(ErrorInfo value) Output only.setProcessingError(ErrorInfo.Builder builderForValue) Output only.setResourceErrorCount(int value) The number or resources with errors.setResourceErrorDetails(int index, ResourceErrorDetail value) Output only.setResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue) Output only.setState(MigrationSubtask.State value) Output only.setStateValue(int value) Output only.The unique ID of the task to which this subtask belongs.setTaskIdBytes(com.google.protobuf.ByteString value) The unique ID of the task to which this subtask belongs.The type of the Subtask.setTypeBytes(com.google.protobuf.ByteString value) The type of the Subtask.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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.Builder<MigrationSubtask.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MigrationSubtask.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.GeneratedMessage.Builder<MigrationSubtask.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MigrationSubtask.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<MigrationSubtask.Builder>
-
mergeFrom
public MigrationSubtask.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<MigrationSubtask.Builder>- Throws:
IOException
-
getName
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];- Specified by:
getNamein interfaceMigrationSubtaskOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()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];- Specified by:
getNameBytesin interfaceMigrationSubtaskOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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];- Returns:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getTaskId
The unique ID of the task to which this subtask belongs.
string task_id = 2;- Specified by:
getTaskIdin interfaceMigrationSubtaskOrBuilder- Returns:
- The taskId.
-
getTaskIdBytes
public com.google.protobuf.ByteString getTaskIdBytes()The unique ID of the task to which this subtask belongs.
string task_id = 2;- Specified by:
getTaskIdBytesin interfaceMigrationSubtaskOrBuilder- Returns:
- The bytes for taskId.
-
setTaskId
The unique ID of the task to which this subtask belongs.
string task_id = 2;- Parameters:
value- The taskId to set.- Returns:
- This builder for chaining.
-
clearTaskId
The unique ID of the task to which this subtask belongs.
string task_id = 2;- Returns:
- This builder for chaining.
-
setTaskIdBytes
The unique ID of the task to which this subtask belongs.
string task_id = 2;- Parameters:
value- The bytes for taskId to set.- Returns:
- This builder for chaining.
-
getType
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;- Specified by:
getTypein interfaceMigrationSubtaskOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()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;- Specified by:
getTypeBytesin interfaceMigrationSubtaskOrBuilder- Returns:
- The bytes for type.
-
setType
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;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
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;- Returns:
- This builder for chaining.
-
setTypeBytes
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;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceMigrationSubtaskOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.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
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceMigrationSubtaskOrBuilder- Returns:
- The state.
-
setState
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasProcessingErrorin interfaceMigrationSubtaskOrBuilder- 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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProcessingErrorin interfaceMigrationSubtaskOrBuilder- Returns:
- The processingError.
-
setProcessingError
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]; -
setProcessingError
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]; -
mergeProcessingError
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]; -
clearProcessingError
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]; -
getProcessingErrorBuilder
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]; -
getProcessingErrorOrBuilder
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];- Specified by:
getProcessingErrorOrBuilderin interfaceMigrationSubtaskOrBuilder
-
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];- Specified by:
getResourceErrorDetailsListin interfaceMigrationSubtaskOrBuilder
-
getResourceErrorDetailsCount
public int getResourceErrorDetailsCount()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];- Specified by:
getResourceErrorDetailsCountin interfaceMigrationSubtaskOrBuilder
-
getResourceErrorDetails
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];- Specified by:
getResourceErrorDetailsin interfaceMigrationSubtaskOrBuilder
-
setResourceErrorDetails
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]; -
setResourceErrorDetails
public MigrationSubtask.Builder setResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue) 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]; -
addResourceErrorDetails
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]; -
addResourceErrorDetails
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]; -
addResourceErrorDetails
public MigrationSubtask.Builder addResourceErrorDetails(ResourceErrorDetail.Builder builderForValue) 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]; -
addResourceErrorDetails
public MigrationSubtask.Builder addResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue) 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]; -
addAllResourceErrorDetails
public MigrationSubtask.Builder addAllResourceErrorDetails(Iterable<? extends ResourceErrorDetail> values) 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]; -
clearResourceErrorDetails
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]; -
removeResourceErrorDetails
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]; -
getResourceErrorDetailsBuilder
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
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];- Specified by:
getResourceErrorDetailsOrBuilderin interfaceMigrationSubtaskOrBuilder
-
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];- Specified by:
getResourceErrorDetailsOrBuilderListin interfaceMigrationSubtaskOrBuilder
-
addResourceErrorDetailsBuilder
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]; -
addResourceErrorDetailsBuilder
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]; -
getResourceErrorDetailsBuilderList
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]; -
getResourceErrorCount
public int getResourceErrorCount()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;- Specified by:
getResourceErrorCountin interfaceMigrationSubtaskOrBuilder- Returns:
- The resourceErrorCount.
-
setResourceErrorCount
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;- Parameters:
value- The resourceErrorCount to set.- Returns:
- This builder for chaining.
-
clearResourceErrorCount
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;- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;- Specified by:
hasCreateTimein interfaceMigrationSubtaskOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;- Specified by:
getCreateTimein interfaceMigrationSubtaskOrBuilder- Returns:
- The createTime.
-
setCreateTime
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7; -
setCreateTime
public MigrationSubtask.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7; -
mergeCreateTime
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7; -
clearCreateTime
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;- Specified by:
getCreateTimeOrBuilderin interfaceMigrationSubtaskOrBuilder
-
hasLastUpdateTime
public boolean hasLastUpdateTime()Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;- Specified by:
hasLastUpdateTimein interfaceMigrationSubtaskOrBuilder- Returns:
- Whether the lastUpdateTime field is set.
-
getLastUpdateTime
public com.google.protobuf.Timestamp getLastUpdateTime()Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;- Specified by:
getLastUpdateTimein interfaceMigrationSubtaskOrBuilder- Returns:
- The lastUpdateTime.
-
setLastUpdateTime
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8; -
setLastUpdateTime
public MigrationSubtask.Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8; -
mergeLastUpdateTime
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8; -
clearLastUpdateTime
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8; -
getLastUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder()Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8; -
getLastUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;- Specified by:
getLastUpdateTimeOrBuilderin interfaceMigrationSubtaskOrBuilder
-
getMetricsList
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;- Specified by:
getMetricsListin interfaceMigrationSubtaskOrBuilder
-
getMetricsCount
public int getMetricsCount()The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;- Specified by:
getMetricsCountin interfaceMigrationSubtaskOrBuilder
-
getMetrics
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;- Specified by:
getMetricsin interfaceMigrationSubtaskOrBuilder
-
setMetrics
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
setMetrics
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
addMetrics
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
addMetrics
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
addMetrics
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
addMetrics
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
addAllMetrics
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
clearMetrics
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
removeMetrics
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
getMetricsBuilder
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
getMetricsOrBuilder
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;- Specified by:
getMetricsOrBuilderin interfaceMigrationSubtaskOrBuilder
-
getMetricsOrBuilderList
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;- Specified by:
getMetricsOrBuilderListin interfaceMigrationSubtaskOrBuilder
-
addMetricsBuilder
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
addMetricsBuilder
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11; -
getMetricsBuilderList
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
-