public static final class CoreNLPProtos.Timex.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Timex.Builder> implements CoreNLPProtos.TimexOrBuilder
A Timex object, representing a temporal expression (TIMe EXpression) These fields are not *really* optional. CoreNLP will crash without them.Protobuf type
edu.stanford.nlp.pipeline.Timex| Modifier and Type | Method and Description |
|---|---|
CoreNLPProtos.Timex.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.Timex |
build() |
CoreNLPProtos.Timex |
buildPartial() |
CoreNLPProtos.Timex.Builder |
clear() |
CoreNLPProtos.Timex.Builder |
clearAltValue()
optional string altValue = 2; |
CoreNLPProtos.Timex.Builder |
clearBeginPoint()
optional uint32 beginPoint = 6; |
CoreNLPProtos.Timex.Builder |
clearEndPoint()
optional uint32 endPoint = 7; |
CoreNLPProtos.Timex.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CoreNLPProtos.Timex.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CoreNLPProtos.Timex.Builder |
clearText()
optional string text = 3; |
CoreNLPProtos.Timex.Builder |
clearTid()
optional string tid = 5; |
CoreNLPProtos.Timex.Builder |
clearType()
optional string type = 4; |
CoreNLPProtos.Timex.Builder |
clearValue()
optional string value = 1; |
CoreNLPProtos.Timex.Builder |
clone() |
java.lang.String |
getAltValue()
optional string altValue = 2; |
com.google.protobuf.ByteString |
getAltValueBytes()
optional string altValue = 2; |
int |
getBeginPoint()
optional uint32 beginPoint = 6; |
CoreNLPProtos.Timex |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getEndPoint()
optional uint32 endPoint = 7; |
java.lang.String |
getText()
optional string text = 3; |
com.google.protobuf.ByteString |
getTextBytes()
optional string text = 3; |
java.lang.String |
getTid()
optional string tid = 5; |
com.google.protobuf.ByteString |
getTidBytes()
optional string tid = 5; |
java.lang.String |
getType()
optional string type = 4; |
com.google.protobuf.ByteString |
getTypeBytes()
optional string type = 4; |
java.lang.String |
getValue()
optional string value = 1; |
com.google.protobuf.ByteString |
getValueBytes()
optional string value = 1; |
boolean |
hasAltValue()
optional string altValue = 2; |
boolean |
hasBeginPoint()
optional uint32 beginPoint = 6; |
boolean |
hasEndPoint()
optional uint32 endPoint = 7; |
boolean |
hasText()
optional string text = 3; |
boolean |
hasTid()
optional string tid = 5; |
boolean |
hasType()
optional string type = 4; |
boolean |
hasValue()
optional string value = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CoreNLPProtos.Timex.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CoreNLPProtos.Timex.Builder |
mergeFrom(CoreNLPProtos.Timex other) |
CoreNLPProtos.Timex.Builder |
mergeFrom(com.google.protobuf.Message other) |
CoreNLPProtos.Timex.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.Timex.Builder |
setAltValue(java.lang.String value)
optional string altValue = 2; |
CoreNLPProtos.Timex.Builder |
setAltValueBytes(com.google.protobuf.ByteString value)
optional string altValue = 2; |
CoreNLPProtos.Timex.Builder |
setBeginPoint(int value)
optional uint32 beginPoint = 6; |
CoreNLPProtos.Timex.Builder |
setEndPoint(int value)
optional uint32 endPoint = 7; |
CoreNLPProtos.Timex.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
CoreNLPProtos.Timex.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
CoreNLPProtos.Timex.Builder |
setText(java.lang.String value)
optional string text = 3; |
CoreNLPProtos.Timex.Builder |
setTextBytes(com.google.protobuf.ByteString value)
optional string text = 3; |
CoreNLPProtos.Timex.Builder |
setTid(java.lang.String value)
optional string tid = 5; |
CoreNLPProtos.Timex.Builder |
setTidBytes(com.google.protobuf.ByteString value)
optional string tid = 5; |
CoreNLPProtos.Timex.Builder |
setType(java.lang.String value)
optional string type = 4; |
CoreNLPProtos.Timex.Builder |
setTypeBytes(com.google.protobuf.ByteString value)
optional string type = 4; |
CoreNLPProtos.Timex.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CoreNLPProtos.Timex.Builder |
setValue(java.lang.String value)
optional string value = 1; |
CoreNLPProtos.Timex.Builder |
setValueBytes(com.google.protobuf.ByteString value)
optional string value = 1; |
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.Timex.Builder>public CoreNLPProtos.Timex.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.Timex.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.Timex.Builder>public CoreNLPProtos.Timex getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CoreNLPProtos.Timex build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CoreNLPProtos.Timex buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CoreNLPProtos.Timex.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.Timex.Builder>public CoreNLPProtos.Timex.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.Timex.Builder>public CoreNLPProtos.Timex.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Timex.Builder>public CoreNLPProtos.Timex.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Timex.Builder>public CoreNLPProtos.Timex.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.Timex.Builder>public CoreNLPProtos.Timex.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.Timex.Builder>public CoreNLPProtos.Timex.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CoreNLPProtos.Timex.Builder>public CoreNLPProtos.Timex.Builder mergeFrom(CoreNLPProtos.Timex other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Timex.Builder>public CoreNLPProtos.Timex.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.Timex.Builder>java.io.IOExceptionpublic boolean hasValue()
optional string value = 1;hasValue in interface CoreNLPProtos.TimexOrBuilderpublic java.lang.String getValue()
optional string value = 1;getValue in interface CoreNLPProtos.TimexOrBuilderpublic com.google.protobuf.ByteString getValueBytes()
optional string value = 1;getValueBytes in interface CoreNLPProtos.TimexOrBuilderpublic CoreNLPProtos.Timex.Builder setValue(java.lang.String value)
optional string value = 1;value - The value to set.public CoreNLPProtos.Timex.Builder clearValue()
optional string value = 1;public CoreNLPProtos.Timex.Builder setValueBytes(com.google.protobuf.ByteString value)
optional string value = 1;value - The bytes for value to set.public boolean hasAltValue()
optional string altValue = 2;hasAltValue in interface CoreNLPProtos.TimexOrBuilderpublic java.lang.String getAltValue()
optional string altValue = 2;getAltValue in interface CoreNLPProtos.TimexOrBuilderpublic com.google.protobuf.ByteString getAltValueBytes()
optional string altValue = 2;getAltValueBytes in interface CoreNLPProtos.TimexOrBuilderpublic CoreNLPProtos.Timex.Builder setAltValue(java.lang.String value)
optional string altValue = 2;value - The altValue to set.public CoreNLPProtos.Timex.Builder clearAltValue()
optional string altValue = 2;public CoreNLPProtos.Timex.Builder setAltValueBytes(com.google.protobuf.ByteString value)
optional string altValue = 2;value - The bytes for altValue to set.public boolean hasText()
optional string text = 3;hasText in interface CoreNLPProtos.TimexOrBuilderpublic java.lang.String getText()
optional string text = 3;getText in interface CoreNLPProtos.TimexOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
optional string text = 3;getTextBytes in interface CoreNLPProtos.TimexOrBuilderpublic CoreNLPProtos.Timex.Builder setText(java.lang.String value)
optional string text = 3;value - The text to set.public CoreNLPProtos.Timex.Builder clearText()
optional string text = 3;public CoreNLPProtos.Timex.Builder setTextBytes(com.google.protobuf.ByteString value)
optional string text = 3;value - The bytes for text to set.public boolean hasType()
optional string type = 4;hasType in interface CoreNLPProtos.TimexOrBuilderpublic java.lang.String getType()
optional string type = 4;getType in interface CoreNLPProtos.TimexOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
optional string type = 4;getTypeBytes in interface CoreNLPProtos.TimexOrBuilderpublic CoreNLPProtos.Timex.Builder setType(java.lang.String value)
optional string type = 4;value - The type to set.public CoreNLPProtos.Timex.Builder clearType()
optional string type = 4;public CoreNLPProtos.Timex.Builder setTypeBytes(com.google.protobuf.ByteString value)
optional string type = 4;value - The bytes for type to set.public boolean hasTid()
optional string tid = 5;hasTid in interface CoreNLPProtos.TimexOrBuilderpublic java.lang.String getTid()
optional string tid = 5;getTid in interface CoreNLPProtos.TimexOrBuilderpublic com.google.protobuf.ByteString getTidBytes()
optional string tid = 5;getTidBytes in interface CoreNLPProtos.TimexOrBuilderpublic CoreNLPProtos.Timex.Builder setTid(java.lang.String value)
optional string tid = 5;value - The tid to set.public CoreNLPProtos.Timex.Builder clearTid()
optional string tid = 5;public CoreNLPProtos.Timex.Builder setTidBytes(com.google.protobuf.ByteString value)
optional string tid = 5;value - The bytes for tid to set.public boolean hasBeginPoint()
optional uint32 beginPoint = 6;hasBeginPoint in interface CoreNLPProtos.TimexOrBuilderpublic int getBeginPoint()
optional uint32 beginPoint = 6;getBeginPoint in interface CoreNLPProtos.TimexOrBuilderpublic CoreNLPProtos.Timex.Builder setBeginPoint(int value)
optional uint32 beginPoint = 6;value - The beginPoint to set.public CoreNLPProtos.Timex.Builder clearBeginPoint()
optional uint32 beginPoint = 6;public boolean hasEndPoint()
optional uint32 endPoint = 7;hasEndPoint in interface CoreNLPProtos.TimexOrBuilderpublic int getEndPoint()
optional uint32 endPoint = 7;getEndPoint in interface CoreNLPProtos.TimexOrBuilderpublic CoreNLPProtos.Timex.Builder setEndPoint(int value)
optional uint32 endPoint = 7;value - The endPoint to set.public CoreNLPProtos.Timex.Builder clearEndPoint()
optional uint32 endPoint = 7;public final CoreNLPProtos.Timex.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Timex.Builder>public final CoreNLPProtos.Timex.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CoreNLPProtos.Timex.Builder>