All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.passkit.grpc.Members.MembersGrpc Maven / Gradle / Ivy

Go to download

SDK for the PassKit gRPC API that can be used to create, configure and manage Membership, Loyalty, Event Ticket, Coupon, Transit and Boarding Pass content for mobile wallet applications, including Apple Pay and Google Pay.

There is a newer version: 1.1.97
Show newest version
package com.passkit.grpc.Members;

import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;

/**
 */
@javax.annotation.Generated(
    value = "by gRPC proto compiler (version 1.33.1)",
    comments = "Source: io/member/a_rpc.proto")
public final class MembersGrpc {

  private MembersGrpc() {}

  public static final String SERVICE_NAME = "members.Members";

  // Static method descriptors that strictly reflect the proto.
  private static volatile io.grpc.MethodDescriptor getCreateProgramMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "createProgram",
      requestType = com.passkit.grpc.Members.ProgramOuterClass.Program.class,
      responseType = com.passkit.grpc.CommonObjects.Id.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateProgramMethod() {
    io.grpc.MethodDescriptor getCreateProgramMethod;
    if ((getCreateProgramMethod = MembersGrpc.getCreateProgramMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getCreateProgramMethod = MembersGrpc.getCreateProgramMethod) == null) {
          MembersGrpc.getCreateProgramMethod = getCreateProgramMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "createProgram"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.ProgramOuterClass.Program.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("createProgram"))
              .build();
        }
      }
    }
    return getCreateProgramMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateProgramMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "updateProgram",
      requestType = com.passkit.grpc.Members.ProgramOuterClass.Program.class,
      responseType = com.passkit.grpc.Members.ProgramOuterClass.Program.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateProgramMethod() {
    io.grpc.MethodDescriptor getUpdateProgramMethod;
    if ((getUpdateProgramMethod = MembersGrpc.getUpdateProgramMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getUpdateProgramMethod = MembersGrpc.getUpdateProgramMethod) == null) {
          MembersGrpc.getUpdateProgramMethod = getUpdateProgramMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "updateProgram"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.ProgramOuterClass.Program.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.ProgramOuterClass.Program.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("updateProgram"))
              .build();
        }
      }
    }
    return getUpdateProgramMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetProgramMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getProgram",
      requestType = com.passkit.grpc.CommonObjects.Id.class,
      responseType = com.passkit.grpc.Members.ProgramOuterClass.Program.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetProgramMethod() {
    io.grpc.MethodDescriptor getGetProgramMethod;
    if ((getGetProgramMethod = MembersGrpc.getGetProgramMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getGetProgramMethod = MembersGrpc.getGetProgramMethod) == null) {
          MembersGrpc.getGetProgramMethod = getGetProgramMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getProgram"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.ProgramOuterClass.Program.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("getProgram"))
              .build();
        }
      }
    }
    return getGetProgramMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCopyProgramMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "copyProgram",
      requestType = com.passkit.grpc.Members.ProgramOuterClass.ProgramCopyRequest.class,
      responseType = com.passkit.grpc.CommonObjects.Id.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCopyProgramMethod() {
    io.grpc.MethodDescriptor getCopyProgramMethod;
    if ((getCopyProgramMethod = MembersGrpc.getCopyProgramMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getCopyProgramMethod = MembersGrpc.getCopyProgramMethod) == null) {
          MembersGrpc.getCopyProgramMethod = getCopyProgramMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "copyProgram"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.ProgramOuterClass.ProgramCopyRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("copyProgram"))
              .build();
        }
      }
    }
    return getCopyProgramMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteProgramMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "deleteProgram",
      requestType = com.passkit.grpc.CommonObjects.Id.class,
      responseType = com.google.protobuf.Empty.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteProgramMethod() {
    io.grpc.MethodDescriptor getDeleteProgramMethod;
    if ((getDeleteProgramMethod = MembersGrpc.getDeleteProgramMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getDeleteProgramMethod = MembersGrpc.getDeleteProgramMethod) == null) {
          MembersGrpc.getDeleteProgramMethod = getDeleteProgramMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteProgram"))
              .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 MembersMethodDescriptorSupplier("deleteProgram"))
              .build();
        }
      }
    }
    return getDeleteProgramMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListProgramsDeprecatedMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "listProgramsDeprecated",
      requestType = com.passkit.grpc.PaginationOuterClass.Pagination.class,
      responseType = com.passkit.grpc.Members.ProgramOuterClass.Program.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getListProgramsDeprecatedMethod() {
    io.grpc.MethodDescriptor getListProgramsDeprecatedMethod;
    if ((getListProgramsDeprecatedMethod = MembersGrpc.getListProgramsDeprecatedMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getListProgramsDeprecatedMethod = MembersGrpc.getListProgramsDeprecatedMethod) == null) {
          MembersGrpc.getListProgramsDeprecatedMethod = getListProgramsDeprecatedMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "listProgramsDeprecated"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.PaginationOuterClass.Pagination.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.ProgramOuterClass.Program.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("listProgramsDeprecated"))
              .build();
        }
      }
    }
    return getListProgramsDeprecatedMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListProgramsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "listPrograms",
      requestType = com.passkit.grpc.Filter.Filters.class,
      responseType = com.passkit.grpc.Members.ProgramOuterClass.Program.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getListProgramsMethod() {
    io.grpc.MethodDescriptor getListProgramsMethod;
    if ((getListProgramsMethod = MembersGrpc.getListProgramsMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getListProgramsMethod = MembersGrpc.getListProgramsMethod) == null) {
          MembersGrpc.getListProgramsMethod = getListProgramsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "listPrograms"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Filter.Filters.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.ProgramOuterClass.Program.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("listPrograms"))
              .build();
        }
      }
    }
    return getListProgramsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateTierMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "createTier",
      requestType = com.passkit.grpc.Members.TierOuterClass.Tier.class,
      responseType = com.passkit.grpc.CommonObjects.Id.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateTierMethod() {
    io.grpc.MethodDescriptor getCreateTierMethod;
    if ((getCreateTierMethod = MembersGrpc.getCreateTierMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getCreateTierMethod = MembersGrpc.getCreateTierMethod) == null) {
          MembersGrpc.getCreateTierMethod = getCreateTierMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "createTier"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.TierOuterClass.Tier.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("createTier"))
              .build();
        }
      }
    }
    return getCreateTierMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateTierMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "updateTier",
      requestType = com.passkit.grpc.Members.TierOuterClass.Tier.class,
      responseType = com.passkit.grpc.Members.TierOuterClass.Tier.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateTierMethod() {
    io.grpc.MethodDescriptor getUpdateTierMethod;
    if ((getUpdateTierMethod = MembersGrpc.getUpdateTierMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getUpdateTierMethod = MembersGrpc.getUpdateTierMethod) == null) {
          MembersGrpc.getUpdateTierMethod = getUpdateTierMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "updateTier"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.TierOuterClass.Tier.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.TierOuterClass.Tier.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("updateTier"))
              .build();
        }
      }
    }
    return getUpdateTierMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetTierMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getTier",
      requestType = com.passkit.grpc.Members.TierOuterClass.TierRequestInput.class,
      responseType = com.passkit.grpc.Members.TierOuterClass.Tier.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetTierMethod() {
    io.grpc.MethodDescriptor getGetTierMethod;
    if ((getGetTierMethod = MembersGrpc.getGetTierMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getGetTierMethod = MembersGrpc.getGetTierMethod) == null) {
          MembersGrpc.getGetTierMethod = getGetTierMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getTier"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.TierOuterClass.TierRequestInput.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.TierOuterClass.Tier.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("getTier"))
              .build();
        }
      }
    }
    return getGetTierMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteTierMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "deleteTier",
      requestType = com.passkit.grpc.Members.TierOuterClass.TierRequestInput.class,
      responseType = com.google.protobuf.Empty.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteTierMethod() {
    io.grpc.MethodDescriptor getDeleteTierMethod;
    if ((getDeleteTierMethod = MembersGrpc.getDeleteTierMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getDeleteTierMethod = MembersGrpc.getDeleteTierMethod) == null) {
          MembersGrpc.getDeleteTierMethod = getDeleteTierMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteTier"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.TierOuterClass.TierRequestInput.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.google.protobuf.Empty.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("deleteTier"))
              .build();
        }
      }
    }
    return getDeleteTierMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListTiersDeprecatedMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "listTiersDeprecated",
      requestType = com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.class,
      responseType = com.passkit.grpc.Members.TierOuterClass.Tier.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getListTiersDeprecatedMethod() {
    io.grpc.MethodDescriptor getListTiersDeprecatedMethod;
    if ((getListTiersDeprecatedMethod = MembersGrpc.getListTiersDeprecatedMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getListTiersDeprecatedMethod = MembersGrpc.getListTiersDeprecatedMethod) == null) {
          MembersGrpc.getListTiersDeprecatedMethod = getListTiersDeprecatedMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "listTiersDeprecated"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.TierOuterClass.Tier.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("listTiersDeprecated"))
              .build();
        }
      }
    }
    return getListTiersDeprecatedMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListTiersMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "listTiers",
      requestType = com.passkit.grpc.Members.MemberOuterClass.ListRequest.class,
      responseType = com.passkit.grpc.Members.TierOuterClass.Tier.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getListTiersMethod() {
    io.grpc.MethodDescriptor getListTiersMethod;
    if ((getListTiersMethod = MembersGrpc.getListTiersMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getListTiersMethod = MembersGrpc.getListTiersMethod) == null) {
          MembersGrpc.getListTiersMethod = getListTiersMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "listTiers"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.ListRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.TierOuterClass.Tier.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("listTiers"))
              .build();
        }
      }
    }
    return getListTiersMethod;
  }

  private static volatile io.grpc.MethodDescriptor getEnrolMemberMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "enrolMember",
      requestType = com.passkit.grpc.Members.MemberOuterClass.Member.class,
      responseType = com.passkit.grpc.CommonObjects.Id.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getEnrolMemberMethod() {
    io.grpc.MethodDescriptor getEnrolMemberMethod;
    if ((getEnrolMemberMethod = MembersGrpc.getEnrolMemberMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getEnrolMemberMethod = MembersGrpc.getEnrolMemberMethod) == null) {
          MembersGrpc.getEnrolMemberMethod = getEnrolMemberMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "enrolMember"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("enrolMember"))
              .build();
        }
      }
    }
    return getEnrolMemberMethod;
  }

  private static volatile io.grpc.MethodDescriptor getEnrolMemberPublicMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "enrolMemberPublic",
      requestType = com.passkit.grpc.Members.MemberOuterClass.Member.class,
      responseType = com.passkit.grpc.CommonObjects.Id.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getEnrolMemberPublicMethod() {
    io.grpc.MethodDescriptor getEnrolMemberPublicMethod;
    if ((getEnrolMemberPublicMethod = MembersGrpc.getEnrolMemberPublicMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getEnrolMemberPublicMethod = MembersGrpc.getEnrolMemberPublicMethod) == null) {
          MembersGrpc.getEnrolMemberPublicMethod = getEnrolMemberPublicMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "enrolMemberPublic"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("enrolMemberPublic"))
              .build();
        }
      }
    }
    return getEnrolMemberPublicMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetMemberRecordByIdMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getMemberRecordById",
      requestType = com.passkit.grpc.CommonObjects.Id.class,
      responseType = com.passkit.grpc.Members.MemberOuterClass.Member.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetMemberRecordByIdMethod() {
    io.grpc.MethodDescriptor getGetMemberRecordByIdMethod;
    if ((getGetMemberRecordByIdMethod = MembersGrpc.getGetMemberRecordByIdMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getGetMemberRecordByIdMethod = MembersGrpc.getGetMemberRecordByIdMethod) == null) {
          MembersGrpc.getGetMemberRecordByIdMethod = getGetMemberRecordByIdMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getMemberRecordById"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("getMemberRecordById"))
              .build();
        }
      }
    }
    return getGetMemberRecordByIdMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetMemberRecordByExternalIdMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getMemberRecordByExternalId",
      requestType = com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest.class,
      responseType = com.passkit.grpc.Members.MemberOuterClass.Member.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetMemberRecordByExternalIdMethod() {
    io.grpc.MethodDescriptor getGetMemberRecordByExternalIdMethod;
    if ((getGetMemberRecordByExternalIdMethod = MembersGrpc.getGetMemberRecordByExternalIdMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getGetMemberRecordByExternalIdMethod = MembersGrpc.getGetMemberRecordByExternalIdMethod) == null) {
          MembersGrpc.getGetMemberRecordByExternalIdMethod = getGetMemberRecordByExternalIdMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getMemberRecordByExternalId"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("getMemberRecordByExternalId"))
              .build();
        }
      }
    }
    return getGetMemberRecordByExternalIdMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCheckInMemberMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "checkInMember",
      requestType = com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.class,
      responseType = com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCheckInMemberMethod() {
    io.grpc.MethodDescriptor getCheckInMemberMethod;
    if ((getCheckInMemberMethod = MembersGrpc.getCheckInMemberMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getCheckInMemberMethod = MembersGrpc.getCheckInMemberMethod) == null) {
          MembersGrpc.getCheckInMemberMethod = getCheckInMemberMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "checkInMember"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("checkInMember"))
              .build();
        }
      }
    }
    return getCheckInMemberMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCheckOutMemberMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "checkOutMember",
      requestType = com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.class,
      responseType = com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCheckOutMemberMethod() {
    io.grpc.MethodDescriptor getCheckOutMemberMethod;
    if ((getCheckOutMemberMethod = MembersGrpc.getCheckOutMemberMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getCheckOutMemberMethod = MembersGrpc.getCheckOutMemberMethod) == null) {
          MembersGrpc.getCheckOutMemberMethod = getCheckOutMemberMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "checkOutMember"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("checkOutMember"))
              .build();
        }
      }
    }
    return getCheckOutMemberMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListMembersDeprecatedMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "listMembersDeprecated",
      requestType = com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.class,
      responseType = com.passkit.grpc.Members.MemberOuterClass.Member.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getListMembersDeprecatedMethod() {
    io.grpc.MethodDescriptor getListMembersDeprecatedMethod;
    if ((getListMembersDeprecatedMethod = MembersGrpc.getListMembersDeprecatedMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getListMembersDeprecatedMethod = MembersGrpc.getListMembersDeprecatedMethod) == null) {
          MembersGrpc.getListMembersDeprecatedMethod = getListMembersDeprecatedMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "listMembersDeprecated"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("listMembersDeprecated"))
              .build();
        }
      }
    }
    return getListMembersDeprecatedMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListMembersMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "listMembers",
      requestType = com.passkit.grpc.Members.MemberOuterClass.ListRequest.class,
      responseType = com.passkit.grpc.Members.MemberOuterClass.Member.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getListMembersMethod() {
    io.grpc.MethodDescriptor getListMembersMethod;
    if ((getListMembersMethod = MembersGrpc.getListMembersMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getListMembersMethod = MembersGrpc.getListMembersMethod) == null) {
          MembersGrpc.getListMembersMethod = getListMembersMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "listMembers"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.ListRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("listMembers"))
              .build();
        }
      }
    }
    return getListMembersMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateMemberMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "updateMember",
      requestType = com.passkit.grpc.Members.MemberOuterClass.Member.class,
      responseType = com.passkit.grpc.CommonObjects.Id.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateMemberMethod() {
    io.grpc.MethodDescriptor getUpdateMemberMethod;
    if ((getUpdateMemberMethod = MembersGrpc.getUpdateMemberMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getUpdateMemberMethod = MembersGrpc.getUpdateMemberMethod) == null) {
          MembersGrpc.getUpdateMemberMethod = getUpdateMemberMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "updateMember"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("updateMember"))
              .build();
        }
      }
    }
    return getUpdateMemberMethod;
  }

  private static volatile io.grpc.MethodDescriptor getEarnPointsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "earnPoints",
      requestType = com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.class,
      responseType = com.passkit.grpc.Members.MemberOuterClass.MemberPoints.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getEarnPointsMethod() {
    io.grpc.MethodDescriptor getEarnPointsMethod;
    if ((getEarnPointsMethod = MembersGrpc.getEarnPointsMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getEarnPointsMethod = MembersGrpc.getEarnPointsMethod) == null) {
          MembersGrpc.getEarnPointsMethod = getEarnPointsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "earnPoints"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.MemberPoints.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("earnPoints"))
              .build();
        }
      }
    }
    return getEarnPointsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getBurnPointsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "burnPoints",
      requestType = com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.class,
      responseType = com.passkit.grpc.Members.MemberOuterClass.MemberPoints.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getBurnPointsMethod() {
    io.grpc.MethodDescriptor getBurnPointsMethod;
    if ((getBurnPointsMethod = MembersGrpc.getBurnPointsMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getBurnPointsMethod = MembersGrpc.getBurnPointsMethod) == null) {
          MembersGrpc.getBurnPointsMethod = getBurnPointsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "burnPoints"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.MemberPoints.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("burnPoints"))
              .build();
        }
      }
    }
    return getBurnPointsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getSetPointsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "setPoints",
      requestType = com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest.class,
      responseType = com.passkit.grpc.Members.MemberOuterClass.MemberPoints.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getSetPointsMethod() {
    io.grpc.MethodDescriptor getSetPointsMethod;
    if ((getSetPointsMethod = MembersGrpc.getSetPointsMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getSetPointsMethod = MembersGrpc.getSetPointsMethod) == null) {
          MembersGrpc.getSetPointsMethod = getSetPointsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "setPoints"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.MemberPoints.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("setPoints"))
              .build();
        }
      }
    }
    return getSetPointsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateMembersBySegmentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "updateMembersBySegment",
      requestType = com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.class,
      responseType = com.google.protobuf.Empty.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateMembersBySegmentMethod() {
    io.grpc.MethodDescriptor getUpdateMembersBySegmentMethod;
    if ((getUpdateMembersBySegmentMethod = MembersGrpc.getUpdateMembersBySegmentMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getUpdateMembersBySegmentMethod = MembersGrpc.getUpdateMembersBySegmentMethod) == null) {
          MembersGrpc.getUpdateMembersBySegmentMethod = getUpdateMembersBySegmentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "updateMembersBySegment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.google.protobuf.Empty.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("updateMembersBySegment"))
              .build();
        }
      }
    }
    return getUpdateMembersBySegmentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteMembersBySegmentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "deleteMembersBySegment",
      requestType = com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.class,
      responseType = com.google.protobuf.Empty.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteMembersBySegmentMethod() {
    io.grpc.MethodDescriptor getDeleteMembersBySegmentMethod;
    if ((getDeleteMembersBySegmentMethod = MembersGrpc.getDeleteMembersBySegmentMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getDeleteMembersBySegmentMethod = MembersGrpc.getDeleteMembersBySegmentMethod) == null) {
          MembersGrpc.getDeleteMembersBySegmentMethod = getDeleteMembersBySegmentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteMembersBySegment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.google.protobuf.Empty.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("deleteMembersBySegment"))
              .build();
        }
      }
    }
    return getDeleteMembersBySegmentMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteMemberMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "deleteMember",
      requestType = com.passkit.grpc.Members.MemberOuterClass.Member.class,
      responseType = com.google.protobuf.Empty.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteMemberMethod() {
    io.grpc.MethodDescriptor getDeleteMemberMethod;
    if ((getDeleteMemberMethod = MembersGrpc.getDeleteMemberMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getDeleteMemberMethod = MembersGrpc.getDeleteMemberMethod) == null) {
          MembersGrpc.getDeleteMemberMethod = getDeleteMemberMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteMember"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.Member.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.google.protobuf.Empty.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("deleteMember"))
              .build();
        }
      }
    }
    return getDeleteMemberMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCountMembersDeprecatedMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "countMembersDeprecated",
      requestType = com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.class,
      responseType = com.passkit.grpc.CommonObjects.Count.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCountMembersDeprecatedMethod() {
    io.grpc.MethodDescriptor getCountMembersDeprecatedMethod;
    if ((getCountMembersDeprecatedMethod = MembersGrpc.getCountMembersDeprecatedMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getCountMembersDeprecatedMethod = MembersGrpc.getCountMembersDeprecatedMethod) == null) {
          MembersGrpc.getCountMembersDeprecatedMethod = getCountMembersDeprecatedMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "countMembersDeprecated"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Count.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("countMembersDeprecated"))
              .build();
        }
      }
    }
    return getCountMembersDeprecatedMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCountMembersMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "countMembers",
      requestType = com.passkit.grpc.Members.MemberOuterClass.ListRequest.class,
      responseType = com.passkit.grpc.CommonObjects.Count.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCountMembersMethod() {
    io.grpc.MethodDescriptor getCountMembersMethod;
    if ((getCountMembersMethod = MembersGrpc.getCountMembersMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getCountMembersMethod = MembersGrpc.getCountMembersMethod) == null) {
          MembersGrpc.getCountMembersMethod = getCountMembersMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "countMembers"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.ListRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Count.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("countMembers"))
              .build();
        }
      }
    }
    return getCountMembersMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetMessageHistoryForMemberMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getMessageHistoryForMember",
      requestType = com.passkit.grpc.PaginationOuterClass.Pagination.class,
      responseType = com.passkit.grpc.MessageOuterClass.Message.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getGetMessageHistoryForMemberMethod() {
    io.grpc.MethodDescriptor getGetMessageHistoryForMemberMethod;
    if ((getGetMessageHistoryForMemberMethod = MembersGrpc.getGetMessageHistoryForMemberMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getGetMessageHistoryForMemberMethod = MembersGrpc.getGetMessageHistoryForMemberMethod) == null) {
          MembersGrpc.getGetMessageHistoryForMemberMethod = getGetMessageHistoryForMemberMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getMessageHistoryForMember"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.PaginationOuterClass.Pagination.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.MessageOuterClass.Message.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("getMessageHistoryForMember"))
              .build();
        }
      }
    }
    return getGetMessageHistoryForMemberMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetMetaKeysForProgramMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getMetaKeysForProgram",
      requestType = com.passkit.grpc.CommonObjects.Id.class,
      responseType = com.passkit.grpc.CommonObjects.Strings.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetMetaKeysForProgramMethod() {
    io.grpc.MethodDescriptor getGetMetaKeysForProgramMethod;
    if ((getGetMetaKeysForProgramMethod = MembersGrpc.getGetMetaKeysForProgramMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getGetMetaKeysForProgramMethod = MembersGrpc.getGetMetaKeysForProgramMethod) == null) {
          MembersGrpc.getGetMetaKeysForProgramMethod = getGetMetaKeysForProgramMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getMetaKeysForProgram"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Strings.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("getMetaKeysForProgram"))
              .build();
        }
      }
    }
    return getGetMetaKeysForProgramMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRenewMembersExpiryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "renewMembersExpiry",
      requestType = com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest.class,
      responseType = com.passkit.grpc.CommonObjects.Count.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRenewMembersExpiryMethod() {
    io.grpc.MethodDescriptor getRenewMembersExpiryMethod;
    if ((getRenewMembersExpiryMethod = MembersGrpc.getRenewMembersExpiryMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getRenewMembersExpiryMethod = MembersGrpc.getRenewMembersExpiryMethod) == null) {
          MembersGrpc.getRenewMembersExpiryMethod = getRenewMembersExpiryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "renewMembersExpiry"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Count.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("renewMembersExpiry"))
              .build();
        }
      }
    }
    return getRenewMembersExpiryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateMemberExpiryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "updateMemberExpiry",
      requestType = com.passkit.grpc.Members.MemberOuterClass.MemberExpiry.class,
      responseType = com.passkit.grpc.CommonObjects.Id.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateMemberExpiryMethod() {
    io.grpc.MethodDescriptor getUpdateMemberExpiryMethod;
    if ((getUpdateMemberExpiryMethod = MembersGrpc.getUpdateMemberExpiryMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getUpdateMemberExpiryMethod = MembersGrpc.getUpdateMemberExpiryMethod) == null) {
          MembersGrpc.getUpdateMemberExpiryMethod = getUpdateMemberExpiryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "updateMemberExpiry"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.MemberExpiry.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("updateMemberExpiry"))
              .build();
        }
      }
    }
    return getUpdateMemberExpiryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCountMemberEventsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "countMemberEvents",
      requestType = com.passkit.grpc.Members.MemberOuterClass.ListRequest.class,
      responseType = com.passkit.grpc.CommonObjects.Count.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCountMemberEventsMethod() {
    io.grpc.MethodDescriptor getCountMemberEventsMethod;
    if ((getCountMemberEventsMethod = MembersGrpc.getCountMemberEventsMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getCountMemberEventsMethod = MembersGrpc.getCountMemberEventsMethod) == null) {
          MembersGrpc.getCountMemberEventsMethod = getCountMemberEventsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "countMemberEvents"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.ListRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Count.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("countMemberEvents"))
              .build();
        }
      }
    }
    return getCountMemberEventsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListMemberEventsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "listMemberEvents",
      requestType = com.passkit.grpc.Members.MemberOuterClass.ListRequest.class,
      responseType = com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getListMemberEventsMethod() {
    io.grpc.MethodDescriptor getListMemberEventsMethod;
    if ((getListMemberEventsMethod = MembersGrpc.getListMemberEventsMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getListMemberEventsMethod = MembersGrpc.getListMemberEventsMethod) == null) {
          MembersGrpc.getListMemberEventsMethod = getListMemberEventsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "listMemberEvents"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.ListRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("listMemberEvents"))
              .build();
        }
      }
    }
    return getListMemberEventsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetMemberEventMetaKeysForProgramMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getMemberEventMetaKeysForProgram",
      requestType = com.passkit.grpc.CommonObjects.Id.class,
      responseType = com.passkit.grpc.CommonObjects.Strings.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetMemberEventMetaKeysForProgramMethod() {
    io.grpc.MethodDescriptor getGetMemberEventMetaKeysForProgramMethod;
    if ((getGetMemberEventMetaKeysForProgramMethod = MembersGrpc.getGetMemberEventMetaKeysForProgramMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getGetMemberEventMetaKeysForProgramMethod = MembersGrpc.getGetMemberEventMetaKeysForProgramMethod) == null) {
          MembersGrpc.getGetMemberEventMetaKeysForProgramMethod = getGetMemberEventMetaKeysForProgramMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getMemberEventMetaKeysForProgram"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Strings.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("getMemberEventMetaKeysForProgram"))
              .build();
        }
      }
    }
    return getGetMemberEventMetaKeysForProgramMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListEventsForMemberMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "listEventsForMember",
      requestType = com.passkit.grpc.CommonObjects.Id.class,
      responseType = com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getListEventsForMemberMethod() {
    io.grpc.MethodDescriptor getListEventsForMemberMethod;
    if ((getListEventsForMemberMethod = MembersGrpc.getListEventsForMemberMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getListEventsForMemberMethod = MembersGrpc.getListEventsForMemberMethod) == null) {
          MembersGrpc.getListEventsForMemberMethod = getListEventsForMemberMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "listEventsForMember"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("listEventsForMember"))
              .build();
        }
      }
    }
    return getListEventsForMemberMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteMemberEventsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "deleteMemberEvents",
      requestType = com.passkit.grpc.Members.MemberOuterClass.ListRequest.class,
      responseType = com.google.protobuf.Empty.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteMemberEventsMethod() {
    io.grpc.MethodDescriptor getDeleteMemberEventsMethod;
    if ((getDeleteMemberEventsMethod = MembersGrpc.getDeleteMemberEventsMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getDeleteMemberEventsMethod = MembersGrpc.getDeleteMemberEventsMethod) == null) {
          MembersGrpc.getDeleteMemberEventsMethod = getDeleteMemberEventsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteMemberEvents"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Members.MemberOuterClass.ListRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.google.protobuf.Empty.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("deleteMemberEvents"))
              .build();
        }
      }
    }
    return getDeleteMemberEventsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteEventsForMemberMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "deleteEventsForMember",
      requestType = com.passkit.grpc.CommonObjects.Id.class,
      responseType = com.google.protobuf.Empty.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteEventsForMemberMethod() {
    io.grpc.MethodDescriptor getDeleteEventsForMemberMethod;
    if ((getDeleteEventsForMemberMethod = MembersGrpc.getDeleteEventsForMemberMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getDeleteEventsForMemberMethod = MembersGrpc.getDeleteEventsForMemberMethod) == null) {
          MembersGrpc.getDeleteEventsForMemberMethod = getDeleteEventsForMemberMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteEventsForMember"))
              .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 MembersMethodDescriptorSupplier("deleteEventsForMember"))
              .build();
        }
      }
    }
    return getDeleteEventsForMemberMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteMemberEventMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "deleteMemberEvent",
      requestType = com.passkit.grpc.CommonObjects.Id.class,
      responseType = com.google.protobuf.Empty.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteMemberEventMethod() {
    io.grpc.MethodDescriptor getDeleteMemberEventMethod;
    if ((getDeleteMemberEventMethod = MembersGrpc.getDeleteMemberEventMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getDeleteMemberEventMethod = MembersGrpc.getDeleteMemberEventMethod) == null) {
          MembersGrpc.getDeleteMemberEventMethod = getDeleteMemberEventMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteMemberEvent"))
              .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 MembersMethodDescriptorSupplier("deleteMemberEvent"))
              .build();
        }
      }
    }
    return getDeleteMemberEventMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetProgramEnrolmentMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getProgramEnrolment",
      requestType = com.passkit.grpc.CommonObjects.Id.class,
      responseType = com.passkit.grpc.Distribution.DataCollectionPageUrls.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetProgramEnrolmentMethod() {
    io.grpc.MethodDescriptor getGetProgramEnrolmentMethod;
    if ((getGetProgramEnrolmentMethod = MembersGrpc.getGetProgramEnrolmentMethod) == null) {
      synchronized (MembersGrpc.class) {
        if ((getGetProgramEnrolmentMethod = MembersGrpc.getGetProgramEnrolmentMethod) == null) {
          MembersGrpc.getGetProgramEnrolmentMethod = getGetProgramEnrolmentMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getProgramEnrolment"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Id.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Distribution.DataCollectionPageUrls.getDefaultInstance()))
              .setSchemaDescriptor(new MembersMethodDescriptorSupplier("getProgramEnrolment"))
              .build();
        }
      }
    }
    return getGetProgramEnrolmentMethod;
  }

  /**
   * Creates a new async stub that supports all call types for the service
   */
  public static MembersStub newStub(io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public MembersStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new MembersStub(channel, callOptions);
        }
      };
    return MembersStub.newStub(factory, channel);
  }

  /**
   * Creates a new blocking-style stub that supports unary and streaming output calls on the service
   */
  public static MembersBlockingStub newBlockingStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public MembersBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new MembersBlockingStub(channel, callOptions);
        }
      };
    return MembersBlockingStub.newStub(factory, channel);
  }

  /**
   * Creates a new ListenableFuture-style stub that supports unary calls on the service
   */
  public static MembersFutureStub newFutureStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public MembersFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new MembersFutureStub(channel, callOptions);
        }
      };
    return MembersFutureStub.newStub(factory, channel);
  }

  /**
   */
  public static abstract class MembersImplBase implements io.grpc.BindableService {

    /**
     * 
     * Create a program record. Allows a user to specify program details around enrolment, renewal and cancellation processes. Optionally allows the user to set the GPS location / Beacons that will trigger a lock-screen alert.
     * 
*/ public void createProgram(com.passkit.grpc.Members.ProgramOuterClass.Program request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCreateProgramMethod(), responseObserver); } /** *
     * Updates an existing program record.
     * 
*/ public void updateProgram(com.passkit.grpc.Members.ProgramOuterClass.Program request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getUpdateProgramMethod(), responseObserver); } /** *
     * Gets an existing program record by id.
     * 
*/ public void getProgram(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetProgramMethod(), responseObserver); } /** *
     * Copies an existing program record to a new record, and allows for status of new program to be set; i.e. copy a draft to published (production) program. Will copy program AND related tier + template records.
     * 
*/ public void copyProgram(com.passkit.grpc.Members.ProgramOuterClass.ProgramCopyRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCopyProgramMethod(), responseObserver); } /** *
     * Deletes an existing program record by id. Deleting a program results in all tiers, and members underneath it being invalidated and removed. Needs to be used with care.
     * 
*/ public void deleteProgram(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteProgramMethod(), responseObserver); } /** *
     * Lists all programs for the logged in user.
     * 
*/ public void listProgramsDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListProgramsDeprecatedMethod(), responseObserver); } /** *
     * Lists all programs for the logged in user.
     * 
*/ public void listPrograms(com.passkit.grpc.Filter.Filters request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListProgramsMethod(), responseObserver); } /** *
     * Create a new tier in an existing member program. Tiers allow a user to categorize their membership program; tiers allow for additional detail that is specific to that 'group' of members. A program needs at least one tier.
     * 
*/ public void createTier(com.passkit.grpc.Members.TierOuterClass.Tier request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCreateTierMethod(), responseObserver); } /** *
     * Updates a tier by tier id
     * 
*/ public void updateTier(com.passkit.grpc.Members.TierOuterClass.Tier request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getUpdateTierMethod(), responseObserver); } /** *
     * Gets a tier by tier ID
     * 
*/ public void getTier(com.passkit.grpc.Members.TierOuterClass.TierRequestInput request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetTierMethod(), responseObserver); } /** *
     * Deletes a tier. Deleting a tier will invalidate and delete all the passes that are in the tier.
     * 
*/ public void deleteTier(com.passkit.grpc.Members.TierOuterClass.TierRequestInput request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteTierMethod(), responseObserver); } /** *
     * Lists all the tiers.
     * 
*/ public void listTiersDeprecated(com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListTiersDeprecatedMethod(), responseObserver); } /** *
     * Lists all the tiers.
     * 
*/ public void listTiers(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListTiersMethod(), responseObserver); } /** *
     * Enrols a new member into a tier of a program. Returns the PassKit Member ID.
     * 
*/ public void enrolMember(com.passkit.grpc.Members.MemberOuterClass.Member request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getEnrolMemberMethod(), responseObserver); } /** *
     * Enrols a new member into the default tier (lowest tier index) of a program. Returns the PassKit Member ID.
     * 
*/ public void enrolMemberPublic(com.passkit.grpc.Members.MemberOuterClass.Member request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getEnrolMemberPublicMethod(), responseObserver); } /** */ public void getMemberRecordById(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetMemberRecordByIdMethod(), responseObserver); } /** */ public void getMemberRecordByExternalId(com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetMemberRecordByExternalIdMethod(), responseObserver); } /** */ public void checkInMember(com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCheckInMemberMethod(), responseObserver); } /** */ public void checkOutMember(com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCheckOutMemberMethod(), responseObserver); } /** */ public void listMembersDeprecated(com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListMembersDeprecatedMethod(), responseObserver); } /** */ public void listMembers(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListMembersMethod(), responseObserver); } /** */ public void updateMember(com.passkit.grpc.Members.MemberOuterClass.Member request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getUpdateMemberMethod(), responseObserver); } /** *
     * @todo: define callback
     * 
*/ public void earnPoints(com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getEarnPointsMethod(), responseObserver); } /** *
     * @todo: define callback
     * 
*/ public void burnPoints(com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getBurnPointsMethod(), responseObserver); } /** */ public void setPoints(com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getSetPointsMethod(), responseObserver); } /** */ public void updateMembersBySegment(com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getUpdateMembersBySegmentMethod(), responseObserver); } /** */ public void deleteMembersBySegment(com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteMembersBySegmentMethod(), responseObserver); } /** */ public void deleteMember(com.passkit.grpc.Members.MemberOuterClass.Member request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteMemberMethod(), responseObserver); } /** */ public void countMembersDeprecated(com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCountMembersDeprecatedMethod(), responseObserver); } /** */ public void countMembers(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCountMembersMethod(), responseObserver); } /** */ public void getMessageHistoryForMember(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetMessageHistoryForMemberMethod(), responseObserver); } /** */ public void getMetaKeysForProgram(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetMetaKeysForProgramMethod(), responseObserver); } /** */ public void renewMembersExpiry(com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getRenewMembersExpiryMethod(), responseObserver); } /** */ public void updateMemberExpiry(com.passkit.grpc.Members.MemberOuterClass.MemberExpiry request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getUpdateMemberExpiryMethod(), responseObserver); } /** */ public void countMemberEvents(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCountMemberEventsMethod(), responseObserver); } /** */ public void listMemberEvents(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListMemberEventsMethod(), responseObserver); } /** */ public void getMemberEventMetaKeysForProgram(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetMemberEventMetaKeysForProgramMethod(), responseObserver); } /** */ public void listEventsForMember(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListEventsForMemberMethod(), responseObserver); } /** */ public void deleteMemberEvents(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteMemberEventsMethod(), responseObserver); } /** */ public void deleteEventsForMember(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteEventsForMemberMethod(), responseObserver); } /** */ public void deleteMemberEvent(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteMemberEventMethod(), responseObserver); } /** */ public void getProgramEnrolment(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetProgramEnrolmentMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateProgramMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.ProgramOuterClass.Program, com.passkit.grpc.CommonObjects.Id>( this, METHODID_CREATE_PROGRAM))) .addMethod( getUpdateProgramMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.ProgramOuterClass.Program, com.passkit.grpc.Members.ProgramOuterClass.Program>( this, METHODID_UPDATE_PROGRAM))) .addMethod( getGetProgramMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.Members.ProgramOuterClass.Program>( this, METHODID_GET_PROGRAM))) .addMethod( getCopyProgramMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.ProgramOuterClass.ProgramCopyRequest, com.passkit.grpc.CommonObjects.Id>( this, METHODID_COPY_PROGRAM))) .addMethod( getDeleteProgramMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.google.protobuf.Empty>( this, METHODID_DELETE_PROGRAM))) .addMethod( getListProgramsDeprecatedMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.PaginationOuterClass.Pagination, com.passkit.grpc.Members.ProgramOuterClass.Program>( this, METHODID_LIST_PROGRAMS_DEPRECATED))) .addMethod( getListProgramsMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.Filter.Filters, com.passkit.grpc.Members.ProgramOuterClass.Program>( this, METHODID_LIST_PROGRAMS))) .addMethod( getCreateTierMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.TierOuterClass.Tier, com.passkit.grpc.CommonObjects.Id>( this, METHODID_CREATE_TIER))) .addMethod( getUpdateTierMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.TierOuterClass.Tier, com.passkit.grpc.Members.TierOuterClass.Tier>( this, METHODID_UPDATE_TIER))) .addMethod( getGetTierMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.TierOuterClass.TierRequestInput, com.passkit.grpc.Members.TierOuterClass.Tier>( this, METHODID_GET_TIER))) .addMethod( getDeleteTierMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.TierOuterClass.TierRequestInput, com.google.protobuf.Empty>( this, METHODID_DELETE_TIER))) .addMethod( getListTiersDeprecatedMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated, com.passkit.grpc.Members.TierOuterClass.Tier>( this, METHODID_LIST_TIERS_DEPRECATED))) .addMethod( getListTiersMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.ListRequest, com.passkit.grpc.Members.TierOuterClass.Tier>( this, METHODID_LIST_TIERS))) .addMethod( getEnrolMemberMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.Member, com.passkit.grpc.CommonObjects.Id>( this, METHODID_ENROL_MEMBER))) .addMethod( getEnrolMemberPublicMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.Member, com.passkit.grpc.CommonObjects.Id>( this, METHODID_ENROL_MEMBER_PUBLIC))) .addMethod( getGetMemberRecordByIdMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.Members.MemberOuterClass.Member>( this, METHODID_GET_MEMBER_RECORD_BY_ID))) .addMethod( getGetMemberRecordByExternalIdMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest, com.passkit.grpc.Members.MemberOuterClass.Member>( this, METHODID_GET_MEMBER_RECORD_BY_EXTERNAL_ID))) .addMethod( getCheckInMemberMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest, com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent>( this, METHODID_CHECK_IN_MEMBER))) .addMethod( getCheckOutMemberMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest, com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent>( this, METHODID_CHECK_OUT_MEMBER))) .addMethod( getListMembersDeprecatedMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated, com.passkit.grpc.Members.MemberOuterClass.Member>( this, METHODID_LIST_MEMBERS_DEPRECATED))) .addMethod( getListMembersMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.ListRequest, com.passkit.grpc.Members.MemberOuterClass.Member>( this, METHODID_LIST_MEMBERS))) .addMethod( getUpdateMemberMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.Member, com.passkit.grpc.CommonObjects.Id>( this, METHODID_UPDATE_MEMBER))) .addMethod( getEarnPointsMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest, com.passkit.grpc.Members.MemberOuterClass.MemberPoints>( this, METHODID_EARN_POINTS))) .addMethod( getBurnPointsMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest, com.passkit.grpc.Members.MemberOuterClass.MemberPoints>( this, METHODID_BURN_POINTS))) .addMethod( getSetPointsMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest, com.passkit.grpc.Members.MemberOuterClass.MemberPoints>( this, METHODID_SET_POINTS))) .addMethod( getUpdateMembersBySegmentMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest, com.google.protobuf.Empty>( this, METHODID_UPDATE_MEMBERS_BY_SEGMENT))) .addMethod( getDeleteMembersBySegmentMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest, com.google.protobuf.Empty>( this, METHODID_DELETE_MEMBERS_BY_SEGMENT))) .addMethod( getDeleteMemberMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.Member, com.google.protobuf.Empty>( this, METHODID_DELETE_MEMBER))) .addMethod( getCountMembersDeprecatedMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated, com.passkit.grpc.CommonObjects.Count>( this, METHODID_COUNT_MEMBERS_DEPRECATED))) .addMethod( getCountMembersMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.ListRequest, com.passkit.grpc.CommonObjects.Count>( this, METHODID_COUNT_MEMBERS))) .addMethod( getGetMessageHistoryForMemberMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.PaginationOuterClass.Pagination, com.passkit.grpc.MessageOuterClass.Message>( this, METHODID_GET_MESSAGE_HISTORY_FOR_MEMBER))) .addMethod( getGetMetaKeysForProgramMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.CommonObjects.Strings>( this, METHODID_GET_META_KEYS_FOR_PROGRAM))) .addMethod( getRenewMembersExpiryMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest, com.passkit.grpc.CommonObjects.Count>( this, METHODID_RENEW_MEMBERS_EXPIRY))) .addMethod( getUpdateMemberExpiryMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.MemberExpiry, com.passkit.grpc.CommonObjects.Id>( this, METHODID_UPDATE_MEMBER_EXPIRY))) .addMethod( getCountMemberEventsMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.ListRequest, com.passkit.grpc.CommonObjects.Count>( this, METHODID_COUNT_MEMBER_EVENTS))) .addMethod( getListMemberEventsMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.ListRequest, com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent>( this, METHODID_LIST_MEMBER_EVENTS))) .addMethod( getGetMemberEventMetaKeysForProgramMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.CommonObjects.Strings>( this, METHODID_GET_MEMBER_EVENT_META_KEYS_FOR_PROGRAM))) .addMethod( getListEventsForMemberMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent>( this, METHODID_LIST_EVENTS_FOR_MEMBER))) .addMethod( getDeleteMemberEventsMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Members.MemberOuterClass.ListRequest, com.google.protobuf.Empty>( this, METHODID_DELETE_MEMBER_EVENTS))) .addMethod( getDeleteEventsForMemberMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.google.protobuf.Empty>( this, METHODID_DELETE_EVENTS_FOR_MEMBER))) .addMethod( getDeleteMemberEventMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.google.protobuf.Empty>( this, METHODID_DELETE_MEMBER_EVENT))) .addMethod( getGetProgramEnrolmentMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.Distribution.DataCollectionPageUrls>( this, METHODID_GET_PROGRAM_ENROLMENT))) .build(); } } /** */ public static final class MembersStub extends io.grpc.stub.AbstractAsyncStub { private MembersStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected MembersStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MembersStub(channel, callOptions); } /** *
     * Create a program record. Allows a user to specify program details around enrolment, renewal and cancellation processes. Optionally allows the user to set the GPS location / Beacons that will trigger a lock-screen alert.
     * 
*/ public void createProgram(com.passkit.grpc.Members.ProgramOuterClass.Program request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCreateProgramMethod(), getCallOptions()), request, responseObserver); } /** *
     * Updates an existing program record.
     * 
*/ public void updateProgram(com.passkit.grpc.Members.ProgramOuterClass.Program request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateProgramMethod(), getCallOptions()), request, responseObserver); } /** *
     * Gets an existing program record by id.
     * 
*/ public void getProgram(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetProgramMethod(), getCallOptions()), request, responseObserver); } /** *
     * Copies an existing program record to a new record, and allows for status of new program to be set; i.e. copy a draft to published (production) program. Will copy program AND related tier + template records.
     * 
*/ public void copyProgram(com.passkit.grpc.Members.ProgramOuterClass.ProgramCopyRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCopyProgramMethod(), getCallOptions()), request, responseObserver); } /** *
     * Deletes an existing program record by id. Deleting a program results in all tiers, and members underneath it being invalidated and removed. Needs to be used with care.
     * 
*/ public void deleteProgram(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteProgramMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists all programs for the logged in user.
     * 
*/ public void listProgramsDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListProgramsDeprecatedMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists all programs for the logged in user.
     * 
*/ public void listPrograms(com.passkit.grpc.Filter.Filters request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListProgramsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Create a new tier in an existing member program. Tiers allow a user to categorize their membership program; tiers allow for additional detail that is specific to that 'group' of members. A program needs at least one tier.
     * 
*/ public void createTier(com.passkit.grpc.Members.TierOuterClass.Tier request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCreateTierMethod(), getCallOptions()), request, responseObserver); } /** *
     * Updates a tier by tier id
     * 
*/ public void updateTier(com.passkit.grpc.Members.TierOuterClass.Tier request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateTierMethod(), getCallOptions()), request, responseObserver); } /** *
     * Gets a tier by tier ID
     * 
*/ public void getTier(com.passkit.grpc.Members.TierOuterClass.TierRequestInput request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetTierMethod(), getCallOptions()), request, responseObserver); } /** *
     * Deletes a tier. Deleting a tier will invalidate and delete all the passes that are in the tier.
     * 
*/ public void deleteTier(com.passkit.grpc.Members.TierOuterClass.TierRequestInput request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteTierMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists all the tiers.
     * 
*/ public void listTiersDeprecated(com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListTiersDeprecatedMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists all the tiers.
     * 
*/ public void listTiers(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListTiersMethod(), getCallOptions()), request, responseObserver); } /** *
     * Enrols a new member into a tier of a program. Returns the PassKit Member ID.
     * 
*/ public void enrolMember(com.passkit.grpc.Members.MemberOuterClass.Member request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getEnrolMemberMethod(), getCallOptions()), request, responseObserver); } /** *
     * Enrols a new member into the default tier (lowest tier index) of a program. Returns the PassKit Member ID.
     * 
*/ public void enrolMemberPublic(com.passkit.grpc.Members.MemberOuterClass.Member request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getEnrolMemberPublicMethod(), getCallOptions()), request, responseObserver); } /** */ public void getMemberRecordById(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetMemberRecordByIdMethod(), getCallOptions()), request, responseObserver); } /** */ public void getMemberRecordByExternalId(com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetMemberRecordByExternalIdMethod(), getCallOptions()), request, responseObserver); } /** */ public void checkInMember(com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCheckInMemberMethod(), getCallOptions()), request, responseObserver); } /** */ public void checkOutMember(com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCheckOutMemberMethod(), getCallOptions()), request, responseObserver); } /** */ public void listMembersDeprecated(com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListMembersDeprecatedMethod(), getCallOptions()), request, responseObserver); } /** */ public void listMembers(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListMembersMethod(), getCallOptions()), request, responseObserver); } /** */ public void updateMember(com.passkit.grpc.Members.MemberOuterClass.Member request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateMemberMethod(), getCallOptions()), request, responseObserver); } /** *
     * @todo: define callback
     * 
*/ public void earnPoints(com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getEarnPointsMethod(), getCallOptions()), request, responseObserver); } /** *
     * @todo: define callback
     * 
*/ public void burnPoints(com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getBurnPointsMethod(), getCallOptions()), request, responseObserver); } /** */ public void setPoints(com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getSetPointsMethod(), getCallOptions()), request, responseObserver); } /** */ public void updateMembersBySegment(com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateMembersBySegmentMethod(), getCallOptions()), request, responseObserver); } /** */ public void deleteMembersBySegment(com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteMembersBySegmentMethod(), getCallOptions()), request, responseObserver); } /** */ public void deleteMember(com.passkit.grpc.Members.MemberOuterClass.Member request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteMemberMethod(), getCallOptions()), request, responseObserver); } /** */ public void countMembersDeprecated(com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCountMembersDeprecatedMethod(), getCallOptions()), request, responseObserver); } /** */ public void countMembers(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCountMembersMethod(), getCallOptions()), request, responseObserver); } /** */ public void getMessageHistoryForMember(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getGetMessageHistoryForMemberMethod(), getCallOptions()), request, responseObserver); } /** */ public void getMetaKeysForProgram(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetMetaKeysForProgramMethod(), getCallOptions()), request, responseObserver); } /** */ public void renewMembersExpiry(com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getRenewMembersExpiryMethod(), getCallOptions()), request, responseObserver); } /** */ public void updateMemberExpiry(com.passkit.grpc.Members.MemberOuterClass.MemberExpiry request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateMemberExpiryMethod(), getCallOptions()), request, responseObserver); } /** */ public void countMemberEvents(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCountMemberEventsMethod(), getCallOptions()), request, responseObserver); } /** */ public void listMemberEvents(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListMemberEventsMethod(), getCallOptions()), request, responseObserver); } /** */ public void getMemberEventMetaKeysForProgram(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetMemberEventMetaKeysForProgramMethod(), getCallOptions()), request, responseObserver); } /** */ public void listEventsForMember(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListEventsForMemberMethod(), getCallOptions()), request, responseObserver); } /** */ public void deleteMemberEvents(com.passkit.grpc.Members.MemberOuterClass.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteMemberEventsMethod(), getCallOptions()), request, responseObserver); } /** */ public void deleteEventsForMember(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteEventsForMemberMethod(), getCallOptions()), request, responseObserver); } /** */ public void deleteMemberEvent(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteMemberEventMethod(), getCallOptions()), request, responseObserver); } /** */ public void getProgramEnrolment(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetProgramEnrolmentMethod(), getCallOptions()), request, responseObserver); } } /** */ public static final class MembersBlockingStub extends io.grpc.stub.AbstractBlockingStub { private MembersBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected MembersBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MembersBlockingStub(channel, callOptions); } /** *
     * Create a program record. Allows a user to specify program details around enrolment, renewal and cancellation processes. Optionally allows the user to set the GPS location / Beacons that will trigger a lock-screen alert.
     * 
*/ public com.passkit.grpc.CommonObjects.Id createProgram(com.passkit.grpc.Members.ProgramOuterClass.Program request) { return blockingUnaryCall( getChannel(), getCreateProgramMethod(), getCallOptions(), request); } /** *
     * Updates an existing program record.
     * 
*/ public com.passkit.grpc.Members.ProgramOuterClass.Program updateProgram(com.passkit.grpc.Members.ProgramOuterClass.Program request) { return blockingUnaryCall( getChannel(), getUpdateProgramMethod(), getCallOptions(), request); } /** *
     * Gets an existing program record by id.
     * 
*/ public com.passkit.grpc.Members.ProgramOuterClass.Program getProgram(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getGetProgramMethod(), getCallOptions(), request); } /** *
     * Copies an existing program record to a new record, and allows for status of new program to be set; i.e. copy a draft to published (production) program. Will copy program AND related tier + template records.
     * 
*/ public com.passkit.grpc.CommonObjects.Id copyProgram(com.passkit.grpc.Members.ProgramOuterClass.ProgramCopyRequest request) { return blockingUnaryCall( getChannel(), getCopyProgramMethod(), getCallOptions(), request); } /** *
     * Deletes an existing program record by id. Deleting a program results in all tiers, and members underneath it being invalidated and removed. Needs to be used with care.
     * 
*/ public com.google.protobuf.Empty deleteProgram(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getDeleteProgramMethod(), getCallOptions(), request); } /** *
     * Lists all programs for the logged in user.
     * 
*/ public java.util.Iterator listProgramsDeprecated( com.passkit.grpc.PaginationOuterClass.Pagination request) { return blockingServerStreamingCall( getChannel(), getListProgramsDeprecatedMethod(), getCallOptions(), request); } /** *
     * Lists all programs for the logged in user.
     * 
*/ public java.util.Iterator listPrograms( com.passkit.grpc.Filter.Filters request) { return blockingServerStreamingCall( getChannel(), getListProgramsMethod(), getCallOptions(), request); } /** *
     * Create a new tier in an existing member program. Tiers allow a user to categorize their membership program; tiers allow for additional detail that is specific to that 'group' of members. A program needs at least one tier.
     * 
*/ public com.passkit.grpc.CommonObjects.Id createTier(com.passkit.grpc.Members.TierOuterClass.Tier request) { return blockingUnaryCall( getChannel(), getCreateTierMethod(), getCallOptions(), request); } /** *
     * Updates a tier by tier id
     * 
*/ public com.passkit.grpc.Members.TierOuterClass.Tier updateTier(com.passkit.grpc.Members.TierOuterClass.Tier request) { return blockingUnaryCall( getChannel(), getUpdateTierMethod(), getCallOptions(), request); } /** *
     * Gets a tier by tier ID
     * 
*/ public com.passkit.grpc.Members.TierOuterClass.Tier getTier(com.passkit.grpc.Members.TierOuterClass.TierRequestInput request) { return blockingUnaryCall( getChannel(), getGetTierMethod(), getCallOptions(), request); } /** *
     * Deletes a tier. Deleting a tier will invalidate and delete all the passes that are in the tier.
     * 
*/ public com.google.protobuf.Empty deleteTier(com.passkit.grpc.Members.TierOuterClass.TierRequestInput request) { return blockingUnaryCall( getChannel(), getDeleteTierMethod(), getCallOptions(), request); } /** *
     * Lists all the tiers.
     * 
*/ public java.util.Iterator listTiersDeprecated( com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated request) { return blockingServerStreamingCall( getChannel(), getListTiersDeprecatedMethod(), getCallOptions(), request); } /** *
     * Lists all the tiers.
     * 
*/ public java.util.Iterator listTiers( com.passkit.grpc.Members.MemberOuterClass.ListRequest request) { return blockingServerStreamingCall( getChannel(), getListTiersMethod(), getCallOptions(), request); } /** *
     * Enrols a new member into a tier of a program. Returns the PassKit Member ID.
     * 
*/ public com.passkit.grpc.CommonObjects.Id enrolMember(com.passkit.grpc.Members.MemberOuterClass.Member request) { return blockingUnaryCall( getChannel(), getEnrolMemberMethod(), getCallOptions(), request); } /** *
     * Enrols a new member into the default tier (lowest tier index) of a program. Returns the PassKit Member ID.
     * 
*/ public com.passkit.grpc.CommonObjects.Id enrolMemberPublic(com.passkit.grpc.Members.MemberOuterClass.Member request) { return blockingUnaryCall( getChannel(), getEnrolMemberPublicMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.Members.MemberOuterClass.Member getMemberRecordById(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getGetMemberRecordByIdMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.Members.MemberOuterClass.Member getMemberRecordByExternalId(com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest request) { return blockingUnaryCall( getChannel(), getGetMemberRecordByExternalIdMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent checkInMember(com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest request) { return blockingUnaryCall( getChannel(), getCheckInMemberMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.Members.MemberEventsOuterClass.MemberEvent checkOutMember(com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest request) { return blockingUnaryCall( getChannel(), getCheckOutMemberMethod(), getCallOptions(), request); } /** */ public java.util.Iterator listMembersDeprecated( com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated request) { return blockingServerStreamingCall( getChannel(), getListMembersDeprecatedMethod(), getCallOptions(), request); } /** */ public java.util.Iterator listMembers( com.passkit.grpc.Members.MemberOuterClass.ListRequest request) { return blockingServerStreamingCall( getChannel(), getListMembersMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Id updateMember(com.passkit.grpc.Members.MemberOuterClass.Member request) { return blockingUnaryCall( getChannel(), getUpdateMemberMethod(), getCallOptions(), request); } /** *
     * @todo: define callback
     * 
*/ public com.passkit.grpc.Members.MemberOuterClass.MemberPoints earnPoints(com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest request) { return blockingUnaryCall( getChannel(), getEarnPointsMethod(), getCallOptions(), request); } /** *
     * @todo: define callback
     * 
*/ public com.passkit.grpc.Members.MemberOuterClass.MemberPoints burnPoints(com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest request) { return blockingUnaryCall( getChannel(), getBurnPointsMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.Members.MemberOuterClass.MemberPoints setPoints(com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest request) { return blockingUnaryCall( getChannel(), getSetPointsMethod(), getCallOptions(), request); } /** */ public com.google.protobuf.Empty updateMembersBySegment(com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest request) { return blockingUnaryCall( getChannel(), getUpdateMembersBySegmentMethod(), getCallOptions(), request); } /** */ public com.google.protobuf.Empty deleteMembersBySegment(com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest request) { return blockingUnaryCall( getChannel(), getDeleteMembersBySegmentMethod(), getCallOptions(), request); } /** */ public com.google.protobuf.Empty deleteMember(com.passkit.grpc.Members.MemberOuterClass.Member request) { return blockingUnaryCall( getChannel(), getDeleteMemberMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Count countMembersDeprecated(com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated request) { return blockingUnaryCall( getChannel(), getCountMembersDeprecatedMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Count countMembers(com.passkit.grpc.Members.MemberOuterClass.ListRequest request) { return blockingUnaryCall( getChannel(), getCountMembersMethod(), getCallOptions(), request); } /** */ public java.util.Iterator getMessageHistoryForMember( com.passkit.grpc.PaginationOuterClass.Pagination request) { return blockingServerStreamingCall( getChannel(), getGetMessageHistoryForMemberMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Strings getMetaKeysForProgram(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getGetMetaKeysForProgramMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Count renewMembersExpiry(com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest request) { return blockingUnaryCall( getChannel(), getRenewMembersExpiryMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Id updateMemberExpiry(com.passkit.grpc.Members.MemberOuterClass.MemberExpiry request) { return blockingUnaryCall( getChannel(), getUpdateMemberExpiryMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Count countMemberEvents(com.passkit.grpc.Members.MemberOuterClass.ListRequest request) { return blockingUnaryCall( getChannel(), getCountMemberEventsMethod(), getCallOptions(), request); } /** */ public java.util.Iterator listMemberEvents( com.passkit.grpc.Members.MemberOuterClass.ListRequest request) { return blockingServerStreamingCall( getChannel(), getListMemberEventsMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Strings getMemberEventMetaKeysForProgram(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getGetMemberEventMetaKeysForProgramMethod(), getCallOptions(), request); } /** */ public java.util.Iterator listEventsForMember( com.passkit.grpc.CommonObjects.Id request) { return blockingServerStreamingCall( getChannel(), getListEventsForMemberMethod(), getCallOptions(), request); } /** */ public com.google.protobuf.Empty deleteMemberEvents(com.passkit.grpc.Members.MemberOuterClass.ListRequest request) { return blockingUnaryCall( getChannel(), getDeleteMemberEventsMethod(), getCallOptions(), request); } /** */ public com.google.protobuf.Empty deleteEventsForMember(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getDeleteEventsForMemberMethod(), getCallOptions(), request); } /** */ public com.google.protobuf.Empty deleteMemberEvent(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getDeleteMemberEventMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.Distribution.DataCollectionPageUrls getProgramEnrolment(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getGetProgramEnrolmentMethod(), getCallOptions(), request); } } /** */ public static final class MembersFutureStub extends io.grpc.stub.AbstractFutureStub { private MembersFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected MembersFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new MembersFutureStub(channel, callOptions); } /** *
     * Create a program record. Allows a user to specify program details around enrolment, renewal and cancellation processes. Optionally allows the user to set the GPS location / Beacons that will trigger a lock-screen alert.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createProgram( com.passkit.grpc.Members.ProgramOuterClass.Program request) { return futureUnaryCall( getChannel().newCall(getCreateProgramMethod(), getCallOptions()), request); } /** *
     * Updates an existing program record.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateProgram( com.passkit.grpc.Members.ProgramOuterClass.Program request) { return futureUnaryCall( getChannel().newCall(getUpdateProgramMethod(), getCallOptions()), request); } /** *
     * Gets an existing program record by id.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getProgram( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getGetProgramMethod(), getCallOptions()), request); } /** *
     * Copies an existing program record to a new record, and allows for status of new program to be set; i.e. copy a draft to published (production) program. Will copy program AND related tier + template records.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture copyProgram( com.passkit.grpc.Members.ProgramOuterClass.ProgramCopyRequest request) { return futureUnaryCall( getChannel().newCall(getCopyProgramMethod(), getCallOptions()), request); } /** *
     * Deletes an existing program record by id. Deleting a program results in all tiers, and members underneath it being invalidated and removed. Needs to be used with care.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteProgram( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getDeleteProgramMethod(), getCallOptions()), request); } /** *
     * Create a new tier in an existing member program. Tiers allow a user to categorize their membership program; tiers allow for additional detail that is specific to that 'group' of members. A program needs at least one tier.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createTier( com.passkit.grpc.Members.TierOuterClass.Tier request) { return futureUnaryCall( getChannel().newCall(getCreateTierMethod(), getCallOptions()), request); } /** *
     * Updates a tier by tier id
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateTier( com.passkit.grpc.Members.TierOuterClass.Tier request) { return futureUnaryCall( getChannel().newCall(getUpdateTierMethod(), getCallOptions()), request); } /** *
     * Gets a tier by tier ID
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getTier( com.passkit.grpc.Members.TierOuterClass.TierRequestInput request) { return futureUnaryCall( getChannel().newCall(getGetTierMethod(), getCallOptions()), request); } /** *
     * Deletes a tier. Deleting a tier will invalidate and delete all the passes that are in the tier.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteTier( com.passkit.grpc.Members.TierOuterClass.TierRequestInput request) { return futureUnaryCall( getChannel().newCall(getDeleteTierMethod(), getCallOptions()), request); } /** *
     * Enrols a new member into a tier of a program. Returns the PassKit Member ID.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture enrolMember( com.passkit.grpc.Members.MemberOuterClass.Member request) { return futureUnaryCall( getChannel().newCall(getEnrolMemberMethod(), getCallOptions()), request); } /** *
     * Enrols a new member into the default tier (lowest tier index) of a program. Returns the PassKit Member ID.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture enrolMemberPublic( com.passkit.grpc.Members.MemberOuterClass.Member request) { return futureUnaryCall( getChannel().newCall(getEnrolMemberPublicMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getMemberRecordById( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getGetMemberRecordByIdMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getMemberRecordByExternalId( com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest request) { return futureUnaryCall( getChannel().newCall(getGetMemberRecordByExternalIdMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture checkInMember( com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest request) { return futureUnaryCall( getChannel().newCall(getCheckInMemberMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture checkOutMember( com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest request) { return futureUnaryCall( getChannel().newCall(getCheckOutMemberMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture updateMember( com.passkit.grpc.Members.MemberOuterClass.Member request) { return futureUnaryCall( getChannel().newCall(getUpdateMemberMethod(), getCallOptions()), request); } /** *
     * @todo: define callback
     * 
*/ public com.google.common.util.concurrent.ListenableFuture earnPoints( com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest request) { return futureUnaryCall( getChannel().newCall(getEarnPointsMethod(), getCallOptions()), request); } /** *
     * @todo: define callback
     * 
*/ public com.google.common.util.concurrent.ListenableFuture burnPoints( com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest request) { return futureUnaryCall( getChannel().newCall(getBurnPointsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture setPoints( com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest request) { return futureUnaryCall( getChannel().newCall(getSetPointsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture updateMembersBySegment( com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest request) { return futureUnaryCall( getChannel().newCall(getUpdateMembersBySegmentMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture deleteMembersBySegment( com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest request) { return futureUnaryCall( getChannel().newCall(getDeleteMembersBySegmentMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture deleteMember( com.passkit.grpc.Members.MemberOuterClass.Member request) { return futureUnaryCall( getChannel().newCall(getDeleteMemberMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture countMembersDeprecated( com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated request) { return futureUnaryCall( getChannel().newCall(getCountMembersDeprecatedMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture countMembers( com.passkit.grpc.Members.MemberOuterClass.ListRequest request) { return futureUnaryCall( getChannel().newCall(getCountMembersMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getMetaKeysForProgram( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getGetMetaKeysForProgramMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture renewMembersExpiry( com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest request) { return futureUnaryCall( getChannel().newCall(getRenewMembersExpiryMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture updateMemberExpiry( com.passkit.grpc.Members.MemberOuterClass.MemberExpiry request) { return futureUnaryCall( getChannel().newCall(getUpdateMemberExpiryMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture countMemberEvents( com.passkit.grpc.Members.MemberOuterClass.ListRequest request) { return futureUnaryCall( getChannel().newCall(getCountMemberEventsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getMemberEventMetaKeysForProgram( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getGetMemberEventMetaKeysForProgramMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture deleteMemberEvents( com.passkit.grpc.Members.MemberOuterClass.ListRequest request) { return futureUnaryCall( getChannel().newCall(getDeleteMemberEventsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture deleteEventsForMember( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getDeleteEventsForMemberMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture deleteMemberEvent( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getDeleteMemberEventMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getProgramEnrolment( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getGetProgramEnrolmentMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE_PROGRAM = 0; private static final int METHODID_UPDATE_PROGRAM = 1; private static final int METHODID_GET_PROGRAM = 2; private static final int METHODID_COPY_PROGRAM = 3; private static final int METHODID_DELETE_PROGRAM = 4; private static final int METHODID_LIST_PROGRAMS_DEPRECATED = 5; private static final int METHODID_LIST_PROGRAMS = 6; private static final int METHODID_CREATE_TIER = 7; private static final int METHODID_UPDATE_TIER = 8; private static final int METHODID_GET_TIER = 9; private static final int METHODID_DELETE_TIER = 10; private static final int METHODID_LIST_TIERS_DEPRECATED = 11; private static final int METHODID_LIST_TIERS = 12; private static final int METHODID_ENROL_MEMBER = 13; private static final int METHODID_ENROL_MEMBER_PUBLIC = 14; private static final int METHODID_GET_MEMBER_RECORD_BY_ID = 15; private static final int METHODID_GET_MEMBER_RECORD_BY_EXTERNAL_ID = 16; private static final int METHODID_CHECK_IN_MEMBER = 17; private static final int METHODID_CHECK_OUT_MEMBER = 18; private static final int METHODID_LIST_MEMBERS_DEPRECATED = 19; private static final int METHODID_LIST_MEMBERS = 20; private static final int METHODID_UPDATE_MEMBER = 21; private static final int METHODID_EARN_POINTS = 22; private static final int METHODID_BURN_POINTS = 23; private static final int METHODID_SET_POINTS = 24; private static final int METHODID_UPDATE_MEMBERS_BY_SEGMENT = 25; private static final int METHODID_DELETE_MEMBERS_BY_SEGMENT = 26; private static final int METHODID_DELETE_MEMBER = 27; private static final int METHODID_COUNT_MEMBERS_DEPRECATED = 28; private static final int METHODID_COUNT_MEMBERS = 29; private static final int METHODID_GET_MESSAGE_HISTORY_FOR_MEMBER = 30; private static final int METHODID_GET_META_KEYS_FOR_PROGRAM = 31; private static final int METHODID_RENEW_MEMBERS_EXPIRY = 32; private static final int METHODID_UPDATE_MEMBER_EXPIRY = 33; private static final int METHODID_COUNT_MEMBER_EVENTS = 34; private static final int METHODID_LIST_MEMBER_EVENTS = 35; private static final int METHODID_GET_MEMBER_EVENT_META_KEYS_FOR_PROGRAM = 36; private static final int METHODID_LIST_EVENTS_FOR_MEMBER = 37; private static final int METHODID_DELETE_MEMBER_EVENTS = 38; private static final int METHODID_DELETE_EVENTS_FOR_MEMBER = 39; private static final int METHODID_DELETE_MEMBER_EVENT = 40; private static final int METHODID_GET_PROGRAM_ENROLMENT = 41; 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 MembersImplBase serviceImpl; private final int methodId; MethodHandlers(MembersImplBase 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_PROGRAM: serviceImpl.createProgram((com.passkit.grpc.Members.ProgramOuterClass.Program) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_PROGRAM: serviceImpl.updateProgram((com.passkit.grpc.Members.ProgramOuterClass.Program) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_PROGRAM: serviceImpl.getProgram((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COPY_PROGRAM: serviceImpl.copyProgram((com.passkit.grpc.Members.ProgramOuterClass.ProgramCopyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_PROGRAM: serviceImpl.deleteProgram((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_PROGRAMS_DEPRECATED: serviceImpl.listProgramsDeprecated((com.passkit.grpc.PaginationOuterClass.Pagination) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_PROGRAMS: serviceImpl.listPrograms((com.passkit.grpc.Filter.Filters) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_TIER: serviceImpl.createTier((com.passkit.grpc.Members.TierOuterClass.Tier) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_TIER: serviceImpl.updateTier((com.passkit.grpc.Members.TierOuterClass.Tier) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_TIER: serviceImpl.getTier((com.passkit.grpc.Members.TierOuterClass.TierRequestInput) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_TIER: serviceImpl.deleteTier((com.passkit.grpc.Members.TierOuterClass.TierRequestInput) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_TIERS_DEPRECATED: serviceImpl.listTiersDeprecated((com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_TIERS: serviceImpl.listTiers((com.passkit.grpc.Members.MemberOuterClass.ListRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ENROL_MEMBER: serviceImpl.enrolMember((com.passkit.grpc.Members.MemberOuterClass.Member) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ENROL_MEMBER_PUBLIC: serviceImpl.enrolMemberPublic((com.passkit.grpc.Members.MemberOuterClass.Member) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_MEMBER_RECORD_BY_ID: serviceImpl.getMemberRecordById((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_MEMBER_RECORD_BY_EXTERNAL_ID: serviceImpl.getMemberRecordByExternalId((com.passkit.grpc.Members.MemberOuterClass.MemberRecordByExternalIdRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHECK_IN_MEMBER: serviceImpl.checkInMember((com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHECK_OUT_MEMBER: serviceImpl.checkOutMember((com.passkit.grpc.Members.MemberOuterClass.MemberCheckInOutRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_MEMBERS_DEPRECATED: serviceImpl.listMembersDeprecated((com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_MEMBERS: serviceImpl.listMembers((com.passkit.grpc.Members.MemberOuterClass.ListRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_MEMBER: serviceImpl.updateMember((com.passkit.grpc.Members.MemberOuterClass.Member) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EARN_POINTS: serviceImpl.earnPoints((com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_BURN_POINTS: serviceImpl.burnPoints((com.passkit.grpc.Members.MemberOuterClass.EarnBurnPointsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_POINTS: serviceImpl.setPoints((com.passkit.grpc.Members.MemberOuterClass.SetPointsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_MEMBERS_BY_SEGMENT: serviceImpl.updateMembersBySegment((com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_MEMBERS_BY_SEGMENT: serviceImpl.deleteMembersBySegment((com.passkit.grpc.Members.MemberOuterClass.MemberSegmentRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_MEMBER: serviceImpl.deleteMember((com.passkit.grpc.Members.MemberOuterClass.Member) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COUNT_MEMBERS_DEPRECATED: serviceImpl.countMembersDeprecated((com.passkit.grpc.Members.MemberOuterClass.ListRequestDeprecated) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COUNT_MEMBERS: serviceImpl.countMembers((com.passkit.grpc.Members.MemberOuterClass.ListRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_MESSAGE_HISTORY_FOR_MEMBER: serviceImpl.getMessageHistoryForMember((com.passkit.grpc.PaginationOuterClass.Pagination) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_META_KEYS_FOR_PROGRAM: serviceImpl.getMetaKeysForProgram((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RENEW_MEMBERS_EXPIRY: serviceImpl.renewMembersExpiry((com.passkit.grpc.Members.MemberOuterClass.UpdateExpiryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_MEMBER_EXPIRY: serviceImpl.updateMemberExpiry((com.passkit.grpc.Members.MemberOuterClass.MemberExpiry) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COUNT_MEMBER_EVENTS: serviceImpl.countMemberEvents((com.passkit.grpc.Members.MemberOuterClass.ListRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_MEMBER_EVENTS: serviceImpl.listMemberEvents((com.passkit.grpc.Members.MemberOuterClass.ListRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_MEMBER_EVENT_META_KEYS_FOR_PROGRAM: serviceImpl.getMemberEventMetaKeysForProgram((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_EVENTS_FOR_MEMBER: serviceImpl.listEventsForMember((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_MEMBER_EVENTS: serviceImpl.deleteMemberEvents((com.passkit.grpc.Members.MemberOuterClass.ListRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_EVENTS_FOR_MEMBER: serviceImpl.deleteEventsForMember((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_MEMBER_EVENT: serviceImpl.deleteMemberEvent((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_PROGRAM_ENROLMENT: serviceImpl.getProgramEnrolment((com.passkit.grpc.CommonObjects.Id) 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 MembersBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { MembersBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.passkit.grpc.Members.ARpc.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("Members"); } } private static final class MembersFileDescriptorSupplier extends MembersBaseDescriptorSupplier { MembersFileDescriptorSupplier() {} } private static final class MembersMethodDescriptorSupplier extends MembersBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; MembersMethodDescriptorSupplier(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 (MembersGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new MembersFileDescriptorSupplier()) .addMethod(getCreateProgramMethod()) .addMethod(getUpdateProgramMethod()) .addMethod(getGetProgramMethod()) .addMethod(getCopyProgramMethod()) .addMethod(getDeleteProgramMethod()) .addMethod(getListProgramsDeprecatedMethod()) .addMethod(getListProgramsMethod()) .addMethod(getCreateTierMethod()) .addMethod(getUpdateTierMethod()) .addMethod(getGetTierMethod()) .addMethod(getDeleteTierMethod()) .addMethod(getListTiersDeprecatedMethod()) .addMethod(getListTiersMethod()) .addMethod(getEnrolMemberMethod()) .addMethod(getEnrolMemberPublicMethod()) .addMethod(getGetMemberRecordByIdMethod()) .addMethod(getGetMemberRecordByExternalIdMethod()) .addMethod(getCheckInMemberMethod()) .addMethod(getCheckOutMemberMethod()) .addMethod(getListMembersDeprecatedMethod()) .addMethod(getListMembersMethod()) .addMethod(getUpdateMemberMethod()) .addMethod(getEarnPointsMethod()) .addMethod(getBurnPointsMethod()) .addMethod(getSetPointsMethod()) .addMethod(getUpdateMembersBySegmentMethod()) .addMethod(getDeleteMembersBySegmentMethod()) .addMethod(getDeleteMemberMethod()) .addMethod(getCountMembersDeprecatedMethod()) .addMethod(getCountMembersMethod()) .addMethod(getGetMessageHistoryForMemberMethod()) .addMethod(getGetMetaKeysForProgramMethod()) .addMethod(getRenewMembersExpiryMethod()) .addMethod(getUpdateMemberExpiryMethod()) .addMethod(getCountMemberEventsMethod()) .addMethod(getListMemberEventsMethod()) .addMethod(getGetMemberEventMetaKeysForProgramMethod()) .addMethod(getListEventsForMemberMethod()) .addMethod(getDeleteMemberEventsMethod()) .addMethod(getDeleteEventsForMemberMethod()) .addMethod(getDeleteMemberEventMethod()) .addMethod(getGetProgramEnrolmentMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy