Interface Intent.Message.BasicCard.ButtonOrBuilder (4.7.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
TypeDescription
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
TypeDescription
Intent.Message.BasicCard.Button.OpenUriActionOrBuilder

getTitle()

public abstract String getTitle()

Required. The title of the button.

string title = 1;

Returns
TypeDescription
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Required. The title of the button.

string title = 1;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the openUriAction field is set.