public static final class CoreNLPProtos.Span extends com.google.protobuf.GeneratedMessageV3 implements CoreNLPProtos.SpanOrBuilder
A Span of textProtobuf type
edu.stanford.nlp.pipeline.Span| Modifier and Type | Class and Description |
|---|---|
static class |
CoreNLPProtos.Span.Builder
A Span of text
|
| Modifier and Type | Field and Description |
|---|---|
static int |
BEGIN_FIELD_NUMBER |
static int |
END_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getBegin()
required uint32 begin = 1; |
static CoreNLPProtos.Span |
getDefaultInstance() |
CoreNLPProtos.Span |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getEnd()
required uint32 end = 2; |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBegin()
required uint32 begin = 1; |
boolean |
hasEnd()
required uint32 end = 2; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CoreNLPProtos.Span.Builder |
newBuilder() |
static CoreNLPProtos.Span.Builder |
newBuilder(CoreNLPProtos.Span prototype) |
CoreNLPProtos.Span.Builder |
newBuilderForType() |
protected CoreNLPProtos.Span.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static CoreNLPProtos.Span |
parseDelimitedFrom(InputStream input) |
static CoreNLPProtos.Span |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Span |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Span |
parseFrom(com.google.protobuf.ByteString data) |
static CoreNLPProtos.Span |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Span |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CoreNLPProtos.Span |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CoreNLPProtos.Span |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
CoreNLPProtos.Span.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int BEGIN_FIELD_NUMBER
public static final int END_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public boolean hasBegin()
required uint32 begin = 1;hasBegin in interface CoreNLPProtos.SpanOrBuilderpublic int getBegin()
required uint32 begin = 1;getBegin in interface CoreNLPProtos.SpanOrBuilderpublic boolean hasEnd()
required uint32 end = 2;hasEnd in interface CoreNLPProtos.SpanOrBuilderpublic int getEnd()
required uint32 end = 2;getEnd in interface CoreNLPProtos.SpanOrBuilderpublic final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
IOExceptionpublic int getSerializedSize()
public boolean equals(Object obj)
public int hashCode()
public static CoreNLPProtos.Span parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Span parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Span parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CoreNLPProtos.Span parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CoreNLPProtos.Span parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static CoreNLPProtos.Span parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static CoreNLPProtos.Span parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static CoreNLPProtos.Span parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic CoreNLPProtos.Span.Builder newBuilderForType()
public static CoreNLPProtos.Span.Builder newBuilder()
public static CoreNLPProtos.Span.Builder newBuilder(CoreNLPProtos.Span prototype)
public CoreNLPProtos.Span.Builder toBuilder()
protected CoreNLPProtos.Span.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static CoreNLPProtos.Span getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public CoreNLPProtos.Span getDefaultInstanceForType()