Skip to content

chore(dapi): update autogenerated clients #1827

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -635,6 +635,37 @@ org.dash.platform.dapi.v0.PlatformOuterClass.GetEpochsInfoResponse> getGetEpochs
return getGetEpochsInfoMethod;
}

private static volatile io.grpc.MethodDescriptor<org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest,
org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse> getGetPathElementsMethod;

@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getPathElements",
requestType = org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest.class,
responseType = org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor<org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest,
org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse> getGetPathElementsMethod() {
io.grpc.MethodDescriptor<org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest, org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse> getGetPathElementsMethod;
if ((getGetPathElementsMethod = PlatformGrpc.getGetPathElementsMethod) == null) {
synchronized (PlatformGrpc.class) {
if ((getGetPathElementsMethod = PlatformGrpc.getGetPathElementsMethod) == null) {
PlatformGrpc.getGetPathElementsMethod = getGetPathElementsMethod =
io.grpc.MethodDescriptor.<org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest, org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse>newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getPathElements"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse.getDefaultInstance()))
.setSchemaDescriptor(new PlatformMethodDescriptorSupplier("getPathElements"))
.build();
}
}
}
return getGetPathElementsMethod;
}

/**
* Creates a new async stub that supports all call types for the service
*/
Expand Down Expand Up @@ -823,6 +854,13 @@ public void getEpochsInfo(org.dash.platform.dapi.v0.PlatformOuterClass.GetEpochs
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetEpochsInfoMethod(), responseObserver);
}

/**
*/
public void getPathElements(org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest request,
io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse> responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetPathElementsMethod(), responseObserver);
}

@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
Expand Down Expand Up @@ -965,6 +1003,13 @@ public void getEpochsInfo(org.dash.platform.dapi.v0.PlatformOuterClass.GetEpochs
org.dash.platform.dapi.v0.PlatformOuterClass.GetEpochsInfoRequest,
org.dash.platform.dapi.v0.PlatformOuterClass.GetEpochsInfoResponse>(
this, METHODID_GET_EPOCHS_INFO)))
.addMethod(
getGetPathElementsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest,
org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse>(
this, METHODID_GET_PATH_ELEMENTS)))
.build();
}
}
Expand Down Expand Up @@ -1142,6 +1187,14 @@ public void getEpochsInfo(org.dash.platform.dapi.v0.PlatformOuterClass.GetEpochs
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetEpochsInfoMethod(), getCallOptions()), request, responseObserver);
}

/**
*/
public void getPathElements(org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest request,
io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse> responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetPathElementsMethod(), getCallOptions()), request, responseObserver);
}
}

/**
Expand Down Expand Up @@ -1297,6 +1350,13 @@ public org.dash.platform.dapi.v0.PlatformOuterClass.GetEpochsInfoResponse getEpo
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetEpochsInfoMethod(), getCallOptions(), request);
}

/**
*/
public org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse getPathElements(org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetPathElementsMethod(), getCallOptions(), request);
}
}

/**
Expand Down Expand Up @@ -1472,6 +1532,14 @@ public com.google.common.util.concurrent.ListenableFuture<org.dash.platform.dapi
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetEpochsInfoMethod(), getCallOptions()), request);
}

/**
*/
public com.google.common.util.concurrent.ListenableFuture<org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse> getPathElements(
org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetPathElementsMethod(), getCallOptions()), request);
}
}

private static final int METHODID_BROADCAST_STATE_TRANSITION = 0;
Expand All @@ -1494,6 +1562,7 @@ public com.google.common.util.concurrent.ListenableFuture<org.dash.platform.dapi
private static final int METHODID_GET_PROTOCOL_VERSION_UPGRADE_STATE = 17;
private static final int METHODID_GET_PROTOCOL_VERSION_UPGRADE_VOTE_STATUS = 18;
private static final int METHODID_GET_EPOCHS_INFO = 19;
private static final int METHODID_GET_PATH_ELEMENTS = 20;

private static final class MethodHandlers<Req, Resp> implements
io.grpc.stub.ServerCalls.UnaryMethod<Req, Resp>,
Expand Down Expand Up @@ -1592,6 +1661,10 @@ public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserv
serviceImpl.getEpochsInfo((org.dash.platform.dapi.v0.PlatformOuterClass.GetEpochsInfoRequest) request,
(io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetEpochsInfoResponse>) responseObserver);
break;
case METHODID_GET_PATH_ELEMENTS:
serviceImpl.getPathElements((org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsRequest) request,
(io.grpc.stub.StreamObserver<org.dash.platform.dapi.v0.PlatformOuterClass.GetPathElementsResponse>) responseObserver);
break;
default:
throw new AssertionError();
}
Expand Down Expand Up @@ -1673,6 +1746,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
.addMethod(getGetProtocolVersionUpgradeStateMethod())
.addMethod(getGetProtocolVersionUpgradeVoteStatusMethod())
.addMethod(getGetEpochsInfoMethod())
.addMethod(getGetPathElementsMethod())
.build();
}
}
Expand Down
Loading