public static final class TaskOutput.Builder extends GeneratedMessage.Builder<TaskOutput.Builder> implements TaskOutputOrBuilderThe task output for a task type including the status and any errors.
Protobuf type google.cloud.bigquery.migration.v2.TaskOutput
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TaskOutput.BuilderImplements
TaskOutputOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TaskOutput build()| Returns | |
|---|---|
| Type | Description |
TaskOutput |
|
buildPartial()
public TaskOutput buildPartial()| Returns | |
|---|---|
| Type | Description |
TaskOutput |
|
clear()
public TaskOutput.Builder clear()| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
clearLineageOutput()
public TaskOutput.Builder clearLineageOutput()The output of the task with output type "LINEAGE".
.google.cloud.bigquery.migration.v2.LineageOutput lineage_output = 3;
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
clearOutput()
public TaskOutput.Builder clearOutput()| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
clearProcessingError()
public TaskOutput.Builder clearProcessingError()An explanation that may be populated when the task output is in FAILED state.
.google.rpc.ErrorInfo processing_error = 2;
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
clearState()
public TaskOutput.Builder clearState()Output only. The current state of the task output.
.google.cloud.bigquery.migration.v2.TaskOutput.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public TaskOutput getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TaskOutput |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLineageOutput()
public LineageOutput getLineageOutput()The output of the task with output type "LINEAGE".
.google.cloud.bigquery.migration.v2.LineageOutput lineage_output = 3;
| Returns | |
|---|---|
| Type | Description |
LineageOutput |
The lineageOutput. |
getLineageOutputBuilder()
public LineageOutput.Builder getLineageOutputBuilder()The output of the task with output type "LINEAGE".
.google.cloud.bigquery.migration.v2.LineageOutput lineage_output = 3;
| Returns | |
|---|---|
| Type | Description |
LineageOutput.Builder |
|
getLineageOutputOrBuilder()
public LineageOutputOrBuilder getLineageOutputOrBuilder()The output of the task with output type "LINEAGE".
.google.cloud.bigquery.migration.v2.LineageOutput lineage_output = 3;
| Returns | |
|---|---|
| Type | Description |
LineageOutputOrBuilder |
|
getOutputCase()
public TaskOutput.OutputCase getOutputCase()| Returns | |
|---|---|
| Type | Description |
TaskOutput.OutputCase |
|
getProcessingError()
public ErrorInfo getProcessingError()An explanation that may be populated when the task output is in FAILED state.
.google.rpc.ErrorInfo processing_error = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.ErrorInfo |
The processingError. |
getProcessingErrorBuilder()
public ErrorInfo.Builder getProcessingErrorBuilder()An explanation that may be populated when the task output is in FAILED state.
.google.rpc.ErrorInfo processing_error = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.ErrorInfo.Builder |
|
getProcessingErrorOrBuilder()
public ErrorInfoOrBuilder getProcessingErrorOrBuilder()An explanation that may be populated when the task output is in FAILED state.
.google.rpc.ErrorInfo processing_error = 2;
| Returns | |
|---|---|
| Type | Description |
com.google.rpc.ErrorInfoOrBuilder |
|
getState()
public TaskOutput.State getState()Output only. The current state of the task output.
.google.cloud.bigquery.migration.v2.TaskOutput.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TaskOutput.State |
The state. |
getStateValue()
public int getStateValue()Output only. The current state of the task output.
.google.cloud.bigquery.migration.v2.TaskOutput.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
hasLineageOutput()
public boolean hasLineageOutput()The output of the task with output type "LINEAGE".
.google.cloud.bigquery.migration.v2.LineageOutput lineage_output = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lineageOutput field is set. |
hasProcessingError()
public boolean hasProcessingError()An explanation that may be populated when the task output is in FAILED state.
.google.rpc.ErrorInfo processing_error = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the processingError field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TaskOutput other)
public TaskOutput.Builder mergeFrom(TaskOutput other)| Parameter | |
|---|---|
| Name | Description |
other |
TaskOutput |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TaskOutput.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TaskOutput.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
mergeLineageOutput(LineageOutput value)
public TaskOutput.Builder mergeLineageOutput(LineageOutput value)The output of the task with output type "LINEAGE".
.google.cloud.bigquery.migration.v2.LineageOutput lineage_output = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
LineageOutput |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
mergeProcessingError(ErrorInfo value)
public TaskOutput.Builder mergeProcessingError(ErrorInfo value)An explanation that may be populated when the task output is in FAILED state.
.google.rpc.ErrorInfo processing_error = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.ErrorInfo |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
setLineageOutput(LineageOutput value)
public TaskOutput.Builder setLineageOutput(LineageOutput value)The output of the task with output type "LINEAGE".
.google.cloud.bigquery.migration.v2.LineageOutput lineage_output = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
LineageOutput |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
setLineageOutput(LineageOutput.Builder builderForValue)
public TaskOutput.Builder setLineageOutput(LineageOutput.Builder builderForValue)The output of the task with output type "LINEAGE".
.google.cloud.bigquery.migration.v2.LineageOutput lineage_output = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
LineageOutput.Builder |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
setProcessingError(ErrorInfo value)
public TaskOutput.Builder setProcessingError(ErrorInfo value)An explanation that may be populated when the task output is in FAILED state.
.google.rpc.ErrorInfo processing_error = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.rpc.ErrorInfo |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
setProcessingError(ErrorInfo.Builder builderForValue)
public TaskOutput.Builder setProcessingError(ErrorInfo.Builder builderForValue)An explanation that may be populated when the task output is in FAILED state.
.google.rpc.ErrorInfo processing_error = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
com.google.rpc.ErrorInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
|
setState(TaskOutput.State value)
public TaskOutput.Builder setState(TaskOutput.State value)Output only. The current state of the task output.
.google.cloud.bigquery.migration.v2.TaskOutput.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
TaskOutput.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
This builder for chaining. |
setStateValue(int value)
public TaskOutput.Builder setStateValue(int value)Output only. The current state of the task output.
.google.cloud.bigquery.migration.v2.TaskOutput.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
TaskOutput.Builder |
This builder for chaining. |