Class MigrationSubtask.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<MigrationSubtask.Builder>
-
- com.google.cloud.bigquery.migration.v2alpha.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.GeneratedMessageV3.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 typegoogle.cloud.bigquery.migration.v2alpha.MigrationSubtask
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MigrationSubtask.Builder
addAllMetrics(Iterable<? extends TimeSeries> values)
The metrics for the subtask.MigrationSubtask.Builder
addAllResourceErrorDetails(Iterable<? extends ResourceErrorDetail> values)
Output only.MigrationSubtask.Builder
addMetrics(int index, TimeSeries value)
The metrics for the subtask.MigrationSubtask.Builder
addMetrics(int index, TimeSeries.Builder builderForValue)
The metrics for the subtask.MigrationSubtask.Builder
addMetrics(TimeSeries value)
The metrics for the subtask.MigrationSubtask.Builder
addMetrics(TimeSeries.Builder builderForValue)
The metrics for the subtask.TimeSeries.Builder
addMetricsBuilder()
The metrics for the subtask.TimeSeries.Builder
addMetricsBuilder(int index)
The metrics for the subtask.MigrationSubtask.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MigrationSubtask.Builder
addResourceErrorDetails(int index, ResourceErrorDetail value)
Output only.MigrationSubtask.Builder
addResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue)
Output only.MigrationSubtask.Builder
addResourceErrorDetails(ResourceErrorDetail value)
Output only.MigrationSubtask.Builder
addResourceErrorDetails(ResourceErrorDetail.Builder builderForValue)
Output only.ResourceErrorDetail.Builder
addResourceErrorDetailsBuilder()
Output only.ResourceErrorDetail.Builder
addResourceErrorDetailsBuilder(int index)
Output only.MigrationSubtask
build()
MigrationSubtask
buildPartial()
MigrationSubtask.Builder
clear()
MigrationSubtask.Builder
clearCreateTime()
Time when the subtask was created.MigrationSubtask.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
MigrationSubtask.Builder
clearLastUpdateTime()
Time when the subtask was last updated.MigrationSubtask.Builder
clearMetrics()
The metrics for the subtask.MigrationSubtask.Builder
clearName()
Output only.MigrationSubtask.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
MigrationSubtask.Builder
clearProcessingError()
Output only.MigrationSubtask.Builder
clearResourceErrorCount()
The number or resources with errors.MigrationSubtask.Builder
clearResourceErrorDetails()
Output only.MigrationSubtask.Builder
clearState()
Output only.MigrationSubtask.Builder
clearTaskId()
The unique ID of the task to which this subtask belongs.MigrationSubtask.Builder
clearType()
The type of the Subtask.MigrationSubtask.Builder
clone()
com.google.protobuf.Timestamp
getCreateTime()
Time when the subtask was created.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Time when the subtask was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Time when the subtask was created.MigrationSubtask
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getLastUpdateTime()
Time when the subtask was last updated.com.google.protobuf.Timestamp.Builder
getLastUpdateTimeBuilder()
Time when the subtask was last updated.com.google.protobuf.TimestampOrBuilder
getLastUpdateTimeOrBuilder()
Time when the subtask was last updated.TimeSeries
getMetrics(int index)
The metrics for the subtask.TimeSeries.Builder
getMetricsBuilder(int index)
The metrics for the subtask.List<TimeSeries.Builder>
getMetricsBuilderList()
The metrics for the subtask.int
getMetricsCount()
The metrics for the subtask.List<TimeSeries>
getMetricsList()
The metrics for the subtask.TimeSeriesOrBuilder
getMetricsOrBuilder(int index)
The metrics for the subtask.List<? extends TimeSeriesOrBuilder>
getMetricsOrBuilderList()
The metrics for the subtask.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.com.google.rpc.ErrorInfo
getProcessingError()
Output only.com.google.rpc.ErrorInfo.Builder
getProcessingErrorBuilder()
Output only.com.google.rpc.ErrorInfoOrBuilder
getProcessingErrorOrBuilder()
Output only.int
getResourceErrorCount()
The number or resources with errors.ResourceErrorDetail
getResourceErrorDetails(int index)
Output only.ResourceErrorDetail.Builder
getResourceErrorDetailsBuilder(int index)
Output only.List<ResourceErrorDetail.Builder>
getResourceErrorDetailsBuilderList()
Output only.int
getResourceErrorDetailsCount()
Output only.List<ResourceErrorDetail>
getResourceErrorDetailsList()
Output only.ResourceErrorDetailOrBuilder
getResourceErrorDetailsOrBuilder(int index)
Output only.List<? extends ResourceErrorDetailOrBuilder>
getResourceErrorDetailsOrBuilderList()
Output only.MigrationSubtask.State
getState()
Output only.int
getStateValue()
Output only.String
getTaskId()
The unique ID of the task to which this subtask belongs.com.google.protobuf.ByteString
getTaskIdBytes()
The unique ID of the task to which this subtask belongs.String
getType()
The type of the Subtask.com.google.protobuf.ByteString
getTypeBytes()
The type of the Subtask.boolean
hasCreateTime()
Time when the subtask was created.boolean
hasLastUpdateTime()
Time when the subtask was last updated.boolean
hasProcessingError()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
MigrationSubtask.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Time when the subtask was created.MigrationSubtask.Builder
mergeFrom(MigrationSubtask other)
MigrationSubtask.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MigrationSubtask.Builder
mergeFrom(com.google.protobuf.Message other)
MigrationSubtask.Builder
mergeLastUpdateTime(com.google.protobuf.Timestamp value)
Time when the subtask was last updated.MigrationSubtask.Builder
mergeProcessingError(com.google.rpc.ErrorInfo value)
Output only.MigrationSubtask.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
MigrationSubtask.Builder
removeMetrics(int index)
The metrics for the subtask.MigrationSubtask.Builder
removeResourceErrorDetails(int index)
Output only.MigrationSubtask.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Time when the subtask was created.MigrationSubtask.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the subtask was created.MigrationSubtask.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MigrationSubtask.Builder
setLastUpdateTime(com.google.protobuf.Timestamp value)
Time when the subtask was last updated.MigrationSubtask.Builder
setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the subtask was last updated.MigrationSubtask.Builder
setMetrics(int index, TimeSeries value)
The metrics for the subtask.MigrationSubtask.Builder
setMetrics(int index, TimeSeries.Builder builderForValue)
The metrics for the subtask.MigrationSubtask.Builder
setName(String value)
Output only.MigrationSubtask.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.MigrationSubtask.Builder
setProcessingError(com.google.rpc.ErrorInfo value)
Output only.MigrationSubtask.Builder
setProcessingError(com.google.rpc.ErrorInfo.Builder builderForValue)
Output only.MigrationSubtask.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MigrationSubtask.Builder
setResourceErrorCount(int value)
The number or resources with errors.MigrationSubtask.Builder
setResourceErrorDetails(int index, ResourceErrorDetail value)
Output only.MigrationSubtask.Builder
setResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue)
Output only.MigrationSubtask.Builder
setState(MigrationSubtask.State value)
Output only.MigrationSubtask.Builder
setStateValue(int value)
Output only.MigrationSubtask.Builder
setTaskId(String value)
The unique ID of the task to which this subtask belongs.MigrationSubtask.Builder
setTaskIdBytes(com.google.protobuf.ByteString value)
The unique ID of the task to which this subtask belongs.MigrationSubtask.Builder
setType(String value)
The type of the Subtask.MigrationSubtask.Builder
setTypeBytes(com.google.protobuf.ByteString value)
The type of the Subtask.MigrationSubtask.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<MigrationSubtask.Builder>
-
clear
public MigrationSubtask.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<MigrationSubtask.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<MigrationSubtask.Builder>
-
getDefaultInstanceForType
public MigrationSubtask getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public MigrationSubtask build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public MigrationSubtask buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public MigrationSubtask.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<MigrationSubtask.Builder>
-
setField
public MigrationSubtask.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<MigrationSubtask.Builder>
-
clearField
public MigrationSubtask.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<MigrationSubtask.Builder>
-
clearOneof
public MigrationSubtask.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<MigrationSubtask.Builder>
-
setRepeatedField
public MigrationSubtask.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<MigrationSubtask.Builder>
-
addRepeatedField
public MigrationSubtask.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<MigrationSubtask.Builder>
-
mergeFrom
public MigrationSubtask.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<MigrationSubtask.Builder>
-
mergeFrom
public MigrationSubtask.Builder mergeFrom(MigrationSubtask other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationSubtask.Builder>
-
mergeFrom
public MigrationSubtask.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<MigrationSubtask.Builder>
- Throws:
IOException
-
getName
public String 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:
getName
in 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:
getNameBytes
in interfaceMigrationSubtaskOrBuilder
- Returns:
- The bytes for name.
-
setName
public MigrationSubtask.Builder setName(String value)
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
public MigrationSubtask.Builder 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
public MigrationSubtask.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public String getTaskId()
The unique ID of the task to which this subtask belongs.
string task_id = 2;
- Specified by:
getTaskId
in 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:
getTaskIdBytes
in interfaceMigrationSubtaskOrBuilder
- Returns:
- The bytes for taskId.
-
setTaskId
public MigrationSubtask.Builder setTaskId(String value)
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
public MigrationSubtask.Builder clearTaskId()
The unique ID of the task to which this subtask belongs.
string task_id = 2;
- Returns:
- This builder for chaining.
-
setTaskIdBytes
public MigrationSubtask.Builder setTaskIdBytes(com.google.protobuf.ByteString value)
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
public String 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:
getType
in 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:
getTypeBytes
in interfaceMigrationSubtaskOrBuilder
- Returns:
- The bytes for type.
-
setType
public MigrationSubtask.Builder setType(String value)
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
public MigrationSubtask.Builder 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
public MigrationSubtask.Builder setTypeBytes(com.google.protobuf.ByteString value)
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.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceMigrationSubtaskOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public MigrationSubtask.Builder setStateValue(int value)
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2alpha.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
public MigrationSubtask.State getState()
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceMigrationSubtaskOrBuilder
- Returns:
- The state.
-
setState
public MigrationSubtask.Builder setState(MigrationSubtask.State value)
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public MigrationSubtask.Builder clearState()
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2alpha.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:
hasProcessingError
in interfaceMigrationSubtaskOrBuilder
- 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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getProcessingError
in interfaceMigrationSubtaskOrBuilder
- Returns:
- The processingError.
-
setProcessingError
public MigrationSubtask.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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setProcessingError
public MigrationSubtask.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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeProcessingError
public MigrationSubtask.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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearProcessingError
public MigrationSubtask.Builder 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
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 = 6 [(.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 = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getProcessingErrorOrBuilder
in interfaceMigrationSubtaskOrBuilder
-
getResourceErrorDetailsList
public List<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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getResourceErrorDetailsList
in 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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getResourceErrorDetailsCount
in interfaceMigrationSubtaskOrBuilder
-
getResourceErrorDetails
public ResourceErrorDetail getResourceErrorDetails(int index)
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getResourceErrorDetails
in interfaceMigrationSubtaskOrBuilder
-
setResourceErrorDetails
public MigrationSubtask.Builder setResourceErrorDetails(int index, ResourceErrorDetail value)
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.v2alpha.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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addResourceErrorDetails
public MigrationSubtask.Builder addResourceErrorDetails(ResourceErrorDetail value)
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addResourceErrorDetails
public MigrationSubtask.Builder addResourceErrorDetails(int index, ResourceErrorDetail value)
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.v2alpha.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.v2alpha.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.v2alpha.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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearResourceErrorDetails
public MigrationSubtask.Builder 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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeResourceErrorDetails
public MigrationSubtask.Builder removeResourceErrorDetails(int index)
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getResourceErrorDetailsBuilder
public ResourceErrorDetail.Builder getResourceErrorDetailsBuilder(int index)
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getResourceErrorDetailsOrBuilder
public ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder(int index)
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getResourceErrorDetailsOrBuilder
in interfaceMigrationSubtaskOrBuilder
-
getResourceErrorDetailsOrBuilderList
public List<? extends ResourceErrorDetailOrBuilder> 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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getResourceErrorDetailsOrBuilderList
in interfaceMigrationSubtaskOrBuilder
-
addResourceErrorDetailsBuilder
public ResourceErrorDetail.Builder 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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addResourceErrorDetailsBuilder
public ResourceErrorDetail.Builder addResourceErrorDetailsBuilder(int index)
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getResourceErrorDetailsBuilderList
public List<ResourceErrorDetail.Builder> 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.v2alpha.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:
getResourceErrorCount
in interfaceMigrationSubtaskOrBuilder
- Returns:
- The resourceErrorCount.
-
setResourceErrorCount
public MigrationSubtask.Builder setResourceErrorCount(int value)
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
public MigrationSubtask.Builder 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:
hasCreateTime
in 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:
getCreateTime
in interfaceMigrationSubtaskOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public MigrationSubtask.Builder setCreateTime(com.google.protobuf.Timestamp value)
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
public MigrationSubtask.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
-
clearCreateTime
public MigrationSubtask.Builder 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:
getCreateTimeOrBuilder
in interfaceMigrationSubtaskOrBuilder
-
hasLastUpdateTime
public boolean hasLastUpdateTime()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
- Specified by:
hasLastUpdateTime
in 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:
getLastUpdateTime
in interfaceMigrationSubtaskOrBuilder
- Returns:
- The lastUpdateTime.
-
setLastUpdateTime
public MigrationSubtask.Builder setLastUpdateTime(com.google.protobuf.Timestamp value)
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
public MigrationSubtask.Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value)
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
-
clearLastUpdateTime
public MigrationSubtask.Builder 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:
getLastUpdateTimeOrBuilder
in interfaceMigrationSubtaskOrBuilder
-
getMetricsList
public List<TimeSeries> getMetricsList()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
- Specified by:
getMetricsList
in interfaceMigrationSubtaskOrBuilder
-
getMetricsCount
public int getMetricsCount()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
- Specified by:
getMetricsCount
in interfaceMigrationSubtaskOrBuilder
-
getMetrics
public TimeSeries getMetrics(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
- Specified by:
getMetrics
in interfaceMigrationSubtaskOrBuilder
-
setMetrics
public MigrationSubtask.Builder setMetrics(int index, TimeSeries value)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
setMetrics
public MigrationSubtask.Builder setMetrics(int index, TimeSeries.Builder builderForValue)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
addMetrics
public MigrationSubtask.Builder addMetrics(TimeSeries value)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
addMetrics
public MigrationSubtask.Builder addMetrics(int index, TimeSeries value)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
addMetrics
public MigrationSubtask.Builder addMetrics(TimeSeries.Builder builderForValue)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
addMetrics
public MigrationSubtask.Builder addMetrics(int index, TimeSeries.Builder builderForValue)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
addAllMetrics
public MigrationSubtask.Builder addAllMetrics(Iterable<? extends TimeSeries> values)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
clearMetrics
public MigrationSubtask.Builder clearMetrics()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
removeMetrics
public MigrationSubtask.Builder removeMetrics(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
getMetricsBuilder
public TimeSeries.Builder getMetricsBuilder(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
getMetricsOrBuilder
public TimeSeriesOrBuilder getMetricsOrBuilder(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
- Specified by:
getMetricsOrBuilder
in interfaceMigrationSubtaskOrBuilder
-
getMetricsOrBuilderList
public List<? extends TimeSeriesOrBuilder> getMetricsOrBuilderList()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
- Specified by:
getMetricsOrBuilderList
in interfaceMigrationSubtaskOrBuilder
-
addMetricsBuilder
public TimeSeries.Builder addMetricsBuilder()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
addMetricsBuilder
public TimeSeries.Builder addMetricsBuilder(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
getMetricsBuilderList
public List<TimeSeries.Builder> getMetricsBuilderList()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
-
setUnknownFields
public final MigrationSubtask.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationSubtask.Builder>
-
mergeUnknownFields
public final MigrationSubtask.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<MigrationSubtask.Builder>
-
-