Package edu.stanford.nlp.pipeline
Interface CoreNLPProtos.SemgrexResponse.MatchOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CoreNLPProtos.SemgrexResponse.Match,CoreNLPProtos.SemgrexResponse.Match.Builder
- Enclosing class:
- CoreNLPProtos.SemgrexResponse
public static interface CoreNLPProtos.SemgrexResponse.MatchOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CoreNLPProtos.SemgrexResponse.NamedEdgegetEdge(int index)repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;intgetEdgeCount()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;List<CoreNLPProtos.SemgrexResponse.NamedEdge>getEdgeList()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;CoreNLPProtos.SemgrexResponse.NamedEdgeOrBuildergetEdgeOrBuilder(int index)repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;List<? extends CoreNLPProtos.SemgrexResponse.NamedEdgeOrBuilder>getEdgeOrBuilderList()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;intgetMatchCopy()optional uint32 matchCopy = 8;intgetMatchEmptyIndex()optional uint32 matchEmptyIndex = 9;intgetMatchIndex()the node the match starts at.CoreNLPProtos.SemgrexResponse.NamedNodegetNode(int index)repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;intgetNodeCount()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;List<CoreNLPProtos.SemgrexResponse.NamedNode>getNodeList()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;CoreNLPProtos.SemgrexResponse.NamedNodeOrBuildergetNodeOrBuilder(int index)repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;List<? extends CoreNLPProtos.SemgrexResponse.NamedNodeOrBuilder>getNodeOrBuilderList()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;CoreNLPProtos.SemgrexResponse.NamedRelationgetReln(int index)repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;intgetRelnCount()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;List<CoreNLPProtos.SemgrexResponse.NamedRelation>getRelnList()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;CoreNLPProtos.SemgrexResponse.NamedRelationOrBuildergetRelnOrBuilder(int index)repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;List<? extends CoreNLPProtos.SemgrexResponse.NamedRelationOrBuilder>getRelnOrBuilderList()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;intgetSemgrexIndex()index of the semgrex expression this match applies to indexed from 0intgetSentenceIndex()which sentence this match applies to indexed from 0CoreNLPProtos.SemgrexResponse.VariableStringgetVarstring(int index)repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;intgetVarstringCount()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;List<CoreNLPProtos.SemgrexResponse.VariableString>getVarstringList()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;CoreNLPProtos.SemgrexResponse.VariableStringOrBuildergetVarstringOrBuilder(int index)repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;List<? extends CoreNLPProtos.SemgrexResponse.VariableStringOrBuilder>getVarstringOrBuilderList()repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;booleanhasMatchCopy()optional uint32 matchCopy = 8;booleanhasMatchEmptyIndex()optional uint32 matchEmptyIndex = 9;booleanhasMatchIndex()the node the match starts at.booleanhasSemgrexIndex()index of the semgrex expression this match applies to indexed from 0booleanhasSentenceIndex()which sentence this match applies to indexed from 0-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMatchIndex
boolean hasMatchIndex()
the node the match starts at. This can be a copy or empty node when the pattern starts in the enhanced graph
required int32 matchIndex = 1;- Returns:
- Whether the matchIndex field is set.
-
getMatchIndex
int getMatchIndex()
the node the match starts at. This can be a copy or empty node when the pattern starts in the enhanced graph
required int32 matchIndex = 1;- Returns:
- The matchIndex.
-
hasMatchCopy
boolean hasMatchCopy()
optional uint32 matchCopy = 8;- Returns:
- Whether the matchCopy field is set.
-
getMatchCopy
int getMatchCopy()
optional uint32 matchCopy = 8;- Returns:
- The matchCopy.
-
hasMatchEmptyIndex
boolean hasMatchEmptyIndex()
optional uint32 matchEmptyIndex = 9;- Returns:
- Whether the matchEmptyIndex field is set.
-
getMatchEmptyIndex
int getMatchEmptyIndex()
optional uint32 matchEmptyIndex = 9;- Returns:
- The matchEmptyIndex.
-
getNodeList
List<CoreNLPProtos.SemgrexResponse.NamedNode> getNodeList()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;
-
getNode
CoreNLPProtos.SemgrexResponse.NamedNode getNode(int index)
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;
-
getNodeCount
int getNodeCount()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;
-
getNodeOrBuilderList
List<? extends CoreNLPProtos.SemgrexResponse.NamedNodeOrBuilder> getNodeOrBuilderList()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;
-
getNodeOrBuilder
CoreNLPProtos.SemgrexResponse.NamedNodeOrBuilder getNodeOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedNode node = 2;
-
getRelnList
List<CoreNLPProtos.SemgrexResponse.NamedRelation> getRelnList()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;
-
getReln
CoreNLPProtos.SemgrexResponse.NamedRelation getReln(int index)
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;
-
getRelnCount
int getRelnCount()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;
-
getRelnOrBuilderList
List<? extends CoreNLPProtos.SemgrexResponse.NamedRelationOrBuilder> getRelnOrBuilderList()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;
-
getRelnOrBuilder
CoreNLPProtos.SemgrexResponse.NamedRelationOrBuilder getRelnOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedRelation reln = 3;
-
getEdgeList
List<CoreNLPProtos.SemgrexResponse.NamedEdge> getEdgeList()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;
-
getEdge
CoreNLPProtos.SemgrexResponse.NamedEdge getEdge(int index)
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;
-
getEdgeCount
int getEdgeCount()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;
-
getEdgeOrBuilderList
List<? extends CoreNLPProtos.SemgrexResponse.NamedEdgeOrBuilder> getEdgeOrBuilderList()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;
-
getEdgeOrBuilder
CoreNLPProtos.SemgrexResponse.NamedEdgeOrBuilder getEdgeOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.NamedEdge edge = 6;
-
getVarstringList
List<CoreNLPProtos.SemgrexResponse.VariableString> getVarstringList()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;
-
getVarstring
CoreNLPProtos.SemgrexResponse.VariableString getVarstring(int index)
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;
-
getVarstringCount
int getVarstringCount()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;
-
getVarstringOrBuilderList
List<? extends CoreNLPProtos.SemgrexResponse.VariableStringOrBuilder> getVarstringOrBuilderList()
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;
-
getVarstringOrBuilder
CoreNLPProtos.SemgrexResponse.VariableStringOrBuilder getVarstringOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.SemgrexResponse.VariableString varstring = 7;
-
hasSentenceIndex
boolean hasSentenceIndex()
which sentence this match applies to indexed from 0
optional int32 sentenceIndex = 4;- Returns:
- Whether the sentenceIndex field is set.
-
getSentenceIndex
int getSentenceIndex()
which sentence this match applies to indexed from 0
optional int32 sentenceIndex = 4;- Returns:
- The sentenceIndex.
-
hasSemgrexIndex
boolean hasSemgrexIndex()
index of the semgrex expression this match applies to indexed from 0
optional int32 semgrexIndex = 5;- Returns:
- Whether the semgrexIndex field is set.
-
getSemgrexIndex
int getSemgrexIndex()
index of the semgrex expression this match applies to indexed from 0
optional int32 semgrexIndex = 5;- Returns:
- The semgrexIndex.
-
-