Interface CitationAnchorOrBuilder (0.21.0)

public interface CitationAnchorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnchorTypeCase()

public abstract CitationAnchor.AnchorTypeCase getAnchorTypeCase()
Returns
Type Description
CitationAnchor.AnchorTypeCase

getTextMessageAnchor()

public abstract CitationAnchor.TextMessageCitationAnchor getTextMessageAnchor()

Output only. Only set if the citation is for a TextMessage.

.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CitationAnchor.TextMessageCitationAnchor

The textMessageAnchor.

getTextMessageAnchorOrBuilder()

public abstract CitationAnchor.TextMessageCitationAnchorOrBuilder getTextMessageAnchorOrBuilder()

Output only. Only set if the citation is for a TextMessage.

.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CitationAnchor.TextMessageCitationAnchorOrBuilder

hasTextMessageAnchor()

public abstract boolean hasTextMessageAnchor()

Output only. Only set if the citation is for a TextMessage.

.google.cloud.geminidataanalytics.v1beta.CitationAnchor.TextMessageCitationAnchor text_message_anchor = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the textMessageAnchor field is set.