com.clarifai.grpc.api.VideoOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface VideoOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Video)
com.google.protobuf.MessageOrBuilder {
/**
*
* This is a URL to a publicly accessible video file. The platform will download this file server
* side and then process.
*
*
* string url = 1;
* @return The url.
*/
java.lang.String getUrl();
/**
*
* This is a URL to a publicly accessible video file. The platform will download this file server
* side and then process.
*
*
* string url = 1;
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
/**
*
* The base64 field is using video file bytes directly in the request.
* NOTE: if you're sending a json request, then this MUST be base64 encoded before sending (hence
* the name here).
* When using our grpc clients, you DO NOT need to base64 encode
* it yourself since the clients know how to do this for you automatically and will avoid the
* base64 encoding if they send a binary request.
*
*
* bytes base64 = 2;
* @return The base64.
*/
com.google.protobuf.ByteString getBase64();
/**
* bool allow_duplicate_url = 4;
* @return The allowDuplicateUrl.
*/
boolean getAllowDuplicateUrl();
/**
*
* URL of thumbnail image, which is currently frame at position of 1s. This field is currently
* used only in response.
* Deprecated in favour of thumbnail_hosted, which also contains alternate sizes of thumbnail
*
*
* string thumbnail_url = 5 [deprecated = true];
* @deprecated clarifai.api.Video.thumbnail_url is deprecated.
* See proto/clarifai/api/resources.proto;l=2709
* @return The thumbnailUrl.
*/
@java.lang.Deprecated java.lang.String getThumbnailUrl();
/**
*
* URL of thumbnail image, which is currently frame at position of 1s. This field is currently
* used only in response.
* Deprecated in favour of thumbnail_hosted, which also contains alternate sizes of thumbnail
*
*
* string thumbnail_url = 5 [deprecated = true];
* @deprecated clarifai.api.Video.thumbnail_url is deprecated.
* See proto/clarifai/api/resources.proto;l=2709
* @return The bytes for thumbnailUrl.
*/
@java.lang.Deprecated com.google.protobuf.ByteString
getThumbnailUrlBytes();
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
* @return Whether the hosted field is set.
*/
boolean hasHosted();
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
* @return The hosted.
*/
com.clarifai.grpc.api.HostedURL getHosted();
/**
*
* The hosted field lists original video hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 6;
*/
com.clarifai.grpc.api.HostedURLOrBuilder getHostedOrBuilder();
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
* @return Whether the hostedThumbnail field is set.
*/
boolean hasHostedThumbnail();
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
* @return The hostedThumbnail.
*/
com.clarifai.grpc.api.HostedURL getHostedThumbnail();
/**
*
* The hosted field lists various sizes of the vide thumbnail hosted in Clarifai storage, with 'thumbnail' as the full size
* This field is currently used only in response.
*
*
* .clarifai.api.HostedURL hosted_thumbnail = 8;
*/
com.clarifai.grpc.api.HostedURLOrBuilder getHostedThumbnailOrBuilder();
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
* @return Whether the videoInfo field is set.
*/
boolean hasVideoInfo();
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
* @return The videoInfo.
*/
com.clarifai.grpc.api.VideoInfo getVideoInfo();
/**
*
* video info
*
*
* .clarifai.api.VideoInfo video_info = 7;
*/
com.clarifai.grpc.api.VideoInfoOrBuilder getVideoInfoOrBuilder();
}