public static final class SqlTranslationError.Builder extends GeneratedMessage.Builder<SqlTranslationError.Builder> implements SqlTranslationErrorOrBuilderThe detailed error object if the SQL translation job fails.
Protobuf type google.cloud.bigquery.migration.v2alpha.SqlTranslationError
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SqlTranslationError.BuilderImplements
SqlTranslationErrorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SqlTranslationError build()| Returns | |
|---|---|
| Type | Description |
SqlTranslationError |
|
buildPartial()
public SqlTranslationError buildPartial()| Returns | |
|---|---|
| Type | Description |
SqlTranslationError |
|
clear()
public SqlTranslationError.Builder clear()| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
|
clearErrorDetail()
public SqlTranslationError.Builder clearErrorDetail()Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
|
clearErrorType()
public SqlTranslationError.Builder clearErrorType()The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public SqlTranslationError getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SqlTranslationError |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getErrorDetail()
public SqlTranslationErrorDetail getErrorDetail()Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
| Returns | |
|---|---|
| Type | Description |
SqlTranslationErrorDetail |
The errorDetail. |
getErrorDetailBuilder()
public SqlTranslationErrorDetail.Builder getErrorDetailBuilder()Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
| Returns | |
|---|---|
| Type | Description |
SqlTranslationErrorDetail.Builder |
|
getErrorDetailOrBuilder()
public SqlTranslationErrorDetailOrBuilder getErrorDetailOrBuilder()Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
| Returns | |
|---|---|
| Type | Description |
SqlTranslationErrorDetailOrBuilder |
|
getErrorType()
public SqlTranslationError.SqlTranslationErrorType getErrorType()The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.SqlTranslationErrorType |
The errorType. |
getErrorTypeValue()
public int getErrorTypeValue()The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for errorType. |
hasErrorDetail()
public boolean hasErrorDetail()Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the errorDetail field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeErrorDetail(SqlTranslationErrorDetail value)
public SqlTranslationError.Builder mergeErrorDetail(SqlTranslationErrorDetail value)Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SqlTranslationErrorDetail |
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
|
mergeFrom(SqlTranslationError other)
public SqlTranslationError.Builder mergeFrom(SqlTranslationError other)| Parameter | |
|---|---|
| Name | Description |
other |
SqlTranslationError |
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlTranslationError.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SqlTranslationError.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
|
setErrorDetail(SqlTranslationErrorDetail value)
public SqlTranslationError.Builder setErrorDetail(SqlTranslationErrorDetail value)Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SqlTranslationErrorDetail |
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
|
setErrorDetail(SqlTranslationErrorDetail.Builder builderForValue)
public SqlTranslationError.Builder setErrorDetail(SqlTranslationErrorDetail.Builder builderForValue)Specifies the details of the error, including the error message and location from the source text.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail error_detail = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SqlTranslationErrorDetail.Builder |
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
|
setErrorType(SqlTranslationError.SqlTranslationErrorType value)
public SqlTranslationError.Builder setErrorType(SqlTranslationError.SqlTranslationErrorType value)The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
SqlTranslationError.SqlTranslationErrorTypeThe errorType to set. |
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
This builder for chaining. |
setErrorTypeValue(int value)
public SqlTranslationError.Builder setErrorTypeValue(int value)The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for errorType to set. |
| Returns | |
|---|---|
| Type | Description |
SqlTranslationError.Builder |
This builder for chaining. |