1// Copyright 2020 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15// Code generated by protoc-gen-go. DO NOT EDIT.
16// versions:
17// 	protoc-gen-go v1.25.0
18// 	protoc        v3.13.0
19// source: google/api/expr/v1alpha1/eval.proto
20
21package expr
22
23import (
24	reflect "reflect"
25	sync "sync"
26
27	proto "github.com/golang/protobuf/proto"
28	status "google.golang.org/genproto/googleapis/rpc/status"
29	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31)
32
33const (
34	// Verify that this generated code is sufficiently up-to-date.
35	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36	// Verify that runtime/protoimpl is sufficiently up-to-date.
37	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38)
39
40// This is a compile-time assertion that a sufficiently up-to-date version
41// of the legacy proto package is being used.
42const _ = proto.ProtoPackageIsVersion4
43
44// The state of an evaluation.
45//
46// Can represent an inital, partial, or completed state of evaluation.
47type EvalState struct {
48	state         protoimpl.MessageState
49	sizeCache     protoimpl.SizeCache
50	unknownFields protoimpl.UnknownFields
51
52	// The unique values referenced in this message.
53	Values []*ExprValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
54	// An ordered list of results.
55	//
56	// Tracks the flow of evaluation through the expression.
57	// May be sparse.
58	Results []*EvalState_Result `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`
59}
60
61func (x *EvalState) Reset() {
62	*x = EvalState{}
63	if protoimpl.UnsafeEnabled {
64		mi := &file_google_api_expr_v1alpha1_eval_proto_msgTypes[0]
65		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
66		ms.StoreMessageInfo(mi)
67	}
68}
69
70func (x *EvalState) String() string {
71	return protoimpl.X.MessageStringOf(x)
72}
73
74func (*EvalState) ProtoMessage() {}
75
76func (x *EvalState) ProtoReflect() protoreflect.Message {
77	mi := &file_google_api_expr_v1alpha1_eval_proto_msgTypes[0]
78	if protoimpl.UnsafeEnabled && x != nil {
79		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
80		if ms.LoadMessageInfo() == nil {
81			ms.StoreMessageInfo(mi)
82		}
83		return ms
84	}
85	return mi.MessageOf(x)
86}
87
88// Deprecated: Use EvalState.ProtoReflect.Descriptor instead.
89func (*EvalState) Descriptor() ([]byte, []int) {
90	return file_google_api_expr_v1alpha1_eval_proto_rawDescGZIP(), []int{0}
91}
92
93func (x *EvalState) GetValues() []*ExprValue {
94	if x != nil {
95		return x.Values
96	}
97	return nil
98}
99
100func (x *EvalState) GetResults() []*EvalState_Result {
101	if x != nil {
102		return x.Results
103	}
104	return nil
105}
106
107// The value of an evaluated expression.
108type ExprValue struct {
109	state         protoimpl.MessageState
110	sizeCache     protoimpl.SizeCache
111	unknownFields protoimpl.UnknownFields
112
113	// An expression can resolve to a value, error or unknown.
114	//
115	// Types that are assignable to Kind:
116	//	*ExprValue_Value
117	//	*ExprValue_Error
118	//	*ExprValue_Unknown
119	Kind isExprValue_Kind `protobuf_oneof:"kind"`
120}
121
122func (x *ExprValue) Reset() {
123	*x = ExprValue{}
124	if protoimpl.UnsafeEnabled {
125		mi := &file_google_api_expr_v1alpha1_eval_proto_msgTypes[1]
126		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
127		ms.StoreMessageInfo(mi)
128	}
129}
130
131func (x *ExprValue) String() string {
132	return protoimpl.X.MessageStringOf(x)
133}
134
135func (*ExprValue) ProtoMessage() {}
136
137func (x *ExprValue) ProtoReflect() protoreflect.Message {
138	mi := &file_google_api_expr_v1alpha1_eval_proto_msgTypes[1]
139	if protoimpl.UnsafeEnabled && x != nil {
140		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
141		if ms.LoadMessageInfo() == nil {
142			ms.StoreMessageInfo(mi)
143		}
144		return ms
145	}
146	return mi.MessageOf(x)
147}
148
149// Deprecated: Use ExprValue.ProtoReflect.Descriptor instead.
150func (*ExprValue) Descriptor() ([]byte, []int) {
151	return file_google_api_expr_v1alpha1_eval_proto_rawDescGZIP(), []int{1}
152}
153
154func (m *ExprValue) GetKind() isExprValue_Kind {
155	if m != nil {
156		return m.Kind
157	}
158	return nil
159}
160
161func (x *ExprValue) GetValue() *Value {
162	if x, ok := x.GetKind().(*ExprValue_Value); ok {
163		return x.Value
164	}
165	return nil
166}
167
168func (x *ExprValue) GetError() *ErrorSet {
169	if x, ok := x.GetKind().(*ExprValue_Error); ok {
170		return x.Error
171	}
172	return nil
173}
174
175func (x *ExprValue) GetUnknown() *UnknownSet {
176	if x, ok := x.GetKind().(*ExprValue_Unknown); ok {
177		return x.Unknown
178	}
179	return nil
180}
181
182type isExprValue_Kind interface {
183	isExprValue_Kind()
184}
185
186type ExprValue_Value struct {
187	// A concrete value.
188	Value *Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
189}
190
191type ExprValue_Error struct {
192	// The set of errors in the critical path of evalution.
193	//
194	// Only errors in the critical path are included. For example,
195	// `(<error1> || true) && <error2>` will only result in `<error2>`,
196	// while `<error1> || <error2>` will result in both `<error1>` and
197	// `<error2>`.
198	//
199	// Errors cause by the presence of other errors are not included in the
200	// set. For example `<error1>.foo`, `foo(<error1>)`, and `<error1> + 1` will
201	// only result in `<error1>`.
202	//
203	// Multiple errors *might* be included when evaluation could result
204	// in different errors. For example `<error1> + <error2>` and
205	// `foo(<error1>, <error2>)` may result in `<error1>`, `<error2>` or both.
206	// The exact subset of errors included for this case is unspecified and
207	// depends on the implementation details of the evaluator.
208	Error *ErrorSet `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
209}
210
211type ExprValue_Unknown struct {
212	// The set of unknowns in the critical path of evaluation.
213	//
214	// Unknown behaves identically to Error with regards to propagation.
215	// Specifically, only unknowns in the critical path are included, unknowns
216	// caused by the presence of other unknowns are not included, and multiple
217	// unknowns *might* be included included when evaluation could result in
218	// different unknowns. For example:
219	//
220	//     (<unknown[1]> || true) && <unknown[2]> -> <unknown[2]>
221	//     <unknown[1]> || <unknown[2]> -> <unknown[1,2]>
222	//     <unknown[1]>.foo -> <unknown[1]>
223	//     foo(<unknown[1]>) -> <unknown[1]>
224	//     <unknown[1]> + <unknown[2]> -> <unknown[1]> or <unknown[2[>
225	//
226	// Unknown takes precidence over Error in cases where a `Value` can short
227	// circuit the result:
228	//
229	//     <error> || <unknown> -> <unknown>
230	//     <error> && <unknown> -> <unknown>
231	//
232	// Errors take precidence in all other cases:
233	//
234	//     <unknown> + <error> -> <error>
235	//     foo(<unknown>, <error>) -> <error>
236	Unknown *UnknownSet `protobuf:"bytes,3,opt,name=unknown,proto3,oneof"`
237}
238
239func (*ExprValue_Value) isExprValue_Kind() {}
240
241func (*ExprValue_Error) isExprValue_Kind() {}
242
243func (*ExprValue_Unknown) isExprValue_Kind() {}
244
245// A set of errors.
246//
247// The errors included depend on the context. See `ExprValue.error`.
248type ErrorSet struct {
249	state         protoimpl.MessageState
250	sizeCache     protoimpl.SizeCache
251	unknownFields protoimpl.UnknownFields
252
253	// The errors in the set.
254	Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
255}
256
257func (x *ErrorSet) Reset() {
258	*x = ErrorSet{}
259	if protoimpl.UnsafeEnabled {
260		mi := &file_google_api_expr_v1alpha1_eval_proto_msgTypes[2]
261		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
262		ms.StoreMessageInfo(mi)
263	}
264}
265
266func (x *ErrorSet) String() string {
267	return protoimpl.X.MessageStringOf(x)
268}
269
270func (*ErrorSet) ProtoMessage() {}
271
272func (x *ErrorSet) ProtoReflect() protoreflect.Message {
273	mi := &file_google_api_expr_v1alpha1_eval_proto_msgTypes[2]
274	if protoimpl.UnsafeEnabled && x != nil {
275		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276		if ms.LoadMessageInfo() == nil {
277			ms.StoreMessageInfo(mi)
278		}
279		return ms
280	}
281	return mi.MessageOf(x)
282}
283
284// Deprecated: Use ErrorSet.ProtoReflect.Descriptor instead.
285func (*ErrorSet) Descriptor() ([]byte, []int) {
286	return file_google_api_expr_v1alpha1_eval_proto_rawDescGZIP(), []int{2}
287}
288
289func (x *ErrorSet) GetErrors() []*status.Status {
290	if x != nil {
291		return x.Errors
292	}
293	return nil
294}
295
296// A set of expressions for which the value is unknown.
297//
298// The unknowns included depend on the context. See `ExprValue.unknown`.
299type UnknownSet struct {
300	state         protoimpl.MessageState
301	sizeCache     protoimpl.SizeCache
302	unknownFields protoimpl.UnknownFields
303
304	// The ids of the expressions with unknown values.
305	Exprs []int64 `protobuf:"varint,1,rep,packed,name=exprs,proto3" json:"exprs,omitempty"`
306}
307
308func (x *UnknownSet) Reset() {
309	*x = UnknownSet{}
310	if protoimpl.UnsafeEnabled {
311		mi := &file_google_api_expr_v1alpha1_eval_proto_msgTypes[3]
312		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
313		ms.StoreMessageInfo(mi)
314	}
315}
316
317func (x *UnknownSet) String() string {
318	return protoimpl.X.MessageStringOf(x)
319}
320
321func (*UnknownSet) ProtoMessage() {}
322
323func (x *UnknownSet) ProtoReflect() protoreflect.Message {
324	mi := &file_google_api_expr_v1alpha1_eval_proto_msgTypes[3]
325	if protoimpl.UnsafeEnabled && x != nil {
326		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
327		if ms.LoadMessageInfo() == nil {
328			ms.StoreMessageInfo(mi)
329		}
330		return ms
331	}
332	return mi.MessageOf(x)
333}
334
335// Deprecated: Use UnknownSet.ProtoReflect.Descriptor instead.
336func (*UnknownSet) Descriptor() ([]byte, []int) {
337	return file_google_api_expr_v1alpha1_eval_proto_rawDescGZIP(), []int{3}
338}
339
340func (x *UnknownSet) GetExprs() []int64 {
341	if x != nil {
342		return x.Exprs
343	}
344	return nil
345}
346
347// A single evalution result.
348type EvalState_Result struct {
349	state         protoimpl.MessageState
350	sizeCache     protoimpl.SizeCache
351	unknownFields protoimpl.UnknownFields
352
353	// The id of the expression this result if for.
354	Expr int64 `protobuf:"varint,1,opt,name=expr,proto3" json:"expr,omitempty"`
355	// The index in `values` of the resulting value.
356	Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
357}
358
359func (x *EvalState_Result) Reset() {
360	*x = EvalState_Result{}
361	if protoimpl.UnsafeEnabled {
362		mi := &file_google_api_expr_v1alpha1_eval_proto_msgTypes[4]
363		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
364		ms.StoreMessageInfo(mi)
365	}
366}
367
368func (x *EvalState_Result) String() string {
369	return protoimpl.X.MessageStringOf(x)
370}
371
372func (*EvalState_Result) ProtoMessage() {}
373
374func (x *EvalState_Result) ProtoReflect() protoreflect.Message {
375	mi := &file_google_api_expr_v1alpha1_eval_proto_msgTypes[4]
376	if protoimpl.UnsafeEnabled && x != nil {
377		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
378		if ms.LoadMessageInfo() == nil {
379			ms.StoreMessageInfo(mi)
380		}
381		return ms
382	}
383	return mi.MessageOf(x)
384}
385
386// Deprecated: Use EvalState_Result.ProtoReflect.Descriptor instead.
387func (*EvalState_Result) Descriptor() ([]byte, []int) {
388	return file_google_api_expr_v1alpha1_eval_proto_rawDescGZIP(), []int{0, 0}
389}
390
391func (x *EvalState_Result) GetExpr() int64 {
392	if x != nil {
393		return x.Expr
394	}
395	return 0
396}
397
398func (x *EvalState_Result) GetValue() int64 {
399	if x != nil {
400		return x.Value
401	}
402	return 0
403}
404
405var File_google_api_expr_v1alpha1_eval_proto protoreflect.FileDescriptor
406
407var file_google_api_expr_v1alpha1_eval_proto_rawDesc = []byte{
408	0x0a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70,
409	0x72, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x65, 0x76, 0x61, 0x6c, 0x2e,
410	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
411	0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a,
412	0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72,
413	0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2e,
414	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70,
415	0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2,
416	0x01, 0x0a, 0x09, 0x45, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x06,
417	0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67,
418	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76,
419	0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x56, 0x61, 0x6c, 0x75,
420	0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x07, 0x72, 0x65, 0x73,
421	0x75, 0x6c, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f,
422	0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61,
423	0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e,
424	0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x07, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x1a,
425	0x32, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x78, 0x70,
426	0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x65, 0x78, 0x70, 0x72, 0x12, 0x14, 0x0a,
427	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x76, 0x61,
428	0x6c, 0x75, 0x65, 0x22, 0xca, 0x01, 0x0a, 0x09, 0x45, 0x78, 0x70, 0x72, 0x56, 0x61, 0x6c, 0x75,
429	0x65, 0x12, 0x37, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
430	0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78,
431	0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x56, 0x61, 0x6c, 0x75,
432	0x65, 0x48, 0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x65, 0x72,
433	0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
434	0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c,
435	0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x48, 0x00, 0x52,
436	0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77,
437	0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
438	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65, 0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
439	0x61, 0x31, 0x2e, 0x55, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x53, 0x65, 0x74, 0x48, 0x00, 0x52,
440	0x07, 0x75, 0x6e, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64,
441	0x22, 0x36, 0x0a, 0x08, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x53, 0x65, 0x74, 0x12, 0x2a, 0x0a, 0x06,
442	0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67,
443	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
444	0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0x22, 0x0a, 0x0a, 0x55, 0x6e, 0x6b, 0x6e,
445	0x6f, 0x77, 0x6e, 0x53, 0x65, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x78, 0x70, 0x72, 0x73, 0x18,
446	0x01, 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x65, 0x78, 0x70, 0x72, 0x73, 0x42, 0x6c, 0x0a, 0x1c,
447	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x65,
448	0x78, 0x70, 0x72, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x42, 0x09, 0x45, 0x76,
449	0x61, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
450	0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e,
451	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
452	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x70, 0x72, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
453	0x61, 0x31, 0x3b, 0x65, 0x78, 0x70, 0x72, 0xf8, 0x01, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
454	0x6f, 0x33,
455}
456
457var (
458	file_google_api_expr_v1alpha1_eval_proto_rawDescOnce sync.Once
459	file_google_api_expr_v1alpha1_eval_proto_rawDescData = file_google_api_expr_v1alpha1_eval_proto_rawDesc
460)
461
462func file_google_api_expr_v1alpha1_eval_proto_rawDescGZIP() []byte {
463	file_google_api_expr_v1alpha1_eval_proto_rawDescOnce.Do(func() {
464		file_google_api_expr_v1alpha1_eval_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_expr_v1alpha1_eval_proto_rawDescData)
465	})
466	return file_google_api_expr_v1alpha1_eval_proto_rawDescData
467}
468
469var file_google_api_expr_v1alpha1_eval_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
470var file_google_api_expr_v1alpha1_eval_proto_goTypes = []interface{}{
471	(*EvalState)(nil),        // 0: google.api.expr.v1alpha1.EvalState
472	(*ExprValue)(nil),        // 1: google.api.expr.v1alpha1.ExprValue
473	(*ErrorSet)(nil),         // 2: google.api.expr.v1alpha1.ErrorSet
474	(*UnknownSet)(nil),       // 3: google.api.expr.v1alpha1.UnknownSet
475	(*EvalState_Result)(nil), // 4: google.api.expr.v1alpha1.EvalState.Result
476	(*Value)(nil),            // 5: google.api.expr.v1alpha1.Value
477	(*status.Status)(nil),    // 6: google.rpc.Status
478}
479var file_google_api_expr_v1alpha1_eval_proto_depIdxs = []int32{
480	1, // 0: google.api.expr.v1alpha1.EvalState.values:type_name -> google.api.expr.v1alpha1.ExprValue
481	4, // 1: google.api.expr.v1alpha1.EvalState.results:type_name -> google.api.expr.v1alpha1.EvalState.Result
482	5, // 2: google.api.expr.v1alpha1.ExprValue.value:type_name -> google.api.expr.v1alpha1.Value
483	2, // 3: google.api.expr.v1alpha1.ExprValue.error:type_name -> google.api.expr.v1alpha1.ErrorSet
484	3, // 4: google.api.expr.v1alpha1.ExprValue.unknown:type_name -> google.api.expr.v1alpha1.UnknownSet
485	6, // 5: google.api.expr.v1alpha1.ErrorSet.errors:type_name -> google.rpc.Status
486	6, // [6:6] is the sub-list for method output_type
487	6, // [6:6] is the sub-list for method input_type
488	6, // [6:6] is the sub-list for extension type_name
489	6, // [6:6] is the sub-list for extension extendee
490	0, // [0:6] is the sub-list for field type_name
491}
492
493func init() { file_google_api_expr_v1alpha1_eval_proto_init() }
494func file_google_api_expr_v1alpha1_eval_proto_init() {
495	if File_google_api_expr_v1alpha1_eval_proto != nil {
496		return
497	}
498	file_google_api_expr_v1alpha1_value_proto_init()
499	if !protoimpl.UnsafeEnabled {
500		file_google_api_expr_v1alpha1_eval_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
501			switch v := v.(*EvalState); i {
502			case 0:
503				return &v.state
504			case 1:
505				return &v.sizeCache
506			case 2:
507				return &v.unknownFields
508			default:
509				return nil
510			}
511		}
512		file_google_api_expr_v1alpha1_eval_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
513			switch v := v.(*ExprValue); i {
514			case 0:
515				return &v.state
516			case 1:
517				return &v.sizeCache
518			case 2:
519				return &v.unknownFields
520			default:
521				return nil
522			}
523		}
524		file_google_api_expr_v1alpha1_eval_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
525			switch v := v.(*ErrorSet); i {
526			case 0:
527				return &v.state
528			case 1:
529				return &v.sizeCache
530			case 2:
531				return &v.unknownFields
532			default:
533				return nil
534			}
535		}
536		file_google_api_expr_v1alpha1_eval_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
537			switch v := v.(*UnknownSet); i {
538			case 0:
539				return &v.state
540			case 1:
541				return &v.sizeCache
542			case 2:
543				return &v.unknownFields
544			default:
545				return nil
546			}
547		}
548		file_google_api_expr_v1alpha1_eval_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
549			switch v := v.(*EvalState_Result); i {
550			case 0:
551				return &v.state
552			case 1:
553				return &v.sizeCache
554			case 2:
555				return &v.unknownFields
556			default:
557				return nil
558			}
559		}
560	}
561	file_google_api_expr_v1alpha1_eval_proto_msgTypes[1].OneofWrappers = []interface{}{
562		(*ExprValue_Value)(nil),
563		(*ExprValue_Error)(nil),
564		(*ExprValue_Unknown)(nil),
565	}
566	type x struct{}
567	out := protoimpl.TypeBuilder{
568		File: protoimpl.DescBuilder{
569			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
570			RawDescriptor: file_google_api_expr_v1alpha1_eval_proto_rawDesc,
571			NumEnums:      0,
572			NumMessages:   5,
573			NumExtensions: 0,
574			NumServices:   0,
575		},
576		GoTypes:           file_google_api_expr_v1alpha1_eval_proto_goTypes,
577		DependencyIndexes: file_google_api_expr_v1alpha1_eval_proto_depIdxs,
578		MessageInfos:      file_google_api_expr_v1alpha1_eval_proto_msgTypes,
579	}.Build()
580	File_google_api_expr_v1alpha1_eval_proto = out.File
581	file_google_api_expr_v1alpha1_eval_proto_rawDesc = nil
582	file_google_api_expr_v1alpha1_eval_proto_goTypes = nil
583	file_google_api_expr_v1alpha1_eval_proto_depIdxs = nil
584}
585