com.clarifai.grpc.api.WorkflowResultOrBuilder 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 WorkflowResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.WorkflowResult)
com.google.protobuf.MessageOrBuilder {
/**
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
* .clarifai.api.status.Status status = 2;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
* .clarifai.api.status.Status status = 2;
* @return The status.
*/
com.clarifai.grpc.api.status.Status getStatus();
/**
* .clarifai.api.status.Status status = 2;
*/
com.clarifai.grpc.api.status.StatusOrBuilder getStatusOrBuilder();
/**
*
* When the object was created. We follow the XXXX timestamp
* format. We use https://www.ietf.org/rfc/rfc3339.txt format:
* "2006-01-02T15:04:05.999999Z" so you can expect results like
* the following from the API:
* "2017-04-11T21:50:50.223962Z"
*
*
* .google.protobuf.Timestamp created_at = 3;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* When the object was created. We follow the XXXX timestamp
* format. We use https://www.ietf.org/rfc/rfc3339.txt format:
* "2006-01-02T15:04:05.999999Z" so you can expect results like
* the following from the API:
* "2017-04-11T21:50:50.223962Z"
*
*
* .google.protobuf.Timestamp created_at = 3;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* When the object was created. We follow the XXXX timestamp
* format. We use https://www.ietf.org/rfc/rfc3339.txt format:
* "2006-01-02T15:04:05.999999Z" so you can expect results like
* the following from the API:
* "2017-04-11T21:50:50.223962Z"
*
*
* .google.protobuf.Timestamp created_at = 3;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
*
* The model that this WorkflowResult is for.
* DEPRECATED: not sure why there ever was a model here because each output shows the model
* that process this given input.
*
*
* .clarifai.api.Model model = 4 [deprecated = true];
* @deprecated clarifai.api.WorkflowResult.model is deprecated.
* See proto/clarifai/api/resources.proto;l=2884
* @return Whether the model field is set.
*/
@java.lang.Deprecated boolean hasModel();
/**
*
* The model that this WorkflowResult is for.
* DEPRECATED: not sure why there ever was a model here because each output shows the model
* that process this given input.
*
*
* .clarifai.api.Model model = 4 [deprecated = true];
* @deprecated clarifai.api.WorkflowResult.model is deprecated.
* See proto/clarifai/api/resources.proto;l=2884
* @return The model.
*/
@java.lang.Deprecated com.clarifai.grpc.api.Model getModel();
/**
*
* The model that this WorkflowResult is for.
* DEPRECATED: not sure why there ever was a model here because each output shows the model
* that process this given input.
*
*
* .clarifai.api.Model model = 4 [deprecated = true];
*/
@java.lang.Deprecated com.clarifai.grpc.api.ModelOrBuilder getModelOrBuilder();
/**
*
* The input that ran through the workflow to generate the outputs in this WorkflowResult.
*
*
* .clarifai.api.Input input = 5;
* @return Whether the input field is set.
*/
boolean hasInput();
/**
*
* The input that ran through the workflow to generate the outputs in this WorkflowResult.
*
*
* .clarifai.api.Input input = 5;
* @return The input.
*/
com.clarifai.grpc.api.Input getInput();
/**
*
* The input that ran through the workflow to generate the outputs in this WorkflowResult.
*
*
* .clarifai.api.Input input = 5;
*/
com.clarifai.grpc.api.InputOrBuilder getInputOrBuilder();
/**
*
* For each model in the workflow we return an Output.
*
*
* repeated .clarifai.api.Output outputs = 6;
*/
java.util.List
getOutputsList();
/**
*
* For each model in the workflow we return an Output.
*
*
* repeated .clarifai.api.Output outputs = 6;
*/
com.clarifai.grpc.api.Output getOutputs(int index);
/**
*
* For each model in the workflow we return an Output.
*
*
* repeated .clarifai.api.Output outputs = 6;
*/
int getOutputsCount();
/**
*
* For each model in the workflow we return an Output.
*
*
* repeated .clarifai.api.Output outputs = 6;
*/
java.util.List extends com.clarifai.grpc.api.OutputOrBuilder>
getOutputsOrBuilderList();
/**
*
* For each model in the workflow we return an Output.
*
*
* repeated .clarifai.api.Output outputs = 6;
*/
com.clarifai.grpc.api.OutputOrBuilder getOutputsOrBuilder(
int index);
/**
*
* Indicate if the output of this model is suppressed.
*
*
* bool suppress_output = 7;
* @return The suppressOutput.
*/
boolean getSuppressOutput();
}