@paradeum/burrow
Version:
TypeScript library that calls a Hyperledger Burrow server over GRPC.
41 lines (32 loc) • 1.24 kB
TypeScript
// package: names
// file: names.proto
import * as jspb from "google-protobuf";
import * as github_com_gogo_protobuf_gogoproto_gogo_pb from "./github.com/gogo/protobuf/gogoproto/gogo_pb";
export class Entry extends jspb.Message {
getName(): string;
setName(value: string): void;
getOwner(): Uint8Array | string;
getOwner_asU8(): Uint8Array;
getOwner_asB64(): string;
setOwner(value: Uint8Array | string): void;
getData(): string;
setData(value: string): void;
getExpires(): number;
setExpires(value: number): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Entry.AsObject;
static toObject(includeInstance: boolean, msg: Entry): Entry.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Entry, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Entry;
static deserializeBinaryFromReader(message: Entry, reader: jspb.BinaryReader): Entry;
}
export namespace Entry {
export type AsObject = {
name: string,
owner: Uint8Array | string,
data: string,
expires: number,
}
}