Uses of Class
com.google.cloud.language.v1.TextSpan.Builder
-
Uses of TextSpan.Builder in com.google.cloud.language.v1
Methods in com.google.cloud.language.v1 that return TextSpan.BuilderModifier and TypeMethodDescriptionTextSpan.Builder.clear()TextSpan.Builder.clearBeginOffset()The API calculates the beginning offset of the content in the original document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request.TextSpan.Builder.clearContent()The content of the output text.EntityMention.Builder.getTextBuilder()The mention text.Sentence.Builder.getTextBuilder()The sentence text.Token.Builder.getTextBuilder()The token text.TextSpan.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) TextSpan.Builder.mergeFrom(com.google.protobuf.Message other) static TextSpan.BuilderTextSpan.newBuilder()static TextSpan.BuilderTextSpan.newBuilder(TextSpan prototype) TextSpan.newBuilderForType()protected TextSpan.BuilderTextSpan.newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) TextSpan.Builder.setBeginOffset(int value) The API calculates the beginning offset of the content in the original document according to the [EncodingType][google.cloud.language.v1.EncodingType] specified in the API request.TextSpan.Builder.setContent(String value) The content of the output text.TextSpan.Builder.setContentBytes(com.google.protobuf.ByteString value) The content of the output text.TextSpan.toBuilder()Methods in com.google.cloud.language.v1 with parameters of type TextSpan.BuilderModifier and TypeMethodDescriptionEntityMention.Builder.setText(TextSpan.Builder builderForValue) The mention text.Sentence.Builder.setText(TextSpan.Builder builderForValue) The sentence text.Token.Builder.setText(TextSpan.Builder builderForValue) The token text.