@Generated(value="by gRPC proto compiler (version 1.39.0)", comments="Source: election.proto") public final class ElectionGrpc extends Object
The election service exposes client-side election facilities as a gRPC interface.
| Modifier and Type | Class and Description |
|---|---|
static class |
ElectionGrpc.ElectionBlockingStub
The election service exposes client-side election facilities as a gRPC interface.
|
static class |
ElectionGrpc.ElectionFutureStub
The election service exposes client-side election facilities as a gRPC interface.
|
static class |
ElectionGrpc.ElectionImplBase
The election service exposes client-side election facilities as a gRPC interface.
|
static class |
ElectionGrpc.ElectionStub
The election service exposes client-side election facilities as a gRPC interface.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static io.grpc.MethodDescriptor<CampaignRequest,CampaignResponse> |
getCampaignMethod() |
static io.grpc.MethodDescriptor<LeaderRequest,LeaderResponse> |
getLeaderMethod() |
static io.grpc.MethodDescriptor<LeaderRequest,LeaderResponse> |
getObserveMethod() |
static io.grpc.MethodDescriptor<ProclaimRequest,ProclaimResponse> |
getProclaimMethod() |
static io.grpc.MethodDescriptor<ResignRequest,ResignResponse> |
getResignMethod() |
static io.grpc.ServiceDescriptor |
getServiceDescriptor() |
static ElectionGrpc.ElectionBlockingStub |
newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
|
static ElectionGrpc.ElectionFutureStub |
newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
|
static ElectionGrpc.ElectionStub |
newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
|
public static final String SERVICE_NAME
public static io.grpc.MethodDescriptor<CampaignRequest,CampaignResponse> getCampaignMethod()
public static io.grpc.MethodDescriptor<ProclaimRequest,ProclaimResponse> getProclaimMethod()
public static io.grpc.MethodDescriptor<LeaderRequest,LeaderResponse> getLeaderMethod()
public static io.grpc.MethodDescriptor<LeaderRequest,LeaderResponse> getObserveMethod()
public static io.grpc.MethodDescriptor<ResignRequest,ResignResponse> getResignMethod()
public static ElectionGrpc.ElectionStub newStub(io.grpc.Channel channel)
public static ElectionGrpc.ElectionBlockingStub newBlockingStub(io.grpc.Channel channel)
public static ElectionGrpc.ElectionFutureStub newFutureStub(io.grpc.Channel channel)
public static io.grpc.ServiceDescriptor getServiceDescriptor()
Copyright © 2021. All rights reserved.