Package com.google.cloud.dialogflow.v2
Interface Intent.Message.ListSelect.ItemOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.Message.ListSelect.Item
,Intent.Message.ListSelect.Item.Builder
- Enclosing class:
- Intent.Message.ListSelect
public static interface Intent.Message.ListSelect.ItemOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.Intent.Message.Image
getImage()
Optional.Intent.Message.ImageOrBuilder
getImageOrBuilder()
Optional.Intent.Message.SelectItemInfo
getInfo()
Required.Intent.Message.SelectItemInfoOrBuilder
getInfoOrBuilder()
Required.String
getTitle()
Required.com.google.protobuf.ByteString
getTitleBytes()
Required.boolean
hasImage()
Optional.boolean
hasInfo()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasInfo
boolean hasInfo()
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the info field is set.
-
getInfo
Intent.Message.SelectItemInfo getInfo()
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The info.
-
getInfoOrBuilder
Intent.Message.SelectItemInfoOrBuilder getInfoOrBuilder()
Required. Additional information about this option.
.google.cloud.dialogflow.v2.Intent.Message.SelectItemInfo info = 1 [(.google.api.field_behavior) = REQUIRED];
-
getTitle
String getTitle()
Required. The title of the list item.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The title.
-
getTitleBytes
com.google.protobuf.ByteString getTitleBytes()
Required. The title of the list item.
string title = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for title.
-
getDescription
String getDescription()
Optional. The main text describing the item.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Optional. The main text describing the item.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for description.
-
hasImage
boolean hasImage()
Optional. The image to display.
.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 to display.
.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 to display.
.google.cloud.dialogflow.v2.Intent.Message.Image image = 4 [(.google.api.field_behavior) = OPTIONAL];
-
-