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.Builder
TextSpan.Builder. addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TextSpan.Builder
TextSpan.Builder. clear()
TextSpan.Builder
TextSpan.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.Builder
TextSpan.Builder. clearContent()
The content of the output text.TextSpan.Builder
TextSpan.Builder. clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TextSpan.Builder
TextSpan.Builder. clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TextSpan.Builder
TextSpan.Builder. clone()
TextSpan.Builder
EntityMention.Builder. getTextBuilder()
The mention text.TextSpan.Builder
Sentence.Builder. getTextBuilder()
The sentence text.TextSpan.Builder
Token.Builder. getTextBuilder()
The token text.TextSpan.Builder
TextSpan.Builder. mergeFrom(TextSpan other)
TextSpan.Builder
TextSpan.Builder. mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TextSpan.Builder
TextSpan.Builder. mergeFrom(com.google.protobuf.Message other)
TextSpan.Builder
TextSpan.Builder. mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
static TextSpan.Builder
TextSpan. newBuilder()
static TextSpan.Builder
TextSpan. newBuilder(TextSpan prototype)
TextSpan.Builder
TextSpan. newBuilderForType()
protected TextSpan.Builder
TextSpan. newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
TextSpan.Builder
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.v1beta2.EncodingType] specified in the API request.TextSpan.Builder
TextSpan.Builder. setContent(String value)
The content of the output text.TextSpan.Builder
TextSpan.Builder. setContentBytes(com.google.protobuf.ByteString value)
The content of the output text.TextSpan.Builder
TextSpan.Builder. setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TextSpan.Builder
TextSpan.Builder. setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TextSpan.Builder
TextSpan.Builder. setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TextSpan.Builder
TextSpan. toBuilder()
Methods in com.google.cloud.language.v1beta2 with parameters of type TextSpan.Builder Modifier and Type Method Description EntityMention.Builder
EntityMention.Builder. setText(TextSpan.Builder builderForValue)
The mention text.Sentence.Builder
Sentence.Builder. setText(TextSpan.Builder builderForValue)
The sentence text.Token.Builder
Token.Builder. setText(TextSpan.Builder builderForValue)
The token text.
-