Class ExampleStoreServiceGrpc (3.64.0)

public final class ExampleStoreServiceGrpc

A service for managing and retrieving few-shot examples.

Inheritance

java.lang.Object > ExampleStoreServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ExampleStoreServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ExampleStoreServiceGrpc.AsyncService service)
Parameter
Name Description
service ExampleStoreServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateExampleStoreMethod()

public static MethodDescriptor,Operation> getCreateExampleStoreMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateExampleStoreRequest,Operation>

getDeleteExampleStoreMethod()

public static MethodDescriptor,Operation> getDeleteExampleStoreMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteExampleStoreRequest,Operation>

getFetchExamplesMethod()

public static MethodDescriptor,FetchExamplesResponse> getFetchExamplesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<FetchExamplesRequest,FetchExamplesResponse>

getGetExampleStoreMethod()

public static MethodDescriptor,ExampleStore> getGetExampleStoreMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetExampleStoreRequest,ExampleStore>

getListExampleStoresMethod()

public static MethodDescriptor,ListExampleStoresResponse> getListExampleStoresMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListExampleStoresRequest,ListExampleStoresResponse>

getRemoveExamplesMethod()

public static MethodDescriptor,RemoveExamplesResponse> getRemoveExamplesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<RemoveExamplesRequest,RemoveExamplesResponse>

getSearchExamplesMethod()

public static MethodDescriptor,SearchExamplesResponse> getSearchExamplesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SearchExamplesRequest,SearchExamplesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateExampleStoreMethod()

public static MethodDescriptor,Operation> getUpdateExampleStoreMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateExampleStoreRequest,Operation>

getUpsertExamplesMethod()

public static MethodDescriptor,UpsertExamplesResponse> getUpsertExamplesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpsertExamplesRequest,UpsertExamplesResponse>

newBlockingStub(Channel channel)

public static ExampleStoreServiceGrpc.ExampleStoreServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ExampleStoreServiceGrpc.ExampleStoreServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static ExampleStoreServiceGrpc.ExampleStoreServiceBlockingV2Stub newBlockingV2Stub(Channel channel)

Creates a new blocking-style stub that supports all types of calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ExampleStoreServiceGrpc.ExampleStoreServiceBlockingV2Stub

newFutureStub(Channel channel)

public static ExampleStoreServiceGrpc.ExampleStoreServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ExampleStoreServiceGrpc.ExampleStoreServiceFutureStub

newStub(Channel channel)

public static ExampleStoreServiceGrpc.ExampleStoreServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ExampleStoreServiceGrpc.ExampleStoreServiceStub