- 4.60.0 (latest)
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.45.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.33.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.21.0
- 4.20.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.1
- 4.8.6
- 4.7.5
- 4.6.0
- 4.5.11
- 4.4.0
- 4.3.1
public static final class Intent.Message.RbmCardContent.RbmMedia.Builder extends GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder> implements Intent.Message.RbmCardContent.RbmMediaOrBuilder
Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported:
Image Types
- image/jpeg
- image/jpg'
- image/gif
image/png
Video Types
video/h263
- video/m4v
- video/mp4
- video/mpeg
- video/mpeg4
- video/webm
Protobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Intent.Message.RbmCardContent.RbmMedia.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmCardContent.RbmMedia.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
build()
public Intent.Message.RbmCardContent.RbmMedia build()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia |
buildPartial()
public Intent.Message.RbmCardContent.RbmMedia buildPartial()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia |
clear()
public Intent.Message.RbmCardContent.RbmMedia.Builder clear()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
clearField(Descriptors.FieldDescriptor field)
public Intent.Message.RbmCardContent.RbmMedia.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
clearFileUri()
public Intent.Message.RbmCardContent.RbmMedia.Builder clearFileUri()
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 | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
This builder for chaining. |
clearHeight()
public Intent.Message.RbmCardContent.RbmMedia.Builder clearHeight()
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 | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Intent.Message.RbmCardContent.RbmMedia.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
clearThumbnailUri()
public Intent.Message.RbmCardContent.RbmMedia.Builder clearThumbnailUri()
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 | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
This builder for chaining. |
clone()
public Intent.Message.RbmCardContent.RbmMedia.Builder clone()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
getDefaultInstanceForType()
public Intent.Message.RbmCardContent.RbmMedia getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFileUri()
public 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 | |
---|---|
Type | Description |
String |
The fileUri. |
getFileUriBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for fileUri. |
getHeight()
public 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 | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Height |
The height. |
getHeightValue()
public 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 | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for height. |
getThumbnailUri()
public 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 | |
---|---|
Type | Description |
String |
The thumbnailUri. |
getThumbnailUriBytes()
public 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 | |
---|---|
Type | Description |
ByteString |
The bytes for thumbnailUri. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Intent.Message.RbmCardContent.RbmMedia other)
public Intent.Message.RbmCardContent.RbmMedia.Builder mergeFrom(Intent.Message.RbmCardContent.RbmMedia other)
Parameter | |
---|---|
Name | Description |
other |
Intent.Message.RbmCardContent.RbmMedia |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Intent.Message.RbmCardContent.RbmMedia.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Intent.Message.RbmCardContent.RbmMedia.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmCardContent.RbmMedia.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Intent.Message.RbmCardContent.RbmMedia.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
setFileUri(String value)
public Intent.Message.RbmCardContent.RbmMedia.Builder setFileUri(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The fileUri to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
This builder for chaining. |
setFileUriBytes(ByteString value)
public Intent.Message.RbmCardContent.RbmMedia.Builder setFileUriBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for fileUri to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
This builder for chaining. |
setHeight(Intent.Message.RbmCardContent.RbmMedia.Height value)
public Intent.Message.RbmCardContent.RbmMedia.Builder setHeight(Intent.Message.RbmCardContent.RbmMedia.Height value)
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;
Parameter | |
---|---|
Name | Description |
value |
Intent.Message.RbmCardContent.RbmMedia.Height The height to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
This builder for chaining. |
setHeightValue(int value)
public Intent.Message.RbmCardContent.RbmMedia.Builder setHeightValue(int value)
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;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for height to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Intent.Message.RbmCardContent.RbmMedia.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
setThumbnailUri(String value)
public Intent.Message.RbmCardContent.RbmMedia.Builder setThumbnailUri(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The thumbnailUri to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
This builder for chaining. |
setThumbnailUriBytes(ByteString value)
public Intent.Message.RbmCardContent.RbmMedia.Builder setThumbnailUriBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for thumbnailUri to set. |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Intent.Message.RbmCardContent.RbmMedia.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Intent.Message.RbmCardContent.RbmMedia.Builder |