public sealed class SemanticMarkup : IMessage<AnnotatedString.Types.SemanticMarkup>, IEquatable<AnnotatedString.Types.SemanticMarkup>, IDeepCloneable<AnnotatedString.Types.SemanticMarkup>, IBufferMessage, IMessageSemantic markup denotes a substring (by index and length) with markup information.
Implements
IMessage<AnnotatedString.Types.SemanticMarkup>, IEquatable<AnnotatedString.Types.SemanticMarkup>, IDeepCloneable<AnnotatedString.Types.SemanticMarkup>, IBufferMessage, IMessageNamespace
Google.Cloud.DataQnA.V1AlphaAssembly
Google.Cloud.DataQnA.V1Alpha.dll
Constructors
SemanticMarkup()
public SemanticMarkup()SemanticMarkup(AnnotatedString.Types.SemanticMarkup)
public SemanticMarkup(AnnotatedString.Types.SemanticMarkup other)| Parameter | |
|---|---|
| Name | Description |
other |
AnnotatedString.Types.SemanticMarkup |
Properties
Length
public int Length { get; set; }The length (number of unicode characters) of the markup substring.
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|
StartCharIndex
public int StartCharIndex { get; set; }Unicode character index of the query.
| Property Value | |
|---|---|
| Type | Description |
Int32 |
|
Type
public AnnotatedString.Types.SemanticMarkupType Type { get; set; }The semantic type of the markup substring.
| Property Value | |
|---|---|
| Type | Description |
AnnotatedString.Types.SemanticMarkupType |
|