Send feedback
Class TextSpan (2.2.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.2.0 keyboard_arrow_down
public sealed class TextSpan : IMessage<TextSpan>, IEquatable<TextSpan>, IDeepCloneable<TextSpan>, IBufferMessage, IMessage
Represents an output piece of text.
Namespace
Google.Cloud.Language.V1
Assembly
Google.Cloud.Language.V1.dll
Constructors
TextSpan()
TextSpan(TextSpan)
public TextSpan(TextSpan other)
Properties
BeginOffset
public int BeginOffset { get; set; }
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.
Property Value Type Description Int32
Content
public string Content { get; set; }
The content of the output text.
Property Value Type Description String
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-10 UTC."}