Interface Intent.Message.BasicCard.ButtonOrBuilder (4.53.0)

public static interface Intent.Message.BasicCard.ButtonOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOpenUriAction()

public abstract Intent.Message.BasicCard.Button.OpenUriAction getOpenUriAction()

Required. Action to take when a user taps on the button.

.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Intent.Message.BasicCard.Button.OpenUriAction

The openUriAction.

getOpenUriActionOrBuilder()

public abstract Intent.Message.BasicCard.Button.OpenUriActionOrBuilder getOpenUriActionOrBuilder()

Required. Action to take when a user taps on the button.

.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Intent.Message.BasicCard.Button.OpenUriActionOrBuilder

getTitle()

public abstract String getTitle()

Required. The title of the button.

string title = 1;

Returns
Type Description
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Required. The title of the button.

string title = 1;

Returns
Type Description
ByteString

The bytes for title.

hasOpenUriAction()

public abstract boolean hasOpenUriAction()

Required. Action to take when a user taps on the button.

.google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button.OpenUriAction open_uri_action = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the openUriAction field is set.