github.com/hyperledger/burrow@v0.34.5-0.20220512172541-77f09336001d/js/proto/google/protobuf/timestamp_pb.d.ts (about) 1 // package: google.protobuf 2 // file: google/protobuf/timestamp.proto 3 4 /* tslint:disable */ 5 /* eslint-disable */ 6 7 import * as jspb from "google-protobuf"; 8 9 export class Timestamp extends jspb.Message { 10 getSeconds(): number; 11 setSeconds(value: number): Timestamp; 12 getNanos(): number; 13 setNanos(value: number): Timestamp; 14 15 serializeBinary(): Uint8Array; 16 toObject(includeInstance?: boolean): Timestamp.AsObject; 17 static toObject(includeInstance: boolean, msg: Timestamp): Timestamp.AsObject; 18 static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>}; 19 static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>}; 20 static serializeBinaryToWriter(message: Timestamp, writer: jspb.BinaryWriter): void; 21 static deserializeBinary(bytes: Uint8Array): Timestamp; 22 static deserializeBinaryFromReader(message: Timestamp, reader: jspb.BinaryReader): Timestamp; 23 } 24 25 export namespace Timestamp { 26 export type AsObject = { 27 seconds: number, 28 nanos: number, 29 } 30 }