import { __extends } from "tslib";
import { FindResponse, RetrieveResponse } from './address-lookup-response-mapper';
var GoogleFindResponse = /** @class */ (function (_super) {
    __extends(GoogleFindResponse, _super);
    function GoogleFindResponse() {
        return _super.call(this) || this;
    }
    GoogleFindResponse.prototype.mapTo = function (mapper) {
        return mapper.mapGoogle(this);
    };
    return GoogleFindResponse;
}(FindResponse));
export { GoogleFindResponse };
var GoogleFindResponseBuilder = /** @class */ (function () {
    function GoogleFindResponseBuilder() {
        this.specimen = new GoogleFindResponse();
    }
    GoogleFindResponseBuilder.prototype.setRequest = function (request) {
        this.specimen.request = request;
        return this;
    };
    GoogleFindResponseBuilder.prototype.setResult = function (result) {
        this.specimen.result = result;
        return this;
    };
    GoogleFindResponseBuilder.prototype.build = function () {
        return this.specimen;
    };
    return GoogleFindResponseBuilder;
}());
export { GoogleFindResponseBuilder };
var GoogleRetrieveResponse = /** @class */ (function (_super) {
    __extends(GoogleRetrieveResponse, _super);
    function GoogleRetrieveResponse() {
        return _super.call(this) || this;
    }
    GoogleRetrieveResponse.prototype.mapTo = function (mapper) {
        return mapper.mapGoogle(this);
    };
    return GoogleRetrieveResponse;
}(RetrieveResponse));
export { GoogleRetrieveResponse };
var GoogleRetrieveResponseBuilder = /** @class */ (function () {
    function GoogleRetrieveResponseBuilder() {
        this.specimen = new GoogleRetrieveResponse();
    }
    GoogleRetrieveResponseBuilder.prototype.setRequest = function (request) {
        this.specimen.request = request;
        return this;
    };
    GoogleRetrieveResponseBuilder.prototype.setResult = function (result) {
        this.specimen.result = result;
        return this;
    };
    GoogleRetrieveResponseBuilder.prototype.build = function () {
        return this.specimen;
    };
    return GoogleRetrieveResponseBuilder;
}());
export { GoogleRetrieveResponseBuilder };
//# sourceMappingURL=address-lookup-google.js.map