com.clarifai.grpc.api.HostedURLOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/resources.proto
package com.clarifai.grpc.api;
public interface HostedURLOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.HostedURL)
com.google.protobuf.MessageOrBuilder {
/**
*
* Prefix of the URL of every hosted image.
*
*
* string prefix = 1;
* @return The prefix.
*/
java.lang.String getPrefix();
/**
*
* Prefix of the URL of every hosted image.
*
*
* string prefix = 1;
* @return The bytes for prefix.
*/
com.google.protobuf.ByteString
getPrefixBytes();
/**
*
* Suffix of an image stored in different sizes.
*
*
* string suffix = 2;
* @return The suffix.
*/
java.lang.String getSuffix();
/**
*
* Suffix of an image stored in different sizes.
*
*
* string suffix = 2;
* @return The bytes for suffix.
*/
com.google.protobuf.ByteString
getSuffixBytes();
/**
*
* The sizes field lists which images of the different sizes are hosted in our storage. The URL
* of each hosted image can be obtained by joining the prefix, one of the sizes and suffix.
*
*
* repeated string sizes = 3;
* @return A list containing the sizes.
*/
java.util.List
getSizesList();
/**
*
* The sizes field lists which images of the different sizes are hosted in our storage. The URL
* of each hosted image can be obtained by joining the prefix, one of the sizes and suffix.
*
*
* repeated string sizes = 3;
* @return The count of sizes.
*/
int getSizesCount();
/**
*
* The sizes field lists which images of the different sizes are hosted in our storage. The URL
* of each hosted image can be obtained by joining the prefix, one of the sizes and suffix.
*
*
* repeated string sizes = 3;
* @param index The index of the element to return.
* @return The sizes at the given index.
*/
java.lang.String getSizes(int index);
/**
*
* The sizes field lists which images of the different sizes are hosted in our storage. The URL
* of each hosted image can be obtained by joining the prefix, one of the sizes and suffix.
*
*
* repeated string sizes = 3;
* @param index The index of the value to return.
* @return The bytes of the sizes at the given index.
*/
com.google.protobuf.ByteString
getSizesBytes(int index);
/**
*
* The crossorigin property of html media tag
* For Secure Data Hosting this needs to be set to 'use-credentials'
*
*
* string crossorigin = 4;
* @return The crossorigin.
*/
java.lang.String getCrossorigin();
/**
*
* The crossorigin property of html media tag
* For Secure Data Hosting this needs to be set to 'use-credentials'
*
*
* string crossorigin = 4;
* @return The bytes for crossorigin.
*/
com.google.protobuf.ByteString
getCrossoriginBytes();
}