com.clarifai.grpc.api.TextOrBuilder 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 TextOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Text)
com.google.protobuf.MessageOrBuilder {
/**
*
* This is a raw text string.
*
*
* string raw = 1;
* @return The raw.
*/
java.lang.String getRaw();
/**
*
* This is a raw text string.
*
*
* string raw = 1;
* @return The bytes for raw.
*/
com.google.protobuf.ByteString
getRawBytes();
/**
*
* Url to a text file
*
*
* string url = 2;
* @return The url.
*/
java.lang.String getUrl();
/**
*
* Url to a text file
*
*
* string url = 2;
* @return The bytes for url.
*/
com.google.protobuf.ByteString
getUrlBytes();
/**
* bool allow_duplicate_url = 3;
* @return The allowDuplicateUrl.
*/
boolean getAllowDuplicateUrl();
/**
*
* The hosted field lists original text hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 4;
* @return Whether the hosted field is set.
*/
boolean hasHosted();
/**
*
* The hosted field lists original text hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 4;
* @return The hosted.
*/
com.clarifai.grpc.api.HostedURL getHosted();
/**
*
* The hosted field lists original text hosted in Clarifai storage. This field is currently used
* only in response.
*
*
* .clarifai.api.HostedURL hosted = 4;
*/
com.clarifai.grpc.api.HostedURLOrBuilder getHostedOrBuilder();
/**
*
* text info
*
*
* .clarifai.api.TextInfo text_info = 5;
* @return Whether the textInfo field is set.
*/
boolean hasTextInfo();
/**
*
* text info
*
*
* .clarifai.api.TextInfo text_info = 5;
* @return The textInfo.
*/
com.clarifai.grpc.api.TextInfo getTextInfo();
/**
*
* text info
*
*
* .clarifai.api.TextInfo text_info = 5;
*/
com.clarifai.grpc.api.TextInfoOrBuilder getTextInfoOrBuilder();
}