public sealed class TextSpan : IMessage<TextSpan>, IEquatable<TextSpan>, IDeepCloneable<TextSpan>, IBufferMessage, IMessage
Represents an output piece of text.
Implements
IMessage<TextSpan>, IEquatable<TextSpan>, IDeepCloneable<TextSpan>, IBufferMessage, IMessageNamespace
Google.Cloud.Language.V1Assembly
Google.Cloud.Language.V1.dll
Constructors
TextSpan()
public TextSpan()
TextSpan(TextSpan)
public TextSpan(TextSpan other)
Parameter | |
---|---|
Name | Description |
other | TextSpan |
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 |