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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ErrorLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ErrorLocation build()
Returns
buildPartial()
public ErrorLocation buildPartial()
Returns
clear()
public ErrorLocation.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public ErrorLocation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ErrorLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ErrorLocation.Builder clone()
Returns
Overrides
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ErrorLocation other)
public ErrorLocation.Builder mergeFrom(ErrorLocation other)
Parameter
Returns
public ErrorLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ErrorLocation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ErrorLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ErrorLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ErrorLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ErrorLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides