
cosmos.upgrade.v1beta1.QueryGrpc Maven / Gradle / Ivy
package cosmos.upgrade.v1beta1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*
* Query defines the gRPC upgrade querier service.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.40.1)",
comments = "Source: cosmos/upgrade/v1beta1/query.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class QueryGrpc {
private QueryGrpc() {}
public static final String SERVICE_NAME = "cosmos.upgrade.v1beta1.Query";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getCurrentPlanMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CurrentPlan",
requestType = cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanRequest.class,
responseType = cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCurrentPlanMethod() {
io.grpc.MethodDescriptor getCurrentPlanMethod;
if ((getCurrentPlanMethod = QueryGrpc.getCurrentPlanMethod) == null) {
synchronized (QueryGrpc.class) {
if ((getCurrentPlanMethod = QueryGrpc.getCurrentPlanMethod) == null) {
QueryGrpc.getCurrentPlanMethod = getCurrentPlanMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CurrentPlan"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanResponse.getDefaultInstance()))
.setSchemaDescriptor(new QueryMethodDescriptorSupplier("CurrentPlan"))
.build();
}
}
}
return getCurrentPlanMethod;
}
private static volatile io.grpc.MethodDescriptor getAppliedPlanMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AppliedPlan",
requestType = cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanRequest.class,
responseType = cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getAppliedPlanMethod() {
io.grpc.MethodDescriptor getAppliedPlanMethod;
if ((getAppliedPlanMethod = QueryGrpc.getAppliedPlanMethod) == null) {
synchronized (QueryGrpc.class) {
if ((getAppliedPlanMethod = QueryGrpc.getAppliedPlanMethod) == null) {
QueryGrpc.getAppliedPlanMethod = getAppliedPlanMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AppliedPlan"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanResponse.getDefaultInstance()))
.setSchemaDescriptor(new QueryMethodDescriptorSupplier("AppliedPlan"))
.build();
}
}
}
return getAppliedPlanMethod;
}
private static volatile io.grpc.MethodDescriptor getUpgradedConsensusStateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpgradedConsensusState",
requestType = cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateRequest.class,
responseType = cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpgradedConsensusStateMethod() {
io.grpc.MethodDescriptor getUpgradedConsensusStateMethod;
if ((getUpgradedConsensusStateMethod = QueryGrpc.getUpgradedConsensusStateMethod) == null) {
synchronized (QueryGrpc.class) {
if ((getUpgradedConsensusStateMethod = QueryGrpc.getUpgradedConsensusStateMethod) == null) {
QueryGrpc.getUpgradedConsensusStateMethod = getUpgradedConsensusStateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpgradedConsensusState"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateResponse.getDefaultInstance()))
.setSchemaDescriptor(new QueryMethodDescriptorSupplier("UpgradedConsensusState"))
.build();
}
}
}
return getUpgradedConsensusStateMethod;
}
private static volatile io.grpc.MethodDescriptor getModuleVersionsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ModuleVersions",
requestType = cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsRequest.class,
responseType = cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getModuleVersionsMethod() {
io.grpc.MethodDescriptor getModuleVersionsMethod;
if ((getModuleVersionsMethod = QueryGrpc.getModuleVersionsMethod) == null) {
synchronized (QueryGrpc.class) {
if ((getModuleVersionsMethod = QueryGrpc.getModuleVersionsMethod) == null) {
QueryGrpc.getModuleVersionsMethod = getModuleVersionsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModuleVersions"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsResponse.getDefaultInstance()))
.setSchemaDescriptor(new QueryMethodDescriptorSupplier("ModuleVersions"))
.build();
}
}
}
return getModuleVersionsMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static QueryStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public QueryStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new QueryStub(channel, callOptions);
}
};
return QueryStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static QueryBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public QueryBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new QueryBlockingStub(channel, callOptions);
}
};
return QueryBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static QueryFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public QueryFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new QueryFutureStub(channel, callOptions);
}
};
return QueryFutureStub.newStub(factory, channel);
}
/**
*
* Query defines the gRPC upgrade querier service.
*
*/
public static abstract class QueryImplBase implements io.grpc.BindableService {
/**
*
* CurrentPlan queries the current upgrade plan.
*
*/
public void currentPlan(cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCurrentPlanMethod(), responseObserver);
}
/**
*
* AppliedPlan queries a previously applied upgrade plan by its name.
*
*/
public void appliedPlan(cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAppliedPlanMethod(), responseObserver);
}
/**
*
* UpgradedConsensusState queries the consensus state that will serve
* as a trusted kernel for the next version of this chain. It will only be
* stored at the last height of this chain.
* UpgradedConsensusState RPC not supported with legacy querier
* This rpc is deprecated now that IBC has its own replacement
* (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)
*
*/
@java.lang.Deprecated
public void upgradedConsensusState(cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpgradedConsensusStateMethod(), responseObserver);
}
/**
*
* ModuleVersions queries the list of module versions from state.
*
*/
public void moduleVersions(cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModuleVersionsMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCurrentPlanMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanRequest,
cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanResponse>(
this, METHODID_CURRENT_PLAN)))
.addMethod(
getAppliedPlanMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanRequest,
cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanResponse>(
this, METHODID_APPLIED_PLAN)))
.addMethod(
getUpgradedConsensusStateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateRequest,
cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateResponse>(
this, METHODID_UPGRADED_CONSENSUS_STATE)))
.addMethod(
getModuleVersionsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsRequest,
cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsResponse>(
this, METHODID_MODULE_VERSIONS)))
.build();
}
}
/**
*
* Query defines the gRPC upgrade querier service.
*
*/
public static final class QueryStub extends io.grpc.stub.AbstractAsyncStub {
private QueryStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected QueryStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new QueryStub(channel, callOptions);
}
/**
*
* CurrentPlan queries the current upgrade plan.
*
*/
public void currentPlan(cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCurrentPlanMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* AppliedPlan queries a previously applied upgrade plan by its name.
*
*/
public void appliedPlan(cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAppliedPlanMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* UpgradedConsensusState queries the consensus state that will serve
* as a trusted kernel for the next version of this chain. It will only be
* stored at the last height of this chain.
* UpgradedConsensusState RPC not supported with legacy querier
* This rpc is deprecated now that IBC has its own replacement
* (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)
*
*/
@java.lang.Deprecated
public void upgradedConsensusState(cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpgradedConsensusStateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* ModuleVersions queries the list of module versions from state.
*
*/
public void moduleVersions(cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getModuleVersionsMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*
* Query defines the gRPC upgrade querier service.
*
*/
public static final class QueryBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private QueryBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected QueryBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new QueryBlockingStub(channel, callOptions);
}
/**
*
* CurrentPlan queries the current upgrade plan.
*
*/
public cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanResponse currentPlan(cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCurrentPlanMethod(), getCallOptions(), request);
}
/**
*
* AppliedPlan queries a previously applied upgrade plan by its name.
*
*/
public cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanResponse appliedPlan(cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAppliedPlanMethod(), getCallOptions(), request);
}
/**
*
* UpgradedConsensusState queries the consensus state that will serve
* as a trusted kernel for the next version of this chain. It will only be
* stored at the last height of this chain.
* UpgradedConsensusState RPC not supported with legacy querier
* This rpc is deprecated now that IBC has its own replacement
* (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)
*
*/
@java.lang.Deprecated
public cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateResponse upgradedConsensusState(cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpgradedConsensusStateMethod(), getCallOptions(), request);
}
/**
*
* ModuleVersions queries the list of module versions from state.
*
*/
public cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsResponse moduleVersions(cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getModuleVersionsMethod(), getCallOptions(), request);
}
}
/**
*
* Query defines the gRPC upgrade querier service.
*
*/
public static final class QueryFutureStub extends io.grpc.stub.AbstractFutureStub {
private QueryFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected QueryFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new QueryFutureStub(channel, callOptions);
}
/**
*
* CurrentPlan queries the current upgrade plan.
*
*/
public com.google.common.util.concurrent.ListenableFuture currentPlan(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCurrentPlanMethod(), getCallOptions()), request);
}
/**
*
* AppliedPlan queries a previously applied upgrade plan by its name.
*
*/
public com.google.common.util.concurrent.ListenableFuture appliedPlan(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAppliedPlanMethod(), getCallOptions()), request);
}
/**
*
* UpgradedConsensusState queries the consensus state that will serve
* as a trusted kernel for the next version of this chain. It will only be
* stored at the last height of this chain.
* UpgradedConsensusState RPC not supported with legacy querier
* This rpc is deprecated now that IBC has its own replacement
* (https://github.com/cosmos/ibc-go/blob/2c880a22e9f9cc75f62b527ca94aa75ce1106001/proto/ibc/core/client/v1/query.proto#L54)
*
*/
@java.lang.Deprecated
public com.google.common.util.concurrent.ListenableFuture upgradedConsensusState(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpgradedConsensusStateMethod(), getCallOptions()), request);
}
/**
*
* ModuleVersions queries the list of module versions from state.
*
*/
public com.google.common.util.concurrent.ListenableFuture moduleVersions(
cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getModuleVersionsMethod(), getCallOptions()), request);
}
}
private static final int METHODID_CURRENT_PLAN = 0;
private static final int METHODID_APPLIED_PLAN = 1;
private static final int METHODID_UPGRADED_CONSENSUS_STATE = 2;
private static final int METHODID_MODULE_VERSIONS = 3;
private static final class MethodHandlers implements
io.grpc.stub.ServerCalls.UnaryMethod,
io.grpc.stub.ServerCalls.ServerStreamingMethod,
io.grpc.stub.ServerCalls.ClientStreamingMethod,
io.grpc.stub.ServerCalls.BidiStreamingMethod {
private final QueryImplBase serviceImpl;
private final int methodId;
MethodHandlers(QueryImplBase serviceImpl, int methodId) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
case METHODID_CURRENT_PLAN:
serviceImpl.currentPlan((cosmos.upgrade.v1beta1.QueryOuterClass.QueryCurrentPlanRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_APPLIED_PLAN:
serviceImpl.appliedPlan((cosmos.upgrade.v1beta1.QueryOuterClass.QueryAppliedPlanRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPGRADED_CONSENSUS_STATE:
serviceImpl.upgradedConsensusState((cosmos.upgrade.v1beta1.QueryOuterClass.QueryUpgradedConsensusStateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_MODULE_VERSIONS:
serviceImpl.moduleVersions((cosmos.upgrade.v1beta1.QueryOuterClass.QueryModuleVersionsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
default:
throw new AssertionError();
}
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public io.grpc.stub.StreamObserver invoke(
io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
default:
throw new AssertionError();
}
}
}
private static abstract class QueryBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
QueryBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return cosmos.upgrade.v1beta1.QueryOuterClass.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("Query");
}
}
private static final class QueryFileDescriptorSupplier
extends QueryBaseDescriptorSupplier {
QueryFileDescriptorSupplier() {}
}
private static final class QueryMethodDescriptorSupplier
extends QueryBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
QueryMethodDescriptorSupplier(String methodName) {
this.methodName = methodName;
}
@java.lang.Override
public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() {
return getServiceDescriptor().findMethodByName(methodName);
}
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (QueryGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new QueryFileDescriptorSupplier())
.addMethod(getCurrentPlanMethod())
.addMethod(getAppliedPlanMethod())
.addMethod(getUpgradedConsensusStateMethod())
.addMethod(getModuleVersionsMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy