Class GenAiCacheServiceGrpc (3.46.0)

public final class GenAiCacheServiceGrpc

Service for managing Vertex AI's CachedContent resource.

Inheritance

java.lang.Object > GenAiCacheServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(GenAiCacheServiceGrpc.AsyncService service)

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

getCreateCachedContentMethod()

public static MethodDescriptor<CreateCachedContentRequest,CachedContent> getCreateCachedContentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateCachedContentRequest,CachedContent>

getDeleteCachedContentMethod()

public static MethodDescriptor<DeleteCachedContentRequest,Empty> getDeleteCachedContentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteCachedContentRequest,Empty>

getGetCachedContentMethod()

public static MethodDescriptor<GetCachedContentRequest,CachedContent> getGetCachedContentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetCachedContentRequest,CachedContent>

getListCachedContentsMethod()

public static MethodDescriptor<ListCachedContentsRequest,ListCachedContentsResponse> getListCachedContentsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListCachedContentsRequest,ListCachedContentsResponse>

getServiceDescriptor()

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

getUpdateCachedContentMethod()

public static MethodDescriptor<UpdateCachedContentRequest,CachedContent> getUpdateCachedContentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateCachedContentRequest,CachedContent>

newBlockingStub(Channel channel)

public static GenAiCacheServiceGrpc.GenAiCacheServiceBlockingStub 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
GenAiCacheServiceGrpc.GenAiCacheServiceBlockingStub

newFutureStub(Channel channel)

public static GenAiCacheServiceGrpc.GenAiCacheServiceFutureStub 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
GenAiCacheServiceGrpc.GenAiCacheServiceFutureStub

newStub(Channel channel)

public static GenAiCacheServiceGrpc.GenAiCacheServiceStub 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
GenAiCacheServiceGrpc.GenAiCacheServiceStub