Class ErrorLocation.Builder (0.86.0)

public static final class ErrorLocation.Builder extends GeneratedMessage.Builder<ErrorLocation.Builder> implements ErrorLocationOrBuilder

Holds information about where the error is located.

Protobuf type google.cloud.bigquery.migration.v2alpha.ErrorLocation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ErrorLocation build()
Returns
Type Description
ErrorLocation

buildPartial()

public ErrorLocation buildPartial()
Returns
Type Description
ErrorLocation

clear()

public ErrorLocation.Builder clear()
Returns
Type Description
ErrorLocation.Builder
Overrides

clearColumn()

public ErrorLocation.Builder clearColumn()

Optional. If applicable, denotes the column where the error occurred. A zero value means that there is no columns information.

int32 column = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ErrorLocation.Builder

This builder for chaining.

clearLine()

public ErrorLocation.Builder clearLine()

Optional. If applicable, denotes the line where the error occurred. A zero value means that there is no line information.

int32 line = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ErrorLocation.Builder

This builder for chaining.

getColumn()

public int getColumn()

Optional. If applicable, denotes the column where the error occurred. A zero value means that there is no columns information.

int32 column = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The column.

getDefaultInstanceForType()

public ErrorLocation getDefaultInstanceForType()
Returns
Type Description
ErrorLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLine()

public int getLine()

Optional. If applicable, denotes the line where the error occurred. A zero value means that there is no line information.

int32 line = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The line.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ErrorLocation other)

public ErrorLocation.Builder mergeFrom(ErrorLocation other)
Parameter
Name Description
other ErrorLocation
Returns
Type Description
ErrorLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ErrorLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ErrorLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ErrorLocation.Builder
Overrides

setColumn(int value)

public ErrorLocation.Builder setColumn(int value)

Optional. If applicable, denotes the column where the error occurred. A zero value means that there is no columns information.

int32 column = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The column to set.

Returns
Type Description
ErrorLocation.Builder

This builder for chaining.

setLine(int value)

public ErrorLocation.Builder setLine(int value)

Optional. If applicable, denotes the line where the error occurred. A zero value means that there is no line information.

int32 line = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The line to set.

Returns
Type Description
ErrorLocation.Builder

This builder for chaining.