com.clarifai.grpc.api.OutputInfoOrBuilder 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 OutputInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.OutputInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
* List of concepts or other output related data for the model.
*
*
* .clarifai.api.Data data = 1;
* @return Whether the data field is set.
*/
boolean hasData();
/**
*
* List of concepts or other output related data for the model.
*
*
* .clarifai.api.Data data = 1;
* @return The data.
*/
com.clarifai.grpc.api.Data getData();
/**
*
* List of concepts or other output related data for the model.
*
*
* .clarifai.api.Data data = 1;
*/
com.clarifai.grpc.api.DataOrBuilder getDataOrBuilder();
/**
*
* Model configuration...going away in favor of infer_params and train_params over time.
* TO BE DEPRECATED
*
*
* .clarifai.api.OutputConfig output_config = 2;
* @return Whether the outputConfig field is set.
*/
boolean hasOutputConfig();
/**
*
* Model configuration...going away in favor of infer_params and train_params over time.
* TO BE DEPRECATED
*
*
* .clarifai.api.OutputConfig output_config = 2;
* @return The outputConfig.
*/
com.clarifai.grpc.api.OutputConfig getOutputConfig();
/**
*
* Model configuration...going away in favor of infer_params and train_params over time.
* TO BE DEPRECATED
*
*
* .clarifai.api.OutputConfig output_config = 2;
*/
com.clarifai.grpc.api.OutputConfigOrBuilder getOutputConfigOrBuilder();
/**
*
* For returning where to look for the Output info if not returning it.
*
*
* string message = 3;
* @return The message.
*/
java.lang.String getMessage();
/**
*
* For returning where to look for the Output info if not returning it.
*
*
* string message = 3;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
*
* Map from the api.Data field names to the underlying model graph's outputs. When using a
* PretrainedModelConfig the values in this map need to match the Triton config.pbtxt output names.
*
*
* .google.protobuf.Struct fields_map = 6;
* @return Whether the fieldsMap field is set.
*/
boolean hasFieldsMap();
/**
*
* Map from the api.Data field names to the underlying model graph's outputs. When using a
* PretrainedModelConfig the values in this map need to match the Triton config.pbtxt output names.
*
*
* .google.protobuf.Struct fields_map = 6;
* @return The fieldsMap.
*/
com.google.protobuf.Struct getFieldsMap();
/**
*
* Map from the api.Data field names to the underlying model graph's outputs. When using a
* PretrainedModelConfig the values in this map need to match the Triton config.pbtxt output names.
*
*
* .google.protobuf.Struct fields_map = 6;
*/
com.google.protobuf.StructOrBuilder getFieldsMapOrBuilder();
/**
*
* For predicting with the various ModelType's we accept a Struct (JSON object) worth of args
* that the ModelTypeField defines. During inference, the settings contained within are sent
* to the model predictor to alter predictions from this Model.
*
*
* .google.protobuf.Struct params = 7;
* @return Whether the params field is set.
*/
boolean hasParams();
/**
*
* For predicting with the various ModelType's we accept a Struct (JSON object) worth of args
* that the ModelTypeField defines. During inference, the settings contained within are sent
* to the model predictor to alter predictions from this Model.
*
*
* .google.protobuf.Struct params = 7;
* @return The params.
*/
com.google.protobuf.Struct getParams();
/**
*
* For predicting with the various ModelType's we accept a Struct (JSON object) worth of args
* that the ModelTypeField defines. During inference, the settings contained within are sent
* to the model predictor to alter predictions from this Model.
*
*
* .google.protobuf.Struct params = 7;
*/
com.google.protobuf.StructOrBuilder getParamsOrBuilder();
/**
* repeated .clarifai.api.ModelTypeField params_specs = 8;
*/
java.util.List
getParamsSpecsList();
/**
* repeated .clarifai.api.ModelTypeField params_specs = 8;
*/
com.clarifai.grpc.api.ModelTypeField getParamsSpecs(int index);
/**
* repeated .clarifai.api.ModelTypeField params_specs = 8;
*/
int getParamsSpecsCount();
/**
* repeated .clarifai.api.ModelTypeField params_specs = 8;
*/
java.util.List extends com.clarifai.grpc.api.ModelTypeFieldOrBuilder>
getParamsSpecsOrBuilderList();
/**
* repeated .clarifai.api.ModelTypeField params_specs = 8;
*/
com.clarifai.grpc.api.ModelTypeFieldOrBuilder getParamsSpecsOrBuilder(
int index);
}