public sealed class Answer.Types.Citation : IMessage<Answer.Types.Citation>, IEquatable<Answer.Types.Citation>, IDeepCloneable<Answer.Types.Citation>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class Answer.Types.Citation.
Citation info for a segment.
Implements
IMessageAnswerTypesCitation, IEquatableAnswerTypesCitation, IDeepCloneableAnswerTypesCitation, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
Citation()
public Citation()Citation(Citation)
public Citation(Answer.Types.Citation other)| Parameter | |
|---|---|
| Name | Description |
other |
AnswerTypesCitation |
Properties
EndIndex
public long EndIndex { get; set; }End of the attributed segment, exclusive. Measured in bytes (UTF-8 unicode). If there are multi-byte characters,such as non-ASCII characters, the index measurement is longer than the string length.
| Property Value | |
|---|---|
| Type | Description |
long |
|
Sources
public RepeatedField<Answer.Types.CitationSource> Sources { get; }Citation sources for the attributed segment.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldAnswerTypesCitationSource |
|
StartIndex
public long StartIndex { get; set; }Index indicates the start of the segment, measured in bytes (UTF-8 unicode). If there are multi-byte characters,such as non-ASCII characters, the index measurement is longer than the string length.
| Property Value | |
|---|---|
| Type | Description |
long |
|