Class Intent.Message.RbmCardContent.RbmMedia.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
      • getDefaultInstanceForType

        public Intent.Message.RbmCardContent.RbmMedia getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Intent.Message.RbmCardContent.RbmMedia build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Intent.Message.RbmCardContent.RbmMedia buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Intent.Message.RbmCardContent.RbmMedia.Builder>
      • 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;
        Specified by:
        getFileUri in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
        Returns:
        The fileUri.
      • getFileUriBytes

        public 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;
        Specified by:
        getFileUriBytes in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
        Returns:
        The bytes for fileUri.
      • setFileUri

        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;
        Parameters:
        value - The fileUri to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setFileUriBytes

        public Intent.Message.RbmCardContent.RbmMedia.Builder setFileUriBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for fileUri to set.
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        getThumbnailUri in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
        Returns:
        The thumbnailUri.
      • getThumbnailUriBytes

        public 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;
        Specified by:
        getThumbnailUriBytes in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
        Returns:
        The bytes for thumbnailUri.
      • setThumbnailUri

        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;
        Parameters:
        value - The thumbnailUri to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setThumbnailUriBytes

        public Intent.Message.RbmCardContent.RbmMedia.Builder setThumbnailUriBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for thumbnailUri to set.
        Returns:
        This builder for chaining.
      • 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;
        Specified by:
        getHeightValue in interface Intent.Message.RbmCardContent.RbmMediaOrBuilder
        Returns:
        The enum numeric value on the wire for height.
      • setHeightValue

        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;
        Parameters:
        value - The enum numeric value on the wire for height to set.
        Returns:
        This builder for chaining.
      • setHeight

        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;
        Parameters:
        value - The height to set.
        Returns:
        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:
        This builder for chaining.