com.passkit.grpc.Members.MembersGrpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk Show documentation
Show all versions of sdk Show documentation
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.
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