- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.54.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SqlTranslationErrorDetail.BuilderImplements
SqlTranslationErrorDetailOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SqlTranslationErrorDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
build()
public SqlTranslationErrorDetail build()
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail |
buildPartial()
public SqlTranslationErrorDetail buildPartial()
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail |
clear()
public SqlTranslationErrorDetail.Builder clear()
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
clearColumn()
public SqlTranslationErrorDetail.Builder clearColumn()
Specifie the column from the source texts where the error occurred.
int64 column = 2;
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public SqlTranslationErrorDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
clearMessage()
public SqlTranslationErrorDetail.Builder clearMessage()
A human-readable description of the error.
string message = 3;
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public SqlTranslationErrorDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
clearRow()
public SqlTranslationErrorDetail.Builder clearRow()
Specifies the row from the source text where the error occurred.
int64 row = 1;
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
This builder for chaining. |
clone()
public SqlTranslationErrorDetail.Builder clone()
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
getColumn()
public long 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 | |
---|---|
Type | Description |
SqlTranslationErrorDetail |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
public long 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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(SqlTranslationErrorDetail other)
public SqlTranslationErrorDetail.Builder mergeFrom(SqlTranslationErrorDetail other)
Parameter | |
---|---|
Name | Description |
other |
SqlTranslationErrorDetail |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SqlTranslationErrorDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SqlTranslationErrorDetail.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SqlTranslationErrorDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
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. |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public SqlTranslationErrorDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
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. |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SqlTranslationErrorDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
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. |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SqlTranslationErrorDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SqlTranslationErrorDetail.Builder |