public final class SqlTranslationErrorDetail extends GeneratedMessageV3 implements SqlTranslationErrorDetailOrBuilder
Structured error object capturing the error message and the location in the
source text where the error occurs.
Protobuf type google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail
Static Fields
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER
Field Value
MESSAGE_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
Field Value
ROW_FIELD_NUMBER
public static final int ROW_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SqlTranslationErrorDetail getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SqlTranslationErrorDetail.Builder newBuilder()
Returns
newBuilder(SqlTranslationErrorDetail prototype)
public static SqlTranslationErrorDetail.Builder newBuilder(SqlTranslationErrorDetail prototype)
Parameter
Returns
public static SqlTranslationErrorDetail parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SqlTranslationErrorDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SqlTranslationErrorDetail parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationErrorDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SqlTranslationErrorDetail parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationErrorDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SqlTranslationErrorDetail parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SqlTranslationErrorDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SqlTranslationErrorDetail parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SqlTranslationErrorDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SqlTranslationErrorDetail parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationErrorDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SqlTranslationErrorDetail> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getColumn()
Specifie the column from the source texts where the error occurred.
int64 column = 2;
Returns
Type | Description |
long | The column.
|
getDefaultInstanceForType()
public SqlTranslationErrorDetail getDefaultInstanceForType()
Returns
getMessage()
public String getMessage()
A human-readable description of the error.
string message = 3;
Returns
Type | Description |
String | The message.
|
getMessageBytes()
public ByteString getMessageBytes()
A human-readable description of the error.
string message = 3;
Returns
getParserForType()
public Parser<SqlTranslationErrorDetail> getParserForType()
Returns
Overrides
getRow()
Specifies the row from the source text where the error occurred.
int64 row = 1;
Returns
Type | Description |
long | The row.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SqlTranslationErrorDetail.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SqlTranslationErrorDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SqlTranslationErrorDetail.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions