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/webmProtobuf type
google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Intent.Message.RbmCardContent.RbmMedia.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Intent.Message.RbmCardContent.RbmMedia getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Intent.Message.RbmCardContent.RbmMedia build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Intent.Message.RbmCardContent.RbmMedia buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Intent.Message.RbmCardContent.RbmMedia.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Intent.Message.RbmCardContent.RbmMedia.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Intent.Message.RbmCardContent.RbmMedia.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Intent.Message.RbmCardContent.RbmMedia.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Intent.Message.RbmCardContent.RbmMedia.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Intent.Message.RbmCardContent.RbmMedia.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Intent.Message.RbmCardContent.RbmMedia.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Intent.Message.RbmCardContent.RbmMedia.Builder mergeFrom(Intent.Message.RbmCardContent.RbmMedia other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public Intent.Message.RbmCardContent.RbmMedia.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
IOException
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;
getFileUri
in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
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;
getFileUriBytes
in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
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;
value
- The fileUri to set.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;
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;
value
- The bytes for fileUri to set.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;
getThumbnailUri
in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
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;
getThumbnailUriBytes
in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
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;
value
- The thumbnailUri to set.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;
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;
value
- The bytes for thumbnailUri to set.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;
getHeightValue
in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
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;
value
- The enum numeric value on the wire for height to set.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;
getHeight
in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
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;
value
- The height to set.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;
public final Intent.Message.RbmCardContent.RbmMedia.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
public final Intent.Message.RbmCardContent.RbmMedia.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
Copyright © 2022 Google LLC. All rights reserved.