public static final class BatchReport.TextRange extends com.google.protobuf.GeneratedMessage implements BatchReport.TextRangeOrBuilder
TextRange
Lines start at 1 and line offsets start at 0
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchReport.TextRange.Builder
Protobuf type
TextRange |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
END_LINE_FIELD_NUMBER |
static int |
END_OFFSET_FIELD_NUMBER |
static com.google.protobuf.Parser<BatchReport.TextRange> |
PARSER
Deprecated.
|
static int |
START_LINE_FIELD_NUMBER |
static int |
START_OFFSET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static BatchReport.TextRange |
getDefaultInstance() |
BatchReport.TextRange |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getEndLine()
optional int32 end_line = 2; |
int |
getEndOffset()
optional int32 end_offset = 4; |
com.google.protobuf.Parser<BatchReport.TextRange> |
getParserForType() |
int |
getSerializedSize() |
int |
getStartLine()
optional int32 start_line = 1; |
int |
getStartOffset()
optional int32 start_offset = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEndLine()
optional int32 end_line = 2; |
boolean |
hasEndOffset()
optional int32 end_offset = 4; |
boolean |
hasStartLine()
optional int32 start_line = 1; |
boolean |
hasStartOffset()
optional int32 start_offset = 3; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BatchReport.TextRange.Builder |
newBuilder() |
static BatchReport.TextRange.Builder |
newBuilder(BatchReport.TextRange prototype) |
BatchReport.TextRange.Builder |
newBuilderForType() |
protected BatchReport.TextRange.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static BatchReport.TextRange |
parseDelimitedFrom(InputStream input) |
static BatchReport.TextRange |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchReport.TextRange |
parseFrom(byte[] data) |
static BatchReport.TextRange |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchReport.TextRange |
parseFrom(com.google.protobuf.ByteString data) |
static BatchReport.TextRange |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchReport.TextRange |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BatchReport.TextRange |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BatchReport.TextRange |
parseFrom(InputStream input) |
static BatchReport.TextRange |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BatchReport.TextRange> |
parser() |
BatchReport.TextRange.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField, writeReplace, writeString, writeStringNoTagequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int START_LINE_FIELD_NUMBER
public static final int END_LINE_FIELD_NUMBER
public static final int START_OFFSET_FIELD_NUMBER
public static final int END_OFFSET_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<BatchReport.TextRange> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic boolean hasStartLine()
optional int32 start_line = 1;
Should never be null
hasStartLine in interface BatchReport.TextRangeOrBuilderpublic int getStartLine()
optional int32 start_line = 1;
Should never be null
getStartLine in interface BatchReport.TextRangeOrBuilderpublic boolean hasEndLine()
optional int32 end_line = 2;
End line (inclusive)
hasEndLine in interface BatchReport.TextRangeOrBuilderpublic int getEndLine()
optional int32 end_line = 2;
End line (inclusive)
getEndLine in interface BatchReport.TextRangeOrBuilderpublic boolean hasStartOffset()
optional int32 start_offset = 3;
If null it means range starts at the first offset of start line
hasStartOffset in interface BatchReport.TextRangeOrBuilderpublic int getStartOffset()
optional int32 start_offset = 3;
If null it means range starts at the first offset of start line
getStartOffset in interface BatchReport.TextRangeOrBuilderpublic boolean hasEndOffset()
optional int32 end_offset = 4;
If null it means range ends at the last offset of end line
hasEndOffset in interface BatchReport.TextRangeOrBuilderpublic int getEndOffset()
optional int32 end_offset = 4;
If null it means range ends at the last offset of end line
getEndOffset in interface BatchReport.TextRangeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessagepublic static BatchReport.TextRange parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchReport.TextRange parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchReport.TextRange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchReport.TextRange parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BatchReport.TextRange parseFrom(InputStream input) throws IOException
IOExceptionpublic static BatchReport.TextRange parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchReport.TextRange parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BatchReport.TextRange parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BatchReport.TextRange parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BatchReport.TextRange parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BatchReport.TextRange.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BatchReport.TextRange.Builder newBuilder()
public static BatchReport.TextRange.Builder newBuilder(BatchReport.TextRange prototype)
public BatchReport.TextRange.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BatchReport.TextRange.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessagepublic static BatchReport.TextRange getDefaultInstance()
public static com.google.protobuf.Parser<BatchReport.TextRange> parser()
public com.google.protobuf.Parser<BatchReport.TextRange> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic BatchReport.TextRange getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2009–2016 SonarSource. All rights reserved.