Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | 6x 6x 6x 6x 6x 6x 1x 1x 1x 3x | // @generated by protoc-gen-es v1.6.0 with parameter "target=ts"
// @generated from file oracle-request.proto (package oracle, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import type {
BinaryReadOptions,
FieldList,
JsonReadOptions,
JsonValue,
PartialMessage,
PlainMessage,
} from '@bufbuild/protobuf';
import { Message, proto3 } from '@bufbuild/protobuf';
/**
* @generated from message oracle.OracleRequest
*/
export class OracleRequest extends Message<OracleRequest> {
/**
* @generated from field: string protocol = 1;
*/
protocol = '';
/**
* @generated from field: string method = 2;
*/
method = '';
/**
* @generated from field: string url = 3;
*/
url = '';
/**
* @generated from field: string path = 4;
*/
path = '';
constructor(data?: PartialMessage<OracleRequest>) {
super();
proto3.util.initPartial(data, this);
}
static readonly runtime: typeof proto3 = proto3;
static readonly typeName = 'oracle.OracleRequest';
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: 'protocol', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
{ no: 2, name: 'method', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
{ no: 3, name: 'url', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
{ no: 4, name: 'path', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
]);
static fromBinary(
bytes: Uint8Array,
options?: Partial<BinaryReadOptions>
): OracleRequest {
return new OracleRequest().fromBinary(bytes, options);
}
static fromJson(
jsonValue: JsonValue,
options?: Partial<JsonReadOptions>
): OracleRequest {
return new OracleRequest().fromJson(jsonValue, options);
}
static fromJsonString(
jsonString: string,
options?: Partial<JsonReadOptions>
): OracleRequest {
return new OracleRequest().fromJsonString(jsonString, options);
}
static equals(
a: OracleRequest | PlainMessage<OracleRequest> | undefined,
b: OracleRequest | PlainMessage<OracleRequest> | undefined
): boolean {
return proto3.util.equals(OracleRequest, a, b);
}
}
|