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