Class DataA2AServiceGrpc (0.27.0)

public final class DataA2AServiceGrpc

DataA2AService defines the Agent-to-Agent (A2A) protocol service for Gemini Data Analytics.

Inheritance

java.lang.Object > DataA2AServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(DataA2AServiceGrpc.AsyncService service)

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

getGetAgentCardMethod()

public static MethodDescriptor<GetAgentCardRequest,AgentCard> getGetAgentCardMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetAgentCardRequest,AgentCard>

getSendMessageMethod()

public static MethodDescriptor<SendMessageRequest,SendMessageResponse> getSendMessageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SendMessageRequest,SendMessageResponse>

getSendStreamingMessageMethod()

public static MethodDescriptor<SendMessageRequest,StreamResponse> getSendStreamingMessageMethod()
Returns
Type Description
io.grpc.MethodDescriptor<SendMessageRequest,StreamResponse>

getServiceDescriptor()

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

newBlockingStub(Channel channel)

public static DataA2AServiceGrpc.DataA2AServiceBlockingStub 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
DataA2AServiceGrpc.DataA2AServiceBlockingStub

newBlockingV2Stub(Channel channel)

public static DataA2AServiceGrpc.DataA2AServiceBlockingV2Stub 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
DataA2AServiceGrpc.DataA2AServiceBlockingV2Stub

newFutureStub(Channel channel)

public static DataA2AServiceGrpc.DataA2AServiceFutureStub 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
DataA2AServiceGrpc.DataA2AServiceFutureStub

newStub(Channel channel)

public static DataA2AServiceGrpc.DataA2AServiceStub 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
DataA2AServiceGrpc.DataA2AServiceStub