Class ErrorLocation.Builder (0.47.0)

public static final class ErrorLocation.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ErrorLocation.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public ErrorLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ErrorLocation.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ErrorLocation.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ErrorLocation.Builder
Overrides

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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ErrorLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ErrorLocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ErrorLocation.Builder
Overrides