com.passkit.grpc.UsersGrpc Maven / Gradle / Ivy
package com.passkit.grpc;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.44.1)",
comments = "Source: io/core/a_rpc_others.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class UsersGrpc {
private UsersGrpc() {}
public static final String SERVICE_NAME = "io.Users";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getCreateUserMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "createUser",
requestType = com.passkit.grpc.User.NewUser.class,
responseType = com.passkit.grpc.User.NewUserResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateUserMethod() {
io.grpc.MethodDescriptor getCreateUserMethod;
if ((getCreateUserMethod = UsersGrpc.getCreateUserMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getCreateUserMethod = UsersGrpc.getCreateUserMethod) == null) {
UsersGrpc.getCreateUserMethod = getCreateUserMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "createUser"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.NewUser.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.NewUserResponse.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("createUser"))
.build();
}
}
}
return getCreateUserMethod;
}
private static volatile io.grpc.MethodDescriptor getNewUserMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "newUser",
requestType = com.passkit.grpc.User.NewUser.class,
responseType = com.passkit.grpc.User.JWT.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getNewUserMethod() {
io.grpc.MethodDescriptor getNewUserMethod;
if ((getNewUserMethod = UsersGrpc.getNewUserMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getNewUserMethod = UsersGrpc.getNewUserMethod) == null) {
UsersGrpc.getNewUserMethod = getNewUserMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "newUser"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.NewUser.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.JWT.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("newUser"))
.build();
}
}
}
return getNewUserMethod;
}
private static volatile io.grpc.MethodDescriptor getVerifyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "verify",
requestType = com.passkit.grpc.User.VerifyRequest.class,
responseType = com.passkit.grpc.CommonObjects.Boolean.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getVerifyMethod() {
io.grpc.MethodDescriptor getVerifyMethod;
if ((getVerifyMethod = UsersGrpc.getVerifyMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getVerifyMethod = UsersGrpc.getVerifyMethod) == null) {
UsersGrpc.getVerifyMethod = getVerifyMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "verify"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.VerifyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.CommonObjects.Boolean.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("verify"))
.build();
}
}
}
return getVerifyMethod;
}
private static volatile io.grpc.MethodDescriptor getResendVerificationEmailMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "resendVerificationEmail",
requestType = com.google.protobuf.Empty.class,
responseType = com.passkit.grpc.CommonObjects.Boolean.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getResendVerificationEmailMethod() {
io.grpc.MethodDescriptor getResendVerificationEmailMethod;
if ((getResendVerificationEmailMethod = UsersGrpc.getResendVerificationEmailMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getResendVerificationEmailMethod = UsersGrpc.getResendVerificationEmailMethod) == null) {
UsersGrpc.getResendVerificationEmailMethod = getResendVerificationEmailMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "resendVerificationEmail"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.CommonObjects.Boolean.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("resendVerificationEmail"))
.build();
}
}
}
return getResendVerificationEmailMethod;
}
private static volatile io.grpc.MethodDescriptor getGetUserMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getUser",
requestType = com.google.protobuf.Empty.class,
responseType = com.passkit.grpc.User.GetUserResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetUserMethod() {
io.grpc.MethodDescriptor getGetUserMethod;
if ((getGetUserMethod = UsersGrpc.getGetUserMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetUserMethod = UsersGrpc.getGetUserMethod) == null) {
UsersGrpc.getGetUserMethod = getGetUserMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getUser"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.GetUserResponse.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("getUser"))
.build();
}
}
}
return getGetUserMethod;
}
private static volatile io.grpc.MethodDescriptor getLoginMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "login",
requestType = com.passkit.grpc.User.Credentials.class,
responseType = com.passkit.grpc.User.JWT.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getLoginMethod() {
io.grpc.MethodDescriptor getLoginMethod;
if ((getLoginMethod = UsersGrpc.getLoginMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getLoginMethod = UsersGrpc.getLoginMethod) == null) {
UsersGrpc.getLoginMethod = getLoginMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "login"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.Credentials.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.JWT.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("login"))
.build();
}
}
}
return getLoginMethod;
}
private static volatile io.grpc.MethodDescriptor getResetPasswordMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "resetPassword",
requestType = com.passkit.grpc.User.Credentials.class,
responseType = com.google.protobuf.Empty.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.ProtoUtils.marshaller(
com.passkit.grpc.User.Credentials.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("resetPassword"))
.build();
}
}
}
return getResetPasswordMethod;
}
private static volatile io.grpc.MethodDescriptor getSendPasswordResetLinkMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "sendPasswordResetLink",
requestType = com.passkit.grpc.User.Username.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getSendPasswordResetLinkMethod() {
io.grpc.MethodDescriptor getSendPasswordResetLinkMethod;
if ((getSendPasswordResetLinkMethod = UsersGrpc.getSendPasswordResetLinkMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getSendPasswordResetLinkMethod = UsersGrpc.getSendPasswordResetLinkMethod) == null) {
UsersGrpc.getSendPasswordResetLinkMethod = getSendPasswordResetLinkMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "sendPasswordResetLink"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.Username.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("sendPasswordResetLink"))
.build();
}
}
}
return getSendPasswordResetLinkMethod;
}
private static volatile io.grpc.MethodDescriptor getChangePasswordMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "changePassword",
requestType = com.passkit.grpc.User.PasswordResetInput.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getChangePasswordMethod() {
io.grpc.MethodDescriptor getChangePasswordMethod;
if ((getChangePasswordMethod = UsersGrpc.getChangePasswordMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getChangePasswordMethod = UsersGrpc.getChangePasswordMethod) == null) {
UsersGrpc.getChangePasswordMethod = getChangePasswordMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "changePassword"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.PasswordResetInput.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("changePassword"))
.build();
}
}
}
return getChangePasswordMethod;
}
private static volatile io.grpc.MethodDescriptor getChangeEmailMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "changeEmail",
requestType = com.passkit.grpc.User.Email.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getChangeEmailMethod() {
io.grpc.MethodDescriptor getChangeEmailMethod;
if ((getChangeEmailMethod = UsersGrpc.getChangeEmailMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getChangeEmailMethod = UsersGrpc.getChangeEmailMethod) == null) {
UsersGrpc.getChangeEmailMethod = getChangeEmailMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "changeEmail"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.Email.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("changeEmail"))
.build();
}
}
}
return getChangeEmailMethod;
}
private static volatile io.grpc.MethodDescriptor getConfirmEmailChangeMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "confirmEmailChange",
requestType = com.passkit.grpc.User.ConfirmEmailChangeInput.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getConfirmEmailChangeMethod() {
io.grpc.MethodDescriptor getConfirmEmailChangeMethod;
if ((getConfirmEmailChangeMethod = UsersGrpc.getConfirmEmailChangeMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getConfirmEmailChangeMethod = UsersGrpc.getConfirmEmailChangeMethod) == null) {
UsersGrpc.getConfirmEmailChangeMethod = getConfirmEmailChangeMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "confirmEmailChange"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.ConfirmEmailChangeInput.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("confirmEmailChange"))
.build();
}
}
}
return getConfirmEmailChangeMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateCompanyNameMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "updateCompanyName",
requestType = com.passkit.grpc.User.CompanyName.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateCompanyNameMethod() {
io.grpc.MethodDescriptor getUpdateCompanyNameMethod;
if ((getUpdateCompanyNameMethod = UsersGrpc.getUpdateCompanyNameMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getUpdateCompanyNameMethod = UsersGrpc.getUpdateCompanyNameMethod) == null) {
UsersGrpc.getUpdateCompanyNameMethod = getUpdateCompanyNameMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "updateCompanyName"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.CompanyName.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("updateCompanyName"))
.build();
}
}
}
return getUpdateCompanyNameMethod;
}
private static volatile io.grpc.MethodDescriptor getGetProjectsForUserQueryDeprecatedMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getProjectsForUserQueryDeprecated",
requestType = com.passkit.grpc.PaginationOuterClass.Pagination.class,
responseType = com.passkit.grpc.ProjectOuterClass.Project.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getGetProjectsForUserQueryDeprecatedMethod() {
io.grpc.MethodDescriptor getGetProjectsForUserQueryDeprecatedMethod;
if ((getGetProjectsForUserQueryDeprecatedMethod = UsersGrpc.getGetProjectsForUserQueryDeprecatedMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetProjectsForUserQueryDeprecatedMethod = UsersGrpc.getGetProjectsForUserQueryDeprecatedMethod) == null) {
UsersGrpc.getGetProjectsForUserQueryDeprecatedMethod = getGetProjectsForUserQueryDeprecatedMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getProjectsForUserQueryDeprecated"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.PaginationOuterClass.Pagination.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.ProjectOuterClass.Project.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("getProjectsForUserQueryDeprecated"))
.build();
}
}
}
return getGetProjectsForUserQueryDeprecatedMethod;
}
private static volatile io.grpc.MethodDescriptor getGetProjectsQueryDeprecatedMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getProjectsQueryDeprecated",
requestType = com.passkit.grpc.PaginationOuterClass.Pagination.class,
responseType = com.passkit.grpc.ProjectOuterClass.Project.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getGetProjectsQueryDeprecatedMethod() {
io.grpc.MethodDescriptor getGetProjectsQueryDeprecatedMethod;
if ((getGetProjectsQueryDeprecatedMethod = UsersGrpc.getGetProjectsQueryDeprecatedMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetProjectsQueryDeprecatedMethod = UsersGrpc.getGetProjectsQueryDeprecatedMethod) == null) {
UsersGrpc.getGetProjectsQueryDeprecatedMethod = getGetProjectsQueryDeprecatedMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getProjectsQueryDeprecated"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.PaginationOuterClass.Pagination.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.ProjectOuterClass.Project.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("getProjectsQueryDeprecated"))
.build();
}
}
}
return getGetProjectsQueryDeprecatedMethod;
}
private static volatile io.grpc.MethodDescriptor getGetProjectsForUserQueryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getProjectsForUserQuery",
requestType = com.passkit.grpc.Filter.Filters.class,
responseType = com.passkit.grpc.ProjectOuterClass.Project.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getGetProjectsForUserQueryMethod() {
io.grpc.MethodDescriptor getGetProjectsForUserQueryMethod;
if ((getGetProjectsForUserQueryMethod = UsersGrpc.getGetProjectsForUserQueryMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetProjectsForUserQueryMethod = UsersGrpc.getGetProjectsForUserQueryMethod) == null) {
UsersGrpc.getGetProjectsForUserQueryMethod = getGetProjectsForUserQueryMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getProjectsForUserQuery"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.Filter.Filters.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.ProjectOuterClass.Project.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("getProjectsForUserQuery"))
.build();
}
}
}
return getGetProjectsForUserQueryMethod;
}
private static volatile io.grpc.MethodDescriptor getGetProjectsQueryMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getProjectsQuery",
requestType = com.passkit.grpc.Filter.Filters.class,
responseType = com.passkit.grpc.ProjectOuterClass.Project.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getGetProjectsQueryMethod() {
io.grpc.MethodDescriptor getGetProjectsQueryMethod;
if ((getGetProjectsQueryMethod = UsersGrpc.getGetProjectsQueryMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetProjectsQueryMethod = UsersGrpc.getGetProjectsQueryMethod) == null) {
UsersGrpc.getGetProjectsQueryMethod = getGetProjectsQueryMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getProjectsQuery"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.Filter.Filters.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.ProjectOuterClass.Project.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("getProjectsQuery"))
.build();
}
}
}
return getGetProjectsQueryMethod;
}
private static volatile io.grpc.MethodDescriptor getGetProjectByUuidMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getProjectByUuid",
requestType = com.passkit.grpc.CommonObjects.Id.class,
responseType = com.passkit.grpc.ProjectOuterClass.Project.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetProjectByUuidMethod() {
io.grpc.MethodDescriptor getGetProjectByUuidMethod;
if ((getGetProjectByUuidMethod = UsersGrpc.getGetProjectByUuidMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetProjectByUuidMethod = UsersGrpc.getGetProjectByUuidMethod) == null) {
UsersGrpc.getGetProjectByUuidMethod = getGetProjectByUuidMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getProjectByUuid"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.ProjectOuterClass.Project.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("getProjectByUuid"))
.build();
}
}
}
return getGetProjectByUuidMethod;
}
private static volatile io.grpc.MethodDescriptor getGetProjectAndTemplateByShortCodeMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getProjectAndTemplateByShortCode",
requestType = com.passkit.grpc.CommonObjects.Id.class,
responseType = com.passkit.grpc.ProjectOuterClass.ProjectByShortCodeResult.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetProjectAndTemplateByShortCodeMethod() {
io.grpc.MethodDescriptor getGetProjectAndTemplateByShortCodeMethod;
if ((getGetProjectAndTemplateByShortCodeMethod = UsersGrpc.getGetProjectAndTemplateByShortCodeMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetProjectAndTemplateByShortCodeMethod = UsersGrpc.getGetProjectAndTemplateByShortCodeMethod) == null) {
UsersGrpc.getGetProjectAndTemplateByShortCodeMethod = getGetProjectAndTemplateByShortCodeMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getProjectAndTemplateByShortCode"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.ProjectOuterClass.ProjectByShortCodeResult.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("getProjectAndTemplateByShortCode"))
.build();
}
}
}
return getGetProjectAndTemplateByShortCodeMethod;
}
private static volatile io.grpc.MethodDescriptor getGetProjectsForUserMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getProjectsForUser",
requestType = com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter.class,
responseType = com.passkit.grpc.ProjectOuterClass.Project.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getGetProjectsForUserMethod() {
io.grpc.MethodDescriptor getGetProjectsForUserMethod;
if ((getGetProjectsForUserMethod = UsersGrpc.getGetProjectsForUserMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetProjectsForUserMethod = UsersGrpc.getGetProjectsForUserMethod) == null) {
UsersGrpc.getGetProjectsForUserMethod = getGetProjectsForUserMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getProjectsForUser"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.ProjectOuterClass.Project.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("getProjectsForUser"))
.build();
}
}
}
return getGetProjectsForUserMethod;
}
private static volatile io.grpc.MethodDescriptor getGetProjectsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getProjects",
requestType = com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter.class,
responseType = com.passkit.grpc.ProjectOuterClass.Project.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getGetProjectsMethod() {
io.grpc.MethodDescriptor getGetProjectsMethod;
if ((getGetProjectsMethod = UsersGrpc.getGetProjectsMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetProjectsMethod = UsersGrpc.getGetProjectsMethod) == null) {
UsersGrpc.getGetProjectsMethod = getGetProjectsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getProjects"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.ProjectOuterClass.Project.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("getProjects"))
.build();
}
}
}
return getGetProjectsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetScannerConfigMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "getScannerConfig",
requestType = com.google.protobuf.Empty.class,
responseType = com.passkit.grpc.User.ScannerConfiguration.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetScannerConfigMethod() {
io.grpc.MethodDescriptor getGetScannerConfigMethod;
if ((getGetScannerConfigMethod = UsersGrpc.getGetScannerConfigMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getGetScannerConfigMethod = UsersGrpc.getGetScannerConfigMethod) == null) {
UsersGrpc.getGetScannerConfigMethod = getGetScannerConfigMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "getScannerConfig"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.ScannerConfiguration.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("getScannerConfig"))
.build();
}
}
}
return getGetScannerConfigMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateScannerConfigMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "createScannerConfig",
requestType = com.passkit.grpc.User.ScannerConfiguration.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateScannerConfigMethod() {
io.grpc.MethodDescriptor getCreateScannerConfigMethod;
if ((getCreateScannerConfigMethod = UsersGrpc.getCreateScannerConfigMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getCreateScannerConfigMethod = UsersGrpc.getCreateScannerConfigMethod) == null) {
UsersGrpc.getCreateScannerConfigMethod = getCreateScannerConfigMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "createScannerConfig"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.ScannerConfiguration.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("createScannerConfig"))
.build();
}
}
}
return getCreateScannerConfigMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateScannerConfigMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "updateScannerConfig",
requestType = com.passkit.grpc.User.ScannerConfiguration.class,
responseType = com.passkit.grpc.User.ScannerConfiguration.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateScannerConfigMethod() {
io.grpc.MethodDescriptor getUpdateScannerConfigMethod;
if ((getUpdateScannerConfigMethod = UsersGrpc.getUpdateScannerConfigMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getUpdateScannerConfigMethod = UsersGrpc.getUpdateScannerConfigMethod) == null) {
UsersGrpc.getUpdateScannerConfigMethod = getUpdateScannerConfigMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "updateScannerConfig"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.ScannerConfiguration.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.ScannerConfiguration.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("updateScannerConfig"))
.build();
}
}
}
return getUpdateScannerConfigMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateAuthorizationResourceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "createAuthorizationResource",
requestType = com.passkit.grpc.User.OAuth2AuthorizationRequest.class,
responseType = com.passkit.grpc.CommonObjects.Id.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateAuthorizationResourceMethod() {
io.grpc.MethodDescriptor getCreateAuthorizationResourceMethod;
if ((getCreateAuthorizationResourceMethod = UsersGrpc.getCreateAuthorizationResourceMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getCreateAuthorizationResourceMethod = UsersGrpc.getCreateAuthorizationResourceMethod) == null) {
UsersGrpc.getCreateAuthorizationResourceMethod = getCreateAuthorizationResourceMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "createAuthorizationResource"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.OAuth2AuthorizationRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("createAuthorizationResource"))
.build();
}
}
}
return getCreateAuthorizationResourceMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteAuthorizationResourceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "deleteAuthorizationResource",
requestType = com.passkit.grpc.CommonObjects.Id.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteAuthorizationResourceMethod() {
io.grpc.MethodDescriptor getDeleteAuthorizationResourceMethod;
if ((getDeleteAuthorizationResourceMethod = UsersGrpc.getDeleteAuthorizationResourceMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getDeleteAuthorizationResourceMethod = UsersGrpc.getDeleteAuthorizationResourceMethod) == null) {
UsersGrpc.getDeleteAuthorizationResourceMethod = getDeleteAuthorizationResourceMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteAuthorizationResource"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("deleteAuthorizationResource"))
.build();
}
}
}
return getDeleteAuthorizationResourceMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteAccountMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "deleteAccount",
requestType = com.passkit.grpc.User.DeleteAccountRequest.class,
responseType = com.google.protobuf.Empty.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDeleteAccountMethod() {
io.grpc.MethodDescriptor getDeleteAccountMethod;
if ((getDeleteAccountMethod = UsersGrpc.getDeleteAccountMethod) == null) {
synchronized (UsersGrpc.class) {
if ((getDeleteAccountMethod = UsersGrpc.getDeleteAccountMethod) == null) {
UsersGrpc.getDeleteAccountMethod = getDeleteAccountMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteAccount"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.passkit.grpc.User.DeleteAccountRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
com.google.protobuf.Empty.getDefaultInstance()))
.setSchemaDescriptor(new UsersMethodDescriptorSupplier("deleteAccount"))
.build();
}
}
}
return getDeleteAccountMethod;
}
/**
* 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 static abstract class UsersImplBase implements io.grpc.BindableService {
/**
*/
public void createUser(com.passkit.grpc.User.NewUser request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateUserMethod(), responseObserver);
}
/**
*/
public void newUser(com.passkit.grpc.User.NewUser request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getNewUserMethod(), responseObserver);
}
/**
*/
public void verify(com.passkit.grpc.User.VerifyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getVerifyMethod(), responseObserver);
}
/**
*/
public void resendVerificationEmail(com.google.protobuf.Empty request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResendVerificationEmailMethod(), responseObserver);
}
/**
*/
public void getUser(com.google.protobuf.Empty request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUserMethod(), responseObserver);
}
/**
*/
public void login(com.passkit.grpc.User.Credentials request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getLoginMethod(), responseObserver);
}
/**
*/
public void resetPassword(com.passkit.grpc.User.Credentials request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResetPasswordMethod(), responseObserver);
}
/**
*/
public void sendPasswordResetLink(com.passkit.grpc.User.Username request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSendPasswordResetLinkMethod(), responseObserver);
}
/**
*/
public void changePassword(com.passkit.grpc.User.PasswordResetInput request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChangePasswordMethod(), responseObserver);
}
/**
*/
public void changeEmail(com.passkit.grpc.User.Email request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getChangeEmailMethod(), responseObserver);
}
/**
*/
public void confirmEmailChange(com.passkit.grpc.User.ConfirmEmailChangeInput request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getConfirmEmailChangeMethod(), responseObserver);
}
/**
*/
public void updateCompanyName(com.passkit.grpc.User.CompanyName request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCompanyNameMethod(), responseObserver);
}
/**
*/
public void getProjectsForUserQueryDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectsForUserQueryDeprecatedMethod(), responseObserver);
}
/**
*/
public void getProjectsQueryDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectsQueryDeprecatedMethod(), responseObserver);
}
/**
*/
public void getProjectsForUserQuery(com.passkit.grpc.Filter.Filters request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectsForUserQueryMethod(), responseObserver);
}
/**
*/
public void getProjectsQuery(com.passkit.grpc.Filter.Filters request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectsQueryMethod(), responseObserver);
}
/**
*/
public void getProjectByUuid(com.passkit.grpc.CommonObjects.Id request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectByUuidMethod(), responseObserver);
}
/**
*/
public void getProjectAndTemplateByShortCode(com.passkit.grpc.CommonObjects.Id request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectAndTemplateByShortCodeMethod(), responseObserver);
}
/**
*/
public void getProjectsForUser(com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectsForUserMethod(), responseObserver);
}
/**
*/
public void getProjects(com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetProjectsMethod(), responseObserver);
}
/**
*/
public void getScannerConfig(com.google.protobuf.Empty request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetScannerConfigMethod(), responseObserver);
}
/**
*/
public void createScannerConfig(com.passkit.grpc.User.ScannerConfiguration request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateScannerConfigMethod(), responseObserver);
}
/**
*/
public void updateScannerConfig(com.passkit.grpc.User.ScannerConfiguration request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateScannerConfigMethod(), responseObserver);
}
/**
*
* Creates a new oauth2 resource, the returned id is NOT the access token used to make requests on the users behalf.
*
*/
public void createAuthorizationResource(com.passkit.grpc.User.OAuth2AuthorizationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateAuthorizationResourceMethod(), responseObserver);
}
/**
*/
public void deleteAuthorizationResource(com.passkit.grpc.CommonObjects.Id request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAuthorizationResourceMethod(), responseObserver);
}
/**
*/
public void deleteAccount(com.passkit.grpc.User.DeleteAccountRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteAccountMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateUserMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.NewUser,
com.passkit.grpc.User.NewUserResponse>(
this, METHODID_CREATE_USER)))
.addMethod(
getNewUserMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.NewUser,
com.passkit.grpc.User.JWT>(
this, METHODID_NEW_USER)))
.addMethod(
getVerifyMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.VerifyRequest,
com.passkit.grpc.CommonObjects.Boolean>(
this, METHODID_VERIFY)))
.addMethod(
getResendVerificationEmailMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.protobuf.Empty,
com.passkit.grpc.CommonObjects.Boolean>(
this, METHODID_RESEND_VERIFICATION_EMAIL)))
.addMethod(
getGetUserMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.protobuf.Empty,
com.passkit.grpc.User.GetUserResponse>(
this, METHODID_GET_USER)))
.addMethod(
getLoginMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.Credentials,
com.passkit.grpc.User.JWT>(
this, METHODID_LOGIN)))
.addMethod(
getResetPasswordMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.Credentials,
com.google.protobuf.Empty>(
this, METHODID_RESET_PASSWORD)))
.addMethod(
getSendPasswordResetLinkMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.Username,
com.google.protobuf.Empty>(
this, METHODID_SEND_PASSWORD_RESET_LINK)))
.addMethod(
getChangePasswordMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.PasswordResetInput,
com.google.protobuf.Empty>(
this, METHODID_CHANGE_PASSWORD)))
.addMethod(
getChangeEmailMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.Email,
com.google.protobuf.Empty>(
this, METHODID_CHANGE_EMAIL)))
.addMethod(
getConfirmEmailChangeMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.ConfirmEmailChangeInput,
com.google.protobuf.Empty>(
this, METHODID_CONFIRM_EMAIL_CHANGE)))
.addMethod(
getUpdateCompanyNameMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.CompanyName,
com.google.protobuf.Empty>(
this, METHODID_UPDATE_COMPANY_NAME)))
.addMethod(
getGetProjectsForUserQueryDeprecatedMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
com.passkit.grpc.PaginationOuterClass.Pagination,
com.passkit.grpc.ProjectOuterClass.Project>(
this, METHODID_GET_PROJECTS_FOR_USER_QUERY_DEPRECATED)))
.addMethod(
getGetProjectsQueryDeprecatedMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
com.passkit.grpc.PaginationOuterClass.Pagination,
com.passkit.grpc.ProjectOuterClass.Project>(
this, METHODID_GET_PROJECTS_QUERY_DEPRECATED)))
.addMethod(
getGetProjectsForUserQueryMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
com.passkit.grpc.Filter.Filters,
com.passkit.grpc.ProjectOuterClass.Project>(
this, METHODID_GET_PROJECTS_FOR_USER_QUERY)))
.addMethod(
getGetProjectsQueryMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
com.passkit.grpc.Filter.Filters,
com.passkit.grpc.ProjectOuterClass.Project>(
this, METHODID_GET_PROJECTS_QUERY)))
.addMethod(
getGetProjectByUuidMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.CommonObjects.Id,
com.passkit.grpc.ProjectOuterClass.Project>(
this, METHODID_GET_PROJECT_BY_UUID)))
.addMethod(
getGetProjectAndTemplateByShortCodeMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.CommonObjects.Id,
com.passkit.grpc.ProjectOuterClass.ProjectByShortCodeResult>(
this, METHODID_GET_PROJECT_AND_TEMPLATE_BY_SHORT_CODE)))
.addMethod(
getGetProjectsForUserMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter,
com.passkit.grpc.ProjectOuterClass.Project>(
this, METHODID_GET_PROJECTS_FOR_USER)))
.addMethod(
getGetProjectsMethod(),
io.grpc.stub.ServerCalls.asyncServerStreamingCall(
new MethodHandlers<
com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter,
com.passkit.grpc.ProjectOuterClass.Project>(
this, METHODID_GET_PROJECTS)))
.addMethod(
getGetScannerConfigMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.google.protobuf.Empty,
com.passkit.grpc.User.ScannerConfiguration>(
this, METHODID_GET_SCANNER_CONFIG)))
.addMethod(
getCreateScannerConfigMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.ScannerConfiguration,
com.google.protobuf.Empty>(
this, METHODID_CREATE_SCANNER_CONFIG)))
.addMethod(
getUpdateScannerConfigMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.ScannerConfiguration,
com.passkit.grpc.User.ScannerConfiguration>(
this, METHODID_UPDATE_SCANNER_CONFIG)))
.addMethod(
getCreateAuthorizationResourceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.OAuth2AuthorizationRequest,
com.passkit.grpc.CommonObjects.Id>(
this, METHODID_CREATE_AUTHORIZATION_RESOURCE)))
.addMethod(
getDeleteAuthorizationResourceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.CommonObjects.Id,
com.google.protobuf.Empty>(
this, METHODID_DELETE_AUTHORIZATION_RESOURCE)))
.addMethod(
getDeleteAccountMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
com.passkit.grpc.User.DeleteAccountRequest,
com.google.protobuf.Empty>(
this, METHODID_DELETE_ACCOUNT)))
.build();
}
}
/**
*/
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 createUser(com.passkit.grpc.User.NewUser request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateUserMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void newUser(com.passkit.grpc.User.NewUser request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getNewUserMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void verify(com.passkit.grpc.User.VerifyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getVerifyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void resendVerificationEmail(com.google.protobuf.Empty request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getResendVerificationEmailMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getUser(com.google.protobuf.Empty request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetUserMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void login(com.passkit.grpc.User.Credentials request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getLoginMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void resetPassword(com.passkit.grpc.User.Credentials request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getResetPasswordMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void sendPasswordResetLink(com.passkit.grpc.User.Username request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSendPasswordResetLinkMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void changePassword(com.passkit.grpc.User.PasswordResetInput request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getChangePasswordMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void changeEmail(com.passkit.grpc.User.Email request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getChangeEmailMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void confirmEmailChange(com.passkit.grpc.User.ConfirmEmailChangeInput request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getConfirmEmailChangeMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void updateCompanyName(com.passkit.grpc.User.CompanyName request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateCompanyNameMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getProjectsForUserQueryDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetProjectsForUserQueryDeprecatedMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getProjectsQueryDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetProjectsQueryDeprecatedMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getProjectsForUserQuery(com.passkit.grpc.Filter.Filters request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetProjectsForUserQueryMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getProjectsQuery(com.passkit.grpc.Filter.Filters request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetProjectsQueryMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getProjectByUuid(com.passkit.grpc.CommonObjects.Id request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetProjectByUuidMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getProjectAndTemplateByShortCode(com.passkit.grpc.CommonObjects.Id request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetProjectAndTemplateByShortCodeMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getProjectsForUser(com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetProjectsForUserMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getProjects(com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncServerStreamingCall(
getChannel().newCall(getGetProjectsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getScannerConfig(com.google.protobuf.Empty request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetScannerConfigMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void createScannerConfig(com.passkit.grpc.User.ScannerConfiguration request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateScannerConfigMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void updateScannerConfig(com.passkit.grpc.User.ScannerConfiguration request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateScannerConfigMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Creates a new oauth2 resource, the returned id is NOT the access token used to make requests on the users behalf.
*
*/
public void createAuthorizationResource(com.passkit.grpc.User.OAuth2AuthorizationRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateAuthorizationResourceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void deleteAuthorizationResource(com.passkit.grpc.CommonObjects.Id request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteAuthorizationResourceMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void deleteAccount(com.passkit.grpc.User.DeleteAccountRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
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.passkit.grpc.User.NewUserResponse createUser(com.passkit.grpc.User.NewUser request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateUserMethod(), getCallOptions(), request);
}
/**
*/
public com.passkit.grpc.User.JWT newUser(com.passkit.grpc.User.NewUser request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getNewUserMethod(), getCallOptions(), request);
}
/**
*/
public com.passkit.grpc.CommonObjects.Boolean verify(com.passkit.grpc.User.VerifyRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getVerifyMethod(), getCallOptions(), request);
}
/**
*/
public com.passkit.grpc.CommonObjects.Boolean resendVerificationEmail(com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getResendVerificationEmailMethod(), getCallOptions(), request);
}
/**
*/
public com.passkit.grpc.User.GetUserResponse getUser(com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetUserMethod(), getCallOptions(), request);
}
/**
*/
public com.passkit.grpc.User.JWT login(com.passkit.grpc.User.Credentials request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getLoginMethod(), getCallOptions(), request);
}
/**
*/
public com.google.protobuf.Empty resetPassword(com.passkit.grpc.User.Credentials request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getResetPasswordMethod(), getCallOptions(), request);
}
/**
*/
public com.google.protobuf.Empty sendPasswordResetLink(com.passkit.grpc.User.Username request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSendPasswordResetLinkMethod(), getCallOptions(), request);
}
/**
*/
public com.google.protobuf.Empty changePassword(com.passkit.grpc.User.PasswordResetInput request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getChangePasswordMethod(), getCallOptions(), request);
}
/**
*/
public com.google.protobuf.Empty changeEmail(com.passkit.grpc.User.Email request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getChangeEmailMethod(), getCallOptions(), request);
}
/**
*/
public com.google.protobuf.Empty confirmEmailChange(com.passkit.grpc.User.ConfirmEmailChangeInput request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getConfirmEmailChangeMethod(), getCallOptions(), request);
}
/**
*/
public com.google.protobuf.Empty updateCompanyName(com.passkit.grpc.User.CompanyName request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateCompanyNameMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator getProjectsForUserQueryDeprecated(
com.passkit.grpc.PaginationOuterClass.Pagination request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetProjectsForUserQueryDeprecatedMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator getProjectsQueryDeprecated(
com.passkit.grpc.PaginationOuterClass.Pagination request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetProjectsQueryDeprecatedMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator getProjectsForUserQuery(
com.passkit.grpc.Filter.Filters request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetProjectsForUserQueryMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator getProjectsQuery(
com.passkit.grpc.Filter.Filters request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetProjectsQueryMethod(), getCallOptions(), request);
}
/**
*/
public com.passkit.grpc.ProjectOuterClass.Project getProjectByUuid(com.passkit.grpc.CommonObjects.Id request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetProjectByUuidMethod(), getCallOptions(), request);
}
/**
*/
public com.passkit.grpc.ProjectOuterClass.ProjectByShortCodeResult getProjectAndTemplateByShortCode(com.passkit.grpc.CommonObjects.Id request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetProjectAndTemplateByShortCodeMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator getProjectsForUser(
com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetProjectsForUserMethod(), getCallOptions(), request);
}
/**
*/
public java.util.Iterator getProjects(
com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter request) {
return io.grpc.stub.ClientCalls.blockingServerStreamingCall(
getChannel(), getGetProjectsMethod(), getCallOptions(), request);
}
/**
*/
public com.passkit.grpc.User.ScannerConfiguration getScannerConfig(com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetScannerConfigMethod(), getCallOptions(), request);
}
/**
*/
public com.google.protobuf.Empty createScannerConfig(com.passkit.grpc.User.ScannerConfiguration request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateScannerConfigMethod(), getCallOptions(), request);
}
/**
*/
public com.passkit.grpc.User.ScannerConfiguration updateScannerConfig(com.passkit.grpc.User.ScannerConfiguration request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateScannerConfigMethod(), getCallOptions(), request);
}
/**
*
* Creates a new oauth2 resource, the returned id is NOT the access token used to make requests on the users behalf.
*
*/
public com.passkit.grpc.CommonObjects.Id createAuthorizationResource(com.passkit.grpc.User.OAuth2AuthorizationRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateAuthorizationResourceMethod(), getCallOptions(), request);
}
/**
*/
public com.google.protobuf.Empty deleteAuthorizationResource(com.passkit.grpc.CommonObjects.Id request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteAuthorizationResourceMethod(), getCallOptions(), request);
}
/**
*/
public com.google.protobuf.Empty deleteAccount(com.passkit.grpc.User.DeleteAccountRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteAccountMethod(), getCallOptions(), request);
}
}
/**
*/
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 createUser(
com.passkit.grpc.User.NewUser request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateUserMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture newUser(
com.passkit.grpc.User.NewUser request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getNewUserMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture verify(
com.passkit.grpc.User.VerifyRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getVerifyMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture resendVerificationEmail(
com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getResendVerificationEmailMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getUser(
com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetUserMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture login(
com.passkit.grpc.User.Credentials request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getLoginMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture resetPassword(
com.passkit.grpc.User.Credentials request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getResetPasswordMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture sendPasswordResetLink(
com.passkit.grpc.User.Username request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSendPasswordResetLinkMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture changePassword(
com.passkit.grpc.User.PasswordResetInput request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getChangePasswordMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture changeEmail(
com.passkit.grpc.User.Email request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getChangeEmailMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture confirmEmailChange(
com.passkit.grpc.User.ConfirmEmailChangeInput request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getConfirmEmailChangeMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture updateCompanyName(
com.passkit.grpc.User.CompanyName request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateCompanyNameMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getProjectByUuid(
com.passkit.grpc.CommonObjects.Id request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetProjectByUuidMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getProjectAndTemplateByShortCode(
com.passkit.grpc.CommonObjects.Id request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetProjectAndTemplateByShortCodeMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getScannerConfig(
com.google.protobuf.Empty request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetScannerConfigMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture createScannerConfig(
com.passkit.grpc.User.ScannerConfiguration request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateScannerConfigMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture updateScannerConfig(
com.passkit.grpc.User.ScannerConfiguration request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateScannerConfigMethod(), getCallOptions()), request);
}
/**
*
* Creates a new oauth2 resource, the returned id is NOT the access token used to make requests on the users behalf.
*
*/
public com.google.common.util.concurrent.ListenableFuture createAuthorizationResource(
com.passkit.grpc.User.OAuth2AuthorizationRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateAuthorizationResourceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture deleteAuthorizationResource(
com.passkit.grpc.CommonObjects.Id request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteAuthorizationResourceMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture deleteAccount(
com.passkit.grpc.User.DeleteAccountRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteAccountMethod(), getCallOptions()), request);
}
}
private static final int METHODID_CREATE_USER = 0;
private static final int METHODID_NEW_USER = 1;
private static final int METHODID_VERIFY = 2;
private static final int METHODID_RESEND_VERIFICATION_EMAIL = 3;
private static final int METHODID_GET_USER = 4;
private static final int METHODID_LOGIN = 5;
private static final int METHODID_RESET_PASSWORD = 6;
private static final int METHODID_SEND_PASSWORD_RESET_LINK = 7;
private static final int METHODID_CHANGE_PASSWORD = 8;
private static final int METHODID_CHANGE_EMAIL = 9;
private static final int METHODID_CONFIRM_EMAIL_CHANGE = 10;
private static final int METHODID_UPDATE_COMPANY_NAME = 11;
private static final int METHODID_GET_PROJECTS_FOR_USER_QUERY_DEPRECATED = 12;
private static final int METHODID_GET_PROJECTS_QUERY_DEPRECATED = 13;
private static final int METHODID_GET_PROJECTS_FOR_USER_QUERY = 14;
private static final int METHODID_GET_PROJECTS_QUERY = 15;
private static final int METHODID_GET_PROJECT_BY_UUID = 16;
private static final int METHODID_GET_PROJECT_AND_TEMPLATE_BY_SHORT_CODE = 17;
private static final int METHODID_GET_PROJECTS_FOR_USER = 18;
private static final int METHODID_GET_PROJECTS = 19;
private static final int METHODID_GET_SCANNER_CONFIG = 20;
private static final int METHODID_CREATE_SCANNER_CONFIG = 21;
private static final int METHODID_UPDATE_SCANNER_CONFIG = 22;
private static final int METHODID_CREATE_AUTHORIZATION_RESOURCE = 23;
private static final int METHODID_DELETE_AUTHORIZATION_RESOURCE = 24;
private static final int METHODID_DELETE_ACCOUNT = 25;
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 UsersImplBase serviceImpl;
private final int methodId;
MethodHandlers(UsersImplBase 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_CREATE_USER:
serviceImpl.createUser((com.passkit.grpc.User.NewUser) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_NEW_USER:
serviceImpl.newUser((com.passkit.grpc.User.NewUser) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_VERIFY:
serviceImpl.verify((com.passkit.grpc.User.VerifyRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_RESEND_VERIFICATION_EMAIL:
serviceImpl.resendVerificationEmail((com.google.protobuf.Empty) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_USER:
serviceImpl.getUser((com.google.protobuf.Empty) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LOGIN:
serviceImpl.login((com.passkit.grpc.User.Credentials) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_RESET_PASSWORD:
serviceImpl.resetPassword((com.passkit.grpc.User.Credentials) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SEND_PASSWORD_RESET_LINK:
serviceImpl.sendPasswordResetLink((com.passkit.grpc.User.Username) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CHANGE_PASSWORD:
serviceImpl.changePassword((com.passkit.grpc.User.PasswordResetInput) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CHANGE_EMAIL:
serviceImpl.changeEmail((com.passkit.grpc.User.Email) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CONFIRM_EMAIL_CHANGE:
serviceImpl.confirmEmailChange((com.passkit.grpc.User.ConfirmEmailChangeInput) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_COMPANY_NAME:
serviceImpl.updateCompanyName((com.passkit.grpc.User.CompanyName) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_PROJECTS_FOR_USER_QUERY_DEPRECATED:
serviceImpl.getProjectsForUserQueryDeprecated((com.passkit.grpc.PaginationOuterClass.Pagination) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_PROJECTS_QUERY_DEPRECATED:
serviceImpl.getProjectsQueryDeprecated((com.passkit.grpc.PaginationOuterClass.Pagination) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_PROJECTS_FOR_USER_QUERY:
serviceImpl.getProjectsForUserQuery((com.passkit.grpc.Filter.Filters) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_PROJECTS_QUERY:
serviceImpl.getProjectsQuery((com.passkit.grpc.Filter.Filters) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_PROJECT_BY_UUID:
serviceImpl.getProjectByUuid((com.passkit.grpc.CommonObjects.Id) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_PROJECT_AND_TEMPLATE_BY_SHORT_CODE:
serviceImpl.getProjectAndTemplateByShortCode((com.passkit.grpc.CommonObjects.Id) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_PROJECTS_FOR_USER:
serviceImpl.getProjectsForUser((com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_PROJECTS:
serviceImpl.getProjects((com.passkit.grpc.ProjectOuterClass.ProjectStatusFilter) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_SCANNER_CONFIG:
serviceImpl.getScannerConfig((com.google.protobuf.Empty) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE_SCANNER_CONFIG:
serviceImpl.createScannerConfig((com.passkit.grpc.User.ScannerConfiguration) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_SCANNER_CONFIG:
serviceImpl.updateScannerConfig((com.passkit.grpc.User.ScannerConfiguration) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE_AUTHORIZATION_RESOURCE:
serviceImpl.createAuthorizationResource((com.passkit.grpc.User.OAuth2AuthorizationRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE_AUTHORIZATION_RESOURCE:
serviceImpl.deleteAuthorizationResource((com.passkit.grpc.CommonObjects.Id) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE_ACCOUNT:
serviceImpl.deleteAccount((com.passkit.grpc.User.DeleteAccountRequest) 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 UsersBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
UsersBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return com.passkit.grpc.ARpcOthers.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("Users");
}
}
private static final class UsersFileDescriptorSupplier
extends UsersBaseDescriptorSupplier {
UsersFileDescriptorSupplier() {}
}
private static final class UsersMethodDescriptorSupplier
extends UsersBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
UsersMethodDescriptorSupplier(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 (UsersGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new UsersFileDescriptorSupplier())
.addMethod(getCreateUserMethod())
.addMethod(getNewUserMethod())
.addMethod(getVerifyMethod())
.addMethod(getResendVerificationEmailMethod())
.addMethod(getGetUserMethod())
.addMethod(getLoginMethod())
.addMethod(getResetPasswordMethod())
.addMethod(getSendPasswordResetLinkMethod())
.addMethod(getChangePasswordMethod())
.addMethod(getChangeEmailMethod())
.addMethod(getConfirmEmailChangeMethod())
.addMethod(getUpdateCompanyNameMethod())
.addMethod(getGetProjectsForUserQueryDeprecatedMethod())
.addMethod(getGetProjectsQueryDeprecatedMethod())
.addMethod(getGetProjectsForUserQueryMethod())
.addMethod(getGetProjectsQueryMethod())
.addMethod(getGetProjectByUuidMethod())
.addMethod(getGetProjectAndTemplateByShortCodeMethod())
.addMethod(getGetProjectsForUserMethod())
.addMethod(getGetProjectsMethod())
.addMethod(getGetScannerConfigMethod())
.addMethod(getCreateScannerConfigMethod())
.addMethod(getUpdateScannerConfigMethod())
.addMethod(getCreateAuthorizationResourceMethod())
.addMethod(getDeleteAuthorizationResourceMethod())
.addMethod(getDeleteAccountMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy