- 0.54.0 (latest)
- 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
public static final class MigrationSubtask.Builder extends 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 type google.cloud.bigquery.migration.v2.MigrationSubtask
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MigrationSubtask.BuilderImplements
MigrationSubtaskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllMetrics(Iterable<? extends TimeSeries> values)
public MigrationSubtask.Builder addAllMetrics(Iterable<? extends TimeSeries> values)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.migration.v2.TimeSeries> |
Type | Description |
MigrationSubtask.Builder |
addAllResourceErrorDetails(Iterable<? extends ResourceErrorDetail> values)
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];
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.migration.v2.ResourceErrorDetail> |
Type | Description |
MigrationSubtask.Builder |
addMetrics(TimeSeries value)
public MigrationSubtask.Builder addMetrics(TimeSeries value)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
value | TimeSeries |
Type | Description |
MigrationSubtask.Builder |
addMetrics(TimeSeries.Builder builderForValue)
public MigrationSubtask.Builder addMetrics(TimeSeries.Builder builderForValue)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
builderForValue | TimeSeries.Builder |
Type | Description |
MigrationSubtask.Builder |
addMetrics(int index, TimeSeries value)
public MigrationSubtask.Builder addMetrics(int index, TimeSeries value)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
index | int |
value | TimeSeries |
Type | Description |
MigrationSubtask.Builder |
addMetrics(int index, TimeSeries.Builder builderForValue)
public MigrationSubtask.Builder addMetrics(int index, TimeSeries.Builder builderForValue)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
index | int |
builderForValue | TimeSeries.Builder |
Type | Description |
MigrationSubtask.Builder |
addMetricsBuilder()
public TimeSeries.Builder addMetricsBuilder()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Type | Description |
TimeSeries.Builder |
addMetricsBuilder(int index)
public TimeSeries.Builder addMetricsBuilder(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
index | int |
Type | Description |
TimeSeries.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MigrationSubtask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MigrationSubtask.Builder |
addResourceErrorDetails(ResourceErrorDetail value)
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ResourceErrorDetail |
Type | Description |
MigrationSubtask.Builder |
addResourceErrorDetails(ResourceErrorDetail.Builder builderForValue)
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];
Name | Description |
builderForValue | ResourceErrorDetail.Builder |
Type | Description |
MigrationSubtask.Builder |
addResourceErrorDetails(int index, ResourceErrorDetail value)
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | ResourceErrorDetail |
Type | Description |
MigrationSubtask.Builder |
addResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | ResourceErrorDetail.Builder |
Type | Description |
MigrationSubtask.Builder |
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ResourceErrorDetail.Builder |
addResourceErrorDetailsBuilder(int index)
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceErrorDetail.Builder |
build()
public MigrationSubtask build()
Type | Description |
MigrationSubtask |
buildPartial()
public MigrationSubtask buildPartial()
Type | Description |
MigrationSubtask |
clear()
public MigrationSubtask.Builder clear()
Type | Description |
MigrationSubtask.Builder |
clearCreateTime()
public MigrationSubtask.Builder clearCreateTime()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
MigrationSubtask.Builder |
clearField(Descriptors.FieldDescriptor field)
public MigrationSubtask.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MigrationSubtask.Builder |
clearLastUpdateTime()
public MigrationSubtask.Builder clearLastUpdateTime()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Type | Description |
MigrationSubtask.Builder |
clearMetrics()
public MigrationSubtask.Builder clearMetrics()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Type | Description |
MigrationSubtask.Builder |
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];
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MigrationSubtask.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MigrationSubtask.Builder |
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];
Type | Description |
MigrationSubtask.Builder |
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;
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationSubtask.Builder |
clearState()
public MigrationSubtask.Builder clearState()
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
clearTaskId()
public MigrationSubtask.Builder clearTaskId()
The unique ID of the task to which this subtask belongs.
string task_id = 2;
Type | Description |
MigrationSubtask.Builder | 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;
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
clone()
public MigrationSubtask.Builder clone()
Type | Description |
MigrationSubtask.Builder |
getCreateTime()
public Timestamp getCreateTime()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public MigrationSubtask getDefaultInstanceForType()
Type | Description |
MigrationSubtask |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLastUpdateTime()
public Timestamp getLastUpdateTime()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Type | Description |
Timestamp | The lastUpdateTime. |
getLastUpdateTimeBuilder()
public Timestamp.Builder getLastUpdateTimeBuilder()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Type | Description |
Builder |
getLastUpdateTimeOrBuilder()
public TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Type | Description |
TimestampOrBuilder |
getMetrics(int index)
public TimeSeries getMetrics(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
index | int |
Type | Description |
TimeSeries |
getMetricsBuilder(int index)
public TimeSeries.Builder getMetricsBuilder(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
index | int |
Type | Description |
TimeSeries.Builder |
getMetricsBuilderList()
public List<TimeSeries.Builder> getMetricsBuilderList()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Type | Description |
List<Builder> |
getMetricsCount()
public int getMetricsCount()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Type | Description |
int |
getMetricsList()
public List<TimeSeries> getMetricsList()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Type | Description |
List<TimeSeries> |
getMetricsOrBuilder(int index)
public TimeSeriesOrBuilder getMetricsOrBuilder(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
index | int |
Type | Description |
TimeSeriesOrBuilder |
getMetricsOrBuilderList()
public List<? extends TimeSeriesOrBuilder> getMetricsOrBuilderList()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Type | Description |
List<? extends com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder> |
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];
Type | Description |
String | The name. |
getNameBytes()
public 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];
Type | Description |
ByteString | The bytes for name. |
getProcessingError()
public 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];
Type | Description |
com.google.rpc.ErrorInfo | The processingError. |
getProcessingErrorBuilder()
public 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];
Type | Description |
com.google.rpc.ErrorInfo.Builder |
getProcessingErrorOrBuilder()
public 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];
Type | Description |
com.google.rpc.ErrorInfoOrBuilder |
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;
Type | Description |
int | The resourceErrorCount. |
getResourceErrorDetails(int index)
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceErrorDetail |
getResourceErrorDetailsBuilder(int index)
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceErrorDetail.Builder |
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<Builder> |
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];
Type | Description |
int |
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<ResourceErrorDetail> |
getResourceErrorDetailsOrBuilder(int index)
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
ResourceErrorDetailOrBuilder |
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<? extends com.google.cloud.bigquery.migration.v2.ResourceErrorDetailOrBuilder> |
getState()
public MigrationSubtask.State getState()
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
MigrationSubtask.State | The state. |
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];
Type | Description |
int | The enum numeric value on the wire for state. |
getTaskId()
public String getTaskId()
The unique ID of the task to which this subtask belongs.
string task_id = 2;
Type | Description |
String | The taskId. |
getTaskIdBytes()
public ByteString getTaskIdBytes()
The unique ID of the task to which this subtask belongs.
string task_id = 2;
Type | Description |
ByteString | The bytes for taskId. |
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;
Type | Description |
String | The type. |
getTypeBytes()
public 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;
Type | Description |
ByteString | The bytes for type. |
hasCreateTime()
public boolean hasCreateTime()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Type | Description |
boolean | Whether the createTime field is set. |
hasLastUpdateTime()
public boolean hasLastUpdateTime()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Type | Description |
boolean | Whether the lastUpdateTime field is set. |
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];
Type | Description |
boolean | Whether the processingError field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public MigrationSubtask.Builder mergeCreateTime(Timestamp value)
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
MigrationSubtask.Builder |
mergeFrom(MigrationSubtask other)
public MigrationSubtask.Builder mergeFrom(MigrationSubtask other)
Name | Description |
other | MigrationSubtask |
Type | Description |
MigrationSubtask.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MigrationSubtask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MigrationSubtask.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MigrationSubtask.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MigrationSubtask.Builder |
mergeLastUpdateTime(Timestamp value)
public MigrationSubtask.Builder mergeLastUpdateTime(Timestamp value)
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Name | Description |
value | Timestamp |
Type | Description |
MigrationSubtask.Builder |
mergeProcessingError(ErrorInfo value)
public MigrationSubtask.Builder mergeProcessingError(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];
Name | Description |
value | com.google.rpc.ErrorInfo |
Type | Description |
MigrationSubtask.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MigrationSubtask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MigrationSubtask.Builder |
removeMetrics(int index)
public MigrationSubtask.Builder removeMetrics(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
index | int |
Type | Description |
MigrationSubtask.Builder |
removeResourceErrorDetails(int index)
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
Type | Description |
MigrationSubtask.Builder |
setCreateTime(Timestamp value)
public MigrationSubtask.Builder setCreateTime(Timestamp value)
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
value | Timestamp |
Type | Description |
MigrationSubtask.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public MigrationSubtask.Builder setCreateTime(Timestamp.Builder builderForValue)
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Name | Description |
builderForValue | Builder |
Type | Description |
MigrationSubtask.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MigrationSubtask.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MigrationSubtask.Builder |
setLastUpdateTime(Timestamp value)
public MigrationSubtask.Builder setLastUpdateTime(Timestamp value)
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Name | Description |
value | Timestamp |
Type | Description |
MigrationSubtask.Builder |
setLastUpdateTime(Timestamp.Builder builderForValue)
public MigrationSubtask.Builder setLastUpdateTime(Timestamp.Builder builderForValue)
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Name | Description |
builderForValue | Builder |
Type | Description |
MigrationSubtask.Builder |
setMetrics(int index, TimeSeries value)
public MigrationSubtask.Builder setMetrics(int index, TimeSeries value)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
index | int |
value | TimeSeries |
Type | Description |
MigrationSubtask.Builder |
setMetrics(int index, TimeSeries.Builder builderForValue)
public MigrationSubtask.Builder setMetrics(int index, TimeSeries.Builder builderForValue)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
Name | Description |
index | int |
builderForValue | TimeSeries.Builder |
Type | Description |
MigrationSubtask.Builder |
setName(String value)
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];
Name | Description |
value | String The name to set. |
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public MigrationSubtask.Builder setNameBytes(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];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
setProcessingError(ErrorInfo value)
public MigrationSubtask.Builder setProcessingError(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];
Name | Description |
value | com.google.rpc.ErrorInfo |
Type | Description |
MigrationSubtask.Builder |
setProcessingError(ErrorInfo.Builder builderForValue)
public MigrationSubtask.Builder setProcessingError(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];
Name | Description |
builderForValue | com.google.rpc.ErrorInfo.Builder |
Type | Description |
MigrationSubtask.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MigrationSubtask.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MigrationSubtask.Builder |
setResourceErrorCount(int value)
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;
Name | Description |
value | int The resourceErrorCount to set. |
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
setResourceErrorDetails(int index, ResourceErrorDetail value)
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.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int |
value | ResourceErrorDetail |
Type | Description |
MigrationSubtask.Builder |
setResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue)
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];
Name | Description |
index | int |
builderForValue | ResourceErrorDetail.Builder |
Type | Description |
MigrationSubtask.Builder |
setState(MigrationSubtask.State value)
public MigrationSubtask.Builder setState(MigrationSubtask.State value)
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | MigrationSubtask.State The state to set. |
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
setStateValue(int value)
public MigrationSubtask.Builder setStateValue(int value)
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
setTaskId(String value)
public MigrationSubtask.Builder setTaskId(String value)
The unique ID of the task to which this subtask belongs.
string task_id = 2;
Name | Description |
value | String The taskId to set. |
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
setTaskIdBytes(ByteString value)
public MigrationSubtask.Builder setTaskIdBytes(ByteString value)
The unique ID of the task to which this subtask belongs.
string task_id = 2;
Name | Description |
value | ByteString The bytes for taskId to set. |
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
setType(String value)
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;
Name | Description |
value | String The type to set. |
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
setTypeBytes(ByteString value)
public MigrationSubtask.Builder setTypeBytes(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;
Name | Description |
value | ByteString The bytes for type to set. |
Type | Description |
MigrationSubtask.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final MigrationSubtask.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MigrationSubtask.Builder |