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

com.passkit.grpc.ImagesGrpc 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;

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/core/a_rpc_images.proto")
public final class ImagesGrpc {

  private ImagesGrpc() {}

  public static final String SERVICE_NAME = "io.Images";

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

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

  private static volatile io.grpc.MethodDescriptor getGetProfileImageMethod;

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

  private static volatile io.grpc.MethodDescriptor getCreateImagesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "createImages",
      requestType = com.passkit.grpc.Image.CreateImageInput.class,
      responseType = com.passkit.grpc.Image.ImageIds.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateImagesMethod() {
    io.grpc.MethodDescriptor getCreateImagesMethod;
    if ((getCreateImagesMethod = ImagesGrpc.getCreateImagesMethod) == null) {
      synchronized (ImagesGrpc.class) {
        if ((getCreateImagesMethod = ImagesGrpc.getCreateImagesMethod) == null) {
          ImagesGrpc.getCreateImagesMethod = getCreateImagesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "createImages"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Image.CreateImageInput.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Image.ImageIds.getDefaultInstance()))
              .setSchemaDescriptor(new ImagesMethodDescriptorSupplier("createImages"))
              .build();
        }
      }
    }
    return getCreateImagesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getUpdateImageMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "updateImage",
      requestType = com.passkit.grpc.Image.UpdateImageInput.class,
      responseType = com.passkit.grpc.Image.ImageRecord.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getUpdateImageMethod() {
    io.grpc.MethodDescriptor getUpdateImageMethod;
    if ((getUpdateImageMethod = ImagesGrpc.getUpdateImageMethod) == null) {
      synchronized (ImagesGrpc.class) {
        if ((getUpdateImageMethod = ImagesGrpc.getUpdateImageMethod) == null) {
          ImagesGrpc.getUpdateImageMethod = getUpdateImageMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "updateImage"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Image.UpdateImageInput.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Image.ImageRecord.getDefaultInstance()))
              .setSchemaDescriptor(new ImagesMethodDescriptorSupplier("updateImage"))
              .build();
        }
      }
    }
    return getUpdateImageMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetImageURLMethod;

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

  private static volatile io.grpc.MethodDescriptor getGetLocalizedImageURLMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "getLocalizedImageURL",
      requestType = com.passkit.grpc.Image.LocalizedImageInput.class,
      responseType = com.passkit.grpc.CommonObjects.Url.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetLocalizedImageURLMethod() {
    io.grpc.MethodDescriptor getGetLocalizedImageURLMethod;
    if ((getGetLocalizedImageURLMethod = ImagesGrpc.getGetLocalizedImageURLMethod) == null) {
      synchronized (ImagesGrpc.class) {
        if ((getGetLocalizedImageURLMethod = ImagesGrpc.getGetLocalizedImageURLMethod) == null) {
          ImagesGrpc.getGetLocalizedImageURLMethod = getGetLocalizedImageURLMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getLocalizedImageURL"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Image.LocalizedImageInput.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.CommonObjects.Url.getDefaultInstance()))
              .setSchemaDescriptor(new ImagesMethodDescriptorSupplier("getLocalizedImageURL"))
              .build();
        }
      }
    }
    return getGetLocalizedImageURLMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetProfileImageByIdMethod;

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

  private static volatile io.grpc.MethodDescriptor getGetImageBundleMethod;

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

  private static volatile io.grpc.MethodDescriptor getGetImageDataMethod;

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

  private static volatile io.grpc.MethodDescriptor getDeleteImageMethod;

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

  private static volatile io.grpc.MethodDescriptor getDeleteLocalizedImageMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "deleteLocalizedImage",
      requestType = com.passkit.grpc.Image.LocalizedImageInput.class,
      responseType = com.passkit.grpc.Image.ImageRecord.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteLocalizedImageMethod() {
    io.grpc.MethodDescriptor getDeleteLocalizedImageMethod;
    if ((getDeleteLocalizedImageMethod = ImagesGrpc.getDeleteLocalizedImageMethod) == null) {
      synchronized (ImagesGrpc.class) {
        if ((getDeleteLocalizedImageMethod = ImagesGrpc.getDeleteLocalizedImageMethod) == null) {
          ImagesGrpc.getDeleteLocalizedImageMethod = getDeleteLocalizedImageMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteLocalizedImage"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Image.LocalizedImageInput.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  com.passkit.grpc.Image.ImageRecord.getDefaultInstance()))
              .setSchemaDescriptor(new ImagesMethodDescriptorSupplier("deleteLocalizedImage"))
              .build();
        }
      }
    }
    return getDeleteLocalizedImageMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListImagesForUserDeprecatedMethod;

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

  private static volatile io.grpc.MethodDescriptor getListImagesForUserMethod;

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

  private static volatile io.grpc.MethodDescriptor getListImagesDeprecatedMethod;

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

  private static volatile io.grpc.MethodDescriptor getListImagesMethod;

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

  private static volatile io.grpc.MethodDescriptor getCountImagesDeprecatedMethod;

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

  private static volatile io.grpc.MethodDescriptor getCountImagesMethod;

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

  private static volatile io.grpc.MethodDescriptor getCountImagesForUserDeprecatedMethod;

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

  private static volatile io.grpc.MethodDescriptor getCountImagesForUserMethod;

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

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

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

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

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

    /**
     */
    public void setProfileImage(com.passkit.grpc.Image.ProfileImageInput request,
        io.grpc.stub.StreamObserver responseObserver) {
      asyncUnimplementedUnaryCall(getSetProfileImageMethod(), responseObserver);
    }

    /**
     */
    public void getProfileImage(com.google.protobuf.Empty request,
        io.grpc.stub.StreamObserver responseObserver) {
      asyncUnimplementedUnaryCall(getGetProfileImageMethod(), responseObserver);
    }

    /**
     */
    public void createImages(com.passkit.grpc.Image.CreateImageInput request,
        io.grpc.stub.StreamObserver responseObserver) {
      asyncUnimplementedUnaryCall(getCreateImagesMethod(), responseObserver);
    }

    /**
     */
    public void updateImage(com.passkit.grpc.Image.UpdateImageInput request,
        io.grpc.stub.StreamObserver responseObserver) {
      asyncUnimplementedUnaryCall(getUpdateImageMethod(), responseObserver);
    }

    /**
     */
    public void getImageURL(com.passkit.grpc.CommonObjects.Id request,
        io.grpc.stub.StreamObserver responseObserver) {
      asyncUnimplementedUnaryCall(getGetImageURLMethod(), responseObserver);
    }

    /**
     */
    public void getLocalizedImageURL(com.passkit.grpc.Image.LocalizedImageInput request,
        io.grpc.stub.StreamObserver responseObserver) {
      asyncUnimplementedUnaryCall(getGetLocalizedImageURLMethod(), responseObserver);
    }

    /**
     */
    public void getProfileImageById(com.passkit.grpc.CommonObjects.Id request,
        io.grpc.stub.StreamObserver responseObserver) {
      asyncUnimplementedUnaryCall(getGetProfileImageByIdMethod(), responseObserver);
    }

    /**
     * 
     * returns a zip bundle containing all images for that ID
     * 
*/ public void getImageBundle(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetImageBundleMethod(), responseObserver); } /** */ public void getImageData(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getGetImageDataMethod(), responseObserver); } /** */ public void deleteImage(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteImageMethod(), responseObserver); } /** */ public void deleteLocalizedImage(com.passkit.grpc.Image.LocalizedImageInput request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getDeleteLocalizedImageMethod(), responseObserver); } /** */ public void listImagesForUserDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListImagesForUserDeprecatedMethod(), responseObserver); } /** */ public void listImagesForUser(com.passkit.grpc.Filter.Filters request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListImagesForUserMethod(), responseObserver); } /** */ public void listImagesDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListImagesDeprecatedMethod(), responseObserver); } /** */ public void listImages(com.passkit.grpc.Filter.Filters request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getListImagesMethod(), responseObserver); } /** */ public void countImagesDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCountImagesDeprecatedMethod(), responseObserver); } /** */ public void countImages(com.passkit.grpc.Filter.Filters request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCountImagesMethod(), responseObserver); } /** */ public void countImagesForUserDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCountImagesForUserDeprecatedMethod(), responseObserver); } /** */ public void countImagesForUser(com.passkit.grpc.Filter.Filters request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(getCountImagesForUserMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getSetProfileImageMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Image.ProfileImageInput, com.google.protobuf.Empty>( this, METHODID_SET_PROFILE_IMAGE))) .addMethod( getGetProfileImageMethod(), asyncUnaryCall( new MethodHandlers< com.google.protobuf.Empty, com.passkit.grpc.CommonObjects.Url>( this, METHODID_GET_PROFILE_IMAGE))) .addMethod( getCreateImagesMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Image.CreateImageInput, com.passkit.grpc.Image.ImageIds>( this, METHODID_CREATE_IMAGES))) .addMethod( getUpdateImageMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Image.UpdateImageInput, com.passkit.grpc.Image.ImageRecord>( this, METHODID_UPDATE_IMAGE))) .addMethod( getGetImageURLMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.CommonObjects.Url>( this, METHODID_GET_IMAGE_URL))) .addMethod( getGetLocalizedImageURLMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Image.LocalizedImageInput, com.passkit.grpc.CommonObjects.Url>( this, METHODID_GET_LOCALIZED_IMAGE_URL))) .addMethod( getGetProfileImageByIdMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.CommonObjects.Url>( this, METHODID_GET_PROFILE_IMAGE_BY_ID))) .addMethod( getGetImageBundleMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.Image.ImageBundle>( this, METHODID_GET_IMAGE_BUNDLE))) .addMethod( getGetImageDataMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.passkit.grpc.Image.ImageRecord>( this, METHODID_GET_IMAGE_DATA))) .addMethod( getDeleteImageMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.CommonObjects.Id, com.google.protobuf.Empty>( this, METHODID_DELETE_IMAGE))) .addMethod( getDeleteLocalizedImageMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Image.LocalizedImageInput, com.passkit.grpc.Image.ImageRecord>( this, METHODID_DELETE_LOCALIZED_IMAGE))) .addMethod( getListImagesForUserDeprecatedMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.PaginationOuterClass.Pagination, com.passkit.grpc.Image.ImageRecord>( this, METHODID_LIST_IMAGES_FOR_USER_DEPRECATED))) .addMethod( getListImagesForUserMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.Filter.Filters, com.passkit.grpc.Image.ImageRecord>( this, METHODID_LIST_IMAGES_FOR_USER))) .addMethod( getListImagesDeprecatedMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.PaginationOuterClass.Pagination, com.passkit.grpc.Image.ImageRecord>( this, METHODID_LIST_IMAGES_DEPRECATED))) .addMethod( getListImagesMethod(), asyncServerStreamingCall( new MethodHandlers< com.passkit.grpc.Filter.Filters, com.passkit.grpc.Image.ImageRecord>( this, METHODID_LIST_IMAGES))) .addMethod( getCountImagesDeprecatedMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.PaginationOuterClass.Pagination, com.passkit.grpc.CommonObjects.Count>( this, METHODID_COUNT_IMAGES_DEPRECATED))) .addMethod( getCountImagesMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Filter.Filters, com.passkit.grpc.CommonObjects.Count>( this, METHODID_COUNT_IMAGES))) .addMethod( getCountImagesForUserDeprecatedMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.PaginationOuterClass.Pagination, com.passkit.grpc.CommonObjects.Count>( this, METHODID_COUNT_IMAGES_FOR_USER_DEPRECATED))) .addMethod( getCountImagesForUserMethod(), asyncUnaryCall( new MethodHandlers< com.passkit.grpc.Filter.Filters, com.passkit.grpc.CommonObjects.Count>( this, METHODID_COUNT_IMAGES_FOR_USER))) .build(); } } /** */ public static final class ImagesStub extends io.grpc.stub.AbstractAsyncStub { private ImagesStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected ImagesStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ImagesStub(channel, callOptions); } /** */ public void setProfileImage(com.passkit.grpc.Image.ProfileImageInput request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getSetProfileImageMethod(), getCallOptions()), request, responseObserver); } /** */ public void getProfileImage(com.google.protobuf.Empty request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetProfileImageMethod(), getCallOptions()), request, responseObserver); } /** */ public void createImages(com.passkit.grpc.Image.CreateImageInput request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCreateImagesMethod(), getCallOptions()), request, responseObserver); } /** */ public void updateImage(com.passkit.grpc.Image.UpdateImageInput request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getUpdateImageMethod(), getCallOptions()), request, responseObserver); } /** */ public void getImageURL(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetImageURLMethod(), getCallOptions()), request, responseObserver); } /** */ public void getLocalizedImageURL(com.passkit.grpc.Image.LocalizedImageInput request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetLocalizedImageURLMethod(), getCallOptions()), request, responseObserver); } /** */ public void getProfileImageById(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetProfileImageByIdMethod(), getCallOptions()), request, responseObserver); } /** *
     * returns a zip bundle containing all images for that ID
     * 
*/ public void getImageBundle(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetImageBundleMethod(), getCallOptions()), request, responseObserver); } /** */ public void getImageData(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getGetImageDataMethod(), getCallOptions()), request, responseObserver); } /** */ public void deleteImage(com.passkit.grpc.CommonObjects.Id request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteImageMethod(), getCallOptions()), request, responseObserver); } /** */ public void deleteLocalizedImage(com.passkit.grpc.Image.LocalizedImageInput request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getDeleteLocalizedImageMethod(), getCallOptions()), request, responseObserver); } /** */ public void listImagesForUserDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListImagesForUserDeprecatedMethod(), getCallOptions()), request, responseObserver); } /** */ public void listImagesForUser(com.passkit.grpc.Filter.Filters request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListImagesForUserMethod(), getCallOptions()), request, responseObserver); } /** */ public void listImagesDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListImagesDeprecatedMethod(), getCallOptions()), request, responseObserver); } /** */ public void listImages(com.passkit.grpc.Filter.Filters request, io.grpc.stub.StreamObserver responseObserver) { asyncServerStreamingCall( getChannel().newCall(getListImagesMethod(), getCallOptions()), request, responseObserver); } /** */ public void countImagesDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCountImagesDeprecatedMethod(), getCallOptions()), request, responseObserver); } /** */ public void countImages(com.passkit.grpc.Filter.Filters request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCountImagesMethod(), getCallOptions()), request, responseObserver); } /** */ public void countImagesForUserDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCountImagesForUserDeprecatedMethod(), getCallOptions()), request, responseObserver); } /** */ public void countImagesForUser(com.passkit.grpc.Filter.Filters request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(getCountImagesForUserMethod(), getCallOptions()), request, responseObserver); } } /** */ public static final class ImagesBlockingStub extends io.grpc.stub.AbstractBlockingStub { private ImagesBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected ImagesBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ImagesBlockingStub(channel, callOptions); } /** */ public com.google.protobuf.Empty setProfileImage(com.passkit.grpc.Image.ProfileImageInput request) { return blockingUnaryCall( getChannel(), getSetProfileImageMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Url getProfileImage(com.google.protobuf.Empty request) { return blockingUnaryCall( getChannel(), getGetProfileImageMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.Image.ImageIds createImages(com.passkit.grpc.Image.CreateImageInput request) { return blockingUnaryCall( getChannel(), getCreateImagesMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.Image.ImageRecord updateImage(com.passkit.grpc.Image.UpdateImageInput request) { return blockingUnaryCall( getChannel(), getUpdateImageMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Url getImageURL(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getGetImageURLMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Url getLocalizedImageURL(com.passkit.grpc.Image.LocalizedImageInput request) { return blockingUnaryCall( getChannel(), getGetLocalizedImageURLMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Url getProfileImageById(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getGetProfileImageByIdMethod(), getCallOptions(), request); } /** *
     * returns a zip bundle containing all images for that ID
     * 
*/ public com.passkit.grpc.Image.ImageBundle getImageBundle(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getGetImageBundleMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.Image.ImageRecord getImageData(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getGetImageDataMethod(), getCallOptions(), request); } /** */ public com.google.protobuf.Empty deleteImage(com.passkit.grpc.CommonObjects.Id request) { return blockingUnaryCall( getChannel(), getDeleteImageMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.Image.ImageRecord deleteLocalizedImage(com.passkit.grpc.Image.LocalizedImageInput request) { return blockingUnaryCall( getChannel(), getDeleteLocalizedImageMethod(), getCallOptions(), request); } /** */ public java.util.Iterator listImagesForUserDeprecated( com.passkit.grpc.PaginationOuterClass.Pagination request) { return blockingServerStreamingCall( getChannel(), getListImagesForUserDeprecatedMethod(), getCallOptions(), request); } /** */ public java.util.Iterator listImagesForUser( com.passkit.grpc.Filter.Filters request) { return blockingServerStreamingCall( getChannel(), getListImagesForUserMethod(), getCallOptions(), request); } /** */ public java.util.Iterator listImagesDeprecated( com.passkit.grpc.PaginationOuterClass.Pagination request) { return blockingServerStreamingCall( getChannel(), getListImagesDeprecatedMethod(), getCallOptions(), request); } /** */ public java.util.Iterator listImages( com.passkit.grpc.Filter.Filters request) { return blockingServerStreamingCall( getChannel(), getListImagesMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Count countImagesDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request) { return blockingUnaryCall( getChannel(), getCountImagesDeprecatedMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Count countImages(com.passkit.grpc.Filter.Filters request) { return blockingUnaryCall( getChannel(), getCountImagesMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Count countImagesForUserDeprecated(com.passkit.grpc.PaginationOuterClass.Pagination request) { return blockingUnaryCall( getChannel(), getCountImagesForUserDeprecatedMethod(), getCallOptions(), request); } /** */ public com.passkit.grpc.CommonObjects.Count countImagesForUser(com.passkit.grpc.Filter.Filters request) { return blockingUnaryCall( getChannel(), getCountImagesForUserMethod(), getCallOptions(), request); } } /** */ public static final class ImagesFutureStub extends io.grpc.stub.AbstractFutureStub { private ImagesFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected ImagesFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ImagesFutureStub(channel, callOptions); } /** */ public com.google.common.util.concurrent.ListenableFuture setProfileImage( com.passkit.grpc.Image.ProfileImageInput request) { return futureUnaryCall( getChannel().newCall(getSetProfileImageMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getProfileImage( com.google.protobuf.Empty request) { return futureUnaryCall( getChannel().newCall(getGetProfileImageMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture createImages( com.passkit.grpc.Image.CreateImageInput request) { return futureUnaryCall( getChannel().newCall(getCreateImagesMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture updateImage( com.passkit.grpc.Image.UpdateImageInput request) { return futureUnaryCall( getChannel().newCall(getUpdateImageMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getImageURL( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getGetImageURLMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getLocalizedImageURL( com.passkit.grpc.Image.LocalizedImageInput request) { return futureUnaryCall( getChannel().newCall(getGetLocalizedImageURLMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getProfileImageById( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getGetProfileImageByIdMethod(), getCallOptions()), request); } /** *
     * returns a zip bundle containing all images for that ID
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getImageBundle( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getGetImageBundleMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getImageData( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getGetImageDataMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture deleteImage( com.passkit.grpc.CommonObjects.Id request) { return futureUnaryCall( getChannel().newCall(getDeleteImageMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture deleteLocalizedImage( com.passkit.grpc.Image.LocalizedImageInput request) { return futureUnaryCall( getChannel().newCall(getDeleteLocalizedImageMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture countImagesDeprecated( com.passkit.grpc.PaginationOuterClass.Pagination request) { return futureUnaryCall( getChannel().newCall(getCountImagesDeprecatedMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture countImages( com.passkit.grpc.Filter.Filters request) { return futureUnaryCall( getChannel().newCall(getCountImagesMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture countImagesForUserDeprecated( com.passkit.grpc.PaginationOuterClass.Pagination request) { return futureUnaryCall( getChannel().newCall(getCountImagesForUserDeprecatedMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture countImagesForUser( com.passkit.grpc.Filter.Filters request) { return futureUnaryCall( getChannel().newCall(getCountImagesForUserMethod(), getCallOptions()), request); } } private static final int METHODID_SET_PROFILE_IMAGE = 0; private static final int METHODID_GET_PROFILE_IMAGE = 1; private static final int METHODID_CREATE_IMAGES = 2; private static final int METHODID_UPDATE_IMAGE = 3; private static final int METHODID_GET_IMAGE_URL = 4; private static final int METHODID_GET_LOCALIZED_IMAGE_URL = 5; private static final int METHODID_GET_PROFILE_IMAGE_BY_ID = 6; private static final int METHODID_GET_IMAGE_BUNDLE = 7; private static final int METHODID_GET_IMAGE_DATA = 8; private static final int METHODID_DELETE_IMAGE = 9; private static final int METHODID_DELETE_LOCALIZED_IMAGE = 10; private static final int METHODID_LIST_IMAGES_FOR_USER_DEPRECATED = 11; private static final int METHODID_LIST_IMAGES_FOR_USER = 12; private static final int METHODID_LIST_IMAGES_DEPRECATED = 13; private static final int METHODID_LIST_IMAGES = 14; private static final int METHODID_COUNT_IMAGES_DEPRECATED = 15; private static final int METHODID_COUNT_IMAGES = 16; private static final int METHODID_COUNT_IMAGES_FOR_USER_DEPRECATED = 17; private static final int METHODID_COUNT_IMAGES_FOR_USER = 18; 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 ImagesImplBase serviceImpl; private final int methodId; MethodHandlers(ImagesImplBase 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_SET_PROFILE_IMAGE: serviceImpl.setProfileImage((com.passkit.grpc.Image.ProfileImageInput) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_PROFILE_IMAGE: serviceImpl.getProfileImage((com.google.protobuf.Empty) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_IMAGES: serviceImpl.createImages((com.passkit.grpc.Image.CreateImageInput) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_IMAGE: serviceImpl.updateImage((com.passkit.grpc.Image.UpdateImageInput) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IMAGE_URL: serviceImpl.getImageURL((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_LOCALIZED_IMAGE_URL: serviceImpl.getLocalizedImageURL((com.passkit.grpc.Image.LocalizedImageInput) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_PROFILE_IMAGE_BY_ID: serviceImpl.getProfileImageById((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IMAGE_BUNDLE: serviceImpl.getImageBundle((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IMAGE_DATA: serviceImpl.getImageData((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_IMAGE: serviceImpl.deleteImage((com.passkit.grpc.CommonObjects.Id) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_LOCALIZED_IMAGE: serviceImpl.deleteLocalizedImage((com.passkit.grpc.Image.LocalizedImageInput) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_IMAGES_FOR_USER_DEPRECATED: serviceImpl.listImagesForUserDeprecated((com.passkit.grpc.PaginationOuterClass.Pagination) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_IMAGES_FOR_USER: serviceImpl.listImagesForUser((com.passkit.grpc.Filter.Filters) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_IMAGES_DEPRECATED: serviceImpl.listImagesDeprecated((com.passkit.grpc.PaginationOuterClass.Pagination) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_IMAGES: serviceImpl.listImages((com.passkit.grpc.Filter.Filters) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COUNT_IMAGES_DEPRECATED: serviceImpl.countImagesDeprecated((com.passkit.grpc.PaginationOuterClass.Pagination) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COUNT_IMAGES: serviceImpl.countImages((com.passkit.grpc.Filter.Filters) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COUNT_IMAGES_FOR_USER_DEPRECATED: serviceImpl.countImagesForUserDeprecated((com.passkit.grpc.PaginationOuterClass.Pagination) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COUNT_IMAGES_FOR_USER: serviceImpl.countImagesForUser((com.passkit.grpc.Filter.Filters) 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 ImagesBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { ImagesBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.passkit.grpc.ARpcImages.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("Images"); } } private static final class ImagesFileDescriptorSupplier extends ImagesBaseDescriptorSupplier { ImagesFileDescriptorSupplier() {} } private static final class ImagesMethodDescriptorSupplier extends ImagesBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; ImagesMethodDescriptorSupplier(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 (ImagesGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new ImagesFileDescriptorSupplier()) .addMethod(getSetProfileImageMethod()) .addMethod(getGetProfileImageMethod()) .addMethod(getCreateImagesMethod()) .addMethod(getUpdateImageMethod()) .addMethod(getGetImageURLMethod()) .addMethod(getGetLocalizedImageURLMethod()) .addMethod(getGetProfileImageByIdMethod()) .addMethod(getGetImageBundleMethod()) .addMethod(getGetImageDataMethod()) .addMethod(getDeleteImageMethod()) .addMethod(getDeleteLocalizedImageMethod()) .addMethod(getListImagesForUserDeprecatedMethod()) .addMethod(getListImagesForUserMethod()) .addMethod(getListImagesDeprecatedMethod()) .addMethod(getListImagesMethod()) .addMethod(getCountImagesDeprecatedMethod()) .addMethod(getCountImagesMethod()) .addMethod(getCountImagesForUserDeprecatedMethod()) .addMethod(getCountImagesForUserMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy