Class ErrorLocation (0.23.0)

public final class ErrorLocation extends GeneratedMessageV3 implements ErrorLocationOrBuilder

Holds information about where the error is located.

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

Static Fields

COLUMN_FIELD_NUMBER

public static final int COLUMN_FIELD_NUMBER
Field Value
TypeDescription
int

LINE_FIELD_NUMBER

public static final int LINE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ErrorLocation getDefaultInstance()
Returns
TypeDescription
ErrorLocation

getDescriptor()

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

newBuilder()

public static ErrorLocation.Builder newBuilder()
Returns
TypeDescription
ErrorLocation.Builder

newBuilder(ErrorLocation prototype)

public static ErrorLocation.Builder newBuilder(ErrorLocation prototype)
Parameter
NameDescription
prototypeErrorLocation
Returns
TypeDescription
ErrorLocation.Builder

parseDelimitedFrom(InputStream input)

public static ErrorLocation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorLocation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ErrorLocation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ErrorLocation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ErrorLocation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ErrorLocation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ErrorLocation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorLocation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ErrorLocation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ErrorLocation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ErrorLocation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ErrorLocation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ErrorLocation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ErrorLocation> parser()
Returns
TypeDescription
Parser<ErrorLocation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<ErrorLocation> getParserForType()
Returns
TypeDescription
Parser<ErrorLocation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ErrorLocation.Builder newBuilderForType()
Returns
TypeDescription
ErrorLocation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ErrorLocation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ErrorLocation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ErrorLocation.Builder toBuilder()
Returns
TypeDescription
ErrorLocation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException