public static final class CoreNLPProtos.TokensRegexResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder> implements CoreNLPProtos.TokensRegexResponseOrBuilder
The result will be a nested structure: repeated PatternMatch, one for each pattern each PatternMatch has a repeated Match, which tells you which sentence matched and whereProtobuf type
edu.stanford.nlp.pipeline.TokensRegexResponse| Modifier and Type | Method and Description |
|---|---|
CoreNLPProtos.TokensRegexResponse.Builder |
addAllMatch(java.lang.Iterable<? extends CoreNLPProtos.TokensRegexResponse.PatternMatch> values)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.Builder |
addMatch(CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.Builder |
addMatch(CoreNLPProtos.TokensRegexResponse.PatternMatch value)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.Builder |
addMatch(int index,
CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.Builder |
addMatch(int index,
CoreNLPProtos.TokensRegexResponse.PatternMatch value)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder |
addMatchBuilder()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder |
addMatchBuilder(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.TokensRegexResponse |
build() |
CoreNLPProtos.TokensRegexResponse |
buildPartial() |
CoreNLPProtos.TokensRegexResponse.Builder |
clear() |
CoreNLPProtos.TokensRegexResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.TokensRegexResponse.Builder |
clearMatch()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.TokensRegexResponse.Builder |
clone() |
CoreNLPProtos.TokensRegexResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CoreNLPProtos.TokensRegexResponse.PatternMatch |
getMatch(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder |
getMatchBuilder(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
java.util.List<CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder> |
getMatchBuilderList()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
int |
getMatchCount()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
java.util.List<CoreNLPProtos.TokensRegexResponse.PatternMatch> |
getMatchList()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.PatternMatchOrBuilder |
getMatchOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
java.util.List<? extends CoreNLPProtos.TokensRegexResponse.PatternMatchOrBuilder> |
getMatchOrBuilderList()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.TokensRegexResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.TokensRegexResponse.Builder |
mergeFrom(CoreNLPProtos.TokensRegexResponse other) |
CoreNLPProtos.TokensRegexResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.TokensRegexResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.TokensRegexResponse.Builder |
removeMatch(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.TokensRegexResponse.Builder |
setMatch(int index,
CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.Builder |
setMatch(int index,
CoreNLPProtos.TokensRegexResponse.PatternMatch value)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1; |
CoreNLPProtos.TokensRegexResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CoreNLPProtos.TokensRegexResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public CoreNLPProtos.TokensRegexResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public CoreNLPProtos.TokensRegexResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CoreNLPProtos.TokensRegexResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CoreNLPProtos.TokensRegexResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CoreNLPProtos.TokensRegexResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public CoreNLPProtos.TokensRegexResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public CoreNLPProtos.TokensRegexResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public CoreNLPProtos.TokensRegexResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public CoreNLPProtos.TokensRegexResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public CoreNLPProtos.TokensRegexResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public CoreNLPProtos.TokensRegexResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public CoreNLPProtos.TokensRegexResponse.Builder mergeFrom(CoreNLPProtos.TokensRegexResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public CoreNLPProtos.TokensRegexResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.TokensRegexResponse.Builder>java.io.IOExceptionpublic java.util.List<CoreNLPProtos.TokensRegexResponse.PatternMatch> getMatchList()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;getMatchList in interface CoreNLPProtos.TokensRegexResponseOrBuilderpublic int getMatchCount()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;getMatchCount in interface CoreNLPProtos.TokensRegexResponseOrBuilderpublic CoreNLPProtos.TokensRegexResponse.PatternMatch getMatch(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;getMatch in interface CoreNLPProtos.TokensRegexResponseOrBuilderpublic CoreNLPProtos.TokensRegexResponse.Builder setMatch(int index, CoreNLPProtos.TokensRegexResponse.PatternMatch value)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.Builder setMatch(int index, CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.Builder addMatch(CoreNLPProtos.TokensRegexResponse.PatternMatch value)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.Builder addMatch(int index, CoreNLPProtos.TokensRegexResponse.PatternMatch value)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.Builder addMatch(CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.Builder addMatch(int index, CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder builderForValue)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.Builder addAllMatch(java.lang.Iterable<? extends CoreNLPProtos.TokensRegexResponse.PatternMatch> values)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.Builder clearMatch()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.Builder removeMatch(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder getMatchBuilder(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.PatternMatchOrBuilder getMatchOrBuilder(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;getMatchOrBuilder in interface CoreNLPProtos.TokensRegexResponseOrBuilderpublic java.util.List<? extends CoreNLPProtos.TokensRegexResponse.PatternMatchOrBuilder> getMatchOrBuilderList()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;getMatchOrBuilderList in interface CoreNLPProtos.TokensRegexResponseOrBuilderpublic CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder addMatchBuilder()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder addMatchBuilder(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public java.util.List<CoreNLPProtos.TokensRegexResponse.PatternMatch.Builder> getMatchBuilderList()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;public final CoreNLPProtos.TokensRegexResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>public final CoreNLPProtos.TokensRegexResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>