- 0.58.0 (latest)
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
public interface MigrationSubtaskOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCreateTime()
public abstract Timestamp getCreateTime()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
Timestamp | The createTime. |
getCreateTimeOrBuilder()
public abstract TimestampOrBuilder getCreateTimeOrBuilder()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getLastUpdateTime()
public abstract Timestamp getLastUpdateTime()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Returns | |
---|---|
Type | Description |
Timestamp | The lastUpdateTime. |
getLastUpdateTimeOrBuilder()
public abstract TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMetrics(int index)
public abstract TimeSeries getMetrics(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
TimeSeries |
getMetricsCount()
public abstract int getMetricsCount()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
Returns | |
---|---|
Type | Description |
int |
getMetricsList()
public abstract List<TimeSeries> getMetricsList()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
Returns | |
---|---|
Type | Description |
List<TimeSeries> |
getMetricsOrBuilder(int index)
public abstract TimeSeriesOrBuilder getMetricsOrBuilder(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
TimeSeriesOrBuilder |
getMetricsOrBuilderList()
public abstract List<? extends TimeSeriesOrBuilder> getMetricsOrBuilderList()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder> |
getName()
public abstract 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];
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public abstract 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];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getProcessingError()
public abstract 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];
Returns | |
---|---|
Type | Description |
com.google.rpc.ErrorInfo | The processingError. |
getProcessingErrorOrBuilder()
public abstract 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];
Returns | |
---|---|
Type | Description |
com.google.rpc.ErrorInfoOrBuilder |
getResourceErrorCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int | The resourceErrorCount. |
getResourceErrorDetails(int index)
public abstract 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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ResourceErrorDetail |
getResourceErrorDetailsCount()
public abstract 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];
Returns | |
---|---|
Type | Description |
int |
getResourceErrorDetailsList()
public abstract 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];
Returns | |
---|---|
Type | Description |
List<ResourceErrorDetail> |
getResourceErrorDetailsOrBuilder(int index)
public abstract 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];
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
ResourceErrorDetailOrBuilder |
getResourceErrorDetailsOrBuilderList()
public abstract 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];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder> |
getState()
public abstract 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];
Returns | |
---|---|
Type | Description |
MigrationSubtask.State | The state. |
getStateValue()
public abstract 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];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for state. |
getTaskId()
public abstract String getTaskId()
The unique ID of the task to which this subtask belongs.
string task_id = 2;
Returns | |
---|---|
Type | Description |
String | The taskId. |
getTaskIdBytes()
public abstract ByteString getTaskIdBytes()
The unique ID of the task to which this subtask belongs.
string task_id = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for taskId. |
getType()
public abstract 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;
Returns | |
---|---|
Type | Description |
String | The type. |
getTypeBytes()
public abstract 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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for type. |
hasCreateTime()
public abstract boolean hasCreateTime()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;
Returns | |
---|---|
Type | Description |
boolean | Whether the createTime field is set. |
hasLastUpdateTime()
public abstract boolean hasLastUpdateTime()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;
Returns | |
---|---|
Type | Description |
boolean | Whether the lastUpdateTime field is set. |
hasProcessingError()
public abstract 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];
Returns | |
---|---|
Type | Description |
boolean | Whether the processingError field is set. |