Class ErrorLocation.Builder (0.17.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.v2.ErrorLocation

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ErrorLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ErrorLocation.Builder
Overrides

build()

public ErrorLocation build()
Returns
TypeDescription
ErrorLocation

buildPartial()

public ErrorLocation buildPartial()
Returns
TypeDescription
ErrorLocation

clear()

public ErrorLocation.Builder clear()
Returns
TypeDescription
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
TypeDescription
ErrorLocation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ErrorLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ErrorLocation.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ErrorLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ErrorLocation.Builder
Overrides

clone()

public ErrorLocation.Builder clone()
Returns
TypeDescription
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
TypeDescription
int

The column.

getDefaultInstanceForType()

public ErrorLocation getDefaultInstanceForType()
Returns
TypeDescription
ErrorLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
int

The line.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ErrorLocation other)

public ErrorLocation.Builder mergeFrom(ErrorLocation other)
Parameter
NameDescription
otherErrorLocation
Returns
TypeDescription
ErrorLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ErrorLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorLocation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ErrorLocation.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ErrorLocation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ErrorLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueint

The column to set.

Returns
TypeDescription
ErrorLocation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ErrorLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The line to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ErrorLocation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ErrorLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ErrorLocation.Builder
Overrides