Package com.google.cloud.dialogflow.v2
Interface Intent.Message.BasicCardOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.Message.BasicCard,Intent.Message.BasicCard.Builder
- Enclosing class:
- Intent.Message
public static interface Intent.Message.BasicCardOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Intent.Message.BasicCard.ButtongetButtons(int index)Optional.intgetButtonsCount()Optional.List<Intent.Message.BasicCard.Button>getButtonsList()Optional.Intent.Message.BasicCard.ButtonOrBuildergetButtonsOrBuilder(int index)Optional.List<? extends Intent.Message.BasicCard.ButtonOrBuilder>getButtonsOrBuilderList()Optional.StringgetFormattedText()Required, unless image is present.com.google.protobuf.ByteStringgetFormattedTextBytes()Required, unless image is present.Intent.Message.ImagegetImage()Optional.Intent.Message.ImageOrBuildergetImageOrBuilder()Optional.StringgetSubtitle()Optional.com.google.protobuf.ByteStringgetSubtitleBytes()Optional.StringgetTitle()Optional.com.google.protobuf.ByteStringgetTitleBytes()Optional.booleanhasImage()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTitle
String getTitle()
Optional. The title of the card.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()
Optional. The title of the card.
string title = 1 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for title.
-
getSubtitle
String getSubtitle()
Optional. The subtitle of the card.
string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The subtitle.
-
getSubtitleBytes
com.google.protobuf.ByteString getSubtitleBytes()
Optional. The subtitle of the card.
string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for subtitle.
-
getFormattedText
String getFormattedText()
Required, unless image is present. The body text of the card.
string formatted_text = 3;- Returns:
- The formattedText.
-
getFormattedTextBytes
com.google.protobuf.ByteString getFormattedTextBytes()
Required, unless image is present. The body text of the card.
string formatted_text = 3;- Returns:
- The bytes for formattedText.
-
hasImage
boolean hasImage()
Optional. The image for the card.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the image field is set.
-
getImage
Intent.Message.Image getImage()
Optional. The image for the card.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The image.
-
getImageOrBuilder
Intent.Message.ImageOrBuilder getImageOrBuilder()
Optional. The image for the card.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
-
getButtonsList
List<Intent.Message.BasicCard.Button> getButtonsList()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getButtons
Intent.Message.BasicCard.Button getButtons(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getButtonsCount
int getButtonsCount()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getButtonsOrBuilderList
List<? extends Intent.Message.BasicCard.ButtonOrBuilder> getButtonsOrBuilderList()
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];
-
getButtonsOrBuilder
Intent.Message.BasicCard.ButtonOrBuilder getButtonsOrBuilder(int index)
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];
-
-