Interface DriveLinkDataOrBuilder (0.18.0)

public interface DriveLinkDataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDriveDataRef()

public abstract DriveDataRef getDriveDataRef()

A DriveDataRef which references a Google Drive file.

.google.chat.v1.DriveDataRef drive_data_ref = 1;

Returns
Type Description
DriveDataRef

The driveDataRef.

getDriveDataRefOrBuilder()

public abstract DriveDataRefOrBuilder getDriveDataRefOrBuilder()

A DriveDataRef which references a Google Drive file.

.google.chat.v1.DriveDataRef drive_data_ref = 1;

Returns
Type Description
DriveDataRefOrBuilder

getMimeType()

public abstract String getMimeType()

The mime type of the linked Google Drive resource.

string mime_type = 2;

Returns
Type Description
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

The mime type of the linked Google Drive resource.

string mime_type = 2;

Returns
Type Description
ByteString

The bytes for mimeType.

hasDriveDataRef()

public abstract boolean hasDriveDataRef()

A DriveDataRef which references a Google Drive file.

.google.chat.v1.DriveDataRef drive_data_ref = 1;

Returns
Type Description
boolean

Whether the driveDataRef field is set.