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
Modifier and TypeMethodDescriptiongetButtons(int index) Optional.intOptional.Optional.getButtonsOrBuilder(int index) Optional.List<? extends Intent.Message.BasicCard.ButtonOrBuilder>Optional.Required, unless image is present.com.google.protobuf.ByteStringRequired, unless image is present.getImage()Optional.Optional.Optional.com.google.protobuf.ByteStringOptional.getTitle()Optional.com.google.protobuf.ByteStringOptional.booleanhasImage()Optional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
Optional. The collection of card buttons.
repeated .google.cloud.dialogflow.v2.Intent.Message.BasicCard.Button buttons = 5 [(.google.api.field_behavior) = OPTIONAL];
-