main.grpc.com.streamlayer.studio.users.UsersGrpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
package com.streamlayer.studio.users;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.65.1)",
comments = "Source: streamlayer/studio/users/studio_users.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class UsersGrpc {
private UsersGrpc() {}
public static final java.lang.String SERVICE_NAME = "streamlayer.studio.users.Users";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getGetMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Get",
requestType = com.streamlayer.studio.users.GetRequest.class,
responseType = com.streamlayer.studio.users.GetResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetMethod() {
io.grpc.MethodDescriptor getGetMethod;
if ((getGetMethod = UsersGrpc.getGetMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetMethod = UsersGrpc.getGetMethod) == null) {
UsersGrpc.getGetMethod = getGetMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Get"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.GetRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.GetResponse.getDefaultInstance()))
.build();
}
}
}
return getGetMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Update",
requestType = com.streamlayer.studio.users.UpdateRequest.class,
responseType = com.streamlayer.studio.users.UpdateResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateMethod() {
io.grpc.MethodDescriptor getUpdateMethod;
if ((getUpdateMethod = UsersGrpc.getUpdateMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getUpdateMethod = UsersGrpc.getUpdateMethod) == null) {
UsersGrpc.getUpdateMethod = getUpdateMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Update"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.UpdateRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.UpdateResponse.getDefaultInstance()))
.build();
}
}
}
return getUpdateMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdatePasswordMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdatePassword",
requestType = com.streamlayer.studio.users.UpdatePasswordRequest.class,
responseType = com.streamlayer.studio.users.UpdatePasswordResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdatePasswordMethod() {
io.grpc.MethodDescriptor getUpdatePasswordMethod;
if ((getUpdatePasswordMethod = UsersGrpc.getUpdatePasswordMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getUpdatePasswordMethod = UsersGrpc.getUpdatePasswordMethod) == null) {
UsersGrpc.getUpdatePasswordMethod = getUpdatePasswordMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdatePassword"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.UpdatePasswordRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.UpdatePasswordResponse.getDefaultInstance()))
.build();
}
}
}
return getUpdatePasswordMethod;
}
private static volatile io.grpc.MethodDescriptor getResetPasswordMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ResetPassword",
requestType = com.streamlayer.studio.users.ResetPasswordRequest.class,
responseType = com.streamlayer.studio.users.ResetPasswordResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getResetPasswordMethod() {
io.grpc.MethodDescriptor getResetPasswordMethod;
if ((getResetPasswordMethod = UsersGrpc.getResetPasswordMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getResetPasswordMethod = UsersGrpc.getResetPasswordMethod) == null) {
UsersGrpc.getResetPasswordMethod = getResetPasswordMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResetPassword"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.ResetPasswordRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.ResetPasswordResponse.getDefaultInstance()))
.build();
}
}
}
return getResetPasswordMethod;
}
private static volatile io.grpc.MethodDescriptor getRequestResetPasswordMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RequestResetPassword",
requestType = com.streamlayer.studio.users.RequestResetPasswordRequest.class,
responseType = com.streamlayer.studio.users.RequestResetPasswordResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRequestResetPasswordMethod() {
io.grpc.MethodDescriptor getRequestResetPasswordMethod;
if ((getRequestResetPasswordMethod = UsersGrpc.getRequestResetPasswordMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getRequestResetPasswordMethod = UsersGrpc.getRequestResetPasswordMethod) == null) {
UsersGrpc.getRequestResetPasswordMethod = getRequestResetPasswordMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RequestResetPassword"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.RequestResetPasswordRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.RequestResetPasswordResponse.getDefaultInstance()))
.build();
}
}
}
return getRequestResetPasswordMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateStatusMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateStatus",
requestType = com.streamlayer.studio.users.UpdateStatusRequest.class,
responseType = com.streamlayer.studio.users.UpdateStatusResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateStatusMethod() {
io.grpc.MethodDescriptor getUpdateStatusMethod;
if ((getUpdateStatusMethod = UsersGrpc.getUpdateStatusMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getUpdateStatusMethod = UsersGrpc.getUpdateStatusMethod) == null) {
UsersGrpc.getUpdateStatusMethod = getUpdateStatusMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateStatus"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.UpdateStatusRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.lite.ProtoLiteUtils.marshaller(
com.streamlayer.studio.users.UpdateStatusResponse.getDefaultInstance()))
.build();
}
}
}
return getUpdateStatusMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static UsersStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public UsersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new UsersStub(channel, callOptions);
}
};
return UsersStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static UsersBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public UsersBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new UsersBlockingStub(channel, callOptions);
}
};
return UsersBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static UsersFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public UsersFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new UsersFutureStub(channel, callOptions);
}
};
return UsersFutureStub.newStub(factory, channel);
}
/**
*/
public interface AsyncService {
/**
*/
default void get(com.streamlayer.studio.users.GetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMethod(), responseObserver);
}
/**
*/
default void update(com.streamlayer.studio.users.UpdateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver);
}
/**
*/
default void updatePassword(com.streamlayer.studio.users.UpdatePasswordRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdatePasswordMethod(), responseObserver);
}
/**
*/
default void resetPassword(com.streamlayer.studio.users.ResetPasswordRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetPasswordMethod(), responseObserver);
}
/**
*/
default void requestResetPassword(com.streamlayer.studio.users.RequestResetPasswordRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRequestResetPasswordMethod(), responseObserver);
}
/**
*/
default void updateStatus(com.streamlayer.studio.users.UpdateStatusRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateStatusMethod(), responseObserver);
}
}
/**
* Base class for the server implementation of the service Users.
*/
public static abstract class UsersImplBase
implements io.grpc.BindableService, AsyncService {
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return UsersGrpc.bindService(this);
}
}
/**
* A stub to allow clients to do asynchronous rpc calls to service Users.
*/
public static final class UsersStub
extends io.grpc.stub.AbstractAsyncStub {
private UsersStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected UsersStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new UsersStub(channel, callOptions);
}
/**
*/
public void get(com.streamlayer.studio.users.GetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void update(com.streamlayer.studio.users.UpdateRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void updatePassword(com.streamlayer.studio.users.UpdatePasswordRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdatePasswordMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void resetPassword(com.streamlayer.studio.users.ResetPasswordRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getResetPasswordMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void requestResetPassword(com.streamlayer.studio.users.RequestResetPasswordRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getRequestResetPasswordMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void updateStatus(com.streamlayer.studio.users.UpdateStatusRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateStatusMethod(), getCallOptions()), request, responseObserver);
}
}
/**
* A stub to allow clients to do synchronous rpc calls to service Users.
*/
public static final class UsersBlockingStub
extends io.grpc.stub.AbstractBlockingStub {
private UsersBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected UsersBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new UsersBlockingStub(channel, callOptions);
}
/**
*/
public com.streamlayer.studio.users.GetResponse get(com.streamlayer.studio.users.GetRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.studio.users.UpdateResponse update(com.streamlayer.studio.users.UpdateRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.studio.users.UpdatePasswordResponse updatePassword(com.streamlayer.studio.users.UpdatePasswordRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdatePasswordMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.studio.users.ResetPasswordResponse resetPassword(com.streamlayer.studio.users.ResetPasswordRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getResetPasswordMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.studio.users.RequestResetPasswordResponse requestResetPassword(com.streamlayer.studio.users.RequestResetPasswordRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getRequestResetPasswordMethod(), getCallOptions(), request);
}
/**
*/
public com.streamlayer.studio.users.UpdateStatusResponse updateStatus(com.streamlayer.studio.users.UpdateStatusRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateStatusMethod(), getCallOptions(), request);
}
}
/**
* A stub to allow clients to do ListenableFuture-style rpc calls to service Users.
*/
public static final class UsersFutureStub
extends io.grpc.stub.AbstractFutureStub {
private UsersFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected UsersFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new UsersFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture get(
com.streamlayer.studio.users.GetRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture update(
com.streamlayer.studio.users.UpdateRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture updatePassword(
com.streamlayer.studio.users.UpdatePasswordRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdatePasswordMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture resetPassword(
com.streamlayer.studio.users.ResetPasswordRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getResetPasswordMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture requestResetPassword(
com.streamlayer.studio.users.RequestResetPasswordRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getRequestResetPasswordMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture updateStatus(
com.streamlayer.studio.users.UpdateStatusRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateStatusMethod(), getCallOptions()), request);
}
}
private static final int METHODID_GET = 0;
private static final int METHODID_UPDATE = 1;
private static final int METHODID_UPDATE_PASSWORD = 2;
private static final int METHODID_RESET_PASSWORD = 3;
private static final int METHODID_REQUEST_RESET_PASSWORD = 4;
private static final int METHODID_UPDATE_STATUS = 5;
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 AsyncService serviceImpl;
private final int methodId;
MethodHandlers(AsyncService 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_GET:
serviceImpl.get((com.streamlayer.studio.users.GetRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE:
serviceImpl.update((com.streamlayer.studio.users.UpdateRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_PASSWORD:
serviceImpl.updatePassword((com.streamlayer.studio.users.UpdatePasswordRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_RESET_PASSWORD:
serviceImpl.resetPassword((com.streamlayer.studio.users.ResetPasswordRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_REQUEST_RESET_PASSWORD:
serviceImpl.requestResetPassword((com.streamlayer.studio.users.RequestResetPasswordRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_STATUS:
serviceImpl.updateStatus((com.streamlayer.studio.users.UpdateStatusRequest) 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();
}
}
}
public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getGetMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.studio.users.GetRequest,
com.streamlayer.studio.users.GetResponse>(
service, METHODID_GET)))
.addMethod(
getUpdateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.studio.users.UpdateRequest,
com.streamlayer.studio.users.UpdateResponse>(
service, METHODID_UPDATE)))
.addMethod(
getUpdatePasswordMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.studio.users.UpdatePasswordRequest,
com.streamlayer.studio.users.UpdatePasswordResponse>(
service, METHODID_UPDATE_PASSWORD)))
.addMethod(
getResetPasswordMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.studio.users.ResetPasswordRequest,
com.streamlayer.studio.users.ResetPasswordResponse>(
service, METHODID_RESET_PASSWORD)))
.addMethod(
getRequestResetPasswordMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.studio.users.RequestResetPasswordRequest,
com.streamlayer.studio.users.RequestResetPasswordResponse>(
service, METHODID_REQUEST_RESET_PASSWORD)))
.addMethod(
getUpdateStatusMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.streamlayer.studio.users.UpdateStatusRequest,
com.streamlayer.studio.users.UpdateStatusResponse>(
service, METHODID_UPDATE_STATUS)))
.build();
}
private static volatile io.grpc.ServiceDescriptor serviceDescriptor;
public static io.grpc.ServiceDescriptor getServiceDescriptor() {
io.grpc.ServiceDescriptor result = serviceDescriptor;
if (result == null) {
synchronized (UsersGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.addMethod(getGetMethod())
.addMethod(getUpdateMethod())
.addMethod(getUpdatePasswordMethod())
.addMethod(getResetPasswordMethod())
.addMethod(getRequestResetPasswordMethod())
.addMethod(getUpdateStatusMethod())
.build();
}
}
}
return result;
}
}