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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ErrorLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ErrorLocation build()
buildPartial()
public ErrorLocation buildPartial()
clear()
public ErrorLocation.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public ErrorLocation.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public ErrorLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ErrorLocation.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ErrorLocation other)
public ErrorLocation.Builder mergeFrom(ErrorLocation other)
public ErrorLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ErrorLocation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ErrorLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ErrorLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ErrorLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ErrorLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides