com.clarifai.grpc.api.PatchAnnotationsRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: proto/clarifai/api/service.proto
package com.clarifai.grpc.api;
public interface PatchAnnotationsRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:clarifai.api.PatchAnnotationsRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .clarifai.api.UserAppIDSet user_app_id = 1;
* @return Whether the userAppId field is set.
*/
boolean hasUserAppId();
/**
* .clarifai.api.UserAppIDSet user_app_id = 1;
* @return The userAppId.
*/
com.clarifai.grpc.api.UserAppIDSet getUserAppId();
/**
* .clarifai.api.UserAppIDSet user_app_id = 1;
*/
com.clarifai.grpc.api.UserAppIDSetOrBuilder getUserAppIdOrBuilder();
/**
* repeated .clarifai.api.Annotation annotations = 2;
*/
java.util.List
getAnnotationsList();
/**
* repeated .clarifai.api.Annotation annotations = 2;
*/
com.clarifai.grpc.api.Annotation getAnnotations(int index);
/**
* repeated .clarifai.api.Annotation annotations = 2;
*/
int getAnnotationsCount();
/**
* repeated .clarifai.api.Annotation annotations = 2;
*/
java.util.List extends com.clarifai.grpc.api.AnnotationOrBuilder>
getAnnotationsOrBuilderList();
/**
* repeated .clarifai.api.Annotation annotations = 2;
*/
com.clarifai.grpc.api.AnnotationOrBuilder getAnnotationsOrBuilder(
int index);
/**
*
* The action to perform on the patched objects
* For now actions 'merge', 'overwrite', and 'remove' are supported
*
*
* string action = 3;
* @return The action.
*/
java.lang.String getAction();
/**
*
* The action to perform on the patched objects
* For now actions 'merge', 'overwrite', and 'remove' are supported
*
*
* string action = 3;
* @return The bytes for action.
*/
com.google.protobuf.ByteString
getActionBytes();
/**
*
* If the request is a "remove" action and the annotation is left with empty data,
* then setting delete_if_empty_data to true will delete the annotation,
* if possible (for example, will not delete an input-level annotation).
*
*
* bool delete_if_empty_data = 4;
* @return The deleteIfEmptyData.
*/
boolean getDeleteIfEmptyData();
}