Uses of Class
com.google.cloud.language.v1beta2.TextSpan.Builder
-
Packages that use TextSpan.Builder Package Description com.google.cloud.language.v1beta2 A client to Cloud Natural Language API -
-
Uses of TextSpan.Builder in com.google.cloud.language.v1beta2
Methods in com.google.cloud.language.v1beta2 that return TextSpan.Builder Modifier and Type Method Description TextSpan.BuilderTextSpan.Builder. addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TextSpan.BuilderTextSpan.Builder. clear()TextSpan.BuilderTextSpan.Builder. clearBeginOffset()The API calculates the beginning offset of the content in the original document according to the [EncodingType][google.cloud.language.v1beta2.EncodingType] specified in the API request.TextSpan.BuilderTextSpan.Builder. clearContent()The content of the output text.TextSpan.BuilderTextSpan.Builder. clearField(com.google.protobuf.Descriptors.FieldDescriptor field)TextSpan.BuilderTextSpan.Builder. clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TextSpan.BuilderTextSpan.Builder. clone()TextSpan.BuilderEntityMention.Builder. getTextBuilder()The mention text.TextSpan.BuilderSentence.Builder. getTextBuilder()The sentence text.TextSpan.BuilderToken.Builder. getTextBuilder()The token text.TextSpan.BuilderTextSpan.Builder. mergeFrom(TextSpan other)TextSpan.BuilderTextSpan.Builder. mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TextSpan.BuilderTextSpan.Builder. mergeFrom(com.google.protobuf.Message other)TextSpan.BuilderTextSpan.Builder. mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)static TextSpan.BuilderTextSpan. newBuilder()static TextSpan.BuilderTextSpan. newBuilder(TextSpan prototype)TextSpan.BuilderTextSpan. newBuilderForType()protected TextSpan.BuilderTextSpan. newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)TextSpan.BuilderTextSpan.Builder. setBeginOffset(int value)The API calculates the beginning offset of the content in the original document according to the [EncodingType][google.cloud.language.v1beta2.EncodingType] specified in the API request.TextSpan.BuilderTextSpan.Builder. setContent(String value)The content of the output text.TextSpan.BuilderTextSpan.Builder. setContentBytes(com.google.protobuf.ByteString value)The content of the output text.TextSpan.BuilderTextSpan.Builder. setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TextSpan.BuilderTextSpan.Builder. setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TextSpan.BuilderTextSpan.Builder. setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TextSpan.BuilderTextSpan. toBuilder()Methods in com.google.cloud.language.v1beta2 with parameters of type TextSpan.Builder Modifier and Type Method Description EntityMention.BuilderEntityMention.Builder. setText(TextSpan.Builder builderForValue)The mention text.Sentence.BuilderSentence.Builder. setText(TextSpan.Builder builderForValue)The sentence text.Token.BuilderToken.Builder. setText(TextSpan.Builder builderForValue)The token text.
-