com.clarifai.grpc.api.InputOrBuilder 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 InputOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Input)
com.google.protobuf.MessageOrBuilder {
/**
*
* The ID for the input
*
*
* string id = 1;
* @return The id.
*/
java.lang.String getId();
/**
*
* The ID for the input
*
*
* string id = 1;
* @return The bytes for id.
*/
com.google.protobuf.ByteString
getIdBytes();
/**
*
* The data passed along in this input.
*
*
* .clarifai.api.Data data = 2;
* @return Whether the data field is set.
*/
boolean hasData();
/**
*
* The data passed along in this input.
*
*
* .clarifai.api.Data data = 2;
* @return The data.
*/
com.clarifai.grpc.api.Data getData();
/**
*
* The data passed along in this input.
*
*
* .clarifai.api.Data data = 2;
*/
com.clarifai.grpc.api.DataOrBuilder getDataOrBuilder();
/**
*
* When the input 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 = 4;
* @return Whether the createdAt field is set.
*/
boolean hasCreatedAt();
/**
*
* When the input 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 = 4;
* @return The createdAt.
*/
com.google.protobuf.Timestamp getCreatedAt();
/**
*
* When the input 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 = 4;
*/
com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
/**
*
* When the input was modified.
*
*
* .google.protobuf.Timestamp modified_at = 5;
* @return Whether the modifiedAt field is set.
*/
boolean hasModifiedAt();
/**
*
* When the input was modified.
*
*
* .google.protobuf.Timestamp modified_at = 5;
* @return The modifiedAt.
*/
com.google.protobuf.Timestamp getModifiedAt();
/**
*
* When the input was modified.
*
*
* .google.protobuf.Timestamp modified_at = 5;
*/
com.google.protobuf.TimestampOrBuilder getModifiedAtOrBuilder();
/**
*
* This is the status at a per Input level which allows for
* partial failures.
*
*
* .clarifai.api.status.Status status = 6;
* @return Whether the status field is set.
*/
boolean hasStatus();
/**
*
* This is the status at a per Input level which allows for
* partial failures.
*
*
* .clarifai.api.status.Status status = 6;
* @return The status.
*/
com.clarifai.grpc.api.status.Status getStatus();
/**
*
* This is the status at a per Input level which allows for
* partial failures.
*
*
* .clarifai.api.status.Status status = 6;
*/
com.clarifai.grpc.api.status.StatusOrBuilder getStatusOrBuilder();
/**
*
* List of dataset IDs that this input is part of
* Currently, this field is ONLY used to
* * search inputs part of dataset(s), e.g. in `PostSearches`, `PostInputsSearches` and `PostAnnotationsSearches` endpoints, and
* * to add inputs to dataset(s) in `PostInputs` endpoint.
* Note that this field is ignored for other endpoints, e.g. `GetInput`, `ListInputs` and `PatchInputs`.
*
*
* repeated string dataset_ids = 7;
* @return A list containing the datasetIds.
*/
java.util.List
getDatasetIdsList();
/**
*
* List of dataset IDs that this input is part of
* Currently, this field is ONLY used to
* * search inputs part of dataset(s), e.g. in `PostSearches`, `PostInputsSearches` and `PostAnnotationsSearches` endpoints, and
* * to add inputs to dataset(s) in `PostInputs` endpoint.
* Note that this field is ignored for other endpoints, e.g. `GetInput`, `ListInputs` and `PatchInputs`.
*
*
* repeated string dataset_ids = 7;
* @return The count of datasetIds.
*/
int getDatasetIdsCount();
/**
*
* List of dataset IDs that this input is part of
* Currently, this field is ONLY used to
* * search inputs part of dataset(s), e.g. in `PostSearches`, `PostInputsSearches` and `PostAnnotationsSearches` endpoints, and
* * to add inputs to dataset(s) in `PostInputs` endpoint.
* Note that this field is ignored for other endpoints, e.g. `GetInput`, `ListInputs` and `PatchInputs`.
*
*
* repeated string dataset_ids = 7;
* @param index The index of the element to return.
* @return The datasetIds at the given index.
*/
java.lang.String getDatasetIds(int index);
/**
*
* List of dataset IDs that this input is part of
* Currently, this field is ONLY used to
* * search inputs part of dataset(s), e.g. in `PostSearches`, `PostInputsSearches` and `PostAnnotationsSearches` endpoints, and
* * to add inputs to dataset(s) in `PostInputs` endpoint.
* Note that this field is ignored for other endpoints, e.g. `GetInput`, `ListInputs` and `PatchInputs`.
*
*
* repeated string dataset_ids = 7;
* @param index The index of the value to return.
* @return The bytes of the datasetIds at the given index.
*/
com.google.protobuf.ByteString
getDatasetIdsBytes(int index);
}