Interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Intent.Message.RbmCardContent.RbmMedia
,Intent.Message.RbmCardContent.RbmMedia.Builder
- Enclosing class:
- Intent.Message.RbmCardContent
public static interface Intent.Message.RbmCardContent.RbmMediaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getFileUri()
Required.com.google.protobuf.ByteString
getFileUriBytes()
Required.Intent.Message.RbmCardContent.RbmMedia.Height
getHeight()
Required for cards with vertical orientation.int
getHeightValue()
Required for cards with vertical orientation.String
getThumbnailUri()
Optional.com.google.protobuf.ByteString
getThumbnailUriBytes()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getFileUri
String getFileUri()
Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
string file_uri = 1;
- Returns:
- The fileUri.
-
getFileUriBytes
com.google.protobuf.ByteString getFileUriBytes()
Required. Publicly reachable URI of the file. The RBM platform determines the MIME type of the file from the content-type field in the HTTP headers when the platform fetches the file. The content-type field must be present and accurate in the HTTP response from the URL.
string file_uri = 1;
- Returns:
- The bytes for fileUri.
-
getThumbnailUri
String getThumbnailUri()
Optional. Publicly reachable URI of the thumbnail.If you don't provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user's device downloads the file. Depending on the user's setting, the file may not download automatically and may require the user to tap a download button.
string thumbnail_uri = 2;
- Returns:
- The thumbnailUri.
-
getThumbnailUriBytes
com.google.protobuf.ByteString getThumbnailUriBytes()
Optional. Publicly reachable URI of the thumbnail.If you don't provide a thumbnail URI, the RBM platform displays a blank placeholder thumbnail until the user's device downloads the file. Depending on the user's setting, the file may not download automatically and may require the user to tap a download button.
string thumbnail_uri = 2;
- Returns:
- The bytes for thumbnailUri.
-
getHeightValue
int getHeightValue()
Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height height = 3;
- Returns:
- The enum numeric value on the wire for height.
-
getHeight
Intent.Message.RbmCardContent.RbmMedia.Height getHeight()
Required for cards with vertical orientation. The height of the media within a rich card with a vertical layout. For a standalone card with horizontal layout, height is not customizable, and this field is ignored.
.google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height height = 3;
- Returns:
- The height.
-
-