Interface OpenLinkOrBuilder (2.37.1)

public interface OpenLinkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOnClose()

public abstract OpenLink.OnClose getOnClose()

Whether the client forgets about a link after opening it, or observes it until the window closes.

Google Workspace Add-ons:

.google.apps.card.v1.OpenLink.OnClose on_close = 3;

Returns
TypeDescription
OpenLink.OnClose

The onClose.

getOnCloseValue()

public abstract int getOnCloseValue()

Whether the client forgets about a link after opening it, or observes it until the window closes.

Google Workspace Add-ons:

.google.apps.card.v1.OpenLink.OnClose on_close = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for onClose.

getOpenAs()

public abstract OpenLink.OpenAs getOpenAs()

How to open a link.

Google Workspace Add-ons:

.google.apps.card.v1.OpenLink.OpenAs open_as = 2;

Returns
TypeDescription
OpenLink.OpenAs

The openAs.

getOpenAsValue()

public abstract int getOpenAsValue()

How to open a link.

Google Workspace Add-ons:

.google.apps.card.v1.OpenLink.OpenAs open_as = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for openAs.

getUrl()

public abstract String getUrl()

The URL to open.

string url = 1;

Returns
TypeDescription
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

The URL to open.

string url = 1;

Returns
TypeDescription
ByteString

The bytes for url.