Interface Intent.Message.CardOrBuilder (4.47.0)

public static interface Intent.Message.CardOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getButtons(int index)

public abstract Intent.Message.Card.Button getButtons(int index)

Optional. The collection of card buttons.

repeated .google.cloud.dialogflow.v2.Intent.Message.Card.Button buttons = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Message.Card.Button

getButtonsCount()

public abstract int getButtonsCount()

Optional. The collection of card buttons.

repeated .google.cloud.dialogflow.v2.Intent.Message.Card.Button buttons = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getButtonsList()

public abstract List<Intent.Message.Card.Button> getButtonsList()

Optional. The collection of card buttons.

repeated .google.cloud.dialogflow.v2.Intent.Message.Card.Button buttons = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<Button>

getButtonsOrBuilder(int index)

public abstract Intent.Message.Card.ButtonOrBuilder getButtonsOrBuilder(int index)

Optional. The collection of card buttons.

repeated .google.cloud.dialogflow.v2.Intent.Message.Card.Button buttons = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint
Returns
TypeDescription
Intent.Message.Card.ButtonOrBuilder

getButtonsOrBuilderList()

public abstract List<? extends Intent.Message.Card.ButtonOrBuilder> getButtonsOrBuilderList()

Optional. The collection of card buttons.

repeated .google.cloud.dialogflow.v2.Intent.Message.Card.Button buttons = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2.Intent.Message.Card.ButtonOrBuilder>

getImageUri()

public abstract String getImageUri()

Optional. The public URI to an image file for the card.

string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The imageUri.

getImageUriBytes()

public abstract ByteString getImageUriBytes()

Optional. The public URI to an image file for the card.

string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for imageUri.

getSubtitle()

public abstract String getSubtitle()

Optional. The subtitle of the card.

string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The subtitle.

getSubtitleBytes()

public abstract ByteString getSubtitleBytes()

Optional. The subtitle of the card.

string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for subtitle.

getTitle()

public abstract String getTitle()

Optional. The title of the card.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The title.

getTitleBytes()

public abstract ByteString getTitleBytes()

Optional. The title of the card.

string title = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for title.