Interface ElementsOrBuilder (0.67.0)

public interface ElementsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCitations(int index)

public abstract Citation getCitations(int index)

Optional. A list of inline citations referenced within the message text (via <chat-citation> tags) that render as interactive hover cards.

repeated .google.chat.v1.Citation citations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Citation

getCitationsCount()

public abstract int getCitationsCount()

Optional. A list of inline citations referenced within the message text (via <chat-citation> tags) that render as interactive hover cards.

repeated .google.chat.v1.Citation citations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCitationsList()

public abstract List<Citation> getCitationsList()

Optional. A list of inline citations referenced within the message text (via <chat-citation> tags) that render as interactive hover cards.

repeated .google.chat.v1.Citation citations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Citation>

getCitationsOrBuilder(int index)

public abstract CitationOrBuilder getCitationsOrBuilder(int index)

Optional. A list of inline citations referenced within the message text (via <chat-citation> tags) that render as interactive hover cards.

repeated .google.chat.v1.Citation citations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CitationOrBuilder

getCitationsOrBuilderList()

public abstract List<? extends CitationOrBuilder> getCitationsOrBuilderList()

Optional. A list of inline citations referenced within the message text (via <chat-citation> tags) that render as interactive hover cards.

repeated .google.chat.v1.Citation citations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.chat.v1.CitationOrBuilder>

getCitedSources(int index)

public abstract CitedSource getCitedSources(int index)

Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use citations.

repeated .google.chat.v1.CitedSource cited_sources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CitedSource

getCitedSourcesCount()

public abstract int getCitedSourcesCount()

Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use citations.

repeated .google.chat.v1.CitedSource cited_sources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getCitedSourcesList()

public abstract List<CitedSource> getCitedSourcesList()

Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use citations.

repeated .google.chat.v1.CitedSource cited_sources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<CitedSource>

getCitedSourcesOrBuilder(int index)

public abstract CitedSourceOrBuilder getCitedSourcesOrBuilder(int index)

Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use citations.

repeated .google.chat.v1.CitedSource cited_sources = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
CitedSourceOrBuilder

getCitedSourcesOrBuilderList()

public abstract List<? extends CitedSourceOrBuilder> getCitedSourcesOrBuilderList()

Optional. A list of sources to be displayed under the message as footer links. These are not referenced inline. For inline references, use citations.

repeated .google.chat.v1.CitedSource cited_sources = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.chat.v1.CitedSourceOrBuilder>