// Copyright 2026 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // @generated by protoc-gen-es v1.10.0 // @generated from file google/api/expr/v1alpha1/explain.proto (package google.api.expr.v1alpha1, syntax proto3) /* eslint-disable */ // @ts-nocheck import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; import { Message, proto3 } from "@bufbuild/protobuf"; import type { Value } from "./value_pb.js"; /** * Values of intermediate expressions produced when evaluating expression. * Deprecated, use `EvalState` instead. * * @generated from message google.api.expr.v1alpha1.Explain * @deprecated */ export declare class Explain extends Message { /** * 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 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 field: repeated google.api.expr.v1alpha1.Explain.ExprStep expr_steps = 2; */ exprSteps: Explain_ExprStep[]; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "google.api.expr.v1alpha1.Explain"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Explain; static fromJson(jsonValue: JsonValue, options?: Partial): Explain; static fromJsonString(jsonString: string, options?: Partial): Explain; static equals(a: Explain | PlainMessage | undefined, b: Explain | PlainMessage | undefined): boolean; } /** * ID and value index of one step. * * @generated from message google.api.expr.v1alpha1.Explain.ExprStep */ export declare class Explain_ExprStep extends Message { /** * ID of corresponding Expr node. * * @generated from field: int64 id = 1; */ id: bigint; /** * Index of the value in the values list. * * @generated from field: int32 value_index = 2; */ valueIndex: number; constructor(data?: PartialMessage); static readonly runtime: typeof proto3; static readonly typeName = "google.api.expr.v1alpha1.Explain.ExprStep"; static readonly fields: FieldList; static fromBinary(bytes: Uint8Array, options?: Partial): Explain_ExprStep; static fromJson(jsonValue: JsonValue, options?: Partial): Explain_ExprStep; static fromJsonString(jsonString: string, options?: Partial): Explain_ExprStep; static equals(a: Explain_ExprStep | PlainMessage | undefined, b: Explain_ExprStep | PlainMessage | undefined): boolean; }