
clarifai2.internal.grpc.api.V2Grpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Clarifai Java API Client
The newest version!
package clarifai2.internal.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.14.0)",
comments = "Source: proto/clarifai/api/endpoint.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 getGetConceptCountsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetConceptCounts",
requestType = clarifai2.internal.grpc.api.ConceptOuterClass.GetConceptCountsRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptOuterClass.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(
"clarifai.api.V2", "GetConceptCounts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.GetConceptCountsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.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 = clarifai2.internal.grpc.api.ConceptOuterClass.GetConceptRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptOuterClass.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(
"clarifai.api.V2", "GetConcept"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.GetConceptRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.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 = clarifai2.internal.grpc.api.ConceptOuterClass.ListConceptsRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptOuterClass.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(
"clarifai.api.V2", "ListConcepts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.ListConceptsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.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 = clarifai2.internal.grpc.api.ConceptOuterClass.PostConceptsSearchesRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptOuterClass.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(
"clarifai.api.V2", "PostConceptsSearches"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.PostConceptsSearchesRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.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 = clarifai2.internal.grpc.api.ConceptOuterClass.PostConceptsRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptOuterClass.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(
"clarifai.api.V2", "PostConcepts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.PostConceptsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.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 = clarifai2.internal.grpc.api.ConceptOuterClass.PatchConceptsRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptOuterClass.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(
"clarifai.api.V2", "PatchConcepts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.PatchConceptsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.MultiConceptResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchConcepts"))
.build();
}
}
}
return getPatchConceptsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetVocabMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetVocab",
requestType = clarifai2.internal.grpc.api.VocabOuterClass.GetVocabRequest.class,
responseType = clarifai2.internal.grpc.api.VocabOuterClass.SingleVocabResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetVocabMethod() {
io.grpc.MethodDescriptor getGetVocabMethod;
if ((getGetVocabMethod = V2Grpc.getGetVocabMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetVocabMethod = V2Grpc.getGetVocabMethod) == null) {
V2Grpc.getGetVocabMethod = getGetVocabMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "GetVocab"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.GetVocabRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.SingleVocabResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetVocab"))
.build();
}
}
}
return getGetVocabMethod;
}
private static volatile io.grpc.MethodDescriptor getListVocabsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListVocabs",
requestType = clarifai2.internal.grpc.api.VocabOuterClass.ListVocabsRequest.class,
responseType = clarifai2.internal.grpc.api.VocabOuterClass.MultiVocabResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListVocabsMethod() {
io.grpc.MethodDescriptor getListVocabsMethod;
if ((getListVocabsMethod = V2Grpc.getListVocabsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListVocabsMethod = V2Grpc.getListVocabsMethod) == null) {
V2Grpc.getListVocabsMethod = getListVocabsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "ListVocabs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.ListVocabsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.MultiVocabResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListVocabs"))
.build();
}
}
}
return getListVocabsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostVocabsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostVocabs",
requestType = clarifai2.internal.grpc.api.VocabOuterClass.PostVocabsRequest.class,
responseType = clarifai2.internal.grpc.api.VocabOuterClass.MultiVocabResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostVocabsMethod() {
io.grpc.MethodDescriptor getPostVocabsMethod;
if ((getPostVocabsMethod = V2Grpc.getPostVocabsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostVocabsMethod = V2Grpc.getPostVocabsMethod) == null) {
V2Grpc.getPostVocabsMethod = getPostVocabsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PostVocabs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.PostVocabsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.MultiVocabResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostVocabs"))
.build();
}
}
}
return getPostVocabsMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchVocabsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchVocabs",
requestType = clarifai2.internal.grpc.api.VocabOuterClass.PatchVocabsRequest.class,
responseType = clarifai2.internal.grpc.api.VocabOuterClass.MultiVocabResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchVocabsMethod() {
io.grpc.MethodDescriptor getPatchVocabsMethod;
if ((getPatchVocabsMethod = V2Grpc.getPatchVocabsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchVocabsMethod = V2Grpc.getPatchVocabsMethod) == null) {
V2Grpc.getPatchVocabsMethod = getPatchVocabsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PatchVocabs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.PatchVocabsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.MultiVocabResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchVocabs"))
.build();
}
}
}
return getPatchVocabsMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteVocabMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteVocab",
requestType = clarifai2.internal.grpc.api.VocabOuterClass.DeleteVocabRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteVocabMethod() {
io.grpc.MethodDescriptor getDeleteVocabMethod;
if ((getDeleteVocabMethod = V2Grpc.getDeleteVocabMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteVocabMethod = V2Grpc.getDeleteVocabMethod) == null) {
V2Grpc.getDeleteVocabMethod = getDeleteVocabMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "DeleteVocab"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.DeleteVocabRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteVocab"))
.build();
}
}
}
return getDeleteVocabMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteVocabsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteVocabs",
requestType = clarifai2.internal.grpc.api.VocabOuterClass.DeleteVocabsRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteVocabsMethod() {
io.grpc.MethodDescriptor getDeleteVocabsMethod;
if ((getDeleteVocabsMethod = V2Grpc.getDeleteVocabsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteVocabsMethod = V2Grpc.getDeleteVocabsMethod) == null) {
V2Grpc.getDeleteVocabsMethod = getDeleteVocabsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "DeleteVocabs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.DeleteVocabsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteVocabs"))
.build();
}
}
}
return getDeleteVocabsMethod;
}
private static volatile io.grpc.MethodDescriptor getListVocabConceptsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListVocabConcepts",
requestType = clarifai2.internal.grpc.api.VocabOuterClass.ListVocabConceptsRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptOuterClass.MultiConceptResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListVocabConceptsMethod() {
io.grpc.MethodDescriptor getListVocabConceptsMethod;
if ((getListVocabConceptsMethod = V2Grpc.getListVocabConceptsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListVocabConceptsMethod = V2Grpc.getListVocabConceptsMethod) == null) {
V2Grpc.getListVocabConceptsMethod = getListVocabConceptsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "ListVocabConcepts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.ListVocabConceptsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.MultiConceptResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListVocabConcepts"))
.build();
}
}
}
return getListVocabConceptsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostVocabConceptsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostVocabConcepts",
requestType = clarifai2.internal.grpc.api.VocabOuterClass.PostVocabConceptsRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptOuterClass.MultiConceptResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostVocabConceptsMethod() {
io.grpc.MethodDescriptor getPostVocabConceptsMethod;
if ((getPostVocabConceptsMethod = V2Grpc.getPostVocabConceptsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostVocabConceptsMethod = V2Grpc.getPostVocabConceptsMethod) == null) {
V2Grpc.getPostVocabConceptsMethod = getPostVocabConceptsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PostVocabConcepts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.PostVocabConceptsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.MultiConceptResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostVocabConcepts"))
.build();
}
}
}
return getPostVocabConceptsMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteVocabConceptMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteVocabConcept",
requestType = clarifai2.internal.grpc.api.VocabOuterClass.DeleteVocabConceptRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteVocabConceptMethod() {
io.grpc.MethodDescriptor getDeleteVocabConceptMethod;
if ((getDeleteVocabConceptMethod = V2Grpc.getDeleteVocabConceptMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteVocabConceptMethod = V2Grpc.getDeleteVocabConceptMethod) == null) {
V2Grpc.getDeleteVocabConceptMethod = getDeleteVocabConceptMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "DeleteVocabConcept"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.DeleteVocabConceptRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteVocabConcept"))
.build();
}
}
}
return getDeleteVocabConceptMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteVocabConceptsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteVocabConcepts",
requestType = clarifai2.internal.grpc.api.VocabOuterClass.DeleteVocabConceptsRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteVocabConceptsMethod() {
io.grpc.MethodDescriptor getDeleteVocabConceptsMethod;
if ((getDeleteVocabConceptsMethod = V2Grpc.getDeleteVocabConceptsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteVocabConceptsMethod = V2Grpc.getDeleteVocabConceptsMethod) == null) {
V2Grpc.getDeleteVocabConceptsMethod = getDeleteVocabConceptsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "DeleteVocabConcepts"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.VocabOuterClass.DeleteVocabConceptsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteVocabConcepts"))
.build();
}
}
}
return getDeleteVocabConceptsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetConceptLanguageMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetConceptLanguage",
requestType = clarifai2.internal.grpc.api.ConceptLanguageOuterClass.GetConceptLanguageRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptLanguageOuterClass.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(
"clarifai.api.V2", "GetConceptLanguage"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptLanguageOuterClass.GetConceptLanguageRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptLanguageOuterClass.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 = clarifai2.internal.grpc.api.ConceptLanguageOuterClass.ListConceptLanguagesRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptLanguageOuterClass.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(
"clarifai.api.V2", "ListConceptLanguages"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptLanguageOuterClass.ListConceptLanguagesRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptLanguageOuterClass.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 = clarifai2.internal.grpc.api.ConceptLanguageOuterClass.PostConceptLanguagesRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptLanguageOuterClass.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(
"clarifai.api.V2", "PostConceptLanguages"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptLanguageOuterClass.PostConceptLanguagesRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptLanguageOuterClass.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 = clarifai2.internal.grpc.api.ConceptLanguageOuterClass.PatchConceptLanguagesRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptLanguageOuterClass.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(
"clarifai.api.V2", "PatchConceptLanguages"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptLanguageOuterClass.PatchConceptLanguagesRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptLanguageOuterClass.MultiConceptLanguageResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchConceptLanguages"))
.build();
}
}
}
return getPatchConceptLanguagesMethod;
}
private static volatile io.grpc.MethodDescriptor getListConceptReferencesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListConceptReferences",
requestType = clarifai2.internal.grpc.api.ConceptReferenceOuterClass.ListConceptReferencesRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptReferenceOuterClass.MultiConceptReferenceResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListConceptReferencesMethod() {
io.grpc.MethodDescriptor getListConceptReferencesMethod;
if ((getListConceptReferencesMethod = V2Grpc.getListConceptReferencesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListConceptReferencesMethod = V2Grpc.getListConceptReferencesMethod) == null) {
V2Grpc.getListConceptReferencesMethod = getListConceptReferencesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "ListConceptReferences"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptReferenceOuterClass.ListConceptReferencesRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptReferenceOuterClass.MultiConceptReferenceResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListConceptReferences"))
.build();
}
}
}
return getListConceptReferencesMethod;
}
private static volatile io.grpc.MethodDescriptor getListConceptRelationsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListConceptRelations",
requestType = clarifai2.internal.grpc.api.ConceptGraph.ListConceptRelationsRequest.class,
responseType = clarifai2.internal.grpc.api.ConceptOuterClass.MultiConceptResponse.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(
"clarifai.api.V2", "ListConceptRelations"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptGraph.ListConceptRelationsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ConceptOuterClass.MultiConceptResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListConceptRelations"))
.build();
}
}
}
return getListConceptRelationsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetInputCountMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetInputCount",
requestType = clarifai2.internal.grpc.api.InputOuterClass.GetInputCountRequest.class,
responseType = clarifai2.internal.grpc.api.InputOuterClass.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(
"clarifai.api.V2", "GetInputCount"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.GetInputCountRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.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 = clarifai2.internal.grpc.api.InputOuterClass.StreamInputsRequest.class,
responseType = clarifai2.internal.grpc.api.InputOuterClass.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(
"clarifai.api.V2", "StreamInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.StreamInputsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.MultiInputResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("StreamInputs"))
.build();
}
}
}
return getStreamInputsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetInputMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetInput",
requestType = clarifai2.internal.grpc.api.InputOuterClass.GetInputRequest.class,
responseType = clarifai2.internal.grpc.api.InputOuterClass.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(
"clarifai.api.V2", "GetInput"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.GetInputRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.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 = clarifai2.internal.grpc.api.InputOuterClass.ListInputsRequest.class,
responseType = clarifai2.internal.grpc.api.InputOuterClass.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(
"clarifai.api.V2", "ListInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.ListInputsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.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 = clarifai2.internal.grpc.api.InputOuterClass.PostInputsRequest.class,
responseType = clarifai2.internal.grpc.api.InputOuterClass.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(
"clarifai.api.V2", "PostInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.PostInputsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.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 = clarifai2.internal.grpc.api.InputOuterClass.PatchInputsRequest.class,
responseType = clarifai2.internal.grpc.api.InputOuterClass.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(
"clarifai.api.V2", "PatchInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.PatchInputsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.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 = clarifai2.internal.grpc.api.InputOuterClass.DeleteInputRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.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(
"clarifai.api.V2", "DeleteInput"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.DeleteInputRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.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 = clarifai2.internal.grpc.api.InputOuterClass.DeleteInputsRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.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(
"clarifai.api.V2", "DeleteInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.DeleteInputsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteInputs"))
.build();
}
}
}
return getDeleteInputsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostModelOutputsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostModelOutputs",
requestType = clarifai2.internal.grpc.api.InputOuterClass.PostModelOutputsRequest.class,
responseType = clarifai2.internal.grpc.api.OutputOuterClass.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(
"clarifai.api.V2", "PostModelOutputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.PostModelOutputsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.OutputOuterClass.MultiOutputResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModelOutputs"))
.build();
}
}
}
return getPostModelOutputsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostModelFeedbackMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostModelFeedback",
requestType = clarifai2.internal.grpc.api.InputOuterClass.PostModelFeedbackRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostModelFeedbackMethod() {
io.grpc.MethodDescriptor getPostModelFeedbackMethod;
if ((getPostModelFeedbackMethod = V2Grpc.getPostModelFeedbackMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostModelFeedbackMethod = V2Grpc.getPostModelFeedbackMethod) == null) {
V2Grpc.getPostModelFeedbackMethod = getPostModelFeedbackMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PostModelFeedback"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.PostModelFeedbackRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModelFeedback"))
.build();
}
}
}
return getPostModelFeedbackMethod;
}
private static volatile io.grpc.MethodDescriptor getGetModelMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetModel",
requestType = clarifai2.internal.grpc.api.ModelOuterClass.GetModelRequest.class,
responseType = clarifai2.internal.grpc.api.ModelOuterClass.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(
"clarifai.api.V2", "GetModel"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.GetModelRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.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 = clarifai2.internal.grpc.api.ModelOuterClass.GetModelRequest.class,
responseType = clarifai2.internal.grpc.api.ModelOuterClass.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(
"clarifai.api.V2", "GetModelOutputInfo"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.GetModelRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.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 = clarifai2.internal.grpc.api.ModelOuterClass.ListModelsRequest.class,
responseType = clarifai2.internal.grpc.api.ModelOuterClass.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(
"clarifai.api.V2", "ListModels"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.ListModelsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.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 = clarifai2.internal.grpc.api.ModelOuterClass.PostModelsSearchesRequest.class,
responseType = clarifai2.internal.grpc.api.ModelOuterClass.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(
"clarifai.api.V2", "PostModelsSearches"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.PostModelsSearchesRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.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 = clarifai2.internal.grpc.api.ModelOuterClass.PostModelsRequest.class,
responseType = clarifai2.internal.grpc.api.ModelOuterClass.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(
"clarifai.api.V2", "PostModels"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.PostModelsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.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 = clarifai2.internal.grpc.api.ModelOuterClass.PatchModelsRequest.class,
responseType = clarifai2.internal.grpc.api.ModelOuterClass.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(
"clarifai.api.V2", "PatchModels"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.PatchModelsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.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 = clarifai2.internal.grpc.api.ModelOuterClass.DeleteModelRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.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(
"clarifai.api.V2", "DeleteModel"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.DeleteModelRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.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 = clarifai2.internal.grpc.api.ModelOuterClass.DeleteModelsRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.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(
"clarifai.api.V2", "DeleteModels"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.DeleteModelsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteModels"))
.build();
}
}
}
return getDeleteModelsMethod;
}
private static volatile io.grpc.MethodDescriptor getListModelInputsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListModelInputs",
requestType = clarifai2.internal.grpc.api.InputOuterClass.ListModelInputsRequest.class,
responseType = clarifai2.internal.grpc.api.InputOuterClass.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(
"clarifai.api.V2", "ListModelInputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.ListModelInputsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.InputOuterClass.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 = clarifai2.internal.grpc.api.ModelVersionOuterClass.GetModelVersionRequest.class,
responseType = clarifai2.internal.grpc.api.ModelVersionOuterClass.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(
"clarifai.api.V2", "GetModelVersion"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelVersionOuterClass.GetModelVersionRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelVersionOuterClass.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 = clarifai2.internal.grpc.api.ModelVersionOuterClass.ListModelVersionsRequest.class,
responseType = clarifai2.internal.grpc.api.ModelVersionOuterClass.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(
"clarifai.api.V2", "ListModelVersions"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelVersionOuterClass.ListModelVersionsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelVersionOuterClass.MultiModelVersionResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListModelVersions"))
.build();
}
}
}
return getListModelVersionsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostModelVersionsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostModelVersions",
requestType = clarifai2.internal.grpc.api.ModelVersionOuterClass.PostModelVersionsRequest.class,
responseType = clarifai2.internal.grpc.api.ModelOuterClass.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(
"clarifai.api.V2", "PostModelVersions"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelVersionOuterClass.PostModelVersionsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelOuterClass.SingleModelResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModelVersions"))
.build();
}
}
}
return getPostModelVersionsMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteModelVersionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteModelVersion",
requestType = clarifai2.internal.grpc.api.ModelVersionOuterClass.DeleteModelVersionRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.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(
"clarifai.api.V2", "DeleteModelVersion"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelVersionOuterClass.DeleteModelVersionRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.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 = clarifai2.internal.grpc.api.ModelVersionOuterClass.GetModelVersionMetricsRequest.class,
responseType = clarifai2.internal.grpc.api.ModelVersionOuterClass.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(
"clarifai.api.V2", "GetModelVersionMetrics"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelVersionOuterClass.GetModelVersionMetricsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelVersionOuterClass.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 = clarifai2.internal.grpc.api.ModelVersionOuterClass.PostModelVersionMetricsRequest.class,
responseType = clarifai2.internal.grpc.api.ModelVersionOuterClass.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(
"clarifai.api.V2", "PostModelVersionMetrics"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelVersionOuterClass.PostModelVersionMetricsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.ModelVersionOuterClass.SingleModelVersionResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostModelVersionMetrics"))
.build();
}
}
}
return getPostModelVersionMetricsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetWorkflowMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetWorkflow",
requestType = clarifai2.internal.grpc.api.WorkflowOuterClass.GetWorkflowRequest.class,
responseType = clarifai2.internal.grpc.api.WorkflowOuterClass.SingleWorkflowResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetWorkflowMethod() {
io.grpc.MethodDescriptor getGetWorkflowMethod;
if ((getGetWorkflowMethod = V2Grpc.getGetWorkflowMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetWorkflowMethod = V2Grpc.getGetWorkflowMethod) == null) {
V2Grpc.getGetWorkflowMethod = getGetWorkflowMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "GetWorkflow"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.GetWorkflowRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.SingleWorkflowResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetWorkflow"))
.build();
}
}
}
return getGetWorkflowMethod;
}
private static volatile io.grpc.MethodDescriptor getListWorkflowsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListWorkflows",
requestType = clarifai2.internal.grpc.api.WorkflowOuterClass.ListWorkflowsRequest.class,
responseType = clarifai2.internal.grpc.api.WorkflowOuterClass.MultiWorkflowResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListWorkflowsMethod() {
io.grpc.MethodDescriptor getListWorkflowsMethod;
if ((getListWorkflowsMethod = V2Grpc.getListWorkflowsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListWorkflowsMethod = V2Grpc.getListWorkflowsMethod) == null) {
V2Grpc.getListWorkflowsMethod = getListWorkflowsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "ListWorkflows"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.ListWorkflowsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.MultiWorkflowResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListWorkflows"))
.build();
}
}
}
return getListWorkflowsMethod;
}
private static volatile io.grpc.MethodDescriptor getListPublicWorkflowsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListPublicWorkflows",
requestType = clarifai2.internal.grpc.api.WorkflowOuterClass.ListPublicWorkflowsRequest.class,
responseType = clarifai2.internal.grpc.api.WorkflowOuterClass.MultiWorkflowResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListPublicWorkflowsMethod() {
io.grpc.MethodDescriptor getListPublicWorkflowsMethod;
if ((getListPublicWorkflowsMethod = V2Grpc.getListPublicWorkflowsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getListPublicWorkflowsMethod = V2Grpc.getListPublicWorkflowsMethod) == null) {
V2Grpc.getListPublicWorkflowsMethod = getListPublicWorkflowsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "ListPublicWorkflows"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.ListPublicWorkflowsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.MultiWorkflowResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("ListPublicWorkflows"))
.build();
}
}
}
return getListPublicWorkflowsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostWorkflowsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostWorkflows",
requestType = clarifai2.internal.grpc.api.WorkflowOuterClass.PostWorkflowsRequest.class,
responseType = clarifai2.internal.grpc.api.WorkflowOuterClass.MultiWorkflowResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostWorkflowsMethod() {
io.grpc.MethodDescriptor getPostWorkflowsMethod;
if ((getPostWorkflowsMethod = V2Grpc.getPostWorkflowsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostWorkflowsMethod = V2Grpc.getPostWorkflowsMethod) == null) {
V2Grpc.getPostWorkflowsMethod = getPostWorkflowsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PostWorkflows"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.PostWorkflowsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.MultiWorkflowResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostWorkflows"))
.build();
}
}
}
return getPostWorkflowsMethod;
}
private static volatile io.grpc.MethodDescriptor getPatchWorkflowsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PatchWorkflows",
requestType = clarifai2.internal.grpc.api.WorkflowOuterClass.PatchWorkflowsRequest.class,
responseType = clarifai2.internal.grpc.api.WorkflowOuterClass.MultiWorkflowResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPatchWorkflowsMethod() {
io.grpc.MethodDescriptor getPatchWorkflowsMethod;
if ((getPatchWorkflowsMethod = V2Grpc.getPatchWorkflowsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPatchWorkflowsMethod = V2Grpc.getPatchWorkflowsMethod) == null) {
V2Grpc.getPatchWorkflowsMethod = getPatchWorkflowsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PatchWorkflows"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.PatchWorkflowsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.MultiWorkflowResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PatchWorkflows"))
.build();
}
}
}
return getPatchWorkflowsMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteWorkflowMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteWorkflow",
requestType = clarifai2.internal.grpc.api.WorkflowOuterClass.DeleteWorkflowRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteWorkflowMethod() {
io.grpc.MethodDescriptor getDeleteWorkflowMethod;
if ((getDeleteWorkflowMethod = V2Grpc.getDeleteWorkflowMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteWorkflowMethod = V2Grpc.getDeleteWorkflowMethod) == null) {
V2Grpc.getDeleteWorkflowMethod = getDeleteWorkflowMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "DeleteWorkflow"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.DeleteWorkflowRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteWorkflow"))
.build();
}
}
}
return getDeleteWorkflowMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteWorkflowsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DeleteWorkflows",
requestType = clarifai2.internal.grpc.api.WorkflowOuterClass.DeleteWorkflowsRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteWorkflowsMethod() {
io.grpc.MethodDescriptor getDeleteWorkflowsMethod;
if ((getDeleteWorkflowsMethod = V2Grpc.getDeleteWorkflowsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getDeleteWorkflowsMethod = V2Grpc.getDeleteWorkflowsMethod) == null) {
V2Grpc.getDeleteWorkflowsMethod = getDeleteWorkflowsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "DeleteWorkflows"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.DeleteWorkflowsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("DeleteWorkflows"))
.build();
}
}
}
return getDeleteWorkflowsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostWorkflowResultsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostWorkflowResults",
requestType = clarifai2.internal.grpc.api.WorkflowOuterClass.PostWorkflowResultsRequest.class,
responseType = clarifai2.internal.grpc.api.WorkflowOuterClass.PostWorkflowResultsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostWorkflowResultsMethod() {
io.grpc.MethodDescriptor getPostWorkflowResultsMethod;
if ((getPostWorkflowResultsMethod = V2Grpc.getPostWorkflowResultsMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostWorkflowResultsMethod = V2Grpc.getPostWorkflowResultsMethod) == null) {
V2Grpc.getPostWorkflowResultsMethod = getPostWorkflowResultsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PostWorkflowResults"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.PostWorkflowResultsRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.WorkflowOuterClass.PostWorkflowResultsResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostWorkflowResults"))
.build();
}
}
}
return getPostWorkflowResultsMethod;
}
private static volatile io.grpc.MethodDescriptor getPostSearchesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostSearches",
requestType = clarifai2.internal.grpc.api.Search.PostSearchesRequest.class,
responseType = clarifai2.internal.grpc.api.Search.MultiSearchResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostSearchesMethod() {
io.grpc.MethodDescriptor getPostSearchesMethod;
if ((getPostSearchesMethod = V2Grpc.getPostSearchesMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostSearchesMethod = V2Grpc.getPostSearchesMethod) == null) {
V2Grpc.getPostSearchesMethod = getPostSearchesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PostSearches"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Search.PostSearchesRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Search.MultiSearchResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostSearches"))
.build();
}
}
}
return getPostSearchesMethod;
}
private static volatile io.grpc.MethodDescriptor getPostSearchFeedbackMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostSearchFeedback",
requestType = clarifai2.internal.grpc.api.Search.PostSearchFeedbackRequest.class,
responseType = clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostSearchFeedbackMethod() {
io.grpc.MethodDescriptor getPostSearchFeedbackMethod;
if ((getPostSearchFeedbackMethod = V2Grpc.getPostSearchFeedbackMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostSearchFeedbackMethod = V2Grpc.getPostSearchFeedbackMethod) == null) {
V2Grpc.getPostSearchFeedbackMethod = getPostSearchFeedbackMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PostSearchFeedback"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Search.PostSearchFeedbackRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.status.StatusOuterClass.BaseResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostSearchFeedback"))
.build();
}
}
}
return getPostSearchFeedbackMethod;
}
private static volatile io.grpc.MethodDescriptor getGetSubscriptionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetSubscription",
requestType = clarifai2.internal.grpc.api.Subscription.GetSubscriptionRequest.class,
responseType = clarifai2.internal.grpc.api.Subscription.SingleSubscriptionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetSubscriptionMethod() {
io.grpc.MethodDescriptor getGetSubscriptionMethod;
if ((getGetSubscriptionMethod = V2Grpc.getGetSubscriptionMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetSubscriptionMethod = V2Grpc.getGetSubscriptionMethod) == null) {
V2Grpc.getGetSubscriptionMethod = getGetSubscriptionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "GetSubscription"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Subscription.GetSubscriptionRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Subscription.SingleSubscriptionResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetSubscription"))
.build();
}
}
}
return getGetSubscriptionMethod;
}
private static volatile io.grpc.MethodDescriptor getPostSubscriptionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostSubscription",
requestType = clarifai2.internal.grpc.api.Subscription.PostSubscriptionRequest.class,
responseType = clarifai2.internal.grpc.api.Subscription.SingleSubscriptionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostSubscriptionMethod() {
io.grpc.MethodDescriptor getPostSubscriptionMethod;
if ((getPostSubscriptionMethod = V2Grpc.getPostSubscriptionMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostSubscriptionMethod = V2Grpc.getPostSubscriptionMethod) == null) {
V2Grpc.getPostSubscriptionMethod = getPostSubscriptionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PostSubscription"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Subscription.PostSubscriptionRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Subscription.SingleSubscriptionResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostSubscription"))
.build();
}
}
}
return getPostSubscriptionMethod;
}
private static volatile io.grpc.MethodDescriptor getGetAppVisualizationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetAppVisualization",
requestType = clarifai2.internal.grpc.api.Visualization.GetAppVisualizationRequest.class,
responseType = clarifai2.internal.grpc.api.Visualization.SingleVisualizationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetAppVisualizationMethod() {
io.grpc.MethodDescriptor getGetAppVisualizationMethod;
if ((getGetAppVisualizationMethod = V2Grpc.getGetAppVisualizationMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetAppVisualizationMethod = V2Grpc.getGetAppVisualizationMethod) == null) {
V2Grpc.getGetAppVisualizationMethod = getGetAppVisualizationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "GetAppVisualization"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Visualization.GetAppVisualizationRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Visualization.SingleVisualizationResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetAppVisualization"))
.build();
}
}
}
return getGetAppVisualizationMethod;
}
private static volatile io.grpc.MethodDescriptor getGetVisualizationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetVisualization",
requestType = clarifai2.internal.grpc.api.Visualization.GetVisualizationRequest.class,
responseType = clarifai2.internal.grpc.api.Visualization.SingleVisualizationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetVisualizationMethod() {
io.grpc.MethodDescriptor getGetVisualizationMethod;
if ((getGetVisualizationMethod = V2Grpc.getGetVisualizationMethod) == null) {
synchronized (V2Grpc.class) {
if ((getGetVisualizationMethod = V2Grpc.getGetVisualizationMethod) == null) {
V2Grpc.getGetVisualizationMethod = getGetVisualizationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "GetVisualization"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Visualization.GetVisualizationRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Visualization.SingleVisualizationResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("GetVisualization"))
.build();
}
}
}
return getGetVisualizationMethod;
}
private static volatile io.grpc.MethodDescriptor getPostVisualizationMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PostVisualization",
requestType = clarifai2.internal.grpc.api.Visualization.PostVisualizationRequest.class,
responseType = clarifai2.internal.grpc.api.Visualization.SingleVisualizationResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPostVisualizationMethod() {
io.grpc.MethodDescriptor getPostVisualizationMethod;
if ((getPostVisualizationMethod = V2Grpc.getPostVisualizationMethod) == null) {
synchronized (V2Grpc.class) {
if ((getPostVisualizationMethod = V2Grpc.getPostVisualizationMethod) == null) {
V2Grpc.getPostVisualizationMethod = getPostVisualizationMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(
"clarifai.api.V2", "PostVisualization"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Visualization.PostVisualizationRequest.getDefaultInstance()))
.setResponseMarshaller(clarifai2.grpc.JsonMarshaller.jsonMarshaller(
clarifai2.internal.grpc.api.Visualization.SingleVisualizationResponse.getDefaultInstance()))
.setSchemaDescriptor(new V2MethodDescriptorSupplier("PostVisualization"))
.build();
}
}
}
return getPostVisualizationMethod;
}
private static volatile io.grpc.MethodDescriptor getListStatusCodesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListStatusCodes",
requestType = clarifai2.internal.grpc.api.Code.ListStatusCodesRequest.class,
responseType = clarifai2.internal.grpc.api.Code.MultiStatusCodeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListStatusCodesMethod() {
io.grpc.MethodDescriptor