Send feedback
Class SqlTranslationErrorDetail.Builder (0.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.33.0 keyboard_arrow_down
public static final class SqlTranslationErrorDetail . Builder extends GeneratedMessageV3 . Builder<SqlTranslationErrorDetail . Builder > 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SqlTranslationErrorDetail . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public SqlTranslationErrorDetail build ()
buildPartial()
public SqlTranslationErrorDetail buildPartial ()
clear()
public SqlTranslationErrorDetail . Builder clear ()
Overrides
clearColumn()
public SqlTranslationErrorDetail . Builder clearColumn ()
Specifie the column from the source texts where the error occurred.
int64 column = 2;
clearField(Descriptors.FieldDescriptor field)
public SqlTranslationErrorDetail . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearMessage()
public SqlTranslationErrorDetail . Builder clearMessage ()
A human-readable description of the error.
string message = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public SqlTranslationErrorDetail . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRow()
public SqlTranslationErrorDetail . Builder clearRow ()
Specifies the row from the source text where the error occurred.
int64 row = 1;
clone()
public SqlTranslationErrorDetail . Builder clone ()
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 ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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 Type Description ByteString
The bytes for message.
getRow()
Specifies the row from the source text where the error occurred.
int64 row = 1;
Returns Type Description long
The row.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SqlTranslationErrorDetail other)
public SqlTranslationErrorDetail . Builder mergeFrom ( SqlTranslationErrorDetail other )
public SqlTranslationErrorDetail . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SqlTranslationErrorDetail . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SqlTranslationErrorDetail . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setColumn(long value)
public SqlTranslationErrorDetail . Builder setColumn ( long value )
Specifie the column from the source texts where the error occurred.
int64 column = 2;
Parameter Name Description value
long
The column to set.
setField(Descriptors.FieldDescriptor field, Object value)
public SqlTranslationErrorDetail . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setMessage(String value)
public SqlTranslationErrorDetail . Builder setMessage ( String value )
A human-readable description of the error.
string message = 3;
Parameter Name Description value
String
The message to set.
setMessageBytes(ByteString value)
public SqlTranslationErrorDetail . Builder setMessageBytes ( ByteString value )
A human-readable description of the error.
string message = 3;
Parameter Name Description value
ByteString
The bytes for message to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SqlTranslationErrorDetail . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setRow(long value)
public SqlTranslationErrorDetail . Builder setRow ( long value )
Specifies the row from the source text where the error occurred.
int64 row = 1;
Parameter Name Description value
long
The row to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final SqlTranslationErrorDetail . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]