public interface QuotedMessageSnapshotOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAnnotations(int index)
public abstract Annotation getAnnotations(int index)Output only. Annotations parsed from the text body of the quoted message. Populated only for FORWARD quote type.
repeated .google.chat.v1.Annotation annotations = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Annotation |
|
getAnnotationsCount()
public abstract int getAnnotationsCount()Output only. Annotations parsed from the text body of the quoted message. Populated only for FORWARD quote type.
repeated .google.chat.v1.Annotation annotations = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAnnotationsList()
public abstract List<Annotation> getAnnotationsList()Output only. Annotations parsed from the text body of the quoted message. Populated only for FORWARD quote type.
repeated .google.chat.v1.Annotation annotations = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Annotation> |
|
getAnnotationsOrBuilder(int index)
public abstract AnnotationOrBuilder getAnnotationsOrBuilder(int index)Output only. Annotations parsed from the text body of the quoted message. Populated only for FORWARD quote type.
repeated .google.chat.v1.Annotation annotations = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AnnotationOrBuilder |
|
getAnnotationsOrBuilderList()
public abstract List<? extends AnnotationOrBuilder> getAnnotationsOrBuilderList()Output only. Annotations parsed from the text body of the quoted message. Populated only for FORWARD quote type.
repeated .google.chat.v1.Annotation annotations = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.chat.v1.AnnotationOrBuilder> |
|
getAttachments(int index)
public abstract Attachment getAttachments(int index)Output only. Attachments that were part of the quoted message. These are copies of the quoted message's attachment metadata. Populated only for FORWARD quote type.
repeated .google.chat.v1.Attachment attachments = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Attachment |
|
getAttachmentsCount()
public abstract int getAttachmentsCount()Output only. Attachments that were part of the quoted message. These are copies of the quoted message's attachment metadata. Populated only for FORWARD quote type.
repeated .google.chat.v1.Attachment attachments = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAttachmentsList()
public abstract List<Attachment> getAttachmentsList()Output only. Attachments that were part of the quoted message. These are copies of the quoted message's attachment metadata. Populated only for FORWARD quote type.
repeated .google.chat.v1.Attachment attachments = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<Attachment> |
|
getAttachmentsOrBuilder(int index)
public abstract AttachmentOrBuilder getAttachmentsOrBuilder(int index)Output only. Attachments that were part of the quoted message. These are copies of the quoted message's attachment metadata. Populated only for FORWARD quote type.
repeated .google.chat.v1.Attachment attachments = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AttachmentOrBuilder |
|
getAttachmentsOrBuilderList()
public abstract List<? extends AttachmentOrBuilder> getAttachmentsOrBuilderList()Output only. Attachments that were part of the quoted message. These are copies of the quoted message's attachment metadata. Populated only for FORWARD quote type.
repeated .google.chat.v1.Attachment attachments = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.chat.v1.AttachmentOrBuilder> |
|
getFormattedText()
public abstract String getFormattedText() Output only. Contains the quoted message text with markups added to
support rich formatting like hyperlinks,custom emojis, markup, etc.
Populated only for FORWARD quote type.
string formatted_text = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The formattedText. |
getFormattedTextBytes()
public abstract ByteString getFormattedTextBytes() Output only. Contains the quoted message text with markups added to
support rich formatting like hyperlinks,custom emojis, markup, etc.
Populated only for FORWARD quote type.
string formatted_text = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for formattedText. |
getSender()
public abstract String getSender()Output only. The quoted message's author name. Populated for both REPLY & FORWARD quote types.
string sender = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The sender. |
getSenderBytes()
public abstract ByteString getSenderBytes()Output only. The quoted message's author name. Populated for both REPLY & FORWARD quote types.
string sender = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sender. |
getText()
public abstract String getText()Output only. Snapshot of the quoted message's text content.
string text = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The text. |
getTextBytes()
public abstract ByteString getTextBytes()Output only. Snapshot of the quoted message's text content.
string text = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for text. |