com.clarifai.grpc.api.AudioOrBuilder 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 AudioOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Audio)
com.google.protobuf.MessageOrBuilder {
/**
*
* This is a URL to a publicly accessible image 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 image 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 image 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();
/**
*
* If True then you will be allowed to have multiple urls.
*
*
* bool allow_duplicate_url = 4;
* @return The allowDuplicateUrl.
*/
boolean getAllowDuplicateUrl();
/**
*
* The hosted field lists original audio hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 5;
* @return Whether the hosted field is set.
*/
boolean hasHosted();
/**
*
* The hosted field lists original audio hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 5;
* @return The hosted.
*/
com.clarifai.grpc.api.HostedURL getHosted();
/**
*
* The hosted field lists original audio hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 5;
*/
com.clarifai.grpc.api.HostedURLOrBuilder getHostedOrBuilder();
/**
*
* audio info
*
*
* .clarifai.api.AudioInfo audio_info = 6;
* @return Whether the audioInfo field is set.
*/
boolean hasAudioInfo();
/**
*
* audio info
*
*
* .clarifai.api.AudioInfo audio_info = 6;
* @return The audioInfo.
*/
com.clarifai.grpc.api.AudioInfo getAudioInfo();
/**
*
* audio info
*
*
* .clarifai.api.AudioInfo audio_info = 6;
*/
com.clarifai.grpc.api.AudioInfoOrBuilder getAudioInfoOrBuilder();
}