public sealed class AnnotatedString.Types.SemanticMarkup : IMessage<AnnotatedString.Types.SemanticMarkup>, IEquatable<AnnotatedString.Types.SemanticMarkup>, IDeepCloneable<AnnotatedString.Types.SemanticMarkup>, IBufferMessage, IMessageReference documentation and code samples for the Data QnA v1alpha API class AnnotatedString.Types.SemanticMarkup.
Semantic markup denotes a substring (by index and length) with markup information.
Implements
IMessageAnnotatedStringTypesSemanticMarkup, IEquatableAnnotatedStringTypesSemanticMarkup, IDeepCloneableAnnotatedStringTypesSemanticMarkup, IBufferMessage, IMessageNamespace
Google.Cloud.DataQnA.V1AlphaAssembly
Google.Cloud.DataQnA.V1Alpha.dll
Constructors
SemanticMarkup()
public SemanticMarkup()SemanticMarkup(SemanticMarkup)
public SemanticMarkup(AnnotatedString.Types.SemanticMarkup other)| Parameter | |
|---|---|
| Name | Description |
other |
AnnotatedStringTypesSemanticMarkup |
Properties
Length
public int Length { get; set; }The length (number of unicode characters) of the markup substring.
| Property Value | |
|---|---|
| Type | Description |
int |
|
StartCharIndex
public int StartCharIndex { get; set; }Unicode character index of the query.
| Property Value | |
|---|---|
| Type | Description |
int |
|
Type
public AnnotatedString.Types.SemanticMarkupType Type { get; set; }The semantic type of the markup substring.
| Property Value | |
|---|---|
| Type | Description |
AnnotatedStringTypesSemanticMarkupType |
|