Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.clarifai.grpc.api.V2Grpc Maven / Gradle / Ivy
package com.clarifai.grpc.api;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.27.2)",
comments = "Source: proto/clarifai/api/service.proto")
public final class V2Grpc {
private V2Grpc() {}
public static final String SERVICE_NAME = "clarifai.api.V2";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getListConceptRelationsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListConceptRelations",
requestType = com.clarifai.grpc.api.ListConceptRelationsRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptRelationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListConceptRelationsMethod() {
io.grpc.MethodDescriptor getListConceptRelationsMethod;
if ((getListConceptRelationsMethod = V2Grpc.getListConceptRelationsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListConceptRelationsMethod = V2Grpc.getListConceptRelationsMethod) == null) {
V2Grpc.getListConceptRelationsMethod = getListConceptRelationsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConceptRelations"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListConceptRelationsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptRelationResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListConceptRelations"))
.build();
}
}
}
return getListConceptRelationsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostConceptRelationsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostConceptRelations",
requestType = com.clarifai.grpc.api.PostConceptRelationsRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptRelationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostConceptRelationsMethod() {
io.grpc.MethodDescriptor getPostConceptRelationsMethod;
if ((getPostConceptRelationsMethod = V2Grpc.getPostConceptRelationsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostConceptRelationsMethod = V2Grpc.getPostConceptRelationsMethod) == null) {
V2Grpc.getPostConceptRelationsMethod = getPostConceptRelationsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostConceptRelations"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostConceptRelationsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptRelationResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostConceptRelations"))
.build();
}
}
}
return getPostConceptRelationsMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteConceptRelationsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteConceptRelations",
requestType = com.clarifai.grpc.api.DeleteConceptRelationsRequest.class,
responseType = com.clarifai.grpc.api.status.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteConceptRelationsMethod() {
io.grpc.MethodDescriptor getDeleteConceptRelationsMethod;
if ((getDeleteConceptRelationsMethod = V2Grpc.getDeleteConceptRelationsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteConceptRelationsMethod = V2Grpc.getDeleteConceptRelationsMethod) == null) {
V2Grpc.getDeleteConceptRelationsMethod = getDeleteConceptRelationsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConceptRelations"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.DeleteConceptRelationsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.status.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteConceptRelations"))
.build();
}
}
}
return getDeleteConceptRelationsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetConceptCountsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetConceptCounts",
requestType = com.clarifai.grpc.api.GetConceptCountsRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptCountResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetConceptCountsMethod() {
io.grpc.MethodDescriptor getGetConceptCountsMethod;
if ((getGetConceptCountsMethod = V2Grpc.getGetConceptCountsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetConceptCountsMethod = V2Grpc.getGetConceptCountsMethod) == null) {
V2Grpc.getGetConceptCountsMethod = getGetConceptCountsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConceptCounts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetConceptCountsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptCountResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetConceptCounts"))
.build();
}
}
}
return getGetConceptCountsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetConceptMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetConcept",
requestType = com.clarifai.grpc.api.GetConceptRequest.class,
responseType = com.clarifai.grpc.api.SingleConceptResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetConceptMethod() {
io.grpc.MethodDescriptor getGetConceptMethod;
if ((getGetConceptMethod = V2Grpc.getGetConceptMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetConceptMethod = V2Grpc.getGetConceptMethod) == null) {
V2Grpc.getGetConceptMethod = getGetConceptMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConcept"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetConceptRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleConceptResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetConcept"))
.build();
}
}
}
return getGetConceptMethod;
}
private static volatile io.grpc.MethodDescriptor getListConceptsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListConcepts",
requestType = com.clarifai.grpc.api.ListConceptsRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListConceptsMethod() {
io.grpc.MethodDescriptor getListConceptsMethod;
if ((getListConceptsMethod = V2Grpc.getListConceptsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListConceptsMethod = V2Grpc.getListConceptsMethod) == null) {
V2Grpc.getListConceptsMethod = getListConceptsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConcepts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListConceptsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListConcepts"))
.build();
}
}
}
return getListConceptsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostConceptsSearchesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostConceptsSearches",
requestType = com.clarifai.grpc.api.PostConceptsSearchesRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostConceptsSearchesMethod() {
io.grpc.MethodDescriptor getPostConceptsSearchesMethod;
if ((getPostConceptsSearchesMethod = V2Grpc.getPostConceptsSearchesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostConceptsSearchesMethod = V2Grpc.getPostConceptsSearchesMethod) == null) {
V2Grpc.getPostConceptsSearchesMethod = getPostConceptsSearchesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostConceptsSearches"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostConceptsSearchesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostConceptsSearches"))
.build();
}
}
}
return getPostConceptsSearchesMethod;
}
private static volatile io.grpc.MethodDescriptor getPostConceptsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostConcepts",
requestType = com.clarifai.grpc.api.PostConceptsRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostConceptsMethod() {
io.grpc.MethodDescriptor getPostConceptsMethod;
if ((getPostConceptsMethod = V2Grpc.getPostConceptsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostConceptsMethod = V2Grpc.getPostConceptsMethod) == null) {
V2Grpc.getPostConceptsMethod = getPostConceptsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostConcepts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostConceptsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostConcepts"))
.build();
}
}
}
return getPostConceptsMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchConceptsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchConcepts",
requestType = com.clarifai.grpc.api.PatchConceptsRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchConceptsMethod() {
io.grpc.MethodDescriptor getPatchConceptsMethod;
if ((getPatchConceptsMethod = V2Grpc.getPatchConceptsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchConceptsMethod = V2Grpc.getPatchConceptsMethod) == null) {
V2Grpc.getPatchConceptsMethod = getPatchConceptsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchConcepts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchConceptsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchConcepts"))
.build();
}
}
}
return getPatchConceptsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetConceptLanguageMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetConceptLanguage",
requestType = com.clarifai.grpc.api.GetConceptLanguageRequest.class,
responseType = com.clarifai.grpc.api.SingleConceptLanguageResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetConceptLanguageMethod() {
io.grpc.MethodDescriptor getGetConceptLanguageMethod;
if ((getGetConceptLanguageMethod = V2Grpc.getGetConceptLanguageMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetConceptLanguageMethod = V2Grpc.getGetConceptLanguageMethod) == null) {
V2Grpc.getGetConceptLanguageMethod = getGetConceptLanguageMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConceptLanguage"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetConceptLanguageRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleConceptLanguageResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetConceptLanguage"))
.build();
}
}
}
return getGetConceptLanguageMethod;
}
private static volatile io.grpc.MethodDescriptor getListConceptLanguagesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListConceptLanguages",
requestType = com.clarifai.grpc.api.ListConceptLanguagesRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptLanguageResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListConceptLanguagesMethod() {
io.grpc.MethodDescriptor getListConceptLanguagesMethod;
if ((getListConceptLanguagesMethod = V2Grpc.getListConceptLanguagesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListConceptLanguagesMethod = V2Grpc.getListConceptLanguagesMethod) == null) {
V2Grpc.getListConceptLanguagesMethod = getListConceptLanguagesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConceptLanguages"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListConceptLanguagesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptLanguageResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListConceptLanguages"))
.build();
}
}
}
return getListConceptLanguagesMethod;
}
private static volatile io.grpc.MethodDescriptor getPostConceptLanguagesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostConceptLanguages",
requestType = com.clarifai.grpc.api.PostConceptLanguagesRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptLanguageResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostConceptLanguagesMethod() {
io.grpc.MethodDescriptor getPostConceptLanguagesMethod;
if ((getPostConceptLanguagesMethod = V2Grpc.getPostConceptLanguagesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostConceptLanguagesMethod = V2Grpc.getPostConceptLanguagesMethod) == null) {
V2Grpc.getPostConceptLanguagesMethod = getPostConceptLanguagesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostConceptLanguages"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostConceptLanguagesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptLanguageResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostConceptLanguages"))
.build();
}
}
}
return getPostConceptLanguagesMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchConceptLanguagesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchConceptLanguages",
requestType = com.clarifai.grpc.api.PatchConceptLanguagesRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptLanguageResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchConceptLanguagesMethod() {
io.grpc.MethodDescriptor getPatchConceptLanguagesMethod;
if ((getPatchConceptLanguagesMethod = V2Grpc.getPatchConceptLanguagesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchConceptLanguagesMethod = V2Grpc.getPatchConceptLanguagesMethod) == null) {
V2Grpc.getPatchConceptLanguagesMethod = getPatchConceptLanguagesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchConceptLanguages"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchConceptLanguagesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptLanguageResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchConceptLanguages"))
.build();
}
}
}
return getPatchConceptLanguagesMethod;
}
private static volatile io.grpc.MethodDescriptor getListKnowledgeGraphsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListKnowledgeGraphs",
requestType = com.clarifai.grpc.api.ListKnowledgeGraphsRequest.class,
responseType = com.clarifai.grpc.api.MultiKnowledgeGraphResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListKnowledgeGraphsMethod() {
io.grpc.MethodDescriptor getListKnowledgeGraphsMethod;
if ((getListKnowledgeGraphsMethod = V2Grpc.getListKnowledgeGraphsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListKnowledgeGraphsMethod = V2Grpc.getListKnowledgeGraphsMethod) == null) {
V2Grpc.getListKnowledgeGraphsMethod = getListKnowledgeGraphsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListKnowledgeGraphs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListKnowledgeGraphsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiKnowledgeGraphResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListKnowledgeGraphs"))
.build();
}
}
}
return getListKnowledgeGraphsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostKnowledgeGraphsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostKnowledgeGraphs",
requestType = com.clarifai.grpc.api.PostKnowledgeGraphsRequest.class,
responseType = com.clarifai.grpc.api.MultiKnowledgeGraphResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostKnowledgeGraphsMethod() {
io.grpc.MethodDescriptor getPostKnowledgeGraphsMethod;
if ((getPostKnowledgeGraphsMethod = V2Grpc.getPostKnowledgeGraphsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostKnowledgeGraphsMethod = V2Grpc.getPostKnowledgeGraphsMethod) == null) {
V2Grpc.getPostKnowledgeGraphsMethod = getPostKnowledgeGraphsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostKnowledgeGraphs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostKnowledgeGraphsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiKnowledgeGraphResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostKnowledgeGraphs"))
.build();
}
}
}
return getPostKnowledgeGraphsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostConceptMappingJobsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostConceptMappingJobs",
requestType = com.clarifai.grpc.api.PostConceptMappingJobsRequest.class,
responseType = com.clarifai.grpc.api.MultiConceptMappingJobResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostConceptMappingJobsMethod() {
io.grpc.MethodDescriptor getPostConceptMappingJobsMethod;
if ((getPostConceptMappingJobsMethod = V2Grpc.getPostConceptMappingJobsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostConceptMappingJobsMethod = V2Grpc.getPostConceptMappingJobsMethod) == null) {
V2Grpc.getPostConceptMappingJobsMethod = getPostConceptMappingJobsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostConceptMappingJobs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostConceptMappingJobsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiConceptMappingJobResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostConceptMappingJobs"))
.build();
}
}
}
return getPostConceptMappingJobsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetAnnotationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetAnnotation",
requestType = com.clarifai.grpc.api.GetAnnotationRequest.class,
responseType = com.clarifai.grpc.api.SingleAnnotationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetAnnotationMethod() {
io.grpc.MethodDescriptor getGetAnnotationMethod;
if ((getGetAnnotationMethod = V2Grpc.getGetAnnotationMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetAnnotationMethod = V2Grpc.getGetAnnotationMethod) == null) {
V2Grpc.getGetAnnotationMethod = getGetAnnotationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetAnnotation"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetAnnotationRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleAnnotationResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetAnnotation"))
.build();
}
}
}
return getGetAnnotationMethod;
}
private static volatile io.grpc.MethodDescriptor getListAnnotationsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListAnnotations",
requestType = com.clarifai.grpc.api.ListAnnotationsRequest.class,
responseType = com.clarifai.grpc.api.MultiAnnotationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListAnnotationsMethod() {
io.grpc.MethodDescriptor getListAnnotationsMethod;
if ((getListAnnotationsMethod = V2Grpc.getListAnnotationsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListAnnotationsMethod = V2Grpc.getListAnnotationsMethod) == null) {
V2Grpc.getListAnnotationsMethod = getListAnnotationsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAnnotations"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListAnnotationsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiAnnotationResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListAnnotations"))
.build();
}
}
}
return getListAnnotationsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostAnnotationsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostAnnotations",
requestType = com.clarifai.grpc.api.PostAnnotationsRequest.class,
responseType = com.clarifai.grpc.api.MultiAnnotationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostAnnotationsMethod() {
io.grpc.MethodDescriptor getPostAnnotationsMethod;
if ((getPostAnnotationsMethod = V2Grpc.getPostAnnotationsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostAnnotationsMethod = V2Grpc.getPostAnnotationsMethod) == null) {
V2Grpc.getPostAnnotationsMethod = getPostAnnotationsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostAnnotations"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostAnnotationsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiAnnotationResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostAnnotations"))
.build();
}
}
}
return getPostAnnotationsMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchAnnotationsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchAnnotations",
requestType = com.clarifai.grpc.api.PatchAnnotationsRequest.class,
responseType = com.clarifai.grpc.api.MultiAnnotationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchAnnotationsMethod() {
io.grpc.MethodDescriptor getPatchAnnotationsMethod;
if ((getPatchAnnotationsMethod = V2Grpc.getPatchAnnotationsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchAnnotationsMethod = V2Grpc.getPatchAnnotationsMethod) == null) {
V2Grpc.getPatchAnnotationsMethod = getPatchAnnotationsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchAnnotations"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchAnnotationsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiAnnotationResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchAnnotations"))
.build();
}
}
}
return getPatchAnnotationsMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchAnnotationsStatusMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchAnnotationsStatus",
requestType = com.clarifai.grpc.api.PatchAnnotationsStatusRequest.class,
responseType = com.clarifai.grpc.api.PatchAnnotationsStatusResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchAnnotationsStatusMethod() {
io.grpc.MethodDescriptor getPatchAnnotationsStatusMethod;
if ((getPatchAnnotationsStatusMethod = V2Grpc.getPatchAnnotationsStatusMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchAnnotationsStatusMethod = V2Grpc.getPatchAnnotationsStatusMethod) == null) {
V2Grpc.getPatchAnnotationsStatusMethod = getPatchAnnotationsStatusMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchAnnotationsStatus"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchAnnotationsStatusRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchAnnotationsStatusResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchAnnotationsStatus"))
.build();
}
}
}
return getPatchAnnotationsStatusMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteAnnotationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteAnnotation",
requestType = com.clarifai.grpc.api.DeleteAnnotationRequest.class,
responseType = com.clarifai.grpc.api.status.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteAnnotationMethod() {
io.grpc.MethodDescriptor getDeleteAnnotationMethod;
if ((getDeleteAnnotationMethod = V2Grpc.getDeleteAnnotationMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteAnnotationMethod = V2Grpc.getDeleteAnnotationMethod) == null) {
V2Grpc.getDeleteAnnotationMethod = getDeleteAnnotationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAnnotation"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.DeleteAnnotationRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.status.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteAnnotation"))
.build();
}
}
}
return getDeleteAnnotationMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteAnnotationsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteAnnotations",
requestType = com.clarifai.grpc.api.DeleteAnnotationsRequest.class,
responseType = com.clarifai.grpc.api.status.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteAnnotationsMethod() {
io.grpc.MethodDescriptor getDeleteAnnotationsMethod;
if ((getDeleteAnnotationsMethod = V2Grpc.getDeleteAnnotationsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteAnnotationsMethod = V2Grpc.getDeleteAnnotationsMethod) == null) {
V2Grpc.getDeleteAnnotationsMethod = getDeleteAnnotationsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteAnnotations"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.DeleteAnnotationsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.status.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteAnnotations"))
.build();
}
}
}
return getDeleteAnnotationsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostAnnotationsSearchesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostAnnotationsSearches",
requestType = com.clarifai.grpc.api.PostAnnotationsSearchesRequest.class,
responseType = com.clarifai.grpc.api.MultiSearchResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostAnnotationsSearchesMethod() {
io.grpc.MethodDescriptor getPostAnnotationsSearchesMethod;
if ((getPostAnnotationsSearchesMethod = V2Grpc.getPostAnnotationsSearchesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostAnnotationsSearchesMethod = V2Grpc.getPostAnnotationsSearchesMethod) == null) {
V2Grpc.getPostAnnotationsSearchesMethod = getPostAnnotationsSearchesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostAnnotationsSearches"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostAnnotationsSearchesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiSearchResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostAnnotationsSearches"))
.build();
}
}
}
return getPostAnnotationsSearchesMethod;
}
private static volatile io.grpc.MethodDescriptor getGetInputCountMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetInputCount",
requestType = com.clarifai.grpc.api.GetInputCountRequest.class,
responseType = com.clarifai.grpc.api.SingleInputCountResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetInputCountMethod() {
io.grpc.MethodDescriptor getGetInputCountMethod;
if ((getGetInputCountMethod = V2Grpc.getGetInputCountMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetInputCountMethod = V2Grpc.getGetInputCountMethod) == null) {
V2Grpc.getGetInputCountMethod = getGetInputCountMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInputCount"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetInputCountRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleInputCountResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetInputCount"))
.build();
}
}
}
return getGetInputCountMethod;
}
private static volatile io.grpc.MethodDescriptor getStreamInputsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "StreamInputs",
requestType = com.clarifai.grpc.api.StreamInputsRequest.class,
responseType = com.clarifai.grpc.api.MultiInputResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getStreamInputsMethod() {
io.grpc.MethodDescriptor getStreamInputsMethod;
if ((getStreamInputsMethod = V2Grpc.getStreamInputsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getStreamInputsMethod = V2Grpc.getStreamInputsMethod) == null) {
V2Grpc.getStreamInputsMethod = getStreamInputsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.StreamInputsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiInputResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("StreamInputs"))
.build();
}
}
}
return getStreamInputsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetInputSamplesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetInputSamples",
requestType = com.clarifai.grpc.api.GetInputSamplesRequest.class,
responseType = com.clarifai.grpc.api.MultiInputAnnotationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetInputSamplesMethod() {
io.grpc.MethodDescriptor getGetInputSamplesMethod;
if ((getGetInputSamplesMethod = V2Grpc.getGetInputSamplesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetInputSamplesMethod = V2Grpc.getGetInputSamplesMethod) == null) {
V2Grpc.getGetInputSamplesMethod = getGetInputSamplesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInputSamples"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetInputSamplesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiInputAnnotationResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetInputSamples"))
.build();
}
}
}
return getGetInputSamplesMethod;
}
private static volatile io.grpc.MethodDescriptor getGetInputMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetInput",
requestType = com.clarifai.grpc.api.GetInputRequest.class,
responseType = com.clarifai.grpc.api.SingleInputResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetInputMethod() {
io.grpc.MethodDescriptor getGetInputMethod;
if ((getGetInputMethod = V2Grpc.getGetInputMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetInputMethod = V2Grpc.getGetInputMethod) == null) {
V2Grpc.getGetInputMethod = getGetInputMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetInput"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetInputRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleInputResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetInput"))
.build();
}
}
}
return getGetInputMethod;
}
private static volatile io.grpc.MethodDescriptor getListInputsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListInputs",
requestType = com.clarifai.grpc.api.ListInputsRequest.class,
responseType = com.clarifai.grpc.api.MultiInputResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListInputsMethod() {
io.grpc.MethodDescriptor getListInputsMethod;
if ((getListInputsMethod = V2Grpc.getListInputsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListInputsMethod = V2Grpc.getListInputsMethod) == null) {
V2Grpc.getListInputsMethod = getListInputsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListInputsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiInputResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListInputs"))
.build();
}
}
}
return getListInputsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostInputsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostInputs",
requestType = com.clarifai.grpc.api.PostInputsRequest.class,
responseType = com.clarifai.grpc.api.MultiInputResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostInputsMethod() {
io.grpc.MethodDescriptor getPostInputsMethod;
if ((getPostInputsMethod = V2Grpc.getPostInputsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostInputsMethod = V2Grpc.getPostInputsMethod) == null) {
V2Grpc.getPostInputsMethod = getPostInputsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostInputsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiInputResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostInputs"))
.build();
}
}
}
return getPostInputsMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchInputsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchInputs",
requestType = com.clarifai.grpc.api.PatchInputsRequest.class,
responseType = com.clarifai.grpc.api.MultiInputResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchInputsMethod() {
io.grpc.MethodDescriptor getPatchInputsMethod;
if ((getPatchInputsMethod = V2Grpc.getPatchInputsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchInputsMethod = V2Grpc.getPatchInputsMethod) == null) {
V2Grpc.getPatchInputsMethod = getPatchInputsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchInputsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiInputResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchInputs"))
.build();
}
}
}
return getPatchInputsMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteInputMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteInput",
requestType = com.clarifai.grpc.api.DeleteInputRequest.class,
responseType = com.clarifai.grpc.api.status.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteInputMethod() {
io.grpc.MethodDescriptor getDeleteInputMethod;
if ((getDeleteInputMethod = V2Grpc.getDeleteInputMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteInputMethod = V2Grpc.getDeleteInputMethod) == null) {
V2Grpc.getDeleteInputMethod = getDeleteInputMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInput"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.DeleteInputRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.status.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteInput"))
.build();
}
}
}
return getDeleteInputMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteInputsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteInputs",
requestType = com.clarifai.grpc.api.DeleteInputsRequest.class,
responseType = com.clarifai.grpc.api.status.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteInputsMethod() {
io.grpc.MethodDescriptor getDeleteInputsMethod;
if ((getDeleteInputsMethod = V2Grpc.getDeleteInputsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteInputsMethod = V2Grpc.getDeleteInputsMethod) == null) {
V2Grpc.getDeleteInputsMethod = getDeleteInputsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.DeleteInputsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.status.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteInputs"))
.build();
}
}
}
return getDeleteInputsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostInputsSearchesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostInputsSearches",
requestType = com.clarifai.grpc.api.PostInputsSearchesRequest.class,
responseType = com.clarifai.grpc.api.MultiSearchResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostInputsSearchesMethod() {
io.grpc.MethodDescriptor getPostInputsSearchesMethod;
if ((getPostInputsSearchesMethod = V2Grpc.getPostInputsSearchesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostInputsSearchesMethod = V2Grpc.getPostInputsSearchesMethod) == null) {
V2Grpc.getPostInputsSearchesMethod = getPostInputsSearchesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostInputsSearches"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostInputsSearchesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiSearchResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostInputsSearches"))
.build();
}
}
}
return getPostInputsSearchesMethod;
}
private static volatile io.grpc.MethodDescriptor getPostModelOutputsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostModelOutputs",
requestType = com.clarifai.grpc.api.PostModelOutputsRequest.class,
responseType = com.clarifai.grpc.api.MultiOutputResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostModelOutputsMethod() {
io.grpc.MethodDescriptor getPostModelOutputsMethod;
if ((getPostModelOutputsMethod = V2Grpc.getPostModelOutputsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostModelOutputsMethod = V2Grpc.getPostModelOutputsMethod) == null) {
V2Grpc.getPostModelOutputsMethod = getPostModelOutputsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostModelOutputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostModelOutputsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiOutputResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModelOutputs"))
.build();
}
}
}
return getPostModelOutputsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetModelTypeMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetModelType",
requestType = com.clarifai.grpc.api.GetModelTypeRequest.class,
responseType = com.clarifai.grpc.api.SingleModelTypeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetModelTypeMethod() {
io.grpc.MethodDescriptor getGetModelTypeMethod;
if ((getGetModelTypeMethod = V2Grpc.getGetModelTypeMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetModelTypeMethod = V2Grpc.getGetModelTypeMethod) == null) {
V2Grpc.getGetModelTypeMethod = getGetModelTypeMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetModelType"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetModelTypeRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleModelTypeResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetModelType"))
.build();
}
}
}
return getGetModelTypeMethod;
}
private static volatile io.grpc.MethodDescriptor getListOpenSourceLicensesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListOpenSourceLicenses",
requestType = com.clarifai.grpc.api.ListOpenSourceLicensesRequest.class,
responseType = com.clarifai.grpc.api.ListOpenSourceLicensesResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListOpenSourceLicensesMethod() {
io.grpc.MethodDescriptor getListOpenSourceLicensesMethod;
if ((getListOpenSourceLicensesMethod = V2Grpc.getListOpenSourceLicensesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListOpenSourceLicensesMethod = V2Grpc.getListOpenSourceLicensesMethod) == null) {
V2Grpc.getListOpenSourceLicensesMethod = getListOpenSourceLicensesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOpenSourceLicenses"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListOpenSourceLicensesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListOpenSourceLicensesResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListOpenSourceLicenses"))
.build();
}
}
}
return getListOpenSourceLicensesMethod;
}
private static volatile io.grpc.MethodDescriptor getListModelTypesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListModelTypes",
requestType = com.clarifai.grpc.api.ListModelTypesRequest.class,
responseType = com.clarifai.grpc.api.MultiModelTypeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListModelTypesMethod() {
io.grpc.MethodDescriptor getListModelTypesMethod;
if ((getListModelTypesMethod = V2Grpc.getListModelTypesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListModelTypesMethod = V2Grpc.getListModelTypesMethod) == null) {
V2Grpc.getListModelTypesMethod = getListModelTypesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListModelTypes"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListModelTypesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelTypeResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListModelTypes"))
.build();
}
}
}
return getListModelTypesMethod;
}
private static volatile io.grpc.MethodDescriptor getGetModelMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetModel",
requestType = com.clarifai.grpc.api.GetModelRequest.class,
responseType = com.clarifai.grpc.api.SingleModelResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetModelMethod() {
io.grpc.MethodDescriptor getGetModelMethod;
if ((getGetModelMethod = V2Grpc.getGetModelMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetModelMethod = V2Grpc.getGetModelMethod) == null) {
V2Grpc.getGetModelMethod = getGetModelMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetModel"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetModelRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleModelResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetModel"))
.build();
}
}
}
return getGetModelMethod;
}
private static volatile io.grpc.MethodDescriptor getGetModelOutputInfoMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetModelOutputInfo",
requestType = com.clarifai.grpc.api.GetModelRequest.class,
responseType = com.clarifai.grpc.api.SingleModelResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetModelOutputInfoMethod() {
io.grpc.MethodDescriptor getGetModelOutputInfoMethod;
if ((getGetModelOutputInfoMethod = V2Grpc.getGetModelOutputInfoMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetModelOutputInfoMethod = V2Grpc.getGetModelOutputInfoMethod) == null) {
V2Grpc.getGetModelOutputInfoMethod = getGetModelOutputInfoMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetModelOutputInfo"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetModelRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleModelResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetModelOutputInfo"))
.build();
}
}
}
return getGetModelOutputInfoMethod;
}
private static volatile io.grpc.MethodDescriptor getListModelsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListModels",
requestType = com.clarifai.grpc.api.ListModelsRequest.class,
responseType = com.clarifai.grpc.api.MultiModelResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListModelsMethod() {
io.grpc.MethodDescriptor getListModelsMethod;
if ((getListModelsMethod = V2Grpc.getListModelsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListModelsMethod = V2Grpc.getListModelsMethod) == null) {
V2Grpc.getListModelsMethod = getListModelsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListModels"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListModelsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListModels"))
.build();
}
}
}
return getListModelsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostModelsSearchesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostModelsSearches",
requestType = com.clarifai.grpc.api.PostModelsSearchesRequest.class,
responseType = com.clarifai.grpc.api.MultiModelResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostModelsSearchesMethod() {
io.grpc.MethodDescriptor getPostModelsSearchesMethod;
if ((getPostModelsSearchesMethod = V2Grpc.getPostModelsSearchesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostModelsSearchesMethod = V2Grpc.getPostModelsSearchesMethod) == null) {
V2Grpc.getPostModelsSearchesMethod = getPostModelsSearchesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostModelsSearches"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostModelsSearchesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModelsSearches"))
.build();
}
}
}
return getPostModelsSearchesMethod;
}
private static volatile io.grpc.MethodDescriptor getPostModelsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostModels",
requestType = com.clarifai.grpc.api.PostModelsRequest.class,
responseType = com.clarifai.grpc.api.SingleModelResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostModelsMethod() {
io.grpc.MethodDescriptor getPostModelsMethod;
if ((getPostModelsMethod = V2Grpc.getPostModelsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostModelsMethod = V2Grpc.getPostModelsMethod) == null) {
V2Grpc.getPostModelsMethod = getPostModelsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostModels"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostModelsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleModelResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModels"))
.build();
}
}
}
return getPostModelsMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchModelsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchModels",
requestType = com.clarifai.grpc.api.PatchModelsRequest.class,
responseType = com.clarifai.grpc.api.MultiModelResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchModelsMethod() {
io.grpc.MethodDescriptor getPatchModelsMethod;
if ((getPatchModelsMethod = V2Grpc.getPatchModelsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchModelsMethod = V2Grpc.getPatchModelsMethod) == null) {
V2Grpc.getPatchModelsMethod = getPatchModelsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchModels"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchModelsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchModels"))
.build();
}
}
}
return getPatchModelsMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteModelMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteModel",
requestType = com.clarifai.grpc.api.DeleteModelRequest.class,
responseType = com.clarifai.grpc.api.status.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteModelMethod() {
io.grpc.MethodDescriptor getDeleteModelMethod;
if ((getDeleteModelMethod = V2Grpc.getDeleteModelMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteModelMethod = V2Grpc.getDeleteModelMethod) == null) {
V2Grpc.getDeleteModelMethod = getDeleteModelMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteModel"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.DeleteModelRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.status.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteModel"))
.build();
}
}
}
return getDeleteModelMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteModelsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteModels",
requestType = com.clarifai.grpc.api.DeleteModelsRequest.class,
responseType = com.clarifai.grpc.api.status.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteModelsMethod() {
io.grpc.MethodDescriptor getDeleteModelsMethod;
if ((getDeleteModelsMethod = V2Grpc.getDeleteModelsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteModelsMethod = V2Grpc.getDeleteModelsMethod) == null) {
V2Grpc.getDeleteModelsMethod = getDeleteModelsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteModels"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.DeleteModelsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.status.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteModels"))
.build();
}
}
}
return getDeleteModelsMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchModelToolkitsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchModelToolkits",
requestType = com.clarifai.grpc.api.PatchModelToolkitsRequest.class,
responseType = com.clarifai.grpc.api.MultiModelToolkitResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchModelToolkitsMethod() {
io.grpc.MethodDescriptor getPatchModelToolkitsMethod;
if ((getPatchModelToolkitsMethod = V2Grpc.getPatchModelToolkitsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchModelToolkitsMethod = V2Grpc.getPatchModelToolkitsMethod) == null) {
V2Grpc.getPatchModelToolkitsMethod = getPatchModelToolkitsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchModelToolkits"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchModelToolkitsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelToolkitResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchModelToolkits"))
.build();
}
}
}
return getPatchModelToolkitsMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchModelUseCasesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchModelUseCases",
requestType = com.clarifai.grpc.api.PatchModelUseCasesRequest.class,
responseType = com.clarifai.grpc.api.MultiModelUseCaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchModelUseCasesMethod() {
io.grpc.MethodDescriptor getPatchModelUseCasesMethod;
if ((getPatchModelUseCasesMethod = V2Grpc.getPatchModelUseCasesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchModelUseCasesMethod = V2Grpc.getPatchModelUseCasesMethod) == null) {
V2Grpc.getPatchModelUseCasesMethod = getPatchModelUseCasesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchModelUseCases"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchModelUseCasesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelUseCaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchModelUseCases"))
.build();
}
}
}
return getPatchModelUseCasesMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchModelLanguagesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchModelLanguages",
requestType = com.clarifai.grpc.api.PatchModelLanguagesRequest.class,
responseType = com.clarifai.grpc.api.MultiModelLanguageResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchModelLanguagesMethod() {
io.grpc.MethodDescriptor getPatchModelLanguagesMethod;
if ((getPatchModelLanguagesMethod = V2Grpc.getPatchModelLanguagesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchModelLanguagesMethod = V2Grpc.getPatchModelLanguagesMethod) == null) {
V2Grpc.getPatchModelLanguagesMethod = getPatchModelLanguagesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchModelLanguages"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchModelLanguagesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelLanguageResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchModelLanguages"))
.build();
}
}
}
return getPatchModelLanguagesMethod;
}
private static volatile io.grpc.MethodDescriptor getListModelInputsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListModelInputs",
requestType = com.clarifai.grpc.api.ListModelInputsRequest.class,
responseType = com.clarifai.grpc.api.MultiInputResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListModelInputsMethod() {
io.grpc.MethodDescriptor getListModelInputsMethod;
if ((getListModelInputsMethod = V2Grpc.getListModelInputsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListModelInputsMethod = V2Grpc.getListModelInputsMethod) == null) {
V2Grpc.getListModelInputsMethod = getListModelInputsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListModelInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListModelInputsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiInputResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListModelInputs"))
.build();
}
}
}
return getListModelInputsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetModelVersionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetModelVersion",
requestType = com.clarifai.grpc.api.GetModelVersionRequest.class,
responseType = com.clarifai.grpc.api.SingleModelVersionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetModelVersionMethod() {
io.grpc.MethodDescriptor getGetModelVersionMethod;
if ((getGetModelVersionMethod = V2Grpc.getGetModelVersionMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetModelVersionMethod = V2Grpc.getGetModelVersionMethod) == null) {
V2Grpc.getGetModelVersionMethod = getGetModelVersionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetModelVersion"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetModelVersionRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleModelVersionResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetModelVersion"))
.build();
}
}
}
return getGetModelVersionMethod;
}
private static volatile io.grpc.MethodDescriptor getListModelVersionsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListModelVersions",
requestType = com.clarifai.grpc.api.ListModelVersionsRequest.class,
responseType = com.clarifai.grpc.api.MultiModelVersionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListModelVersionsMethod() {
io.grpc.MethodDescriptor getListModelVersionsMethod;
if ((getListModelVersionsMethod = V2Grpc.getListModelVersionsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListModelVersionsMethod = V2Grpc.getListModelVersionsMethod) == null) {
V2Grpc.getListModelVersionsMethod = getListModelVersionsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListModelVersions"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListModelVersionsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelVersionResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListModelVersions"))
.build();
}
}
}
return getListModelVersionsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostModelVersionsPublishMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostModelVersionsPublish",
requestType = com.clarifai.grpc.api.PostModelVersionsPublishRequest.class,
responseType = com.clarifai.grpc.api.status.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostModelVersionsPublishMethod() {
io.grpc.MethodDescriptor getPostModelVersionsPublishMethod;
if ((getPostModelVersionsPublishMethod = V2Grpc.getPostModelVersionsPublishMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostModelVersionsPublishMethod = V2Grpc.getPostModelVersionsPublishMethod) == null) {
V2Grpc.getPostModelVersionsPublishMethod = getPostModelVersionsPublishMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostModelVersionsPublish"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostModelVersionsPublishRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.status.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModelVersionsPublish"))
.build();
}
}
}
return getPostModelVersionsPublishMethod;
}
private static volatile io.grpc.MethodDescriptor getPostModelVersionsUnPublishMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostModelVersionsUnPublish",
requestType = com.clarifai.grpc.api.PostModelVersionsUnPublishRequest.class,
responseType = com.clarifai.grpc.api.status.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostModelVersionsUnPublishMethod() {
io.grpc.MethodDescriptor getPostModelVersionsUnPublishMethod;
if ((getPostModelVersionsUnPublishMethod = V2Grpc.getPostModelVersionsUnPublishMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostModelVersionsUnPublishMethod = V2Grpc.getPostModelVersionsUnPublishMethod) == null) {
V2Grpc.getPostModelVersionsUnPublishMethod = getPostModelVersionsUnPublishMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostModelVersionsUnPublish"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostModelVersionsUnPublishRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.status.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModelVersionsUnPublish"))
.build();
}
}
}
return getPostModelVersionsUnPublishMethod;
}
private static volatile io.grpc.MethodDescriptor getPostModelVersionsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostModelVersions",
requestType = com.clarifai.grpc.api.PostModelVersionsRequest.class,
responseType = com.clarifai.grpc.api.SingleModelResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostModelVersionsMethod() {
io.grpc.MethodDescriptor getPostModelVersionsMethod;
if ((getPostModelVersionsMethod = V2Grpc.getPostModelVersionsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostModelVersionsMethod = V2Grpc.getPostModelVersionsMethod) == null) {
V2Grpc.getPostModelVersionsMethod = getPostModelVersionsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostModelVersions"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostModelVersionsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleModelResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModelVersions"))
.build();
}
}
}
return getPostModelVersionsMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchModelVersionsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchModelVersions",
requestType = com.clarifai.grpc.api.PatchModelVersionsRequest.class,
responseType = com.clarifai.grpc.api.MultiModelVersionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchModelVersionsMethod() {
io.grpc.MethodDescriptor getPatchModelVersionsMethod;
if ((getPatchModelVersionsMethod = V2Grpc.getPatchModelVersionsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchModelVersionsMethod = V2Grpc.getPatchModelVersionsMethod) == null) {
V2Grpc.getPatchModelVersionsMethod = getPatchModelVersionsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PatchModelVersions"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PatchModelVersionsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelVersionResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchModelVersions"))
.build();
}
}
}
return getPatchModelVersionsMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteModelVersionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteModelVersion",
requestType = com.clarifai.grpc.api.DeleteModelVersionRequest.class,
responseType = com.clarifai.grpc.api.status.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteModelVersionMethod() {
io.grpc.MethodDescriptor getDeleteModelVersionMethod;
if ((getDeleteModelVersionMethod = V2Grpc.getDeleteModelVersionMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteModelVersionMethod = V2Grpc.getDeleteModelVersionMethod) == null) {
V2Grpc.getDeleteModelVersionMethod = getDeleteModelVersionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteModelVersion"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.DeleteModelVersionRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.status.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteModelVersion"))
.build();
}
}
}
return getDeleteModelVersionMethod;
}
private static volatile io.grpc.MethodDescriptor getGetModelVersionMetricsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetModelVersionMetrics",
requestType = com.clarifai.grpc.api.GetModelVersionMetricsRequest.class,
responseType = com.clarifai.grpc.api.SingleModelVersionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetModelVersionMetricsMethod() {
io.grpc.MethodDescriptor getGetModelVersionMetricsMethod;
if ((getGetModelVersionMetricsMethod = V2Grpc.getGetModelVersionMetricsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetModelVersionMetricsMethod = V2Grpc.getGetModelVersionMetricsMethod) == null) {
V2Grpc.getGetModelVersionMetricsMethod = getGetModelVersionMetricsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetModelVersionMetrics"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetModelVersionMetricsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleModelVersionResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetModelVersionMetrics"))
.build();
}
}
}
return getGetModelVersionMetricsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostModelVersionMetricsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostModelVersionMetrics",
requestType = com.clarifai.grpc.api.PostModelVersionMetricsRequest.class,
responseType = com.clarifai.grpc.api.SingleModelVersionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostModelVersionMetricsMethod() {
io.grpc.MethodDescriptor getPostModelVersionMetricsMethod;
if ((getPostModelVersionMetricsMethod = V2Grpc.getPostModelVersionMetricsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostModelVersionMetricsMethod = V2Grpc.getPostModelVersionMetricsMethod) == null) {
V2Grpc.getPostModelVersionMetricsMethod = getPostModelVersionMetricsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PostModelVersionMetrics"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.PostModelVersionMetricsRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleModelVersionResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModelVersionMetrics"))
.build();
}
}
}
return getPostModelVersionMetricsMethod;
}
private static volatile io.grpc.MethodDescriptor getListModelReferencesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListModelReferences",
requestType = com.clarifai.grpc.api.ListModelReferencesRequest.class,
responseType = com.clarifai.grpc.api.MultiModelReferenceResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListModelReferencesMethod() {
io.grpc.MethodDescriptor getListModelReferencesMethod;
if ((getListModelReferencesMethod = V2Grpc.getListModelReferencesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListModelReferencesMethod = V2Grpc.getListModelReferencesMethod) == null) {
V2Grpc.getListModelReferencesMethod = getListModelReferencesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListModelReferences"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListModelReferencesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelReferenceResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListModelReferences"))
.build();
}
}
}
return getListModelReferencesMethod;
}
private static volatile io.grpc.MethodDescriptor getGetModelVersionInputExampleMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetModelVersionInputExample",
requestType = com.clarifai.grpc.api.GetModelVersionInputExampleRequest.class,
responseType = com.clarifai.grpc.api.SingleModelVersionInputExampleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetModelVersionInputExampleMethod() {
io.grpc.MethodDescriptor getGetModelVersionInputExampleMethod;
if ((getGetModelVersionInputExampleMethod = V2Grpc.getGetModelVersionInputExampleMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetModelVersionInputExampleMethod = V2Grpc.getGetModelVersionInputExampleMethod) == null) {
V2Grpc.getGetModelVersionInputExampleMethod = getGetModelVersionInputExampleMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetModelVersionInputExample"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.GetModelVersionInputExampleRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.SingleModelVersionInputExampleResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetModelVersionInputExample"))
.build();
}
}
}
return getGetModelVersionInputExampleMethod;
}
private static volatile io.grpc.MethodDescriptor getListModelVersionInputExamplesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListModelVersionInputExamples",
requestType = com.clarifai.grpc.api.ListModelVersionInputExamplesRequest.class,
responseType = com.clarifai.grpc.api.MultiModelVersionInputExampleResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListModelVersionInputExamplesMethod() {
io.grpc.MethodDescriptor getListModelVersionInputExamplesMethod;
if ((getListModelVersionInputExamplesMethod = V2Grpc.getListModelVersionInputExamplesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListModelVersionInputExamplesMethod = V2Grpc.getListModelVersionInputExamplesMethod) == null) {
V2Grpc.getListModelVersionInputExamplesMethod = getListModelVersionInputExamplesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListModelVersionInputExamples"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.ListModelVersionInputExamplesRequest.getDefaultInstance()))
.setResponseMarshaller(com.clarifai.channel.ClarifaiChannel.INSTANCE.marshaller(
com.clarifai.grpc.api.MultiModelVersionInputExampleResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListModelVersionInputExamples"))
.build();
}
}
}
return getListModelVersionInputExamplesMethod;
}
private static volatile io.grpc.MethodDescriptor getGetWorkflowMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetWorkflow",
requestType = com.clarifai.grpc.api.GetWorkflowRequest.class,
responseType = com.clarifai.grpc.api.SingleWorkflowResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetWorkflowMethod() {
io.grpc.MethodDescriptor