Package edu.stanford.nlp.pipeline
Class CoreNLPProtos.Operator
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- edu.stanford.nlp.pipeline.CoreNLPProtos.Operator
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CoreNLPProtos.OperatorOrBuilder,Serializable
- Enclosing class:
- CoreNLPProtos
public static final class CoreNLPProtos.Operator extends com.google.protobuf.GeneratedMessageV3 implements CoreNLPProtos.OperatorOrBuilder
A Natural Logic operator
Protobuf typeedu.stanford.nlp.pipeline.Operator- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCoreNLPProtos.Operator.BuilderA Natural Logic operator-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intNAME_FIELD_NUMBERstatic intOBJECTSPANBEGIN_FIELD_NUMBERstatic intOBJECTSPANEND_FIELD_NUMBERstatic com.google.protobuf.Parser<CoreNLPProtos.Operator>PARSERDeprecated.static intQUANTIFIERSPANBEGIN_FIELD_NUMBERstatic intQUANTIFIERSPANEND_FIELD_NUMBERstatic intSUBJECTSPANBEGIN_FIELD_NUMBERstatic intSUBJECTSPANEND_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static CoreNLPProtos.OperatorgetDefaultInstance()CoreNLPProtos.OperatorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetName()required string name = 1;com.google.protobuf.ByteStringgetNameBytes()required string name = 1;intgetObjectSpanBegin()required int32 objectSpanBegin = 6;intgetObjectSpanEnd()required int32 objectSpanEnd = 7;com.google.protobuf.Parser<CoreNLPProtos.Operator>getParserForType()intgetQuantifierSpanBegin()required int32 quantifierSpanBegin = 2;intgetQuantifierSpanEnd()required int32 quantifierSpanEnd = 3;intgetSerializedSize()intgetSubjectSpanBegin()required int32 subjectSpanBegin = 4;intgetSubjectSpanEnd()required int32 subjectSpanEnd = 5;inthashCode()booleanhasName()required string name = 1;booleanhasObjectSpanBegin()required int32 objectSpanBegin = 6;booleanhasObjectSpanEnd()required int32 objectSpanEnd = 7;booleanhasQuantifierSpanBegin()required int32 quantifierSpanBegin = 2;booleanhasQuantifierSpanEnd()required int32 quantifierSpanEnd = 3;booleanhasSubjectSpanBegin()required int32 subjectSpanBegin = 4;booleanhasSubjectSpanEnd()required int32 subjectSpanEnd = 5;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CoreNLPProtos.Operator.BuildernewBuilder()static CoreNLPProtos.Operator.BuildernewBuilder(CoreNLPProtos.Operator prototype)CoreNLPProtos.Operator.BuildernewBuilderForType()protected CoreNLPProtos.Operator.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CoreNLPProtos.OperatorparseDelimitedFrom(InputStream input)static CoreNLPProtos.OperatorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CoreNLPProtos.OperatorparseFrom(byte[] data)static CoreNLPProtos.OperatorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CoreNLPProtos.OperatorparseFrom(com.google.protobuf.ByteString data)static CoreNLPProtos.OperatorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CoreNLPProtos.OperatorparseFrom(com.google.protobuf.CodedInputStream input)static CoreNLPProtos.OperatorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CoreNLPProtos.OperatorparseFrom(InputStream input)static CoreNLPProtos.OperatorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CoreNLPProtos.OperatorparseFrom(ByteBuffer data)static CoreNLPProtos.OperatorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CoreNLPProtos.Operator>parser()CoreNLPProtos.Operator.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUANTIFIERSPANBEGIN_FIELD_NUMBER
public static final int QUANTIFIERSPANBEGIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUANTIFIERSPANEND_FIELD_NUMBER
public static final int QUANTIFIERSPANEND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBJECTSPANBEGIN_FIELD_NUMBER
public static final int SUBJECTSPANBEGIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBJECTSPANEND_FIELD_NUMBER
public static final int SUBJECTSPANEND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBJECTSPANBEGIN_FIELD_NUMBER
public static final int OBJECTSPANBEGIN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OBJECTSPANEND_FIELD_NUMBER
public static final int OBJECTSPANEND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<CoreNLPProtos.Operator> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasName
public boolean hasName()
required string name = 1;- Specified by:
hasNamein interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- Whether the name field is set.
-
getName
public String getName()
required string name = 1;- Specified by:
getNamein interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;- Specified by:
getNameBytesin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- The bytes for name.
-
hasQuantifierSpanBegin
public boolean hasQuantifierSpanBegin()
required int32 quantifierSpanBegin = 2;- Specified by:
hasQuantifierSpanBeginin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- Whether the quantifierSpanBegin field is set.
-
getQuantifierSpanBegin
public int getQuantifierSpanBegin()
required int32 quantifierSpanBegin = 2;- Specified by:
getQuantifierSpanBeginin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- The quantifierSpanBegin.
-
hasQuantifierSpanEnd
public boolean hasQuantifierSpanEnd()
required int32 quantifierSpanEnd = 3;- Specified by:
hasQuantifierSpanEndin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- Whether the quantifierSpanEnd field is set.
-
getQuantifierSpanEnd
public int getQuantifierSpanEnd()
required int32 quantifierSpanEnd = 3;- Specified by:
getQuantifierSpanEndin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- The quantifierSpanEnd.
-
hasSubjectSpanBegin
public boolean hasSubjectSpanBegin()
required int32 subjectSpanBegin = 4;- Specified by:
hasSubjectSpanBeginin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- Whether the subjectSpanBegin field is set.
-
getSubjectSpanBegin
public int getSubjectSpanBegin()
required int32 subjectSpanBegin = 4;- Specified by:
getSubjectSpanBeginin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- The subjectSpanBegin.
-
hasSubjectSpanEnd
public boolean hasSubjectSpanEnd()
required int32 subjectSpanEnd = 5;- Specified by:
hasSubjectSpanEndin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- Whether the subjectSpanEnd field is set.
-
getSubjectSpanEnd
public int getSubjectSpanEnd()
required int32 subjectSpanEnd = 5;- Specified by:
getSubjectSpanEndin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- The subjectSpanEnd.
-
hasObjectSpanBegin
public boolean hasObjectSpanBegin()
required int32 objectSpanBegin = 6;- Specified by:
hasObjectSpanBeginin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- Whether the objectSpanBegin field is set.
-
getObjectSpanBegin
public int getObjectSpanBegin()
required int32 objectSpanBegin = 6;- Specified by:
getObjectSpanBeginin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- The objectSpanBegin.
-
hasObjectSpanEnd
public boolean hasObjectSpanEnd()
required int32 objectSpanEnd = 7;- Specified by:
hasObjectSpanEndin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- Whether the objectSpanEnd field is set.
-
getObjectSpanEnd
public int getObjectSpanEnd()
required int32 objectSpanEnd = 7;- Specified by:
getObjectSpanEndin interfaceCoreNLPProtos.OperatorOrBuilder- Returns:
- The objectSpanEnd.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CoreNLPProtos.Operator parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.Operator parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.Operator parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.Operator parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.Operator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.Operator parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CoreNLPProtos.Operator parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CoreNLPProtos.Operator parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CoreNLPProtos.Operator parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CoreNLPProtos.Operator parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CoreNLPProtos.Operator parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CoreNLPProtos.Operator parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CoreNLPProtos.Operator.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CoreNLPProtos.Operator.Builder newBuilder()
-
newBuilder
public static CoreNLPProtos.Operator.Builder newBuilder(CoreNLPProtos.Operator prototype)
-
toBuilder
public CoreNLPProtos.Operator.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CoreNLPProtos.Operator.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CoreNLPProtos.Operator getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CoreNLPProtos.Operator> parser()
-
getParserForType
public com.google.protobuf.Parser<CoreNLPProtos.Operator> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CoreNLPProtos.Operator getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-