Interface OpenLinkOrBuilder (2.40.0)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for openAs.

getUrl()

public abstract String getUrl()

The URL to open.

string url = 1;

Returns
Type Description
String

The url.

getUrlBytes()

public abstract ByteString getUrlBytes()

The URL to open.

string url = 1;

Returns
Type Description
ByteString

The bytes for url.