Class SqlTranslationErrorDetail.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SqlTranslationErrorDetail.Builder>
com.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail.Builder
- All Implemented Interfaces:
SqlTranslationErrorDetailOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SqlTranslationErrorDetail
public static final class SqlTranslationErrorDetail.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Specifie the column from the source texts where the error occurred.A human-readable description of the error.clearRow()Specifies the row from the source text where the error occurred.longSpecifie the column from the source texts where the error occurred.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA human-readable description of the error.com.google.protobuf.ByteStringA human-readable description of the error.longgetRow()Specifies the row from the source text where the error occurred.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setColumn(long value) Specifie the column from the source texts where the error occurred.setMessage(String value) A human-readable description of the error.setMessageBytes(com.google.protobuf.ByteString value) A human-readable description of the error.setRow(long value) Specifies the row from the source text where the error occurred.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SqlTranslationErrorDetail.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SqlTranslationErrorDetail.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SqlTranslationErrorDetail.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SqlTranslationErrorDetail.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SqlTranslationErrorDetail.Builder>
-
mergeFrom
public SqlTranslationErrorDetail.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SqlTranslationErrorDetail.Builder>- Throws:
IOException
-
getRow
public long getRow()Specifies the row from the source text where the error occurred.
int64 row = 1;- Specified by:
getRowin interfaceSqlTranslationErrorDetailOrBuilder- Returns:
- The row.
-
setRow
Specifies the row from the source text where the error occurred.
int64 row = 1;- Parameters:
value- The row to set.- Returns:
- This builder for chaining.
-
clearRow
Specifies the row from the source text where the error occurred.
int64 row = 1;- Returns:
- This builder for chaining.
-
getColumn
public long getColumn()Specifie the column from the source texts where the error occurred.
int64 column = 2;- Specified by:
getColumnin interfaceSqlTranslationErrorDetailOrBuilder- Returns:
- The column.
-
setColumn
Specifie the column from the source texts where the error occurred.
int64 column = 2;- Parameters:
value- The column to set.- Returns:
- This builder for chaining.
-
clearColumn
Specifie the column from the source texts where the error occurred.
int64 column = 2;- Returns:
- This builder for chaining.
-
getMessage
A human-readable description of the error.
string message = 3;- Specified by:
getMessagein interfaceSqlTranslationErrorDetailOrBuilder- Returns:
- The message.
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()A human-readable description of the error.
string message = 3;- Specified by:
getMessageBytesin interfaceSqlTranslationErrorDetailOrBuilder- Returns:
- The bytes for message.
-
setMessage
A human-readable description of the error.
string message = 3;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
A human-readable description of the error.
string message = 3;- Returns:
- This builder for chaining.
-
setMessageBytes
A human-readable description of the error.
string message = 3;- Parameters:
value- The bytes for message to set.- Returns:
- This builder for chaining.
-