public interface CitationOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCitedSources(int index)
public abstract CitedSource getCitedSources(int index)Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card.
repeated .google.chat.v1.CitedSource cited_sources = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
CitedSource |
|
getCitedSourcesCount()
public abstract int getCitedSourcesCount()Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card.
repeated .google.chat.v1.CitedSource cited_sources = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getCitedSourcesList()
public abstract List<CitedSource> getCitedSourcesList()Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card.
repeated .google.chat.v1.CitedSource cited_sources = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<CitedSource> |
|
getCitedSourcesOrBuilder(int index)
public abstract CitedSourceOrBuilder getCitedSourcesOrBuilder(int index)Optional. A list of sources that are relevant to the citation. Sources are displayed in the citation hover card.
repeated .google.chat.v1.CitedSource cited_sources = 3 [(.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 that are relevant to the citation. Sources are displayed in the citation hover card.
repeated .google.chat.v1.CitedSource cited_sources = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.chat.v1.CitedSourceOrBuilder> |
|
getId()
public abstract String getId() Required. The ID of the citation. This ID is defined by the app creating
the citation and must match the data-id attribute of the
<chat-citation> tag in the message text. Must contain only ASCII letters
and numbers, and less than 63 characters.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The id. |
getIdBytes()
public abstract ByteString getIdBytes() Required. The ID of the citation. This ID is defined by the app creating
the citation and must match the data-id attribute of the
<chat-citation> tag in the message text. Must contain only ASCII letters
and numbers, and less than 63 characters.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for id. |