UNPKG

wechaty-grpc

Version:
42 lines (32 loc) 1.26 kB
// package: wechaty.puppet // file: wechaty/puppet/location.proto import * as jspb from "google-protobuf"; export class LocationPayload extends jspb.Message { getAccuracy(): number; setAccuracy(value: number): void; getAddress(): string; setAddress(value: string): void; getLatitude(): number; setLatitude(value: number): void; getLongitude(): number; setLongitude(value: number): void; getName(): string; setName(value: string): void; serializeBinary(): Uint8Array; toObject(includeInstance?: boolean): LocationPayload.AsObject; static toObject(includeInstance: boolean, msg: LocationPayload): LocationPayload.AsObject; static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; static serializeBinaryToWriter(message: LocationPayload, writer: jspb.BinaryWriter): void; static deserializeBinary(bytes: Uint8Array): LocationPayload; static deserializeBinaryFromReader(message: LocationPayload, reader: jspb.BinaryReader): LocationPayload; } export namespace LocationPayload { export type AsObject = { accuracy: number, address: string, latitude: number, longitude: number, name: string, } }