UNPKG

google-ads-api-client

Version:

A friendly and exhaustive client to the google-ads-api, code generated directly from google's published protobuf schema.

77 lines (76 loc) 2.89 kB
import type { BinaryWriteOptions } from "@protobuf-ts/runtime"; import type { IBinaryWriter } from "@protobuf-ts/runtime"; import type { BinaryReadOptions } from "@protobuf-ts/runtime"; import type { IBinaryReader } from "@protobuf-ts/runtime"; import type { PartialMessage } from "@protobuf-ts/runtime"; import { MessageType } from "@protobuf-ts/runtime"; import { Value } from "./value"; /** * Values of intermediate expressions produced when evaluating expression. * Deprecated, use `EvalState` instead. * * @deprecated * @generated from protobuf message google.api.expr.v1alpha1.Explain */ export interface Explain { /** * All of the observed values. * * The field value_index is an index in the values list. * Separating values from steps is needed to remove redundant values. * * @generated from protobuf field: repeated google.api.expr.v1alpha1.Value values = 1; */ values: Value[]; /** * List of steps. * * Repeated evaluations of the same expression generate new ExprStep * instances. The order of such ExprStep instances matches the order of * elements returned by Comprehension.iter_range. * * @generated from protobuf field: repeated google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2; */ exprSteps: Explain_ExprStep[]; } /** * ID and value index of one step. * * @generated from protobuf message google.api.expr.v1alpha1.Explain.ExprStep */ export interface Explain_ExprStep { /** * ID of corresponding Expr node. * * @generated from protobuf field: int64 id = 1; */ id: bigint; /** * Index of the value in the values list. * * @generated from protobuf field: int32 value_index = 2; */ valueIndex: number; } declare class Explain$Type extends MessageType<Explain> { constructor(); create(value?: PartialMessage<Explain>): Explain; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Explain): Explain; internalBinaryWrite(message: Explain, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @deprecated * @generated MessageType for protobuf message google.api.expr.v1alpha1.Explain */ export declare const Explain: Explain$Type; declare class Explain_ExprStep$Type extends MessageType<Explain_ExprStep> { constructor(); create(value?: PartialMessage<Explain_ExprStep>): Explain_ExprStep; internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Explain_ExprStep): Explain_ExprStep; internalBinaryWrite(message: Explain_ExprStep, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter; } /** * @generated MessageType for protobuf message google.api.expr.v1alpha1.Explain.ExprStep */ export declare const Explain_ExprStep: Explain_ExprStep$Type; export {};