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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>
public CoreNLPProtos.TokensRegexResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CoreNLPProtos.TokensRegexResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.TokensRegexResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CoreNLPProtos.TokensRegexResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.TokensRegexResponse.Builder>
java.io.IOException
public java.util.List<CoreNLPProtos.TokensRegexResponse.PatternMatch> getMatchList()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;
getMatchList
in interface CoreNLPProtos.TokensRegexResponseOrBuilder
public int getMatchCount()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;
getMatchCount
in interface CoreNLPProtos.TokensRegexResponseOrBuilder
public CoreNLPProtos.TokensRegexResponse.PatternMatch getMatch(int index)
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;
getMatch
in interface CoreNLPProtos.TokensRegexResponseOrBuilder
public 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.TokensRegexResponseOrBuilder
public java.util.List<? extends CoreNLPProtos.TokensRegexResponse.PatternMatchOrBuilder> getMatchOrBuilderList()
repeated .edu.stanford.nlp.pipeline.TokensRegexResponse.PatternMatch match = 1;
getMatchOrBuilderList
in interface CoreNLPProtos.TokensRegexResponseOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.TokensRegexResponse.Builder>