Class ErrorLocation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
- com.google.cloud.bigquery.migration.v2alpha.ErrorLocation.Builder
-
- All Implemented Interfaces:
ErrorLocationOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ErrorLocation
public static final class ErrorLocation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder> implements ErrorLocationOrBuilder
Holds information about where the error is located.
Protobuf typegoogle.cloud.bigquery.migration.v2alpha.ErrorLocation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorLocation.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ErrorLocation
build()
ErrorLocation
buildPartial()
ErrorLocation.Builder
clear()
ErrorLocation.Builder
clearColumn()
Optional.ErrorLocation.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ErrorLocation.Builder
clearLine()
Optional.ErrorLocation.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ErrorLocation.Builder
clone()
int
getColumn()
Optional.ErrorLocation
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getLine()
Optional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ErrorLocation.Builder
mergeFrom(ErrorLocation other)
ErrorLocation.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ErrorLocation.Builder
mergeFrom(com.google.protobuf.Message other)
ErrorLocation.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ErrorLocation.Builder
setColumn(int value)
Optional.ErrorLocation.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ErrorLocation.Builder
setLine(int value)
Optional.ErrorLocation.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ErrorLocation.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
clear
public ErrorLocation.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
getDefaultInstanceForType
public ErrorLocation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ErrorLocation build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ErrorLocation buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ErrorLocation.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
setField
public ErrorLocation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
clearField
public ErrorLocation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
clearOneof
public ErrorLocation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
setRepeatedField
public ErrorLocation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
addRepeatedField
public ErrorLocation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
mergeFrom
public ErrorLocation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ErrorLocation.Builder>
-
mergeFrom
public ErrorLocation.Builder mergeFrom(ErrorLocation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
mergeFrom
public ErrorLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ErrorLocation.Builder>
- Throws:
IOException
-
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];
- Specified by:
getLine
in interfaceErrorLocationOrBuilder
- Returns:
- The line.
-
setLine
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];
- Parameters:
value
- The line to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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];
- Specified by:
getColumn
in interfaceErrorLocationOrBuilder
- Returns:
- The column.
-
setColumn
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];
- Parameters:
value
- The column to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setUnknownFields
public final ErrorLocation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
mergeUnknownFields
public final ErrorLocation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ErrorLocation.Builder>
-
-