Class GroundedGenerationServiceGrpc (0.51.0)

public final class GroundedGenerationServiceGrpc

Service for grounded generation.

Inheritance

java.lang.Object > GroundedGenerationServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(GroundedGenerationServiceGrpc.AsyncService service)

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

getCheckGroundingMethod()

public static MethodDescriptor<CheckGroundingRequest,CheckGroundingResponse> getCheckGroundingMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CheckGroundingRequest,CheckGroundingResponse>

getGenerateGroundedContentMethod()

public static MethodDescriptor<GenerateGroundedContentRequest,GenerateGroundedContentResponse> getGenerateGroundedContentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GenerateGroundedContentRequest,GenerateGroundedContentResponse>

getServiceDescriptor()

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

getStreamGenerateGroundedContentMethod()

public static MethodDescriptor<GenerateGroundedContentRequest,GenerateGroundedContentResponse> getStreamGenerateGroundedContentMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GenerateGroundedContentRequest,GenerateGroundedContentResponse>

newBlockingStub(Channel channel)

public static GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingStub 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
GroundedGenerationServiceGrpc.GroundedGenerationServiceBlockingStub

newFutureStub(Channel channel)

public static GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub 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
GroundedGenerationServiceGrpc.GroundedGenerationServiceFutureStub

newStub(Channel channel)

public static GroundedGenerationServiceGrpc.GroundedGenerationServiceStub 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
GroundedGenerationServiceGrpc.GroundedGenerationServiceStub