| 1 | // @generated by protoc-gen-es v1.10.0 with parameter "target=ts,import_extension=none" |
| 2 | // @generated from file svc/query/v1/service.proto (package svc.query.v1, syntax proto3) |
| 3 | /* eslint-disable */ |
| 4 | // @ts-nocheck |
| 5 | |
| 6 | import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; |
| 7 | import { Duration, Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; |
| 8 | import { LogQuery } from "../../../types/v1/logquery_pb"; |
| 9 | import { LogEventGroup } from "../../../types/v1/logevent_pb"; |
| 10 | import { DataStreamType } from "../../../types/v1/types_pb"; |
| 11 | import { Cursor } from "../../../types/v1/cursor_pb"; |
| 12 | import { Data } from "../../../types/v1/query_pb"; |
| 13 | import { Symbol } from "../../../types/v1/symbol_pb"; |
| 14 | |
| 15 | /** |
| 16 | * @generated from message svc.query.v1.SummarizeEventsRequest |
| 17 | */ |
| 18 | export class SummarizeEventsRequest extends Message<SummarizeEventsRequest> { |
| 19 | /** |
| 20 | * @generated from field: int64 environment_id = 1; |
| 21 | */ |
| 22 | environmentId = protoInt64.zero; |
| 23 | |
| 24 | /** |
| 25 | * @generated from field: optional google.protobuf.Timestamp from = 2; |
| 26 | */ |
| 27 | from?: Timestamp; |
| 28 | |
| 29 | /** |
| 30 | * @generated from field: optional google.protobuf.Timestamp to = 3; |
| 31 | */ |
| 32 | to?: Timestamp; |
| 33 | |
| 34 | /** |
| 35 | * @generated from field: uint32 bucket_count = 4; |
| 36 | */ |
| 37 | bucketCount = 0; |
| 38 | |
| 39 | constructor(data?: PartialMessage<SummarizeEventsRequest>) { |
| 40 | super(); |
| 41 | proto3.util.initPartial(data, this); |
| 42 | } |
| 43 | |
| 44 | static readonly runtime: typeof proto3 = proto3; |
| 45 | static readonly typeName = "svc.query.v1.SummarizeEventsRequest"; |
| 46 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 47 | { no: 1, name: "environment_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, |
| 48 | { no: 2, name: "from", kind: "message", T: Timestamp, opt: true }, |
| 49 | { no: 3, name: "to", kind: "message", T: Timestamp, opt: true }, |
| 50 | { no: 4, name: "bucket_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ }, |
| 51 | ]); |
| 52 | |
| 53 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SummarizeEventsRequest { |
| 54 | return new SummarizeEventsRequest().fromBinary(bytes, options); |
| 55 | } |
| 56 | |
| 57 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SummarizeEventsRequest { |
| 58 | return new SummarizeEventsRequest().fromJson(jsonValue, options); |
| 59 | } |
| 60 | |
| 61 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SummarizeEventsRequest { |
| 62 | return new SummarizeEventsRequest().fromJsonString(jsonString, options); |
| 63 | } |
| 64 | |
| 65 | static equals(a: SummarizeEventsRequest | PlainMessage<SummarizeEventsRequest> | undefined, b: SummarizeEventsRequest | PlainMessage<SummarizeEventsRequest> | undefined): boolean { |
| 66 | return proto3.util.equals(SummarizeEventsRequest, a, b); |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | /** |
| 71 | * @generated from message svc.query.v1.SummarizeEventsResponse |
| 72 | */ |
| 73 | export class SummarizeEventsResponse extends Message<SummarizeEventsResponse> { |
| 74 | /** |
| 75 | * @generated from field: google.protobuf.Duration bucket_width = 1; |
| 76 | */ |
| 77 | bucketWidth?: Duration; |
| 78 | |
| 79 | /** |
| 80 | * @generated from field: repeated svc.query.v1.SummarizeEventsResponse.Bucket buckets = 2; |
| 81 | */ |
| 82 | buckets: SummarizeEventsResponse_Bucket[] = []; |
| 83 | |
| 84 | constructor(data?: PartialMessage<SummarizeEventsResponse>) { |
| 85 | super(); |
| 86 | proto3.util.initPartial(data, this); |
| 87 | } |
| 88 | |
| 89 | static readonly runtime: typeof proto3 = proto3; |
| 90 | static readonly typeName = "svc.query.v1.SummarizeEventsResponse"; |
| 91 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 92 | { no: 1, name: "bucket_width", kind: "message", T: Duration }, |
| 93 | { no: 2, name: "buckets", kind: "message", T: SummarizeEventsResponse_Bucket, repeated: true }, |
| 94 | ]); |
| 95 | |
| 96 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SummarizeEventsResponse { |
| 97 | return new SummarizeEventsResponse().fromBinary(bytes, options); |
| 98 | } |
| 99 | |
| 100 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SummarizeEventsResponse { |
| 101 | return new SummarizeEventsResponse().fromJson(jsonValue, options); |
| 102 | } |
| 103 | |
| 104 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SummarizeEventsResponse { |
| 105 | return new SummarizeEventsResponse().fromJsonString(jsonString, options); |
| 106 | } |
| 107 | |
| 108 | static equals(a: SummarizeEventsResponse | PlainMessage<SummarizeEventsResponse> | undefined, b: SummarizeEventsResponse | PlainMessage<SummarizeEventsResponse> | undefined): boolean { |
| 109 | return proto3.util.equals(SummarizeEventsResponse, a, b); |
| 110 | } |
| 111 | } |
| 112 | |
| 113 | /** |
| 114 | * @generated from message svc.query.v1.SummarizeEventsResponse.Bucket |
| 115 | */ |
| 116 | export class SummarizeEventsResponse_Bucket extends Message<SummarizeEventsResponse_Bucket> { |
| 117 | /** |
| 118 | * @generated from field: google.protobuf.Timestamp ts = 1; |
| 119 | */ |
| 120 | ts?: Timestamp; |
| 121 | |
| 122 | /** |
| 123 | * @generated from field: uint64 event_count = 2; |
| 124 | */ |
| 125 | eventCount = protoInt64.zero; |
| 126 | |
| 127 | constructor(data?: PartialMessage<SummarizeEventsResponse_Bucket>) { |
| 128 | super(); |
| 129 | proto3.util.initPartial(data, this); |
| 130 | } |
| 131 | |
| 132 | static readonly runtime: typeof proto3 = proto3; |
| 133 | static readonly typeName = "svc.query.v1.SummarizeEventsResponse.Bucket"; |
| 134 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 135 | { no: 1, name: "ts", kind: "message", T: Timestamp }, |
| 136 | { no: 2, name: "event_count", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, |
| 137 | ]); |
| 138 | |
| 139 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SummarizeEventsResponse_Bucket { |
| 140 | return new SummarizeEventsResponse_Bucket().fromBinary(bytes, options); |
| 141 | } |
| 142 | |
| 143 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SummarizeEventsResponse_Bucket { |
| 144 | return new SummarizeEventsResponse_Bucket().fromJson(jsonValue, options); |
| 145 | } |
| 146 | |
| 147 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SummarizeEventsResponse_Bucket { |
| 148 | return new SummarizeEventsResponse_Bucket().fromJsonString(jsonString, options); |
| 149 | } |
| 150 | |
| 151 | static equals(a: SummarizeEventsResponse_Bucket | PlainMessage<SummarizeEventsResponse_Bucket> | undefined, b: SummarizeEventsResponse_Bucket | PlainMessage<SummarizeEventsResponse_Bucket> | undefined): boolean { |
| 152 | return proto3.util.equals(SummarizeEventsResponse_Bucket, a, b); |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | /** |
| 157 | * @generated from message svc.query.v1.WatchQueryRequest |
| 158 | */ |
| 159 | export class WatchQueryRequest extends Message<WatchQueryRequest> { |
| 160 | /** |
| 161 | * @generated from field: int64 environment_id = 1; |
| 162 | */ |
| 163 | environmentId = protoInt64.zero; |
| 164 | |
| 165 | /** |
| 166 | * @generated from field: types.v1.LogQuery query = 2; |
| 167 | */ |
| 168 | query?: LogQuery; |
| 169 | |
| 170 | /** |
| 171 | * @generated from field: svc.query.v1.WatchQueryRequest.UnstablePlaintext plaintext_query = 201; |
| 172 | */ |
| 173 | plaintextQuery?: WatchQueryRequest_UnstablePlaintext; |
| 174 | |
| 175 | constructor(data?: PartialMessage<WatchQueryRequest>) { |
| 176 | super(); |
| 177 | proto3.util.initPartial(data, this); |
| 178 | } |
| 179 | |
| 180 | static readonly runtime: typeof proto3 = proto3; |
| 181 | static readonly typeName = "svc.query.v1.WatchQueryRequest"; |
| 182 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 183 | { no: 1, name: "environment_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, |
| 184 | { no: 2, name: "query", kind: "message", T: LogQuery }, |
| 185 | { no: 201, name: "plaintext_query", kind: "message", T: WatchQueryRequest_UnstablePlaintext }, |
| 186 | ]); |
| 187 | |
| 188 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WatchQueryRequest { |
| 189 | return new WatchQueryRequest().fromBinary(bytes, options); |
| 190 | } |
| 191 | |
| 192 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WatchQueryRequest { |
| 193 | return new WatchQueryRequest().fromJson(jsonValue, options); |
| 194 | } |
| 195 | |
| 196 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WatchQueryRequest { |
| 197 | return new WatchQueryRequest().fromJsonString(jsonString, options); |
| 198 | } |
| 199 | |
| 200 | static equals(a: WatchQueryRequest | PlainMessage<WatchQueryRequest> | undefined, b: WatchQueryRequest | PlainMessage<WatchQueryRequest> | undefined): boolean { |
| 201 | return proto3.util.equals(WatchQueryRequest, a, b); |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * @generated from message svc.query.v1.WatchQueryRequest.UnstablePlaintext |
| 207 | */ |
| 208 | export class WatchQueryRequest_UnstablePlaintext extends Message<WatchQueryRequest_UnstablePlaintext> { |
| 209 | /** |
| 210 | * @generated from field: google.protobuf.Timestamp from = 1; |
| 211 | */ |
| 212 | from?: Timestamp; |
| 213 | |
| 214 | /** |
| 215 | * @generated from field: google.protobuf.Timestamp to = 2; |
| 216 | */ |
| 217 | to?: Timestamp; |
| 218 | |
| 219 | /** |
| 220 | * @generated from field: string query = 3; |
| 221 | */ |
| 222 | query = ""; |
| 223 | |
| 224 | constructor(data?: PartialMessage<WatchQueryRequest_UnstablePlaintext>) { |
| 225 | super(); |
| 226 | proto3.util.initPartial(data, this); |
| 227 | } |
| 228 | |
| 229 | static readonly runtime: typeof proto3 = proto3; |
| 230 | static readonly typeName = "svc.query.v1.WatchQueryRequest.UnstablePlaintext"; |
| 231 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 232 | { no: 1, name: "from", kind: "message", T: Timestamp }, |
| 233 | { no: 2, name: "to", kind: "message", T: Timestamp }, |
| 234 | { no: 3, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 235 | ]); |
| 236 | |
| 237 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WatchQueryRequest_UnstablePlaintext { |
| 238 | return new WatchQueryRequest_UnstablePlaintext().fromBinary(bytes, options); |
| 239 | } |
| 240 | |
| 241 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WatchQueryRequest_UnstablePlaintext { |
| 242 | return new WatchQueryRequest_UnstablePlaintext().fromJson(jsonValue, options); |
| 243 | } |
| 244 | |
| 245 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WatchQueryRequest_UnstablePlaintext { |
| 246 | return new WatchQueryRequest_UnstablePlaintext().fromJsonString(jsonString, options); |
| 247 | } |
| 248 | |
| 249 | static equals(a: WatchQueryRequest_UnstablePlaintext | PlainMessage<WatchQueryRequest_UnstablePlaintext> | undefined, b: WatchQueryRequest_UnstablePlaintext | PlainMessage<WatchQueryRequest_UnstablePlaintext> | undefined): boolean { |
| 250 | return proto3.util.equals(WatchQueryRequest_UnstablePlaintext, a, b); |
| 251 | } |
| 252 | } |
| 253 | |
| 254 | /** |
| 255 | * @generated from message svc.query.v1.WatchQueryResponse |
| 256 | */ |
| 257 | export class WatchQueryResponse extends Message<WatchQueryResponse> { |
| 258 | /** |
| 259 | * @generated from field: repeated types.v1.LogEventGroup events = 1; |
| 260 | */ |
| 261 | events: LogEventGroup[] = []; |
| 262 | |
| 263 | constructor(data?: PartialMessage<WatchQueryResponse>) { |
| 264 | super(); |
| 265 | proto3.util.initPartial(data, this); |
| 266 | } |
| 267 | |
| 268 | static readonly runtime: typeof proto3 = proto3; |
| 269 | static readonly typeName = "svc.query.v1.WatchQueryResponse"; |
| 270 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 271 | { no: 1, name: "events", kind: "message", T: LogEventGroup, repeated: true }, |
| 272 | ]); |
| 273 | |
| 274 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WatchQueryResponse { |
| 275 | return new WatchQueryResponse().fromBinary(bytes, options); |
| 276 | } |
| 277 | |
| 278 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WatchQueryResponse { |
| 279 | return new WatchQueryResponse().fromJson(jsonValue, options); |
| 280 | } |
| 281 | |
| 282 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WatchQueryResponse { |
| 283 | return new WatchQueryResponse().fromJsonString(jsonString, options); |
| 284 | } |
| 285 | |
| 286 | static equals(a: WatchQueryResponse | PlainMessage<WatchQueryResponse> | undefined, b: WatchQueryResponse | PlainMessage<WatchQueryResponse> | undefined): boolean { |
| 287 | return proto3.util.equals(WatchQueryResponse, a, b); |
| 288 | } |
| 289 | } |
| 290 | |
| 291 | /** |
| 292 | * @generated from message svc.query.v1.ParseRequest |
| 293 | */ |
| 294 | export class ParseRequest extends Message<ParseRequest> { |
| 295 | /** |
| 296 | * @generated from field: string query = 1; |
| 297 | */ |
| 298 | query = ""; |
| 299 | |
| 300 | constructor(data?: PartialMessage<ParseRequest>) { |
| 301 | super(); |
| 302 | proto3.util.initPartial(data, this); |
| 303 | } |
| 304 | |
| 305 | static readonly runtime: typeof proto3 = proto3; |
| 306 | static readonly typeName = "svc.query.v1.ParseRequest"; |
| 307 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 308 | { no: 1, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */ }, |
| 309 | ]); |
| 310 | |
| 311 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParseRequest { |
| 312 | return new ParseRequest().fromBinary(bytes, options); |
| 313 | } |
| 314 | |
| 315 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParseRequest { |
| 316 | return new ParseRequest().fromJson(jsonValue, options); |
| 317 | } |
| 318 | |
| 319 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParseRequest { |
| 320 | return new ParseRequest().fromJsonString(jsonString, options); |
| 321 | } |
| 322 | |
| 323 | static equals(a: ParseRequest | PlainMessage<ParseRequest> | undefined, b: ParseRequest | PlainMessage<ParseRequest> | undefined): boolean { |
| 324 | return proto3.util.equals(ParseRequest, a, b); |
| 325 | } |
| 326 | } |
| 327 | |
| 328 | /** |
| 329 | * @generated from message svc.query.v1.ParseResponse |
| 330 | */ |
| 331 | export class ParseResponse extends Message<ParseResponse> { |
| 332 | /** |
| 333 | * @generated from field: types.v1.LogQuery query = 1; |
| 334 | */ |
| 335 | query?: LogQuery; |
| 336 | |
| 337 | /** |
| 338 | * @generated from field: types.v1.DataStreamType data_type = 2; |
| 339 | */ |
| 340 | dataType?: DataStreamType; |
| 341 | |
| 342 | constructor(data?: PartialMessage<ParseResponse>) { |
| 343 | super(); |
| 344 | proto3.util.initPartial(data, this); |
| 345 | } |
| 346 | |
| 347 | static readonly runtime: typeof proto3 = proto3; |
| 348 | static readonly typeName = "svc.query.v1.ParseResponse"; |
| 349 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 350 | { no: 1, name: "query", kind: "message", T: LogQuery }, |
| 351 | { no: 2, name: "data_type", kind: "message", T: DataStreamType }, |
| 352 | ]); |
| 353 | |
| 354 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ParseResponse { |
| 355 | return new ParseResponse().fromBinary(bytes, options); |
| 356 | } |
| 357 | |
| 358 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ParseResponse { |
| 359 | return new ParseResponse().fromJson(jsonValue, options); |
| 360 | } |
| 361 | |
| 362 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ParseResponse { |
| 363 | return new ParseResponse().fromJsonString(jsonString, options); |
| 364 | } |
| 365 | |
| 366 | static equals(a: ParseResponse | PlainMessage<ParseResponse> | undefined, b: ParseResponse | PlainMessage<ParseResponse> | undefined): boolean { |
| 367 | return proto3.util.equals(ParseResponse, a, b); |
| 368 | } |
| 369 | } |
| 370 | |
| 371 | /** |
| 372 | * @generated from message svc.query.v1.QueryRequest |
| 373 | */ |
| 374 | export class QueryRequest extends Message<QueryRequest> { |
| 375 | /** |
| 376 | * @generated from field: int64 environment_id = 101; |
| 377 | */ |
| 378 | environmentId = protoInt64.zero; |
| 379 | |
| 380 | /** |
| 381 | * @generated from field: types.v1.Cursor cursor = 102; |
| 382 | */ |
| 383 | cursor?: Cursor; |
| 384 | |
| 385 | /** |
| 386 | * @generated from field: int32 limit = 103; |
| 387 | */ |
| 388 | limit = 0; |
| 389 | |
| 390 | /** |
| 391 | * @generated from field: types.v1.LogQuery query = 2; |
| 392 | */ |
| 393 | query?: LogQuery; |
| 394 | |
| 395 | constructor(data?: PartialMessage<QueryRequest>) { |
| 396 | super(); |
| 397 | proto3.util.initPartial(data, this); |
| 398 | } |
| 399 | |
| 400 | static readonly runtime: typeof proto3 = proto3; |
| 401 | static readonly typeName = "svc.query.v1.QueryRequest"; |
| 402 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 403 | { no: 101, name: "environment_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, |
| 404 | { no: 102, name: "cursor", kind: "message", T: Cursor }, |
| 405 | { no: 103, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, |
| 406 | { no: 2, name: "query", kind: "message", T: LogQuery }, |
| 407 | ]); |
| 408 | |
| 409 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryRequest { |
| 410 | return new QueryRequest().fromBinary(bytes, options); |
| 411 | } |
| 412 | |
| 413 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryRequest { |
| 414 | return new QueryRequest().fromJson(jsonValue, options); |
| 415 | } |
| 416 | |
| 417 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryRequest { |
| 418 | return new QueryRequest().fromJsonString(jsonString, options); |
| 419 | } |
| 420 | |
| 421 | static equals(a: QueryRequest | PlainMessage<QueryRequest> | undefined, b: QueryRequest | PlainMessage<QueryRequest> | undefined): boolean { |
| 422 | return proto3.util.equals(QueryRequest, a, b); |
| 423 | } |
| 424 | } |
| 425 | |
| 426 | /** |
| 427 | * @generated from message svc.query.v1.QueryResponse |
| 428 | */ |
| 429 | export class QueryResponse extends Message<QueryResponse> { |
| 430 | /** |
| 431 | * @generated from field: types.v1.Cursor next = 100; |
| 432 | */ |
| 433 | next?: Cursor; |
| 434 | |
| 435 | /** |
| 436 | * @generated from field: types.v1.Data data = 200; |
| 437 | */ |
| 438 | data?: Data; |
| 439 | |
| 440 | constructor(data?: PartialMessage<QueryResponse>) { |
| 441 | super(); |
| 442 | proto3.util.initPartial(data, this); |
| 443 | } |
| 444 | |
| 445 | static readonly runtime: typeof proto3 = proto3; |
| 446 | static readonly typeName = "svc.query.v1.QueryResponse"; |
| 447 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 448 | { no: 100, name: "next", kind: "message", T: Cursor }, |
| 449 | { no: 200, name: "data", kind: "message", T: Data }, |
| 450 | ]); |
| 451 | |
| 452 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): QueryResponse { |
| 453 | return new QueryResponse().fromBinary(bytes, options); |
| 454 | } |
| 455 | |
| 456 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): QueryResponse { |
| 457 | return new QueryResponse().fromJson(jsonValue, options); |
| 458 | } |
| 459 | |
| 460 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): QueryResponse { |
| 461 | return new QueryResponse().fromJsonString(jsonString, options); |
| 462 | } |
| 463 | |
| 464 | static equals(a: QueryResponse | PlainMessage<QueryResponse> | undefined, b: QueryResponse | PlainMessage<QueryResponse> | undefined): boolean { |
| 465 | return proto3.util.equals(QueryResponse, a, b); |
| 466 | } |
| 467 | } |
| 468 | |
| 469 | /** |
| 470 | * @generated from message svc.query.v1.ListSymbolsRequest |
| 471 | */ |
| 472 | export class ListSymbolsRequest extends Message<ListSymbolsRequest> { |
| 473 | /** |
| 474 | * @generated from field: int64 environment_id = 101; |
| 475 | */ |
| 476 | environmentId = protoInt64.zero; |
| 477 | |
| 478 | /** |
| 479 | * @generated from field: types.v1.Cursor cursor = 102; |
| 480 | */ |
| 481 | cursor?: Cursor; |
| 482 | |
| 483 | /** |
| 484 | * @generated from field: int32 limit = 103; |
| 485 | */ |
| 486 | limit = 0; |
| 487 | |
| 488 | constructor(data?: PartialMessage<ListSymbolsRequest>) { |
| 489 | super(); |
| 490 | proto3.util.initPartial(data, this); |
| 491 | } |
| 492 | |
| 493 | static readonly runtime: typeof proto3 = proto3; |
| 494 | static readonly typeName = "svc.query.v1.ListSymbolsRequest"; |
| 495 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 496 | { no: 101, name: "environment_id", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, |
| 497 | { no: 102, name: "cursor", kind: "message", T: Cursor }, |
| 498 | { no: 103, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, |
| 499 | ]); |
| 500 | |
| 501 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSymbolsRequest { |
| 502 | return new ListSymbolsRequest().fromBinary(bytes, options); |
| 503 | } |
| 504 | |
| 505 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSymbolsRequest { |
| 506 | return new ListSymbolsRequest().fromJson(jsonValue, options); |
| 507 | } |
| 508 | |
| 509 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSymbolsRequest { |
| 510 | return new ListSymbolsRequest().fromJsonString(jsonString, options); |
| 511 | } |
| 512 | |
| 513 | static equals(a: ListSymbolsRequest | PlainMessage<ListSymbolsRequest> | undefined, b: ListSymbolsRequest | PlainMessage<ListSymbolsRequest> | undefined): boolean { |
| 514 | return proto3.util.equals(ListSymbolsRequest, a, b); |
| 515 | } |
| 516 | } |
| 517 | |
| 518 | /** |
| 519 | * @generated from message svc.query.v1.ListSymbolsResponse |
| 520 | */ |
| 521 | export class ListSymbolsResponse extends Message<ListSymbolsResponse> { |
| 522 | /** |
| 523 | * @generated from field: types.v1.Cursor next = 100; |
| 524 | */ |
| 525 | next?: Cursor; |
| 526 | |
| 527 | /** |
| 528 | * @generated from field: repeated svc.query.v1.ListSymbolsResponse.ListItem items = 200; |
| 529 | */ |
| 530 | items: ListSymbolsResponse_ListItem[] = []; |
| 531 | |
| 532 | constructor(data?: PartialMessage<ListSymbolsResponse>) { |
| 533 | super(); |
| 534 | proto3.util.initPartial(data, this); |
| 535 | } |
| 536 | |
| 537 | static readonly runtime: typeof proto3 = proto3; |
| 538 | static readonly typeName = "svc.query.v1.ListSymbolsResponse"; |
| 539 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 540 | { no: 100, name: "next", kind: "message", T: Cursor }, |
| 541 | { no: 200, name: "items", kind: "message", T: ListSymbolsResponse_ListItem, repeated: true }, |
| 542 | ]); |
| 543 | |
| 544 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSymbolsResponse { |
| 545 | return new ListSymbolsResponse().fromBinary(bytes, options); |
| 546 | } |
| 547 | |
| 548 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSymbolsResponse { |
| 549 | return new ListSymbolsResponse().fromJson(jsonValue, options); |
| 550 | } |
| 551 | |
| 552 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSymbolsResponse { |
| 553 | return new ListSymbolsResponse().fromJsonString(jsonString, options); |
| 554 | } |
| 555 | |
| 556 | static equals(a: ListSymbolsResponse | PlainMessage<ListSymbolsResponse> | undefined, b: ListSymbolsResponse | PlainMessage<ListSymbolsResponse> | undefined): boolean { |
| 557 | return proto3.util.equals(ListSymbolsResponse, a, b); |
| 558 | } |
| 559 | } |
| 560 | |
| 561 | /** |
| 562 | * @generated from message svc.query.v1.ListSymbolsResponse.ListItem |
| 563 | */ |
| 564 | export class ListSymbolsResponse_ListItem extends Message<ListSymbolsResponse_ListItem> { |
| 565 | /** |
| 566 | * @generated from field: types.v1.Symbol symbol = 2; |
| 567 | */ |
| 568 | symbol?: Symbol; |
| 569 | |
| 570 | constructor(data?: PartialMessage<ListSymbolsResponse_ListItem>) { |
| 571 | super(); |
| 572 | proto3.util.initPartial(data, this); |
| 573 | } |
| 574 | |
| 575 | static readonly runtime: typeof proto3 = proto3; |
| 576 | static readonly typeName = "svc.query.v1.ListSymbolsResponse.ListItem"; |
| 577 | static readonly fields: FieldList = proto3.util.newFieldList(() => [ |
| 578 | { no: 2, name: "symbol", kind: "message", T: Symbol }, |
| 579 | ]); |
| 580 | |
| 581 | static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSymbolsResponse_ListItem { |
| 582 | return new ListSymbolsResponse_ListItem().fromBinary(bytes, options); |
| 583 | } |
| 584 | |
| 585 | static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSymbolsResponse_ListItem { |
| 586 | return new ListSymbolsResponse_ListItem().fromJson(jsonValue, options); |
| 587 | } |
| 588 | |
| 589 | static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSymbolsResponse_ListItem { |
| 590 | return new ListSymbolsResponse_ListItem().fromJsonString(jsonString, options); |
| 591 | } |
| 592 | |
| 593 | static equals(a: ListSymbolsResponse_ListItem | PlainMessage<ListSymbolsResponse_ListItem> | undefined, b: ListSymbolsResponse_ListItem | PlainMessage<ListSymbolsResponse_ListItem> | undefined): boolean { |
| 594 | return proto3.util.equals(ListSymbolsResponse_ListItem, a, b); |
| 595 | } |
| 596 | } |
| 597 |