Interface AttachmentDataRefOrBuilder (0.18.0)

public interface AttachmentDataRefOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAttachmentUploadToken()

public abstract String getAttachmentUploadToken()

Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.

string attachment_upload_token = 2;

Returns
Type Description
String

The attachmentUploadToken.

getAttachmentUploadTokenBytes()

public abstract ByteString getAttachmentUploadTokenBytes()

Opaque token containing a reference to an uploaded attachment. Treated by clients as an opaque string and used to create or update Chat messages with attachments.

string attachment_upload_token = 2;

Returns
Type Description
ByteString

The bytes for attachmentUploadToken.

getResourceName()

public abstract String getResourceName()

The resource name of the attachment data. This field is used with the media API to download the attachment data.

string resource_name = 1;

Returns
Type Description
String

The resourceName.

getResourceNameBytes()

public abstract ByteString getResourceNameBytes()

The resource name of the attachment data. This field is used with the media API to download the attachment data.

string resource_name = 1;

Returns
Type Description
ByteString

The bytes for resourceName.