
com.vendasta.accountgroup.v1.internal.AccountValidationServiceGRPCClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of accountgroup.v1 Show documentation
Show all versions of accountgroup.v1 Show documentation
Java SDK for service account-group
The newest version!
/**
Code generated by sdkgen
DO NOT EDIT!
*/
package com.vendasta.accountgroup.v1.internal;
import com.google.protobuf.*;
import com.vendasta.accountgroup.v1.generated.AccountValidationProto;
import com.vendasta.accountgroup.v1.generated.AccountValidationServiceGrpc;
import com.vendasta.vax.GRPCClient;
import com.vendasta.vax.RequestOptions;
import com.vendasta.vax.SDKException;
import io.grpc.ManagedChannel;
import java.io.InputStream;
public class AccountValidationServiceGRPCClient extends GRPCClient implements AccountValidationServiceClientInterface {
public AccountValidationServiceGRPCClient(String host, String scope, boolean secure) {
super(host, scope, secure);
}
public AccountValidationServiceGRPCClient(String host, String scope, boolean secure, float defaultTimeout) {
super(host, scope, secure, defaultTimeout);
}
public AccountValidationServiceGRPCClient(String host, String scope, InputStream serviceAccount, boolean secure, float defaultTimeout) {
super(host, scope, serviceAccount, secure, defaultTimeout);
}
@Override
protected AccountValidationServiceGrpc.AccountValidationServiceBlockingStub newBlockingStub(ManagedChannel channel) {
return AccountValidationServiceGrpc.newBlockingStub(channel);
}
public ValidateAddressMultiResponse ValidateAddressMulti(ValidateAddressMultiRequest req, RequestOptions.Builder options) throws SDKException {
AccountValidationProto.ValidateAddressMultiResponse response = this.doRequest("validateAddressMulti", req.toProto(), options);
return ValidateAddressMultiResponse.fromProto(response);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy