public static final class TextAnnotationImpl.TextAnnotationProto.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder> implements TextAnnotationImpl.TextAnnotationProtoOrBuilder
Root TextAnnotation messageProtobuf type
textannotation.TextAnnotationProtogetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>public TextAnnotationImpl.TextAnnotationProto.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.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<TextAnnotationImpl.TextAnnotationProto.Builder>public TextAnnotationImpl.TextAnnotationProto getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TextAnnotationImpl.TextAnnotationProto build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TextAnnotationImpl.TextAnnotationProto buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TextAnnotationImpl.TextAnnotationProto.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>public TextAnnotationImpl.TextAnnotationProto.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>public TextAnnotationImpl.TextAnnotationProto.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>public TextAnnotationImpl.TextAnnotationProto.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>public TextAnnotationImpl.TextAnnotationProto.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>public TextAnnotationImpl.TextAnnotationProto.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>public TextAnnotationImpl.TextAnnotationProto.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>public TextAnnotationImpl.TextAnnotationProto.Builder mergeFrom(TextAnnotationImpl.TextAnnotationProto other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>public TextAnnotationImpl.TextAnnotationProto.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>IOExceptionpublic boolean hasCorpusId()
Corpus Identifier
required string corpusId = 1;hasCorpusId in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic String getCorpusId()
Corpus Identifier
required string corpusId = 1;getCorpusId in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic com.google.protobuf.ByteString getCorpusIdBytes()
Corpus Identifier
required string corpusId = 1;getCorpusIdBytes in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.TextAnnotationProto.Builder setCorpusId(String value)
Corpus Identifier
required string corpusId = 1;public TextAnnotationImpl.TextAnnotationProto.Builder clearCorpusId()
Corpus Identifier
required string corpusId = 1;public TextAnnotationImpl.TextAnnotationProto.Builder setCorpusIdBytes(com.google.protobuf.ByteString value)
Corpus Identifier
required string corpusId = 1;public boolean hasId()
Document Identifier
required string id = 2;hasId in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic String getId()
Document Identifier
required string id = 2;getId in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
Document Identifier
required string id = 2;getIdBytes in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.TextAnnotationProto.Builder setId(String value)
Document Identifier
required string id = 2;public TextAnnotationImpl.TextAnnotationProto.Builder clearId()
Document Identifier
required string id = 2;public TextAnnotationImpl.TextAnnotationProto.Builder setIdBytes(com.google.protobuf.ByteString value)
Document Identifier
required string id = 2;public boolean hasText()
Raw text corresponding to this annotation
required string text = 3;hasText in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic String getText()
Raw text corresponding to this annotation
required string text = 3;getText in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
Raw text corresponding to this annotation
required string text = 3;getTextBytes in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.TextAnnotationProto.Builder setText(String value)
Raw text corresponding to this annotation
required string text = 3;public TextAnnotationImpl.TextAnnotationProto.Builder clearText()
Raw text corresponding to this annotation
required string text = 3;public TextAnnotationImpl.TextAnnotationProto.Builder setTextBytes(com.google.protobuf.ByteString value)
Raw text corresponding to this annotation
required string text = 3;public com.google.protobuf.ProtocolStringList getTokensList()
List of tokens
repeated string tokens = 4;getTokensList in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic int getTokensCount()
List of tokens
repeated string tokens = 4;getTokensCount in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic String getTokens(int index)
List of tokens
repeated string tokens = 4;getTokens in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic com.google.protobuf.ByteString getTokensBytes(int index)
List of tokens
repeated string tokens = 4;getTokensBytes in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.TextAnnotationProto.Builder setTokens(int index, String value)
List of tokens
repeated string tokens = 4;public TextAnnotationImpl.TextAnnotationProto.Builder addTokens(String value)
List of tokens
repeated string tokens = 4;public TextAnnotationImpl.TextAnnotationProto.Builder addAllTokens(Iterable<String> values)
List of tokens
repeated string tokens = 4;public TextAnnotationImpl.TextAnnotationProto.Builder clearTokens()
List of tokens
repeated string tokens = 4;public TextAnnotationImpl.TextAnnotationProto.Builder addTokensBytes(com.google.protobuf.ByteString value)
List of tokens
repeated string tokens = 4;public List<TextAnnotationImpl.TokenOffsetsProto> getTokenOffsetsList()
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;getTokenOffsetsList in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic int getTokenOffsetsCount()
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;getTokenOffsetsCount in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.TokenOffsetsProto getTokenOffsets(int index)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;getTokenOffsets in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.TextAnnotationProto.Builder setTokenOffsets(int index, TextAnnotationImpl.TokenOffsetsProto value)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TextAnnotationProto.Builder setTokenOffsets(int index, TextAnnotationImpl.TokenOffsetsProto.Builder builderForValue)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TextAnnotationProto.Builder addTokenOffsets(TextAnnotationImpl.TokenOffsetsProto value)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TextAnnotationProto.Builder addTokenOffsets(int index, TextAnnotationImpl.TokenOffsetsProto value)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TextAnnotationProto.Builder addTokenOffsets(TextAnnotationImpl.TokenOffsetsProto.Builder builderForValue)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TextAnnotationProto.Builder addTokenOffsets(int index, TextAnnotationImpl.TokenOffsetsProto.Builder builderForValue)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TextAnnotationProto.Builder addAllTokenOffsets(Iterable<? extends TextAnnotationImpl.TokenOffsetsProto> values)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TextAnnotationProto.Builder clearTokenOffsets()
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TextAnnotationProto.Builder removeTokenOffsets(int index)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TokenOffsetsProto.Builder getTokenOffsetsBuilder(int index)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TokenOffsetsProtoOrBuilder getTokenOffsetsOrBuilder(int index)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;getTokenOffsetsOrBuilder in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic List<? extends TextAnnotationImpl.TokenOffsetsProtoOrBuilder> getTokenOffsetsOrBuilderList()
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;getTokenOffsetsOrBuilderList in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.TokenOffsetsProto.Builder addTokenOffsetsBuilder()
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public TextAnnotationImpl.TokenOffsetsProto.Builder addTokenOffsetsBuilder(int index)
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public List<TextAnnotationImpl.TokenOffsetsProto.Builder> getTokenOffsetsBuilderList()
Token Offset information
repeated .textannotation.TokenOffsetsProto tokenOffsets = 5;public boolean hasSentences()
List of Sentences
required .textannotation.SentenceProto sentences = 6;hasSentences in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.SentenceProto getSentences()
List of Sentences
required .textannotation.SentenceProto sentences = 6;getSentences in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.TextAnnotationProto.Builder setSentences(TextAnnotationImpl.SentenceProto value)
List of Sentences
required .textannotation.SentenceProto sentences = 6;public TextAnnotationImpl.TextAnnotationProto.Builder setSentences(TextAnnotationImpl.SentenceProto.Builder builderForValue)
List of Sentences
required .textannotation.SentenceProto sentences = 6;public TextAnnotationImpl.TextAnnotationProto.Builder mergeSentences(TextAnnotationImpl.SentenceProto value)
List of Sentences
required .textannotation.SentenceProto sentences = 6;public TextAnnotationImpl.TextAnnotationProto.Builder clearSentences()
List of Sentences
required .textannotation.SentenceProto sentences = 6;public TextAnnotationImpl.SentenceProto.Builder getSentencesBuilder()
List of Sentences
required .textannotation.SentenceProto sentences = 6;public TextAnnotationImpl.SentenceProtoOrBuilder getSentencesOrBuilder()
List of Sentences
required .textannotation.SentenceProto sentences = 6;getSentencesOrBuilder in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic List<TextAnnotationImpl.ViewProto> getViewsList()
List of Views
repeated .textannotation.ViewProto views = 7;getViewsList in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic int getViewsCount()
List of Views
repeated .textannotation.ViewProto views = 7;getViewsCount in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.ViewProto getViews(int index)
List of Views
repeated .textannotation.ViewProto views = 7;getViews in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.TextAnnotationProto.Builder setViews(int index, TextAnnotationImpl.ViewProto value)
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.TextAnnotationProto.Builder setViews(int index, TextAnnotationImpl.ViewProto.Builder builderForValue)
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.TextAnnotationProto.Builder addViews(TextAnnotationImpl.ViewProto value)
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.TextAnnotationProto.Builder addViews(int index, TextAnnotationImpl.ViewProto value)
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.TextAnnotationProto.Builder addViews(TextAnnotationImpl.ViewProto.Builder builderForValue)
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.TextAnnotationProto.Builder addViews(int index, TextAnnotationImpl.ViewProto.Builder builderForValue)
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.TextAnnotationProto.Builder addAllViews(Iterable<? extends TextAnnotationImpl.ViewProto> values)
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.TextAnnotationProto.Builder clearViews()
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.TextAnnotationProto.Builder removeViews(int index)
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.ViewProto.Builder getViewsBuilder(int index)
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.ViewProtoOrBuilder getViewsOrBuilder(int index)
List of Views
repeated .textannotation.ViewProto views = 7;getViewsOrBuilder in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic List<? extends TextAnnotationImpl.ViewProtoOrBuilder> getViewsOrBuilderList()
List of Views
repeated .textannotation.ViewProto views = 7;getViewsOrBuilderList in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.ViewProto.Builder addViewsBuilder()
List of Views
repeated .textannotation.ViewProto views = 7;public TextAnnotationImpl.ViewProto.Builder addViewsBuilder(int index)
List of Views
repeated .textannotation.ViewProto views = 7;public List<TextAnnotationImpl.ViewProto.Builder> getViewsBuilderList()
List of Views
repeated .textannotation.ViewProto views = 7;public int getPropertiesCount()
TextAnnotationImpl.TextAnnotationProtoOrBuilderAttribute information
map<string, string> properties = 8;getPropertiesCount in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic boolean containsProperties(String key)
Attribute information
map<string, string> properties = 8;containsProperties in interface TextAnnotationImpl.TextAnnotationProtoOrBuilder@Deprecated public Map<String,String> getProperties()
getPropertiesMap() instead.getProperties in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic Map<String,String> getPropertiesMap()
Attribute information
map<string, string> properties = 8;getPropertiesMap in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic String getPropertiesOrDefault(String key, String defaultValue)
Attribute information
map<string, string> properties = 8;getPropertiesOrDefault in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic String getPropertiesOrThrow(String key)
Attribute information
map<string, string> properties = 8;getPropertiesOrThrow in interface TextAnnotationImpl.TextAnnotationProtoOrBuilderpublic TextAnnotationImpl.TextAnnotationProto.Builder clearProperties()
public TextAnnotationImpl.TextAnnotationProto.Builder removeProperties(String key)
Attribute information
map<string, string> properties = 8;@Deprecated public Map<String,String> getMutableProperties()
public TextAnnotationImpl.TextAnnotationProto.Builder putProperties(String key, String value)
Attribute information
map<string, string> properties = 8;public TextAnnotationImpl.TextAnnotationProto.Builder putAllProperties(Map<String,String> values)
Attribute information
map<string, string> properties = 8;public final TextAnnotationImpl.TextAnnotationProto.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>public final TextAnnotationImpl.TextAnnotationProto.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TextAnnotationImpl.TextAnnotationProto.Builder>Copyright © 2017. All rights reserved.