public final class SqlTranslationError extends GeneratedMessageV3 implements SqlTranslationErrorOrBuilder
The detailed error object if the SQL translation job fails.
Protobuf type google.cloud.bigquery.migration.v2alpha.SqlTranslationError
Static Fields
ERROR_DETAIL_FIELD_NUMBER
public static final int ERROR_DETAIL_FIELD_NUMBER
Field Value
ERROR_TYPE_FIELD_NUMBER
public static final int ERROR_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SqlTranslationError getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SqlTranslationError.Builder newBuilder()
Returns
newBuilder(SqlTranslationError prototype)
public static SqlTranslationError.Builder newBuilder(SqlTranslationError prototype)
Parameter
Returns
public static SqlTranslationError parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SqlTranslationError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SqlTranslationError parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SqlTranslationError parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SqlTranslationError parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SqlTranslationError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SqlTranslationError parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SqlTranslationError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SqlTranslationError parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SqlTranslationError> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public SqlTranslationError getDefaultInstanceForType()
Returns
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
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
getErrorType()
public SqlTranslationError.SqlTranslationErrorType getErrorType()
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
Returns
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.
|
getParserForType()
public Parser<SqlTranslationError> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SqlTranslationError.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SqlTranslationError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SqlTranslationError.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions