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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ERROR_DETAIL_FIELD_NUMBER
public static final int ERROR_DETAIL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ERROR_TYPE_FIELD_NUMBER
public static final int ERROR_TYPE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SqlTranslationError getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SqlTranslationError.Builder newBuilder()
newBuilder(SqlTranslationError prototype)
public static SqlTranslationError.Builder newBuilder(SqlTranslationError prototype)
public static SqlTranslationError parseDelimitedFrom(InputStream input)
public static SqlTranslationError parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SqlTranslationError parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationError parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SqlTranslationError parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationError parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationError parseFrom(CodedInputStream input)
public static SqlTranslationError parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationError parseFrom(InputStream input)
public static SqlTranslationError parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SqlTranslationError parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlTranslationError parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SqlTranslationError> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public SqlTranslationError getDefaultInstanceForType()
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;
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;
getErrorType()
public SqlTranslationError.SqlTranslationErrorType getErrorType()
The type of SQL translation error.
.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType error_type = 1;
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SqlTranslationError.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SqlTranslationError.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SqlTranslationError.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides