com.clarifai.grpc.api.DataOrBuilder 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 DataOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.Data)
com.google.protobuf.MessageOrBuilder {
/**
*
* Input and output images.
*
*
* .clarifai.api.Image image = 1;
* @return Whether the image field is set.
*/
boolean hasImage();
/**
*
* Input and output images.
*
*
* .clarifai.api.Image image = 1;
* @return The image.
*/
com.clarifai.grpc.api.Image getImage();
/**
*
* Input and output images.
*
*
* .clarifai.api.Image image = 1;
*/
com.clarifai.grpc.api.ImageOrBuilder getImageOrBuilder();
/**
*
* Input and output videos.
*
*
* .clarifai.api.Video video = 2;
* @return Whether the video field is set.
*/
boolean hasVideo();
/**
*
* Input and output videos.
*
*
* .clarifai.api.Video video = 2;
* @return The video.
*/
com.clarifai.grpc.api.Video getVideo();
/**
*
* Input and output videos.
*
*
* .clarifai.api.Video video = 2;
*/
com.clarifai.grpc.api.VideoOrBuilder getVideoOrBuilder();
/**
*
* A list of concepts.
*
*
* repeated .clarifai.api.Concept concepts = 3;
*/
java.util.List
getConceptsList();
/**
*
* A list of concepts.
*
*
* repeated .clarifai.api.Concept concepts = 3;
*/
com.clarifai.grpc.api.Concept getConcepts(int index);
/**
*
* A list of concepts.
*
*
* repeated .clarifai.api.Concept concepts = 3;
*/
int getConceptsCount();
/**
*
* A list of concepts.
*
*
* repeated .clarifai.api.Concept concepts = 3;
*/
java.util.List extends com.clarifai.grpc.api.ConceptOrBuilder>
getConceptsOrBuilderList();
/**
*
* A list of concepts.
*
*
* repeated .clarifai.api.Concept concepts = 3;
*/
com.clarifai.grpc.api.ConceptOrBuilder getConceptsOrBuilder(
int index);
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 5;
* @return Whether the metadata field is set.
*/
boolean hasMetadata();
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 5;
* @return The metadata.
*/
com.google.protobuf.Struct getMetadata();
/**
*
* To handle arbitrary json metadata you can use a struct field:
* https://github.com/google/protobuf/blob/master/src/google/protobuf/struct.proto
*
*
* .google.protobuf.Struct metadata = 5;
*/
com.google.protobuf.StructOrBuilder getMetadataOrBuilder();
/**
*
* Geography information.
*
*
* .clarifai.api.Geo geo = 6;
* @return Whether the geo field is set.
*/
boolean hasGeo();
/**
*
* Geography information.
*
*
* .clarifai.api.Geo geo = 6;
* @return The geo.
*/
com.clarifai.grpc.api.Geo getGeo();
/**
*
* Geography information.
*
*
* .clarifai.api.Geo geo = 6;
*/
com.clarifai.grpc.api.GeoOrBuilder getGeoOrBuilder();
/**
*
* The dominant colors within an image.
*
*
* repeated .clarifai.api.Color colors = 7;
*/
java.util.List
getColorsList();
/**
*
* The dominant colors within an image.
*
*
* repeated .clarifai.api.Color colors = 7;
*/
com.clarifai.grpc.api.Color getColors(int index);
/**
*
* The dominant colors within an image.
*
*
* repeated .clarifai.api.Color colors = 7;
*/
int getColorsCount();
/**
*
* The dominant colors within an image.
*
*
* repeated .clarifai.api.Color colors = 7;
*/
java.util.List extends com.clarifai.grpc.api.ColorOrBuilder>
getColorsOrBuilderList();
/**
*
* The dominant colors within an image.
*
*
* repeated .clarifai.api.Color colors = 7;
*/
com.clarifai.grpc.api.ColorOrBuilder getColorsOrBuilder(
int index);
/**
*
* Clustering centroids for inputs.
*
*
* repeated .clarifai.api.Cluster clusters = 8;
*/
java.util.List
getClustersList();
/**
*
* Clustering centroids for inputs.
*
*
* repeated .clarifai.api.Cluster clusters = 8;
*/
com.clarifai.grpc.api.Cluster getClusters(int index);
/**
*
* Clustering centroids for inputs.
*
*
* repeated .clarifai.api.Cluster clusters = 8;
*/
int getClustersCount();
/**
*
* Clustering centroids for inputs.
*
*
* repeated .clarifai.api.Cluster clusters = 8;
*/
java.util.List extends com.clarifai.grpc.api.ClusterOrBuilder>
getClustersOrBuilderList();
/**
*
* Clustering centroids for inputs.
*
*
* repeated .clarifai.api.Cluster clusters = 8;
*/
com.clarifai.grpc.api.ClusterOrBuilder getClustersOrBuilder(
int index);
/**
*
* Embedding vectors representing each input.
*
*
* repeated .clarifai.api.Embedding embeddings = 9;
*/
java.util.List
getEmbeddingsList();
/**
*
* Embedding vectors representing each input.
*
*
* repeated .clarifai.api.Embedding embeddings = 9;
*/
com.clarifai.grpc.api.Embedding getEmbeddings(int index);
/**
*
* Embedding vectors representing each input.
*
*
* repeated .clarifai.api.Embedding embeddings = 9;
*/
int getEmbeddingsCount();
/**
*
* Embedding vectors representing each input.
*
*
* repeated .clarifai.api.Embedding embeddings = 9;
*/
java.util.List extends com.clarifai.grpc.api.EmbeddingOrBuilder>
getEmbeddingsOrBuilderList();
/**
*
* Embedding vectors representing each input.
*
*
* repeated .clarifai.api.Embedding embeddings = 9;
*/
com.clarifai.grpc.api.EmbeddingOrBuilder getEmbeddingsOrBuilder(
int index);
/**
*
* For recursing into localized regions of an input.
*
*
* repeated .clarifai.api.Region regions = 11;
*/
java.util.List
getRegionsList();
/**
*
* For recursing into localized regions of an input.
*
*
* repeated .clarifai.api.Region regions = 11;
*/
com.clarifai.grpc.api.Region getRegions(int index);
/**
*
* For recursing into localized regions of an input.
*
*
* repeated .clarifai.api.Region regions = 11;
*/
int getRegionsCount();
/**
*
* For recursing into localized regions of an input.
*
*
* repeated .clarifai.api.Region regions = 11;
*/
java.util.List extends com.clarifai.grpc.api.RegionOrBuilder>
getRegionsOrBuilderList();
/**
*
* For recursing into localized regions of an input.
*
*
* repeated .clarifai.api.Region regions = 11;
*/
com.clarifai.grpc.api.RegionOrBuilder getRegionsOrBuilder(
int index);
/**
*
* For temporal content like video.
*
*
* repeated .clarifai.api.Frame frames = 12;
*/
java.util.List
getFramesList();
/**
*
* For temporal content like video.
*
*
* repeated .clarifai.api.Frame frames = 12;
*/
com.clarifai.grpc.api.Frame getFrames(int index);
/**
*
* For temporal content like video.
*
*
* repeated .clarifai.api.Frame frames = 12;
*/
int getFramesCount();
/**
*
* For temporal content like video.
*
*
* repeated .clarifai.api.Frame frames = 12;
*/
java.util.List extends com.clarifai.grpc.api.FrameOrBuilder>
getFramesOrBuilderList();
/**
*
* For temporal content like video.
*
*
* repeated .clarifai.api.Frame frames = 12;
*/
com.clarifai.grpc.api.FrameOrBuilder getFramesOrBuilder(
int index);
/**
*
* Input, output or annotation text.
*
*
* .clarifai.api.Text text = 13;
* @return Whether the text field is set.
*/
boolean hasText();
/**
*
* Input, output or annotation text.
*
*
* .clarifai.api.Text text = 13;
* @return The text.
*/
com.clarifai.grpc.api.Text getText();
/**
*
* Input, output or annotation text.
*
*
* .clarifai.api.Text text = 13;
*/
com.clarifai.grpc.api.TextOrBuilder getTextOrBuilder();
/**
*
* Input and output audio.
*
*
* .clarifai.api.Audio audio = 14;
* @return Whether the audio field is set.
*/
boolean hasAudio();
/**
*
* Input and output audio.
*
*
* .clarifai.api.Audio audio = 14;
* @return The audio.
*/
com.clarifai.grpc.api.Audio getAudio();
/**
*
* Input and output audio.
*
*
* .clarifai.api.Audio audio = 14;
*/
com.clarifai.grpc.api.AudioOrBuilder getAudioOrBuilder();
/**
*
* Track information.
*
*
* repeated .clarifai.api.Track tracks = 15;
*/
java.util.List
getTracksList();
/**
*
* Track information.
*
*
* repeated .clarifai.api.Track tracks = 15;
*/
com.clarifai.grpc.api.Track getTracks(int index);
/**
*
* Track information.
*
*
* repeated .clarifai.api.Track tracks = 15;
*/
int getTracksCount();
/**
*
* Track information.
*
*
* repeated .clarifai.api.Track tracks = 15;
*/
java.util.List extends com.clarifai.grpc.api.TrackOrBuilder>
getTracksOrBuilderList();
/**
*
* Track information.
*
*
* repeated .clarifai.api.Track tracks = 15;
*/
com.clarifai.grpc.api.TrackOrBuilder getTracksOrBuilder(
int index);
/**
*
* Time segments information.
*
*
* repeated .clarifai.api.TimeSegment time_segments = 16;
*/
java.util.List
getTimeSegmentsList();
/**
*
* Time segments information.
*
*
* repeated .clarifai.api.TimeSegment time_segments = 16;
*/
com.clarifai.grpc.api.TimeSegment getTimeSegments(int index);
/**
*
* Time segments information.
*
*
* repeated .clarifai.api.TimeSegment time_segments = 16;
*/
int getTimeSegmentsCount();
/**
*
* Time segments information.
*
*
* repeated .clarifai.api.TimeSegment time_segments = 16;
*/
java.util.List extends com.clarifai.grpc.api.TimeSegmentOrBuilder>
getTimeSegmentsOrBuilderList();
/**
*
* Time segments information.
*
*
* repeated .clarifai.api.TimeSegment time_segments = 16;
*/
com.clarifai.grpc.api.TimeSegmentOrBuilder getTimeSegmentsOrBuilder(
int index);
/**
*
* Holds score, rank, and user, app, input IDs and search hit data
*
*
* repeated .clarifai.api.Hit hits = 17;
*/
java.util.List
getHitsList();
/**
*
* Holds score, rank, and user, app, input IDs and search hit data
*
*
* repeated .clarifai.api.Hit hits = 17;
*/
com.clarifai.grpc.api.Hit getHits(int index);
/**
*
* Holds score, rank, and user, app, input IDs and search hit data
*
*
* repeated .clarifai.api.Hit hits = 17;
*/
int getHitsCount();
/**
*
* Holds score, rank, and user, app, input IDs and search hit data
*
*
* repeated .clarifai.api.Hit hits = 17;
*/
java.util.List extends com.clarifai.grpc.api.HitOrBuilder>
getHitsOrBuilderList();
/**
*
* Holds score, rank, and user, app, input IDs and search hit data
*
*
* repeated .clarifai.api.Hit hits = 17;
*/
com.clarifai.grpc.api.HitOrBuilder getHitsOrBuilder(
int index);
/**
*
* Heatmap as 2d image
*
*
* repeated .clarifai.api.Image heatmaps = 18;
*/
java.util.List
getHeatmapsList();
/**
*
* Heatmap as 2d image
*
*
* repeated .clarifai.api.Image heatmaps = 18;
*/
com.clarifai.grpc.api.Image getHeatmaps(int index);
/**
*
* Heatmap as 2d image
*
*
* repeated .clarifai.api.Image heatmaps = 18;
*/
int getHeatmapsCount();
/**
*
* Heatmap as 2d image
*
*
* repeated .clarifai.api.Image heatmaps = 18;
*/
java.util.List extends com.clarifai.grpc.api.ImageOrBuilder>
getHeatmapsOrBuilderList();
/**
*
* Heatmap as 2d image
*
*
* repeated .clarifai.api.Image heatmaps = 18;
*/
com.clarifai.grpc.api.ImageOrBuilder getHeatmapsOrBuilder(
int index);
}