// package: xrc.ecnova.postaladdress.v1 // file: api/ecnova/postaladdress/v1/postaladdress_proto/postaladdress.proto import * as jspb from "google-protobuf"; import * as google_type_latlng_pb from "../../../../../google/type/latlng_pb"; export class Address extends jspb.Message { getName(): string; setName(value: string): void; getLanguageCode(): string; setLanguageCode(value: string): void; getPostalCode(): string; setPostalCode(value: string): void; getSortingCode(): string; setSortingCode(value: string): void; getRegionCode(): string; setRegionCode(value: string): void; getAdministrativeArea(): string; setAdministrativeArea(value: string): void; getLocality(): string; setLocality(value: string): void; getSublocality(): string; setSublocality(value: string): void; getAddressLine(): string; setAddressLine(value: string): void; hasGeolocation(): boolean; clearGeolocation(): void; getGeolocation(): google_type_latlng_pb.LatLng | undefined; setGeolocation(value?: google_type_latlng_pb.LatLng): void; getDeleted(): boolean; setDeleted(value: boolean): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Address.AsObject; static toObject(includeInstance: boolean, msg: Address): Address.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Address, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Address; static deserializeBinaryFromReader(message: Address, reader: jspb.BinaryReader): Address; } export namespace Address { export type AsObject = { name: string, languageCode: string, postalCode: string, sortingCode: string, regionCode: string, administrativeArea: string, locality: string, sublocality: string, addressLine: string, geolocation?: google_type_latlng_pb.LatLng.AsObject, deleted: boolean, } } export class GetAddressRequest extends jspb.Message { getName(): string; setName(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): GetAddressRequest.AsObject; static toObject(includeInstance: boolean, msg: GetAddressRequest): GetAddressRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: GetAddressRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): GetAddressRequest; static deserializeBinaryFromReader(message: GetAddressRequest, reader: jspb.BinaryReader): GetAddressRequest; } export namespace GetAddressRequest { export type AsObject = { name: string, } } export class ListAddressesRequest extends jspb.Message { getFilter(): string; setFilter(value: string): void; getPageSize(): number; setPageSize(value: number): void; getPageToken(): string; setPageToken(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListAddressesRequest.AsObject; static toObject(includeInstance: boolean, msg: ListAddressesRequest): ListAddressesRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: ListAddressesRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): ListAddressesRequest; static deserializeBinaryFromReader(message: ListAddressesRequest, reader: jspb.BinaryReader): ListAddressesRequest; } export namespace ListAddressesRequest { export type AsObject = { filter: string, pageSize: number, pageToken: string, } } export class ListAddressesResponse extends jspb.Message { clearAddressesList(): void; getAddressesList(): Array
; setAddressesList(value: Array
): void; addAddresses(value?: Address, index?: number): Address; getNextPageToken(): string; setNextPageToken(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListAddressesResponse.AsObject; static toObject(includeInstance: boolean, msg: ListAddressesResponse): ListAddressesResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: ListAddressesResponse, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): ListAddressesResponse; static deserializeBinaryFromReader(message: ListAddressesResponse, reader: jspb.BinaryReader): ListAddressesResponse; } export namespace ListAddressesResponse { export type AsObject = { addressesList: Array, nextPageToken: string, } } export class ListAddressesFilter extends jspb.Message { getPrefix(): string; setPrefix(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListAddressesFilter.AsObject; static toObject(includeInstance: boolean, msg: ListAddressesFilter): ListAddressesFilter.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: ListAddressesFilter, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): ListAddressesFilter; static deserializeBinaryFromReader(message: ListAddressesFilter, reader: jspb.BinaryReader): ListAddressesFilter; } export namespace ListAddressesFilter { export type AsObject = { prefix: string, } } export class ListAddressesPageToken extends jspb.Message { getPrefix(): string; setPrefix(value: string): void; getId(): string; setId(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): ListAddressesPageToken.AsObject; static toObject(includeInstance: boolean, msg: ListAddressesPageToken): ListAddressesPageToken.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: ListAddressesPageToken, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): ListAddressesPageToken; static deserializeBinaryFromReader(message: ListAddressesPageToken, reader: jspb.BinaryReader): ListAddressesPageToken; } export namespace ListAddressesPageToken { export type AsObject = { prefix: string, id: string, } } export class SearchAddressesRequest extends jspb.Message { getQuery(): string; setQuery(value: string): void; getPageSize(): number; setPageSize(value: number): void; getPageToken(): string; setPageToken(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SearchAddressesRequest.AsObject; static toObject(includeInstance: boolean, msg: SearchAddressesRequest): SearchAddressesRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: SearchAddressesRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): SearchAddressesRequest; static deserializeBinaryFromReader(message: SearchAddressesRequest, reader: jspb.BinaryReader): SearchAddressesRequest; } export namespace SearchAddressesRequest { export type AsObject = { query: string, pageSize: number, pageToken: string, } } export class SearchAddressesResponse extends jspb.Message { clearAddressesList(): void; getAddressesList(): Array
; setAddressesList(value: Array
): void; addAddresses(value?: Address, index?: number): Address; getNextPageToken(): string; setNextPageToken(value: string): void; getTotalSize(): number; setTotalSize(value: number): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SearchAddressesResponse.AsObject; static toObject(includeInstance: boolean, msg: SearchAddressesResponse): SearchAddressesResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: SearchAddressesResponse, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): SearchAddressesResponse; static deserializeBinaryFromReader(message: SearchAddressesResponse, reader: jspb.BinaryReader): SearchAddressesResponse; } export namespace SearchAddressesResponse { export type AsObject = { addressesList: Array, nextPageToken: string, totalSize: number, } } export class SearchAddressesQuery extends jspb.Message { getText(): string; setText(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SearchAddressesQuery.AsObject; static toObject(includeInstance: boolean, msg: SearchAddressesQuery): SearchAddressesQuery.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: SearchAddressesQuery, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): SearchAddressesQuery; static deserializeBinaryFromReader(message: SearchAddressesQuery, reader: jspb.BinaryReader): SearchAddressesQuery; } export namespace SearchAddressesQuery { export type AsObject = { text: string, } }