Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync proto files with dgo #99

Merged
merged 3 commits into from
Dec 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 51 additions & 0 deletions generated/api_pb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,28 @@ export namespace Request {
}
}

export class Uids extends jspb.Message {
clearUidsList(): void;
getUidsList(): Array<string>;
setUidsList(value: Array<string>): void;
addUids(value: string, index?: number): string;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Uids.AsObject;
static toObject(includeInstance: boolean, msg: Uids): Uids.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Uids, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Uids;
static deserializeBinaryFromReader(message: Uids, reader: jspb.BinaryReader): Uids;
}

export namespace Uids {
export type AsObject = {
uidsList: Array<string>,
}
}

export class Response extends jspb.Message {
getJson(): Uint8Array | string;
getJson_asU8(): Uint8Array;
Expand All @@ -64,6 +86,11 @@ export class Response extends jspb.Message {
getLatency(): Latency | undefined;
setLatency(value?: Latency): void;

hasMetrics(): boolean;
clearMetrics(): void;
getMetrics(): Metrics | undefined;
setMetrics(value?: Metrics): void;

getUidsMap(): jspb.Map<string, string>;
clearUidsMap(): void;
serializeBinary(): Uint8Array;
Expand All @@ -81,6 +108,7 @@ export namespace Response {
json: Uint8Array | string,
txn?: TxnContext.AsObject,
latency?: Latency.AsObject,
metrics?: Metrics.AsObject,
uidsMap: Array<[string, string]>,
}
}
Expand Down Expand Up @@ -302,6 +330,9 @@ export class Latency extends jspb.Message {
getAssignTimestampNs(): number;
setAssignTimestampNs(value: number): void;

getTotalNs(): number;
setTotalNs(value: number): void;

serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Latency.AsObject;
static toObject(includeInstance: boolean, msg: Latency): Latency.AsObject;
Expand All @@ -318,6 +349,26 @@ export namespace Latency {
processingNs: number,
encodingNs: number,
assignTimestampNs: number,
totalNs: number,
}
}

export class Metrics extends jspb.Message {
getNumUidsMap(): jspb.Map<string, number>;
clearNumUidsMap(): void;
serializeBinary(): Uint8Array;
toObject(includeInstance?: boolean): Metrics.AsObject;
static toObject(includeInstance: boolean, msg: Metrics): Metrics.AsObject;
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
static serializeBinaryToWriter(message: Metrics, writer: jspb.BinaryWriter): void;
static deserializeBinary(bytes: Uint8Array): Metrics;
static deserializeBinaryFromReader(message: Metrics, reader: jspb.BinaryReader): Metrics;
}

export namespace Metrics {
export type AsObject = {
numUidsMap: Array<[string, number]>,
}
}

Expand Down
Loading