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

com.vendasta.accountgroup.v1.generated.AccountGroupServiceGrpc Maven / Gradle / Ivy

The newest version!
package com.vendasta.accountgroup.v1.generated;

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

/**
 * 
 * Account Group Service to retrieve account group information
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.3.0)", comments = "Source: account_group/v1/api.proto") public final class AccountGroupServiceGrpc { private AccountGroupServiceGrpc() {} public static final String SERVICE_NAME = "accountgroup.v1.AccountGroupService"; // Static method descriptors that strictly reflect the proto. @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor METHOD_GET_MULTI = io.grpc.MethodDescriptor.create( io.grpc.MethodDescriptor.MethodType.UNARY, generateFullMethodName( "accountgroup.v1.AccountGroupService", "GetMulti"), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.GetMultiRequest.getDefaultInstance()), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.GetMultiResponse.getDefaultInstance())); @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor METHOD_LOOKUP = io.grpc.MethodDescriptor.create( io.grpc.MethodDescriptor.MethodType.UNARY, generateFullMethodName( "accountgroup.v1.AccountGroupService", "Lookup"), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.LookupRequest.getDefaultInstance()), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.PagedResponse.getDefaultInstance())); @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor METHOD_CREATE = io.grpc.MethodDescriptor.create( io.grpc.MethodDescriptor.MethodType.UNARY, generateFullMethodName( "accountgroup.v1.AccountGroupService", "Create"), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.CreateAccountGroupRequest.getDefaultInstance()), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.CreateAccountGroupResponse.getDefaultInstance())); @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor METHOD_DELETE = io.grpc.MethodDescriptor.create( io.grpc.MethodDescriptor.MethodType.UNARY, generateFullMethodName( "accountgroup.v1.AccountGroupService", "Delete"), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.DeleteAccountGroupRequest.getDefaultInstance()), io.grpc.protobuf.ProtoUtils.marshaller(com.google.protobuf.Empty.getDefaultInstance())); @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor METHOD_BULK_UPDATE = io.grpc.MethodDescriptor.create( io.grpc.MethodDescriptor.MethodType.UNARY, generateFullMethodName( "accountgroup.v1.AccountGroupService", "BulkUpdate"), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.BulkUpdateRequest.getDefaultInstance()), io.grpc.protobuf.ProtoUtils.marshaller(com.google.protobuf.Empty.getDefaultInstance())); @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor METHOD_LIST = io.grpc.MethodDescriptor.create( io.grpc.MethodDescriptor.MethodType.UNARY, generateFullMethodName( "accountgroup.v1.AccountGroupService", "List"), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.ListRequest.getDefaultInstance()), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.PagedResponse.getDefaultInstance())); @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor METHOD_LIST_POTENTIAL_DUPLICATES = io.grpc.MethodDescriptor.create( io.grpc.MethodDescriptor.MethodType.UNARY, generateFullMethodName( "accountgroup.v1.AccountGroupService", "ListPotentialDuplicates"), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.ListPotentialDuplicatesRequest.getDefaultInstance()), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.ListPotentialDuplicatesResponse.getDefaultInstance())); @io.grpc.ExperimentalApi("https://github.com/grpc/grpc-java/issues/1901") public static final io.grpc.MethodDescriptor METHOD_LIST_ALL_POTENTIAL_DUPLICATES = io.grpc.MethodDescriptor.create( io.grpc.MethodDescriptor.MethodType.UNARY, generateFullMethodName( "accountgroup.v1.AccountGroupService", "ListAllPotentialDuplicates"), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.ListAllPotentialDuplicatesRequest.getDefaultInstance()), io.grpc.protobuf.ProtoUtils.marshaller(com.vendasta.accountgroup.v1.generated.ApiProto.ListAllPotentialDuplicatesResponse.getDefaultInstance())); /** * Creates a new async stub that supports all call types for the service */ public static AccountGroupServiceStub newStub(io.grpc.Channel channel) { return new AccountGroupServiceStub(channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static AccountGroupServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { return new AccountGroupServiceBlockingStub(channel); } /** * Creates a new ListenableFuture-style stub that supports unary and streaming output calls on the service */ public static AccountGroupServiceFutureStub newFutureStub( io.grpc.Channel channel) { return new AccountGroupServiceFutureStub(channel); } /** *
   * Account Group Service to retrieve account group information
   * 
*/ public static abstract class AccountGroupServiceImplBase implements io.grpc.BindableService { /** */ public void getMulti(com.vendasta.accountgroup.v1.generated.ApiProto.GetMultiRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(METHOD_GET_MULTI, responseObserver); } /** */ public void lookup(com.vendasta.accountgroup.v1.generated.ApiProto.LookupRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(METHOD_LOOKUP, responseObserver); } /** */ public void create(com.vendasta.accountgroup.v1.generated.ApiProto.CreateAccountGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(METHOD_CREATE, responseObserver); } /** */ public void delete(com.vendasta.accountgroup.v1.generated.ApiProto.DeleteAccountGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(METHOD_DELETE, responseObserver); } /** */ public void bulkUpdate(com.vendasta.accountgroup.v1.generated.ApiProto.BulkUpdateRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(METHOD_BULK_UPDATE, responseObserver); } /** */ public void list(com.vendasta.accountgroup.v1.generated.ApiProto.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(METHOD_LIST, responseObserver); } /** *
     * ListPotentialDuplicates attempts to find similar account groups to either a) an existing account group, or b) the
     * location data for a new account group. The difference between this and a lookup/search is that a search is
     * optimized to return anything "like" the search term, whereas the results for this process are tailored specifically
     * to answer the question "does the given data/does the given account group likely already exist". For example: a
     * search would return a fuzzy match on company name regardless of geographic location, whereas a list potential
     * duplicate would not.
     * The scope is either an entire partner, or a single market.
     * Returns a list of account group IDs that are most likely a duplicate, along with a score of how strongly the
     * duplicate data matched.
     * 
*/ public void listPotentialDuplicates(com.vendasta.accountgroup.v1.generated.ApiProto.ListPotentialDuplicatesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(METHOD_LIST_POTENTIAL_DUPLICATES, responseObserver); } /** *
     * ListAllPotentialDuplicates attempts to find all of the account groups in a partner or single market that are a
     *  potential duplicate.
     * This endpoint currently cannot be paged since it relies on elasticsearch aggregations.
     * Returns a list of keys (either normalized phone number, or normalized address) along with the account group IDs
     * that all share that same key. For a key to be returned, it needs to have at least 2 account group IDs in it.
     * 
*/ public void listAllPotentialDuplicates(com.vendasta.accountgroup.v1.generated.ApiProto.ListAllPotentialDuplicatesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnimplementedUnaryCall(METHOD_LIST_ALL_POTENTIAL_DUPLICATES, responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( METHOD_GET_MULTI, asyncUnaryCall( new MethodHandlers< com.vendasta.accountgroup.v1.generated.ApiProto.GetMultiRequest, com.vendasta.accountgroup.v1.generated.ApiProto.GetMultiResponse>( this, METHODID_GET_MULTI))) .addMethod( METHOD_LOOKUP, asyncUnaryCall( new MethodHandlers< com.vendasta.accountgroup.v1.generated.ApiProto.LookupRequest, com.vendasta.accountgroup.v1.generated.ApiProto.PagedResponse>( this, METHODID_LOOKUP))) .addMethod( METHOD_CREATE, asyncUnaryCall( new MethodHandlers< com.vendasta.accountgroup.v1.generated.ApiProto.CreateAccountGroupRequest, com.vendasta.accountgroup.v1.generated.ApiProto.CreateAccountGroupResponse>( this, METHODID_CREATE))) .addMethod( METHOD_DELETE, asyncUnaryCall( new MethodHandlers< com.vendasta.accountgroup.v1.generated.ApiProto.DeleteAccountGroupRequest, com.google.protobuf.Empty>( this, METHODID_DELETE))) .addMethod( METHOD_BULK_UPDATE, asyncUnaryCall( new MethodHandlers< com.vendasta.accountgroup.v1.generated.ApiProto.BulkUpdateRequest, com.google.protobuf.Empty>( this, METHODID_BULK_UPDATE))) .addMethod( METHOD_LIST, asyncUnaryCall( new MethodHandlers< com.vendasta.accountgroup.v1.generated.ApiProto.ListRequest, com.vendasta.accountgroup.v1.generated.ApiProto.PagedResponse>( this, METHODID_LIST))) .addMethod( METHOD_LIST_POTENTIAL_DUPLICATES, asyncUnaryCall( new MethodHandlers< com.vendasta.accountgroup.v1.generated.ApiProto.ListPotentialDuplicatesRequest, com.vendasta.accountgroup.v1.generated.ApiProto.ListPotentialDuplicatesResponse>( this, METHODID_LIST_POTENTIAL_DUPLICATES))) .addMethod( METHOD_LIST_ALL_POTENTIAL_DUPLICATES, asyncUnaryCall( new MethodHandlers< com.vendasta.accountgroup.v1.generated.ApiProto.ListAllPotentialDuplicatesRequest, com.vendasta.accountgroup.v1.generated.ApiProto.ListAllPotentialDuplicatesResponse>( this, METHODID_LIST_ALL_POTENTIAL_DUPLICATES))) .build(); } } /** *
   * Account Group Service to retrieve account group information
   * 
*/ public static final class AccountGroupServiceStub extends io.grpc.stub.AbstractStub { private AccountGroupServiceStub(io.grpc.Channel channel) { super(channel); } private AccountGroupServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected AccountGroupServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AccountGroupServiceStub(channel, callOptions); } /** */ public void getMulti(com.vendasta.accountgroup.v1.generated.ApiProto.GetMultiRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_GET_MULTI, getCallOptions()), request, responseObserver); } /** */ public void lookup(com.vendasta.accountgroup.v1.generated.ApiProto.LookupRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_LOOKUP, getCallOptions()), request, responseObserver); } /** */ public void create(com.vendasta.accountgroup.v1.generated.ApiProto.CreateAccountGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_CREATE, getCallOptions()), request, responseObserver); } /** */ public void delete(com.vendasta.accountgroup.v1.generated.ApiProto.DeleteAccountGroupRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_DELETE, getCallOptions()), request, responseObserver); } /** */ public void bulkUpdate(com.vendasta.accountgroup.v1.generated.ApiProto.BulkUpdateRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_BULK_UPDATE, getCallOptions()), request, responseObserver); } /** */ public void list(com.vendasta.accountgroup.v1.generated.ApiProto.ListRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_LIST, getCallOptions()), request, responseObserver); } /** *
     * ListPotentialDuplicates attempts to find similar account groups to either a) an existing account group, or b) the
     * location data for a new account group. The difference between this and a lookup/search is that a search is
     * optimized to return anything "like" the search term, whereas the results for this process are tailored specifically
     * to answer the question "does the given data/does the given account group likely already exist". For example: a
     * search would return a fuzzy match on company name regardless of geographic location, whereas a list potential
     * duplicate would not.
     * The scope is either an entire partner, or a single market.
     * Returns a list of account group IDs that are most likely a duplicate, along with a score of how strongly the
     * duplicate data matched.
     * 
*/ public void listPotentialDuplicates(com.vendasta.accountgroup.v1.generated.ApiProto.ListPotentialDuplicatesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_LIST_POTENTIAL_DUPLICATES, getCallOptions()), request, responseObserver); } /** *
     * ListAllPotentialDuplicates attempts to find all of the account groups in a partner or single market that are a
     *  potential duplicate.
     * This endpoint currently cannot be paged since it relies on elasticsearch aggregations.
     * Returns a list of keys (either normalized phone number, or normalized address) along with the account group IDs
     * that all share that same key. For a key to be returned, it needs to have at least 2 account group IDs in it.
     * 
*/ public void listAllPotentialDuplicates(com.vendasta.accountgroup.v1.generated.ApiProto.ListAllPotentialDuplicatesRequest request, io.grpc.stub.StreamObserver responseObserver) { asyncUnaryCall( getChannel().newCall(METHOD_LIST_ALL_POTENTIAL_DUPLICATES, getCallOptions()), request, responseObserver); } } /** *
   * Account Group Service to retrieve account group information
   * 
*/ public static final class AccountGroupServiceBlockingStub extends io.grpc.stub.AbstractStub { private AccountGroupServiceBlockingStub(io.grpc.Channel channel) { super(channel); } private AccountGroupServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected AccountGroupServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AccountGroupServiceBlockingStub(channel, callOptions); } /** */ public com.vendasta.accountgroup.v1.generated.ApiProto.GetMultiResponse getMulti(com.vendasta.accountgroup.v1.generated.ApiProto.GetMultiRequest request) { return blockingUnaryCall( getChannel(), METHOD_GET_MULTI, getCallOptions(), request); } /** */ public com.vendasta.accountgroup.v1.generated.ApiProto.PagedResponse lookup(com.vendasta.accountgroup.v1.generated.ApiProto.LookupRequest request) { return blockingUnaryCall( getChannel(), METHOD_LOOKUP, getCallOptions(), request); } /** */ public com.vendasta.accountgroup.v1.generated.ApiProto.CreateAccountGroupResponse create(com.vendasta.accountgroup.v1.generated.ApiProto.CreateAccountGroupRequest request) { return blockingUnaryCall( getChannel(), METHOD_CREATE, getCallOptions(), request); } /** */ public com.google.protobuf.Empty delete(com.vendasta.accountgroup.v1.generated.ApiProto.DeleteAccountGroupRequest request) { return blockingUnaryCall( getChannel(), METHOD_DELETE, getCallOptions(), request); } /** */ public com.google.protobuf.Empty bulkUpdate(com.vendasta.accountgroup.v1.generated.ApiProto.BulkUpdateRequest request) { return blockingUnaryCall( getChannel(), METHOD_BULK_UPDATE, getCallOptions(), request); } /** */ public com.vendasta.accountgroup.v1.generated.ApiProto.PagedResponse list(com.vendasta.accountgroup.v1.generated.ApiProto.ListRequest request) { return blockingUnaryCall( getChannel(), METHOD_LIST, getCallOptions(), request); } /** *
     * ListPotentialDuplicates attempts to find similar account groups to either a) an existing account group, or b) the
     * location data for a new account group. The difference between this and a lookup/search is that a search is
     * optimized to return anything "like" the search term, whereas the results for this process are tailored specifically
     * to answer the question "does the given data/does the given account group likely already exist". For example: a
     * search would return a fuzzy match on company name regardless of geographic location, whereas a list potential
     * duplicate would not.
     * The scope is either an entire partner, or a single market.
     * Returns a list of account group IDs that are most likely a duplicate, along with a score of how strongly the
     * duplicate data matched.
     * 
*/ public com.vendasta.accountgroup.v1.generated.ApiProto.ListPotentialDuplicatesResponse listPotentialDuplicates(com.vendasta.accountgroup.v1.generated.ApiProto.ListPotentialDuplicatesRequest request) { return blockingUnaryCall( getChannel(), METHOD_LIST_POTENTIAL_DUPLICATES, getCallOptions(), request); } /** *
     * ListAllPotentialDuplicates attempts to find all of the account groups in a partner or single market that are a
     *  potential duplicate.
     * This endpoint currently cannot be paged since it relies on elasticsearch aggregations.
     * Returns a list of keys (either normalized phone number, or normalized address) along with the account group IDs
     * that all share that same key. For a key to be returned, it needs to have at least 2 account group IDs in it.
     * 
*/ public com.vendasta.accountgroup.v1.generated.ApiProto.ListAllPotentialDuplicatesResponse listAllPotentialDuplicates(com.vendasta.accountgroup.v1.generated.ApiProto.ListAllPotentialDuplicatesRequest request) { return blockingUnaryCall( getChannel(), METHOD_LIST_ALL_POTENTIAL_DUPLICATES, getCallOptions(), request); } } /** *
   * Account Group Service to retrieve account group information
   * 
*/ public static final class AccountGroupServiceFutureStub extends io.grpc.stub.AbstractStub { private AccountGroupServiceFutureStub(io.grpc.Channel channel) { super(channel); } private AccountGroupServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected AccountGroupServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AccountGroupServiceFutureStub(channel, callOptions); } /** */ public com.google.common.util.concurrent.ListenableFuture getMulti( com.vendasta.accountgroup.v1.generated.ApiProto.GetMultiRequest request) { return futureUnaryCall( getChannel().newCall(METHOD_GET_MULTI, getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture lookup( com.vendasta.accountgroup.v1.generated.ApiProto.LookupRequest request) { return futureUnaryCall( getChannel().newCall(METHOD_LOOKUP, getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture create( com.vendasta.accountgroup.v1.generated.ApiProto.CreateAccountGroupRequest request) { return futureUnaryCall( getChannel().newCall(METHOD_CREATE, getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture delete( com.vendasta.accountgroup.v1.generated.ApiProto.DeleteAccountGroupRequest request) { return futureUnaryCall( getChannel().newCall(METHOD_DELETE, getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture bulkUpdate( com.vendasta.accountgroup.v1.generated.ApiProto.BulkUpdateRequest request) { return futureUnaryCall( getChannel().newCall(METHOD_BULK_UPDATE, getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture list( com.vendasta.accountgroup.v1.generated.ApiProto.ListRequest request) { return futureUnaryCall( getChannel().newCall(METHOD_LIST, getCallOptions()), request); } /** *
     * ListPotentialDuplicates attempts to find similar account groups to either a) an existing account group, or b) the
     * location data for a new account group. The difference between this and a lookup/search is that a search is
     * optimized to return anything "like" the search term, whereas the results for this process are tailored specifically
     * to answer the question "does the given data/does the given account group likely already exist". For example: a
     * search would return a fuzzy match on company name regardless of geographic location, whereas a list potential
     * duplicate would not.
     * The scope is either an entire partner, or a single market.
     * Returns a list of account group IDs that are most likely a duplicate, along with a score of how strongly the
     * duplicate data matched.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listPotentialDuplicates( com.vendasta.accountgroup.v1.generated.ApiProto.ListPotentialDuplicatesRequest request) { return futureUnaryCall( getChannel().newCall(METHOD_LIST_POTENTIAL_DUPLICATES, getCallOptions()), request); } /** *
     * ListAllPotentialDuplicates attempts to find all of the account groups in a partner or single market that are a
     *  potential duplicate.
     * This endpoint currently cannot be paged since it relies on elasticsearch aggregations.
     * Returns a list of keys (either normalized phone number, or normalized address) along with the account group IDs
     * that all share that same key. For a key to be returned, it needs to have at least 2 account group IDs in it.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listAllPotentialDuplicates( com.vendasta.accountgroup.v1.generated.ApiProto.ListAllPotentialDuplicatesRequest request) { return futureUnaryCall( getChannel().newCall(METHOD_LIST_ALL_POTENTIAL_DUPLICATES, getCallOptions()), request); } } private static final int METHODID_GET_MULTI = 0; private static final int METHODID_LOOKUP = 1; private static final int METHODID_CREATE = 2; private static final int METHODID_DELETE = 3; private static final int METHODID_BULK_UPDATE = 4; private static final int METHODID_LIST = 5; private static final int METHODID_LIST_POTENTIAL_DUPLICATES = 6; private static final int METHODID_LIST_ALL_POTENTIAL_DUPLICATES = 7; 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 AccountGroupServiceImplBase serviceImpl; private final int methodId; MethodHandlers(AccountGroupServiceImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_GET_MULTI: serviceImpl.getMulti((com.vendasta.accountgroup.v1.generated.ApiProto.GetMultiRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LOOKUP: serviceImpl.lookup((com.vendasta.accountgroup.v1.generated.ApiProto.LookupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE: serviceImpl.create((com.vendasta.accountgroup.v1.generated.ApiProto.CreateAccountGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE: serviceImpl.delete((com.vendasta.accountgroup.v1.generated.ApiProto.DeleteAccountGroupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_BULK_UPDATE: serviceImpl.bulkUpdate((com.vendasta.accountgroup.v1.generated.ApiProto.BulkUpdateRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST: serviceImpl.list((com.vendasta.accountgroup.v1.generated.ApiProto.ListRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_POTENTIAL_DUPLICATES: serviceImpl.listPotentialDuplicates((com.vendasta.accountgroup.v1.generated.ApiProto.ListPotentialDuplicatesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_ALL_POTENTIAL_DUPLICATES: serviceImpl.listAllPotentialDuplicates((com.vendasta.accountgroup.v1.generated.ApiProto.ListAllPotentialDuplicatesRequest) 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 final class AccountGroupServiceDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier { @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.vendasta.accountgroup.v1.generated.ApiProto.getDescriptor(); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (AccountGroupServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new AccountGroupServiceDescriptorSupplier()) .addMethod(METHOD_GET_MULTI) .addMethod(METHOD_LOOKUP) .addMethod(METHOD_CREATE) .addMethod(METHOD_DELETE) .addMethod(METHOD_BULK_UPDATE) .addMethod(METHOD_LIST) .addMethod(METHOD_LIST_POTENTIAL_DUPLICATES) .addMethod(METHOD_LIST_ALL_POTENTIAL_DUPLICATES) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy