Package io.etcd.jetcd.api
Class ElectionGrpc
- java.lang.Object
-
- io.etcd.jetcd.api.ElectionGrpc
-
@Generated(value="by gRPC proto compiler (version 1.45.0)", comments="Source: election.proto") public final class ElectionGrpc extends java.lang.ObjectThe election service exposes client-side election facilities as a gRPC interface.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElectionGrpc.ElectionBlockingStubThe election service exposes client-side election facilities as a gRPC interface.static classElectionGrpc.ElectionFutureStubThe election service exposes client-side election facilities as a gRPC interface.static classElectionGrpc.ElectionImplBaseThe election service exposes client-side election facilities as a gRPC interface.static classElectionGrpc.ElectionStubThe election service exposes client-side election facilities as a gRPC interface.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.ServiceDescriptorgetServiceDescriptor()static ElectionGrpc.ElectionBlockingStubnewBlockingStub(io.grpc.Channel channel)Creates a new blocking-style stub that supports unary and streaming output calls on the servicestatic ElectionGrpc.ElectionFutureStubnewFutureStub(io.grpc.Channel channel)Creates a new ListenableFuture-style stub that supports unary calls on the servicestatic ElectionGrpc.ElectionStubnewStub(io.grpc.Channel channel)Creates a new async stub that supports all call types for the service
-
-
-
Field Detail
-
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCampaignMethod
public static io.grpc.MethodDescriptor<CampaignRequest,CampaignResponse> getCampaignMethod()
-
getProclaimMethod
public static io.grpc.MethodDescriptor<ProclaimRequest,ProclaimResponse> getProclaimMethod()
-
getLeaderMethod
public static io.grpc.MethodDescriptor<LeaderRequest,LeaderResponse> getLeaderMethod()
-
getObserveMethod
public static io.grpc.MethodDescriptor<LeaderRequest,LeaderResponse> getObserveMethod()
-
getResignMethod
public static io.grpc.MethodDescriptor<ResignRequest,ResignResponse> getResignMethod()
-
newStub
public static ElectionGrpc.ElectionStub newStub(io.grpc.Channel channel)
Creates a new async stub that supports all call types for the service
-
newBlockingStub
public static ElectionGrpc.ElectionBlockingStub newBlockingStub(io.grpc.Channel channel)
Creates a new blocking-style stub that supports unary and streaming output calls on the service
-
newFutureStub
public static ElectionGrpc.ElectionFutureStub newFutureStub(io.grpc.Channel channel)
Creates a new ListenableFuture-style stub that supports unary calls on the service
-
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-
-