// package: xrc.ecnova.baidulbs.v1 // file: api/ecnova/baidulbs/v1/baidulbs_proto/baidulbs.proto import * as jspb from "google-protobuf"; import * as api_ecnova_type_latlng_latlng_proto_latlng_pb from "../../../../../api/ecnova/type/latlng/latlng_proto/latlng_pb"; import * as google_type_postal_address_pb from "../../../../../google/type/postal_address_pb"; export class SuggestLocationsRequest extends jspb.Message { getQuery(): string; setQuery(value: string): void; getRegion(): string; setRegion(value: string): void; getShowLocationsInRegionOnly(): boolean; setShowLocationsInRegionOnly(value: boolean): void; hasGeolocation(): boolean; clearGeolocation(): void; getGeolocation(): api_ecnova_type_latlng_latlng_proto_latlng_pb.LatLng | undefined; setGeolocation(value?: api_ecnova_type_latlng_latlng_proto_latlng_pb.LatLng): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SuggestLocationsRequest.AsObject; static toObject(includeInstance: boolean, msg: SuggestLocationsRequest): SuggestLocationsRequest.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: SuggestLocationsRequest, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): SuggestLocationsRequest; static deserializeBinaryFromReader(message: SuggestLocationsRequest, reader: jspb.BinaryReader): SuggestLocationsRequest; } export namespace SuggestLocationsRequest { export type AsObject = { query: string, region: string, showLocationsInRegionOnly: boolean, geolocation?: api_ecnova_type_latlng_latlng_proto_latlng_pb.LatLng.AsObject, } } export class SuggestLocationsResponse extends jspb.Message { clearLocationsList(): void; getLocationsList(): Array; setLocationsList(value: Array): void; addLocations(value?: Location, index?: number): Location; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): SuggestLocationsResponse.AsObject; static toObject(includeInstance: boolean, msg: SuggestLocationsResponse): SuggestLocationsResponse.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: SuggestLocationsResponse, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): SuggestLocationsResponse; static deserializeBinaryFromReader(message: SuggestLocationsResponse, reader: jspb.BinaryReader): SuggestLocationsResponse; } export namespace SuggestLocationsResponse { export type AsObject = { locationsList: Array, } } export class Location extends jspb.Message { getName(): string; setName(value: string): void; getDisplayName(): string; setDisplayName(value: string): void; hasPostalAddress(): boolean; clearPostalAddress(): void; getPostalAddress(): google_type_postal_address_pb.PostalAddress | undefined; setPostalAddress(value?: google_type_postal_address_pb.PostalAddress): void; hasGeolocation(): boolean; clearGeolocation(): void; getGeolocation(): api_ecnova_type_latlng_latlng_proto_latlng_pb.LatLng | undefined; setGeolocation(value?: api_ecnova_type_latlng_latlng_proto_latlng_pb.LatLng): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): Location.AsObject; static toObject(includeInstance: boolean, msg: Location): Location.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo}; static serializeBinaryToWriter(message: Location, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): Location; static deserializeBinaryFromReader(message: Location, reader: jspb.BinaryReader): Location; } export namespace Location { export type AsObject = { name: string, displayName: string, postalAddress?: google_type_postal_address_pb.PostalAddress.AsObject, geolocation?: api_ecnova_type_latlng_latlng_proto_latlng_pb.LatLng.AsObject, } }