update vendor
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
19a32db84d
commit
94d1cfbfbf
10501 changed files with 2307943 additions and 29279 deletions
805
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/cel_service.pb.go
generated
vendored
Normal file
805
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/cel_service.pb.go
generated
vendored
Normal file
|
@ -0,0 +1,805 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1alpha1/cel_service.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
math "math"
|
||||
)
|
||||
|
||||
import (
|
||||
context "golang.org/x/net/context"
|
||||
grpc "google.golang.org/grpc"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Severities of issues.
|
||||
type IssueDetails_Severity int32
|
||||
|
||||
const (
|
||||
// An unspecified severity.
|
||||
IssueDetails_SEVERITY_UNSPECIFIED IssueDetails_Severity = 0
|
||||
// Deprecation issue for statements and method that may no longer be
|
||||
// supported or maintained.
|
||||
IssueDetails_DEPRECATION IssueDetails_Severity = 1
|
||||
// Warnings such as: unused variables.
|
||||
IssueDetails_WARNING IssueDetails_Severity = 2
|
||||
// Errors such as: unmatched curly braces or variable redefinition.
|
||||
IssueDetails_ERROR IssueDetails_Severity = 3
|
||||
)
|
||||
|
||||
var IssueDetails_Severity_name = map[int32]string{
|
||||
0: "SEVERITY_UNSPECIFIED",
|
||||
1: "DEPRECATION",
|
||||
2: "WARNING",
|
||||
3: "ERROR",
|
||||
}
|
||||
|
||||
var IssueDetails_Severity_value = map[string]int32{
|
||||
"SEVERITY_UNSPECIFIED": 0,
|
||||
"DEPRECATION": 1,
|
||||
"WARNING": 2,
|
||||
"ERROR": 3,
|
||||
}
|
||||
|
||||
func (x IssueDetails_Severity) String() string {
|
||||
return proto.EnumName(IssueDetails_Severity_name, int32(x))
|
||||
}
|
||||
|
||||
func (IssueDetails_Severity) EnumDescriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f35b2125e64b6d66, []int{6, 0}
|
||||
}
|
||||
|
||||
// Request message for the Parse method.
|
||||
type ParseRequest struct {
|
||||
// Required. Source text in CEL syntax.
|
||||
CelSource string `protobuf:"bytes,1,opt,name=cel_source,json=celSource,proto3" json:"cel_source,omitempty"`
|
||||
// Tag for version of CEL syntax, for future use.
|
||||
SyntaxVersion string `protobuf:"bytes,2,opt,name=syntax_version,json=syntaxVersion,proto3" json:"syntax_version,omitempty"`
|
||||
// File or resource for source text, used in [SourceInfo][google.api.expr.v1alpha1.SourceInfo].
|
||||
SourceLocation string `protobuf:"bytes,3,opt,name=source_location,json=sourceLocation,proto3" json:"source_location,omitempty"`
|
||||
// Prevent macro expansion. See "Macros" in Language Defiinition.
|
||||
DisableMacros bool `protobuf:"varint,4,opt,name=disable_macros,json=disableMacros,proto3" json:"disable_macros,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ParseRequest) Reset() { *m = ParseRequest{} }
|
||||
func (m *ParseRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*ParseRequest) ProtoMessage() {}
|
||||
func (*ParseRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f35b2125e64b6d66, []int{0}
|
||||
}
|
||||
|
||||
func (m *ParseRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ParseRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ParseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ParseRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ParseRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ParseRequest.Merge(m, src)
|
||||
}
|
||||
func (m *ParseRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_ParseRequest.Size(m)
|
||||
}
|
||||
func (m *ParseRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ParseRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ParseRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *ParseRequest) GetCelSource() string {
|
||||
if m != nil {
|
||||
return m.CelSource
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ParseRequest) GetSyntaxVersion() string {
|
||||
if m != nil {
|
||||
return m.SyntaxVersion
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ParseRequest) GetSourceLocation() string {
|
||||
if m != nil {
|
||||
return m.SourceLocation
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *ParseRequest) GetDisableMacros() bool {
|
||||
if m != nil {
|
||||
return m.DisableMacros
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Response message for the Parse method.
|
||||
type ParseResponse struct {
|
||||
// The parsed representation, or unset if parsing failed.
|
||||
ParsedExpr *ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3" json:"parsed_expr,omitempty"`
|
||||
// Any number of issues with [StatusDetails][] as the details.
|
||||
Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ParseResponse) Reset() { *m = ParseResponse{} }
|
||||
func (m *ParseResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*ParseResponse) ProtoMessage() {}
|
||||
func (*ParseResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f35b2125e64b6d66, []int{1}
|
||||
}
|
||||
|
||||
func (m *ParseResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ParseResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ParseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ParseResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ParseResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ParseResponse.Merge(m, src)
|
||||
}
|
||||
func (m *ParseResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_ParseResponse.Size(m)
|
||||
}
|
||||
func (m *ParseResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ParseResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ParseResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *ParseResponse) GetParsedExpr() *ParsedExpr {
|
||||
if m != nil {
|
||||
return m.ParsedExpr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ParseResponse) GetIssues() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Issues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request message for the Check method.
|
||||
type CheckRequest struct {
|
||||
// Required. The parsed representation of the CEL program.
|
||||
ParsedExpr *ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3" json:"parsed_expr,omitempty"`
|
||||
// Declarations of types for external variables and functions.
|
||||
// Required if program uses external variables or functions
|
||||
// not in the default environment.
|
||||
TypeEnv []*Decl `protobuf:"bytes,2,rep,name=type_env,json=typeEnv,proto3" json:"type_env,omitempty"`
|
||||
// The protocol buffer context. See "Name Resolution" in the
|
||||
// Language Definition.
|
||||
Container string `protobuf:"bytes,3,opt,name=container,proto3" json:"container,omitempty"`
|
||||
// If true, use only the declarations in [type_env][google.api.expr.v1alpha1.CheckRequest.type_env]. If false (default),
|
||||
// add declarations for the standard definitions to the type environment. See
|
||||
// "Standard Definitions" in the Language Definition.
|
||||
NoStdEnv bool `protobuf:"varint,4,opt,name=no_std_env,json=noStdEnv,proto3" json:"no_std_env,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckRequest) Reset() { *m = CheckRequest{} }
|
||||
func (m *CheckRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckRequest) ProtoMessage() {}
|
||||
func (*CheckRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f35b2125e64b6d66, []int{2}
|
||||
}
|
||||
|
||||
func (m *CheckRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CheckRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckRequest.Merge(m, src)
|
||||
}
|
||||
func (m *CheckRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckRequest.Size(m)
|
||||
}
|
||||
func (m *CheckRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckRequest proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckRequest) GetParsedExpr() *ParsedExpr {
|
||||
if m != nil {
|
||||
return m.ParsedExpr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CheckRequest) GetTypeEnv() []*Decl {
|
||||
if m != nil {
|
||||
return m.TypeEnv
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CheckRequest) GetContainer() string {
|
||||
if m != nil {
|
||||
return m.Container
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *CheckRequest) GetNoStdEnv() bool {
|
||||
if m != nil {
|
||||
return m.NoStdEnv
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Response message for the Check method.
|
||||
type CheckResponse struct {
|
||||
// The annotated representation, or unset if checking failed.
|
||||
CheckedExpr *CheckedExpr `protobuf:"bytes,1,opt,name=checked_expr,json=checkedExpr,proto3" json:"checked_expr,omitempty"`
|
||||
// Any number of issues with [StatusDetails][] as the details.
|
||||
Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *CheckResponse) Reset() { *m = CheckResponse{} }
|
||||
func (m *CheckResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*CheckResponse) ProtoMessage() {}
|
||||
func (*CheckResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f35b2125e64b6d66, []int{3}
|
||||
}
|
||||
|
||||
func (m *CheckResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_CheckResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *CheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_CheckResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *CheckResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_CheckResponse.Merge(m, src)
|
||||
}
|
||||
func (m *CheckResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_CheckResponse.Size(m)
|
||||
}
|
||||
func (m *CheckResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_CheckResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_CheckResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *CheckResponse) GetCheckedExpr() *CheckedExpr {
|
||||
if m != nil {
|
||||
return m.CheckedExpr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *CheckResponse) GetIssues() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Issues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Request message for the Eval method.
|
||||
type EvalRequest struct {
|
||||
// Required. Either the parsed or annotated representation of the CEL program.
|
||||
//
|
||||
// Types that are valid to be assigned to ExprKind:
|
||||
// *EvalRequest_ParsedExpr
|
||||
// *EvalRequest_CheckedExpr
|
||||
ExprKind isEvalRequest_ExprKind `protobuf_oneof:"expr_kind"`
|
||||
// Bindings for the external variables. The types SHOULD be compatible
|
||||
// with the type environment in [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
|
||||
Bindings map[string]*ExprValue `protobuf:"bytes,3,rep,name=bindings,proto3" json:"bindings,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
||||
// SHOULD be the same container as used in [CheckRequest][google.api.expr.v1alpha1.CheckRequest], if checked.
|
||||
Container string `protobuf:"bytes,4,opt,name=container,proto3" json:"container,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalRequest) Reset() { *m = EvalRequest{} }
|
||||
func (m *EvalRequest) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalRequest) ProtoMessage() {}
|
||||
func (*EvalRequest) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f35b2125e64b6d66, []int{4}
|
||||
}
|
||||
|
||||
func (m *EvalRequest) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalRequest.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalRequest.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalRequest) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalRequest.Merge(m, src)
|
||||
}
|
||||
func (m *EvalRequest) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalRequest.Size(m)
|
||||
}
|
||||
func (m *EvalRequest) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalRequest.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalRequest proto.InternalMessageInfo
|
||||
|
||||
type isEvalRequest_ExprKind interface {
|
||||
isEvalRequest_ExprKind()
|
||||
}
|
||||
|
||||
type EvalRequest_ParsedExpr struct {
|
||||
ParsedExpr *ParsedExpr `protobuf:"bytes,1,opt,name=parsed_expr,json=parsedExpr,proto3,oneof"`
|
||||
}
|
||||
|
||||
type EvalRequest_CheckedExpr struct {
|
||||
CheckedExpr *CheckedExpr `protobuf:"bytes,2,opt,name=checked_expr,json=checkedExpr,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*EvalRequest_ParsedExpr) isEvalRequest_ExprKind() {}
|
||||
|
||||
func (*EvalRequest_CheckedExpr) isEvalRequest_ExprKind() {}
|
||||
|
||||
func (m *EvalRequest) GetExprKind() isEvalRequest_ExprKind {
|
||||
if m != nil {
|
||||
return m.ExprKind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalRequest) GetParsedExpr() *ParsedExpr {
|
||||
if x, ok := m.GetExprKind().(*EvalRequest_ParsedExpr); ok {
|
||||
return x.ParsedExpr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalRequest) GetCheckedExpr() *CheckedExpr {
|
||||
if x, ok := m.GetExprKind().(*EvalRequest_CheckedExpr); ok {
|
||||
return x.CheckedExpr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalRequest) GetBindings() map[string]*ExprValue {
|
||||
if m != nil {
|
||||
return m.Bindings
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalRequest) GetContainer() string {
|
||||
if m != nil {
|
||||
return m.Container
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*EvalRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _EvalRequest_OneofMarshaler, _EvalRequest_OneofUnmarshaler, _EvalRequest_OneofSizer, []interface{}{
|
||||
(*EvalRequest_ParsedExpr)(nil),
|
||||
(*EvalRequest_CheckedExpr)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _EvalRequest_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*EvalRequest)
|
||||
// expr_kind
|
||||
switch x := m.ExprKind.(type) {
|
||||
case *EvalRequest_ParsedExpr:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ParsedExpr); err != nil {
|
||||
return err
|
||||
}
|
||||
case *EvalRequest_CheckedExpr:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.CheckedExpr); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("EvalRequest.ExprKind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _EvalRequest_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*EvalRequest)
|
||||
switch tag {
|
||||
case 1: // expr_kind.parsed_expr
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ParsedExpr)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.ExprKind = &EvalRequest_ParsedExpr{msg}
|
||||
return true, err
|
||||
case 2: // expr_kind.checked_expr
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(CheckedExpr)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.ExprKind = &EvalRequest_CheckedExpr{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _EvalRequest_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*EvalRequest)
|
||||
// expr_kind
|
||||
switch x := m.ExprKind.(type) {
|
||||
case *EvalRequest_ParsedExpr:
|
||||
s := proto.Size(x.ParsedExpr)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *EvalRequest_CheckedExpr:
|
||||
s := proto.Size(x.CheckedExpr)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// Response message for the Eval method.
|
||||
type EvalResponse struct {
|
||||
// The execution result, or unset if execution couldn't start.
|
||||
Result *ExprValue `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
|
||||
// Any number of issues with [StatusDetails][] as the details.
|
||||
// Note that CEL execution errors are reified into [ExprValue][google.api.expr.v1alpha1.ExprValue].
|
||||
// Nevertheless, we'll allow out-of-band issues to be raised,
|
||||
// which also makes the replies more regular.
|
||||
Issues []*status.Status `protobuf:"bytes,2,rep,name=issues,proto3" json:"issues,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalResponse) Reset() { *m = EvalResponse{} }
|
||||
func (m *EvalResponse) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalResponse) ProtoMessage() {}
|
||||
func (*EvalResponse) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f35b2125e64b6d66, []int{5}
|
||||
}
|
||||
|
||||
func (m *EvalResponse) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalResponse.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalResponse.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalResponse) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalResponse.Merge(m, src)
|
||||
}
|
||||
func (m *EvalResponse) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalResponse.Size(m)
|
||||
}
|
||||
func (m *EvalResponse) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalResponse.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalResponse proto.InternalMessageInfo
|
||||
|
||||
func (m *EvalResponse) GetResult() *ExprValue {
|
||||
if m != nil {
|
||||
return m.Result
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalResponse) GetIssues() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Issues
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// Warnings or errors in service execution are represented by
|
||||
// [google.rpc.Status][google.rpc.Status] messages, with the following message
|
||||
// in the details field.
|
||||
type IssueDetails struct {
|
||||
// The severity of the issue.
|
||||
Severity IssueDetails_Severity `protobuf:"varint,1,opt,name=severity,proto3,enum=google.api.expr.v1alpha1.IssueDetails_Severity" json:"severity,omitempty"`
|
||||
// Position in the source, if known.
|
||||
Position *SourcePosition `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"`
|
||||
// Expression ID from [Expr][google.api.expr.v1alpha1.Expr], 0 if unknown.
|
||||
Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *IssueDetails) Reset() { *m = IssueDetails{} }
|
||||
func (m *IssueDetails) String() string { return proto.CompactTextString(m) }
|
||||
func (*IssueDetails) ProtoMessage() {}
|
||||
func (*IssueDetails) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_f35b2125e64b6d66, []int{6}
|
||||
}
|
||||
|
||||
func (m *IssueDetails) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_IssueDetails.Unmarshal(m, b)
|
||||
}
|
||||
func (m *IssueDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_IssueDetails.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *IssueDetails) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_IssueDetails.Merge(m, src)
|
||||
}
|
||||
func (m *IssueDetails) XXX_Size() int {
|
||||
return xxx_messageInfo_IssueDetails.Size(m)
|
||||
}
|
||||
func (m *IssueDetails) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_IssueDetails.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_IssueDetails proto.InternalMessageInfo
|
||||
|
||||
func (m *IssueDetails) GetSeverity() IssueDetails_Severity {
|
||||
if m != nil {
|
||||
return m.Severity
|
||||
}
|
||||
return IssueDetails_SEVERITY_UNSPECIFIED
|
||||
}
|
||||
|
||||
func (m *IssueDetails) GetPosition() *SourcePosition {
|
||||
if m != nil {
|
||||
return m.Position
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *IssueDetails) GetId() int64 {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterEnum("google.api.expr.v1alpha1.IssueDetails_Severity", IssueDetails_Severity_name, IssueDetails_Severity_value)
|
||||
proto.RegisterType((*ParseRequest)(nil), "google.api.expr.v1alpha1.ParseRequest")
|
||||
proto.RegisterType((*ParseResponse)(nil), "google.api.expr.v1alpha1.ParseResponse")
|
||||
proto.RegisterType((*CheckRequest)(nil), "google.api.expr.v1alpha1.CheckRequest")
|
||||
proto.RegisterType((*CheckResponse)(nil), "google.api.expr.v1alpha1.CheckResponse")
|
||||
proto.RegisterType((*EvalRequest)(nil), "google.api.expr.v1alpha1.EvalRequest")
|
||||
proto.RegisterMapType((map[string]*ExprValue)(nil), "google.api.expr.v1alpha1.EvalRequest.BindingsEntry")
|
||||
proto.RegisterType((*EvalResponse)(nil), "google.api.expr.v1alpha1.EvalResponse")
|
||||
proto.RegisterType((*IssueDetails)(nil), "google.api.expr.v1alpha1.IssueDetails")
|
||||
}
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ context.Context
|
||||
var _ grpc.ClientConn
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the grpc package it is being compiled against.
|
||||
const _ = grpc.SupportPackageIsVersion4
|
||||
|
||||
// CelServiceClient is the client API for CelService service.
|
||||
//
|
||||
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
|
||||
type CelServiceClient interface {
|
||||
// Transforms CEL source text into a parsed representation.
|
||||
Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error)
|
||||
// Runs static checks on a parsed CEL representation and return
|
||||
// an annotated representation, or a set of issues.
|
||||
Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error)
|
||||
// Evaluates a parsed or annotation CEL representation given
|
||||
// values of external bindings.
|
||||
Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error)
|
||||
}
|
||||
|
||||
type celServiceClient struct {
|
||||
cc *grpc.ClientConn
|
||||
}
|
||||
|
||||
func NewCelServiceClient(cc *grpc.ClientConn) CelServiceClient {
|
||||
return &celServiceClient{cc}
|
||||
}
|
||||
|
||||
func (c *celServiceClient) Parse(ctx context.Context, in *ParseRequest, opts ...grpc.CallOption) (*ParseResponse, error) {
|
||||
out := new(ParseResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.CelService/Parse", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *celServiceClient) Check(ctx context.Context, in *CheckRequest, opts ...grpc.CallOption) (*CheckResponse, error) {
|
||||
out := new(CheckResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.CelService/Check", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
func (c *celServiceClient) Eval(ctx context.Context, in *EvalRequest, opts ...grpc.CallOption) (*EvalResponse, error) {
|
||||
out := new(EvalResponse)
|
||||
err := c.cc.Invoke(ctx, "/google.api.expr.v1alpha1.CelService/Eval", in, out, opts...)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return out, nil
|
||||
}
|
||||
|
||||
// CelServiceServer is the server API for CelService service.
|
||||
type CelServiceServer interface {
|
||||
// Transforms CEL source text into a parsed representation.
|
||||
Parse(context.Context, *ParseRequest) (*ParseResponse, error)
|
||||
// Runs static checks on a parsed CEL representation and return
|
||||
// an annotated representation, or a set of issues.
|
||||
Check(context.Context, *CheckRequest) (*CheckResponse, error)
|
||||
// Evaluates a parsed or annotation CEL representation given
|
||||
// values of external bindings.
|
||||
Eval(context.Context, *EvalRequest) (*EvalResponse, error)
|
||||
}
|
||||
|
||||
func RegisterCelServiceServer(s *grpc.Server, srv CelServiceServer) {
|
||||
s.RegisterService(&_CelService_serviceDesc, srv)
|
||||
}
|
||||
|
||||
func _CelService_Parse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(ParseRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CelServiceServer).Parse(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.expr.v1alpha1.CelService/Parse",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CelServiceServer).Parse(ctx, req.(*ParseRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CelService_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(CheckRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CelServiceServer).Check(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.expr.v1alpha1.CelService/Check",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CelServiceServer).Check(ctx, req.(*CheckRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
func _CelService_Eval_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||
in := new(EvalRequest)
|
||||
if err := dec(in); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if interceptor == nil {
|
||||
return srv.(CelServiceServer).Eval(ctx, in)
|
||||
}
|
||||
info := &grpc.UnaryServerInfo{
|
||||
Server: srv,
|
||||
FullMethod: "/google.api.expr.v1alpha1.CelService/Eval",
|
||||
}
|
||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||
return srv.(CelServiceServer).Eval(ctx, req.(*EvalRequest))
|
||||
}
|
||||
return interceptor(ctx, in, info, handler)
|
||||
}
|
||||
|
||||
var _CelService_serviceDesc = grpc.ServiceDesc{
|
||||
ServiceName: "google.api.expr.v1alpha1.CelService",
|
||||
HandlerType: (*CelServiceServer)(nil),
|
||||
Methods: []grpc.MethodDesc{
|
||||
{
|
||||
MethodName: "Parse",
|
||||
Handler: _CelService_Parse_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Check",
|
||||
Handler: _CelService_Check_Handler,
|
||||
},
|
||||
{
|
||||
MethodName: "Eval",
|
||||
Handler: _CelService_Eval_Handler,
|
||||
},
|
||||
},
|
||||
Streams: []grpc.StreamDesc{},
|
||||
Metadata: "google/api/expr/v1alpha1/cel_service.proto",
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1alpha1/cel_service.proto", fileDescriptor_f35b2125e64b6d66)
|
||||
}
|
||||
|
||||
var fileDescriptor_f35b2125e64b6d66 = []byte{
|
||||
// 798 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x95, 0x41, 0x6f, 0xdb, 0x36,
|
||||
0x14, 0xc7, 0x2d, 0x39, 0x49, 0xed, 0x27, 0x3b, 0x31, 0x88, 0x01, 0x33, 0x8c, 0x6c, 0x08, 0xd4,
|
||||
0x25, 0x0d, 0x7a, 0x90, 0x50, 0xf7, 0xb2, 0xae, 0xbb, 0x34, 0xb6, 0xd6, 0x78, 0x5b, 0x13, 0x83,
|
||||
0xee, 0x52, 0xac, 0x17, 0x8d, 0x91, 0x08, 0x97, 0x88, 0x4a, 0x6a, 0xa4, 0xac, 0x25, 0xb7, 0x61,
|
||||
0xc0, 0x3e, 0xc6, 0x6e, 0xfb, 0x38, 0xfb, 0x40, 0x3b, 0x0e, 0x22, 0xe9, 0xc4, 0xee, 0xa0, 0xa4,
|
||||
0x19, 0x76, 0x93, 0x9e, 0x7e, 0xef, 0xaf, 0xf7, 0xfe, 0x7c, 0x24, 0xe1, 0xf1, 0x5c, 0x88, 0x79,
|
||||
0x46, 0x43, 0x92, 0xb3, 0x90, 0x5e, 0xe6, 0x32, 0x2c, 0x9f, 0x90, 0x2c, 0x7f, 0x47, 0x9e, 0x84,
|
||||
0x09, 0xcd, 0x62, 0x45, 0x65, 0xc9, 0x12, 0x1a, 0xe4, 0x52, 0x14, 0x02, 0xf5, 0x0d, 0x1b, 0x90,
|
||||
0x9c, 0x05, 0x15, 0x1b, 0x2c, 0xd9, 0xc1, 0x41, 0xbd, 0xca, 0x3b, 0x9a, 0x5c, 0xd0, 0xd4, 0x28,
|
||||
0x0c, 0x1e, 0xd6, 0x72, 0xb4, 0x24, 0x99, 0x85, 0xf6, 0x6b, 0x21, 0x75, 0xc5, 0x0b, 0x72, 0x69,
|
||||
0xb1, 0x4f, 0x2d, 0x26, 0xf3, 0x24, 0x54, 0x05, 0x29, 0x16, 0xca, 0x7c, 0xf0, 0xff, 0x74, 0xa0,
|
||||
0x33, 0x25, 0x52, 0x51, 0x4c, 0x7f, 0x5e, 0x50, 0x55, 0xa0, 0xcf, 0x00, 0x74, 0x33, 0x62, 0x21,
|
||||
0x13, 0xda, 0x77, 0xf6, 0x9c, 0xc3, 0x36, 0x6e, 0x27, 0x34, 0x9b, 0xe9, 0x00, 0xda, 0x87, 0x6d,
|
||||
0x23, 0x1c, 0x97, 0x54, 0x2a, 0x26, 0x78, 0xdf, 0xd5, 0x48, 0xd7, 0x44, 0xcf, 0x4c, 0x10, 0x3d,
|
||||
0x82, 0x1d, 0xa3, 0x10, 0x67, 0x22, 0x21, 0x45, 0xc5, 0x35, 0x35, 0xb7, 0x6d, 0xc2, 0xdf, 0xdb,
|
||||
0x68, 0xa5, 0x97, 0x32, 0x45, 0xce, 0x33, 0x1a, 0xbf, 0x27, 0x89, 0x14, 0xaa, 0xbf, 0xb1, 0xe7,
|
||||
0x1c, 0xb6, 0x70, 0xd7, 0x46, 0x5f, 0xe9, 0xa0, 0xff, 0x9b, 0x03, 0x5d, 0x5b, 0xa6, 0xca, 0x05,
|
||||
0x57, 0x14, 0x45, 0xe0, 0xe5, 0x55, 0x20, 0x8d, 0xab, 0xb6, 0x75, 0xa1, 0xde, 0xf0, 0x8b, 0xa0,
|
||||
0xce, 0xf5, 0x40, 0x67, 0xa7, 0xd1, 0x65, 0x2e, 0x31, 0xe4, 0xd7, 0xcf, 0xe8, 0x31, 0x6c, 0x31,
|
||||
0xa5, 0x16, 0x54, 0xf5, 0xdd, 0xbd, 0xe6, 0xa1, 0x37, 0x44, 0x4b, 0x05, 0x99, 0x27, 0xc1, 0x4c,
|
||||
0x3b, 0x85, 0x2d, 0xe1, 0xff, 0xe5, 0x40, 0x67, 0x54, 0x2d, 0xd1, 0xd2, 0xab, 0xff, 0xa9, 0x86,
|
||||
0x67, 0xd0, 0x2a, 0xae, 0x72, 0x1a, 0x53, 0x5e, 0xda, 0x2a, 0x3e, 0xaf, 0xd7, 0x18, 0xd3, 0x24,
|
||||
0xc3, 0x0f, 0x2a, 0x3e, 0xe2, 0x25, 0xda, 0x85, 0x76, 0x22, 0x78, 0x41, 0x18, 0xa7, 0xd2, 0x3a,
|
||||
0x7c, 0x13, 0x40, 0xbb, 0x00, 0x5c, 0xc4, 0xaa, 0x48, 0xb5, 0xb4, 0x31, 0xb6, 0xc5, 0xc5, 0xac,
|
||||
0x48, 0x23, 0x5e, 0xfa, 0xbf, 0x3b, 0xd0, 0xb5, 0xed, 0x58, 0x4f, 0x8f, 0xa1, 0x63, 0x47, 0x70,
|
||||
0xb5, 0xa1, 0xfd, 0xfa, 0x62, 0x46, 0x86, 0xd6, 0x1d, 0x79, 0xc9, 0xcd, 0xcb, 0xbd, 0x6c, 0xfd,
|
||||
0xb5, 0x09, 0x5e, 0x54, 0x92, 0x6c, 0xe9, 0xea, 0xcb, 0xff, 0xec, 0xea, 0x71, 0x63, 0xcd, 0xd7,
|
||||
0x6f, 0x3f, 0x68, 0xc7, 0xbd, 0x47, 0x3b, 0xc7, 0x8d, 0xf5, 0x86, 0x4e, 0xa1, 0x75, 0xce, 0x78,
|
||||
0xca, 0xf8, 0x5c, 0xf5, 0x9b, 0xba, 0xa5, 0xa7, 0xf5, 0x3a, 0x2b, 0xdd, 0x04, 0x47, 0x36, 0x2b,
|
||||
0xe2, 0x85, 0xbc, 0xc2, 0xd7, 0x22, 0xeb, 0x2b, 0xb7, 0xf1, 0xc1, 0xca, 0x0d, 0x7e, 0x82, 0xee,
|
||||
0x5a, 0x22, 0xea, 0x41, 0xf3, 0x82, 0x5e, 0xd9, 0xfd, 0x58, 0x3d, 0xa2, 0x67, 0xb0, 0x59, 0x92,
|
||||
0x6c, 0x41, 0x6d, 0x5b, 0x0f, 0x6f, 0x29, 0xe7, 0x32, 0x97, 0x67, 0x15, 0x8a, 0x4d, 0xc6, 0x57,
|
||||
0xee, 0x97, 0xce, 0x91, 0x07, 0xed, 0x8a, 0x8a, 0x2f, 0x18, 0x4f, 0xfd, 0x5f, 0xa0, 0x63, 0x6a,
|
||||
0xb6, 0x83, 0xf0, 0x1c, 0xb6, 0x24, 0x55, 0x8b, 0xac, 0xb0, 0xee, 0x7f, 0x94, 0xb8, 0x4d, 0xb9,
|
||||
0xdf, 0xda, 0xbb, 0xd0, 0x99, 0x54, 0x8f, 0x63, 0x5a, 0x10, 0x96, 0x29, 0xf4, 0x1d, 0xb4, 0x14,
|
||||
0x2d, 0xa9, 0x64, 0x85, 0x69, 0x76, 0x7b, 0x18, 0xd6, 0xff, 0x7b, 0x35, 0x33, 0x98, 0xd9, 0x34,
|
||||
0x7c, 0x2d, 0x80, 0xc6, 0xd0, 0xca, 0x85, 0x62, 0xc5, 0xf2, 0x98, 0xf2, 0x86, 0x87, 0xf5, 0x62,
|
||||
0xe6, 0x80, 0x9b, 0x5a, 0x1e, 0x5f, 0x67, 0xa2, 0x6d, 0x70, 0x59, 0xaa, 0x37, 0x57, 0x13, 0xbb,
|
||||
0x2c, 0xf5, 0x5f, 0x41, 0x6b, 0xf9, 0x2f, 0xd4, 0x87, 0x4f, 0x66, 0xd1, 0x59, 0x84, 0x27, 0xaf,
|
||||
0x7f, 0x8c, 0x7f, 0x38, 0x99, 0x4d, 0xa3, 0xd1, 0xe4, 0x9b, 0x49, 0x34, 0xee, 0x35, 0xd0, 0x0e,
|
||||
0x78, 0xe3, 0x68, 0x8a, 0xa3, 0xd1, 0x8b, 0xd7, 0x93, 0xd3, 0x93, 0x9e, 0x83, 0x3c, 0x78, 0xf0,
|
||||
0xe6, 0x05, 0x3e, 0x99, 0x9c, 0xbc, 0xec, 0xb9, 0xa8, 0x0d, 0x9b, 0x11, 0xc6, 0xa7, 0xb8, 0xd7,
|
||||
0x1c, 0xfe, 0xe1, 0x02, 0x8c, 0x68, 0x36, 0x33, 0xb7, 0x07, 0x7a, 0x0b, 0x9b, 0x7a, 0xa0, 0xd1,
|
||||
0xc1, 0x1d, 0x13, 0x6f, 0x07, 0x6c, 0xf0, 0xe8, 0x4e, 0xce, 0x2c, 0xaa, 0xdf, 0xa8, 0xb4, 0xf5,
|
||||
0x88, 0xdf, 0xa6, 0xbd, 0x7a, 0xc0, 0xdd, 0xa6, 0xbd, 0x76, 0x72, 0xf8, 0x0d, 0xf4, 0x06, 0x36,
|
||||
0xaa, 0x11, 0x42, 0xfb, 0x1f, 0xb5, 0x2d, 0x06, 0x07, 0x77, 0x61, 0x4b, 0xe1, 0x23, 0x09, 0xbb,
|
||||
0x89, 0x78, 0x5f, 0x8b, 0x1f, 0xed, 0xdc, 0x98, 0x37, 0xad, 0xae, 0xb4, 0xa9, 0xf3, 0xf6, 0x6b,
|
||||
0x0b, 0xcf, 0x45, 0x46, 0xf8, 0x3c, 0x10, 0x72, 0x1e, 0xce, 0x29, 0xd7, 0x17, 0x5e, 0x68, 0x3e,
|
||||
0x91, 0x9c, 0xa9, 0x7f, 0xdf, 0x99, 0xcf, 0xab, 0xb7, 0xbf, 0x1d, 0xe7, 0x7c, 0x4b, 0xb3, 0x4f,
|
||||
0xff, 0x09, 0x00, 0x00, 0xff, 0xff, 0x2b, 0x76, 0x96, 0x35, 0xf1, 0x07, 0x00, 0x00,
|
||||
}
|
1445
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go
generated
vendored
Normal file
1445
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/checked.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
434
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go
generated
vendored
Normal file
434
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/eval.pb.go
generated
vendored
Normal file
|
@ -0,0 +1,434 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1alpha1/eval.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// The state of an evaluation.
|
||||
//
|
||||
// Can represent an inital, partial, or completed state of evaluation.
|
||||
type EvalState struct {
|
||||
// The unique values referenced in this message.
|
||||
Values []*ExprValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
// An ordered list of results.
|
||||
//
|
||||
// Tracks the flow of evaluation through the expression.
|
||||
// May be sparse.
|
||||
Results []*EvalState_Result `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalState) Reset() { *m = EvalState{} }
|
||||
func (m *EvalState) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalState) ProtoMessage() {}
|
||||
func (*EvalState) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_1e95f32326d4b8b7, []int{0}
|
||||
}
|
||||
|
||||
func (m *EvalState) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalState.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalState.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalState) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalState.Merge(m, src)
|
||||
}
|
||||
func (m *EvalState) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalState.Size(m)
|
||||
}
|
||||
func (m *EvalState) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalState.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalState proto.InternalMessageInfo
|
||||
|
||||
func (m *EvalState) GetValues() []*ExprValue {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalState) GetResults() []*EvalState_Result {
|
||||
if m != nil {
|
||||
return m.Results
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A single evalution result.
|
||||
type EvalState_Result struct {
|
||||
// The id of the expression this result if for.
|
||||
Expr int64 `protobuf:"varint,1,opt,name=expr,proto3" json:"expr,omitempty"`
|
||||
// The index in `values` of the resulting value.
|
||||
Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) Reset() { *m = EvalState_Result{} }
|
||||
func (m *EvalState_Result) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalState_Result) ProtoMessage() {}
|
||||
func (*EvalState_Result) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_1e95f32326d4b8b7, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalState_Result.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalState_Result.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalState_Result.Merge(m, src)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalState_Result.Size(m)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalState_Result.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalState_Result proto.InternalMessageInfo
|
||||
|
||||
func (m *EvalState_Result) GetExpr() int64 {
|
||||
if m != nil {
|
||||
return m.Expr
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) GetValue() int64 {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// The value of an evaluated expression.
|
||||
type ExprValue struct {
|
||||
// An expression can resolve to a value, error or unknown.
|
||||
//
|
||||
// Types that are valid to be assigned to Kind:
|
||||
// *ExprValue_Value
|
||||
// *ExprValue_Error
|
||||
// *ExprValue_Unknown
|
||||
Kind isExprValue_Kind `protobuf_oneof:"kind"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ExprValue) Reset() { *m = ExprValue{} }
|
||||
func (m *ExprValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*ExprValue) ProtoMessage() {}
|
||||
func (*ExprValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_1e95f32326d4b8b7, []int{1}
|
||||
}
|
||||
|
||||
func (m *ExprValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ExprValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ExprValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ExprValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ExprValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ExprValue.Merge(m, src)
|
||||
}
|
||||
func (m *ExprValue) XXX_Size() int {
|
||||
return xxx_messageInfo_ExprValue.Size(m)
|
||||
}
|
||||
func (m *ExprValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ExprValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ExprValue proto.InternalMessageInfo
|
||||
|
||||
type isExprValue_Kind interface {
|
||||
isExprValue_Kind()
|
||||
}
|
||||
|
||||
type ExprValue_Value struct {
|
||||
Value *Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ExprValue_Error struct {
|
||||
Error *ErrorSet `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ExprValue_Unknown struct {
|
||||
Unknown *UnknownSet `protobuf:"bytes,3,opt,name=unknown,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ExprValue_Value) isExprValue_Kind() {}
|
||||
|
||||
func (*ExprValue_Error) isExprValue_Kind() {}
|
||||
|
||||
func (*ExprValue_Unknown) isExprValue_Kind() {}
|
||||
|
||||
func (m *ExprValue) GetKind() isExprValue_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetValue() *Value {
|
||||
if x, ok := m.GetKind().(*ExprValue_Value); ok {
|
||||
return x.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetError() *ErrorSet {
|
||||
if x, ok := m.GetKind().(*ExprValue_Error); ok {
|
||||
return x.Error
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetUnknown() *UnknownSet {
|
||||
if x, ok := m.GetKind().(*ExprValue_Unknown); ok {
|
||||
return x.Unknown
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*ExprValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _ExprValue_OneofMarshaler, _ExprValue_OneofUnmarshaler, _ExprValue_OneofSizer, []interface{}{
|
||||
(*ExprValue_Value)(nil),
|
||||
(*ExprValue_Error)(nil),
|
||||
(*ExprValue_Unknown)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _ExprValue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*ExprValue)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *ExprValue_Value:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Value); err != nil {
|
||||
return err
|
||||
}
|
||||
case *ExprValue_Error:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Error); err != nil {
|
||||
return err
|
||||
}
|
||||
case *ExprValue_Unknown:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Unknown); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("ExprValue.Kind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _ExprValue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*ExprValue)
|
||||
switch tag {
|
||||
case 1: // kind.value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(Value)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Value{msg}
|
||||
return true, err
|
||||
case 2: // kind.error
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ErrorSet)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Error{msg}
|
||||
return true, err
|
||||
case 3: // kind.unknown
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(UnknownSet)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Unknown{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _ExprValue_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*ExprValue)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *ExprValue_Value:
|
||||
s := proto.Size(x.Value)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ExprValue_Error:
|
||||
s := proto.Size(x.Error)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ExprValue_Unknown:
|
||||
s := proto.Size(x.Unknown)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// A set of errors.
|
||||
//
|
||||
// The errors included depend on the context. See `ExprValue.error`.
|
||||
type ErrorSet struct {
|
||||
// The errors in the set.
|
||||
Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ErrorSet) Reset() { *m = ErrorSet{} }
|
||||
func (m *ErrorSet) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorSet) ProtoMessage() {}
|
||||
func (*ErrorSet) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_1e95f32326d4b8b7, []int{2}
|
||||
}
|
||||
|
||||
func (m *ErrorSet) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ErrorSet.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ErrorSet.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ErrorSet.Merge(m, src)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Size() int {
|
||||
return xxx_messageInfo_ErrorSet.Size(m)
|
||||
}
|
||||
func (m *ErrorSet) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ErrorSet.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ErrorSet proto.InternalMessageInfo
|
||||
|
||||
func (m *ErrorSet) GetErrors() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Errors
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A set of expressions for which the value is unknown.
|
||||
//
|
||||
// The unknowns included depend on the context. See `ExprValue.unknown`.
|
||||
type UnknownSet struct {
|
||||
// The ids of the expressions with unknown values.
|
||||
Exprs []int64 `protobuf:"varint,1,rep,packed,name=exprs,proto3" json:"exprs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UnknownSet) Reset() { *m = UnknownSet{} }
|
||||
func (m *UnknownSet) String() string { return proto.CompactTextString(m) }
|
||||
func (*UnknownSet) ProtoMessage() {}
|
||||
func (*UnknownSet) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_1e95f32326d4b8b7, []int{3}
|
||||
}
|
||||
|
||||
func (m *UnknownSet) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UnknownSet.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UnknownSet.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UnknownSet.Merge(m, src)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Size() int {
|
||||
return xxx_messageInfo_UnknownSet.Size(m)
|
||||
}
|
||||
func (m *UnknownSet) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UnknownSet.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UnknownSet proto.InternalMessageInfo
|
||||
|
||||
func (m *UnknownSet) GetExprs() []int64 {
|
||||
if m != nil {
|
||||
return m.Exprs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*EvalState)(nil), "google.api.expr.v1alpha1.EvalState")
|
||||
proto.RegisterType((*EvalState_Result)(nil), "google.api.expr.v1alpha1.EvalState.Result")
|
||||
proto.RegisterType((*ExprValue)(nil), "google.api.expr.v1alpha1.ExprValue")
|
||||
proto.RegisterType((*ErrorSet)(nil), "google.api.expr.v1alpha1.ErrorSet")
|
||||
proto.RegisterType((*UnknownSet)(nil), "google.api.expr.v1alpha1.UnknownSet")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1alpha1/eval.proto", fileDescriptor_1e95f32326d4b8b7)
|
||||
}
|
||||
|
||||
var fileDescriptor_1e95f32326d4b8b7 = []byte{
|
||||
// 367 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x92, 0xcf, 0x4b, 0xeb, 0x40,
|
||||
0x10, 0xc7, 0x5f, 0x5e, 0xda, 0xf4, 0xbd, 0xe9, 0x6d, 0x11, 0x0c, 0x45, 0xb0, 0xa4, 0x3d, 0x94,
|
||||
0x1e, 0x36, 0x34, 0x82, 0x82, 0xf5, 0x20, 0xc5, 0x82, 0xc7, 0x92, 0xa2, 0x07, 0x6f, 0x6b, 0x5d,
|
||||
0x62, 0xe8, 0x9a, 0x5d, 0x36, 0x3f, 0xec, 0xdf, 0xe7, 0xd1, 0xbf, 0xc8, 0xa3, 0xec, 0x6c, 0x16,
|
||||
0x0f, 0x92, 0xde, 0x3a, 0xbb, 0x9f, 0xcf, 0x77, 0xa6, 0xd9, 0x81, 0x49, 0x26, 0x65, 0x26, 0x78,
|
||||
0xcc, 0x54, 0x1e, 0xf3, 0x83, 0xd2, 0x71, 0xb3, 0x60, 0x42, 0xbd, 0xb2, 0x45, 0xcc, 0x1b, 0x26,
|
||||
0xa8, 0xd2, 0xb2, 0x92, 0x24, 0xb4, 0x10, 0x65, 0x2a, 0xa7, 0x06, 0xa2, 0x0e, 0x1a, 0x4d, 0x3b,
|
||||
0xf5, 0x86, 0x89, 0x9a, 0x5b, 0x7f, 0x74, 0xda, 0x52, 0x5a, 0xed, 0xe2, 0xb2, 0x62, 0x55, 0x5d,
|
||||
0xda, 0x8b, 0xe8, 0xc3, 0x83, 0xff, 0xeb, 0x86, 0x89, 0x6d, 0xc5, 0x2a, 0x4e, 0x96, 0x10, 0xa0,
|
||||
0x55, 0x86, 0xde, 0xd8, 0x9f, 0x0d, 0x93, 0x09, 0xed, 0xea, 0x4b, 0xd7, 0x07, 0xa5, 0x1f, 0x0d,
|
||||
0x9b, 0xb6, 0x0a, 0xb9, 0x83, 0x81, 0xe6, 0x65, 0x2d, 0xaa, 0x32, 0xf4, 0xd1, 0x9e, 0x1f, 0xb1,
|
||||
0x5d, 0x4b, 0x9a, 0xa2, 0x92, 0x3a, 0x75, 0x94, 0x40, 0x60, 0x8f, 0x08, 0x81, 0x9e, 0x91, 0x42,
|
||||
0x6f, 0xec, 0xcd, 0xfc, 0x14, 0x7f, 0x93, 0x13, 0xe8, 0x63, 0xb7, 0xf0, 0x2f, 0x1e, 0xda, 0x22,
|
||||
0xfa, 0x34, 0x7f, 0xc2, 0xcd, 0x43, 0xae, 0x1c, 0x63, 0xc4, 0x61, 0x72, 0xde, 0x3d, 0x05, 0xf2,
|
||||
0xf7, 0x7f, 0xda, 0x18, 0x72, 0x0d, 0x7d, 0xae, 0xb5, 0xd4, 0x18, 0x3e, 0x4c, 0xa2, 0x23, 0xe3,
|
||||
0x1b, 0x6c, 0xcb, 0x2b, 0xe3, 0xa2, 0x42, 0x6e, 0x61, 0x50, 0x17, 0xfb, 0x42, 0xbe, 0x17, 0xa1,
|
||||
0x8f, 0xf6, 0xb4, 0xdb, 0x7e, 0xb0, 0xa0, 0xf5, 0x9d, 0xb6, 0x0a, 0xa0, 0xb7, 0xcf, 0x8b, 0x97,
|
||||
0xe8, 0x12, 0xfe, 0xb9, 0x78, 0x32, 0x87, 0x00, 0xe3, 0xdd, 0x7b, 0x10, 0x17, 0xaa, 0xd5, 0x8e,
|
||||
0x6e, 0xf1, 0x1d, 0xd3, 0x96, 0x88, 0x22, 0x80, 0x9f, 0x60, 0xf3, 0xa1, 0x4c, 0x53, 0x2b, 0xfa,
|
||||
0xa9, 0x2d, 0x56, 0x02, 0xce, 0x76, 0xf2, 0xad, 0x73, 0xb2, 0x15, 0xae, 0xc2, 0xc6, 0x2c, 0xc6,
|
||||
0xc6, 0x7b, 0xba, 0x69, 0xb1, 0x4c, 0x0a, 0x56, 0x64, 0x54, 0xea, 0x2c, 0xce, 0x78, 0x81, 0x6b,
|
||||
0x13, 0xdb, 0x2b, 0xa6, 0xf2, 0xf2, 0xf7, 0xe2, 0x2d, 0x4d, 0xf5, 0xe5, 0x79, 0xcf, 0x01, 0xb2,
|
||||
0x17, 0xdf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x62, 0xde, 0x1d, 0xe2, 0x02, 0x00, 0x00,
|
||||
}
|
161
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go
generated
vendored
Normal file
161
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/explain.pb.go
generated
vendored
Normal file
|
@ -0,0 +1,161 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1alpha1/explain.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Values of intermediate expressions produced when evaluating expression.
|
||||
// Deprecated, use `EvalState` instead.
|
||||
//
|
||||
// Deprecated: Do not use.
|
||||
type Explain struct {
|
||||
// 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.
|
||||
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
// 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.
|
||||
ExprSteps []*Explain_ExprStep `protobuf:"bytes,2,rep,name=expr_steps,json=exprSteps,proto3" json:"expr_steps,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Explain) Reset() { *m = Explain{} }
|
||||
func (m *Explain) String() string { return proto.CompactTextString(m) }
|
||||
func (*Explain) ProtoMessage() {}
|
||||
func (*Explain) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2df9793dd8748e27, []int{0}
|
||||
}
|
||||
|
||||
func (m *Explain) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Explain.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Explain) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Explain.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Explain) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Explain.Merge(m, src)
|
||||
}
|
||||
func (m *Explain) XXX_Size() int {
|
||||
return xxx_messageInfo_Explain.Size(m)
|
||||
}
|
||||
func (m *Explain) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Explain.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Explain proto.InternalMessageInfo
|
||||
|
||||
func (m *Explain) GetValues() []*Value {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Explain) GetExprSteps() []*Explain_ExprStep {
|
||||
if m != nil {
|
||||
return m.ExprSteps
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// ID and value index of one step.
|
||||
type Explain_ExprStep struct {
|
||||
// ID of corresponding Expr node.
|
||||
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// Index of the value in the values list.
|
||||
ValueIndex int32 `protobuf:"varint,2,opt,name=value_index,json=valueIndex,proto3" json:"value_index,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Explain_ExprStep) Reset() { *m = Explain_ExprStep{} }
|
||||
func (m *Explain_ExprStep) String() string { return proto.CompactTextString(m) }
|
||||
func (*Explain_ExprStep) ProtoMessage() {}
|
||||
func (*Explain_ExprStep) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_2df9793dd8748e27, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *Explain_ExprStep) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Explain_ExprStep.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Explain_ExprStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Explain_ExprStep.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Explain_ExprStep) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Explain_ExprStep.Merge(m, src)
|
||||
}
|
||||
func (m *Explain_ExprStep) XXX_Size() int {
|
||||
return xxx_messageInfo_Explain_ExprStep.Size(m)
|
||||
}
|
||||
func (m *Explain_ExprStep) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Explain_ExprStep.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Explain_ExprStep proto.InternalMessageInfo
|
||||
|
||||
func (m *Explain_ExprStep) GetId() int64 {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Explain_ExprStep) GetValueIndex() int32 {
|
||||
if m != nil {
|
||||
return m.ValueIndex
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Explain)(nil), "google.api.expr.v1alpha1.Explain")
|
||||
proto.RegisterType((*Explain_ExprStep)(nil), "google.api.expr.v1alpha1.Explain.ExprStep")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1alpha1/explain.proto", fileDescriptor_2df9793dd8748e27)
|
||||
}
|
||||
|
||||
var fileDescriptor_2df9793dd8748e27 = []byte{
|
||||
// 261 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0xb1, 0x4b, 0x03, 0x31,
|
||||
0x14, 0xc6, 0x79, 0x29, 0x56, 0x7d, 0x15, 0x87, 0x4c, 0xa1, 0x08, 0x3d, 0x44, 0xe4, 0x70, 0x48,
|
||||
0xa8, 0x0e, 0x82, 0x75, 0x2a, 0x38, 0x74, 0x2b, 0x27, 0x38, 0xb8, 0x94, 0xe8, 0x85, 0x18, 0x88,
|
||||
0x97, 0x70, 0x39, 0x4b, 0xff, 0x4a, 0xff, 0x1e, 0x47, 0x49, 0x2e, 0x37, 0x95, 0x9b, 0xee, 0xde,
|
||||
0xfb, 0x7e, 0xdf, 0xf7, 0x91, 0x87, 0xb7, 0xda, 0x39, 0x6d, 0x95, 0x90, 0xde, 0x08, 0x75, 0xf0,
|
||||
0xad, 0xd8, 0x2f, 0xa5, 0xf5, 0x5f, 0x72, 0x19, 0x27, 0x2b, 0x4d, 0xc3, 0x7d, 0xeb, 0x3a, 0x47,
|
||||
0x59, 0xcf, 0x71, 0xe9, 0x0d, 0x8f, 0x1c, 0x1f, 0xb8, 0xf9, 0xcd, 0x68, 0xc2, 0x5e, 0xda, 0x1f,
|
||||
0xd5, 0xfb, 0xaf, 0x7f, 0x01, 0x4f, 0x5f, 0xfa, 0x44, 0xfa, 0x88, 0xd3, 0x24, 0x05, 0x06, 0xc5,
|
||||
0xa4, 0x9c, 0xdd, 0x2f, 0xf8, 0x58, 0x38, 0x7f, 0x8b, 0x5c, 0x95, 0x71, 0xba, 0x41, 0x8c, 0xf2,
|
||||
0x2e, 0x74, 0xca, 0x07, 0x46, 0x92, 0xf9, 0x6e, 0xdc, 0x9c, 0xfb, 0xe2, 0xb7, 0x7d, 0xed, 0x94,
|
||||
0xaf, 0xce, 0x55, 0xfe, 0x0b, 0xf3, 0x15, 0x9e, 0x0d, 0x6b, 0x7a, 0x89, 0xc4, 0xd4, 0x0c, 0x0a,
|
||||
0x28, 0x27, 0x15, 0x31, 0x35, 0x5d, 0xe0, 0x2c, 0x15, 0xee, 0x4c, 0x53, 0xab, 0x03, 0x23, 0x05,
|
||||
0x94, 0x27, 0x15, 0xa6, 0xd5, 0x26, 0x6e, 0x9e, 0x08, 0x83, 0xb5, 0xc3, 0xab, 0x4f, 0xf7, 0x3d,
|
||||
0x5a, 0xbe, 0xbe, 0xc8, 0xed, 0xdb, 0xf8, 0xfc, 0x2d, 0xbc, 0x3f, 0x67, 0x52, 0x3b, 0x2b, 0x1b,
|
||||
0xcd, 0x5d, 0xab, 0x85, 0x56, 0x4d, 0x3a, 0x8e, 0xe8, 0x25, 0xe9, 0x4d, 0x38, 0xbe, 0xe2, 0x2a,
|
||||
0x4e, 0x7f, 0x00, 0x1f, 0xd3, 0xc4, 0x3e, 0xfc, 0x07, 0x00, 0x00, 0xff, 0xff, 0x34, 0xf2, 0xb9,
|
||||
0x9e, 0xb2, 0x01, 0x00, 0x00,
|
||||
}
|
1586
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go
generated
vendored
Normal file
1586
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/syntax.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
715
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go
generated
vendored
Normal file
715
vendor/google.golang.org/genproto/googleapis/api/expr/v1alpha1/value.pb.go
generated
vendored
Normal file
|
@ -0,0 +1,715 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1alpha1/value.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
any "github.com/golang/protobuf/ptypes/any"
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Represents a CEL value.
|
||||
//
|
||||
// This is similar to `google.protobuf.Value`, but can represent CEL's full
|
||||
// range of values.
|
||||
type Value struct {
|
||||
// Required. The valid kinds of values.
|
||||
//
|
||||
// Types that are valid to be assigned to Kind:
|
||||
// *Value_NullValue
|
||||
// *Value_BoolValue
|
||||
// *Value_Int64Value
|
||||
// *Value_Uint64Value
|
||||
// *Value_DoubleValue
|
||||
// *Value_StringValue
|
||||
// *Value_BytesValue
|
||||
// *Value_EnumValue
|
||||
// *Value_ObjectValue
|
||||
// *Value_MapValue
|
||||
// *Value_ListValue
|
||||
// *Value_TypeValue
|
||||
Kind isValue_Kind `protobuf_oneof:"kind"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Value) Reset() { *m = Value{} }
|
||||
func (m *Value) String() string { return proto.CompactTextString(m) }
|
||||
func (*Value) ProtoMessage() {}
|
||||
func (*Value) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_24bee359d1e5798a, []int{0}
|
||||
}
|
||||
|
||||
func (m *Value) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Value.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Value.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Value) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Value.Merge(m, src)
|
||||
}
|
||||
func (m *Value) XXX_Size() int {
|
||||
return xxx_messageInfo_Value.Size(m)
|
||||
}
|
||||
func (m *Value) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Value.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Value proto.InternalMessageInfo
|
||||
|
||||
type isValue_Kind interface {
|
||||
isValue_Kind()
|
||||
}
|
||||
|
||||
type Value_NullValue struct {
|
||||
NullValue _struct.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
|
||||
}
|
||||
|
||||
type Value_BoolValue struct {
|
||||
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_Int64Value struct {
|
||||
Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_Uint64Value struct {
|
||||
Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_DoubleValue struct {
|
||||
DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_StringValue struct {
|
||||
StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_BytesValue struct {
|
||||
BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_EnumValue struct {
|
||||
EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_ObjectValue struct {
|
||||
ObjectValue *any.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_MapValue struct {
|
||||
MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_ListValue struct {
|
||||
ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_TypeValue struct {
|
||||
TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Value_NullValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_BoolValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_Int64Value) isValue_Kind() {}
|
||||
|
||||
func (*Value_Uint64Value) isValue_Kind() {}
|
||||
|
||||
func (*Value_DoubleValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_StringValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_BytesValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_EnumValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_ObjectValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_MapValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_ListValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_TypeValue) isValue_Kind() {}
|
||||
|
||||
func (m *Value) GetKind() isValue_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetNullValue() _struct.NullValue {
|
||||
if x, ok := m.GetKind().(*Value_NullValue); ok {
|
||||
return x.NullValue
|
||||
}
|
||||
return _struct.NullValue_NULL_VALUE
|
||||
}
|
||||
|
||||
func (m *Value) GetBoolValue() bool {
|
||||
if x, ok := m.GetKind().(*Value_BoolValue); ok {
|
||||
return x.BoolValue
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *Value) GetInt64Value() int64 {
|
||||
if x, ok := m.GetKind().(*Value_Int64Value); ok {
|
||||
return x.Int64Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetUint64Value() uint64 {
|
||||
if x, ok := m.GetKind().(*Value_Uint64Value); ok {
|
||||
return x.Uint64Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetDoubleValue() float64 {
|
||||
if x, ok := m.GetKind().(*Value_DoubleValue); ok {
|
||||
return x.DoubleValue
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetStringValue() string {
|
||||
if x, ok := m.GetKind().(*Value_StringValue); ok {
|
||||
return x.StringValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Value) GetBytesValue() []byte {
|
||||
if x, ok := m.GetKind().(*Value_BytesValue); ok {
|
||||
return x.BytesValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetEnumValue() *EnumValue {
|
||||
if x, ok := m.GetKind().(*Value_EnumValue); ok {
|
||||
return x.EnumValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetObjectValue() *any.Any {
|
||||
if x, ok := m.GetKind().(*Value_ObjectValue); ok {
|
||||
return x.ObjectValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetMapValue() *MapValue {
|
||||
if x, ok := m.GetKind().(*Value_MapValue); ok {
|
||||
return x.MapValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetListValue() *ListValue {
|
||||
if x, ok := m.GetKind().(*Value_ListValue); ok {
|
||||
return x.ListValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetTypeValue() string {
|
||||
if x, ok := m.GetKind().(*Value_TypeValue); ok {
|
||||
return x.TypeValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{
|
||||
(*Value_NullValue)(nil),
|
||||
(*Value_BoolValue)(nil),
|
||||
(*Value_Int64Value)(nil),
|
||||
(*Value_Uint64Value)(nil),
|
||||
(*Value_DoubleValue)(nil),
|
||||
(*Value_StringValue)(nil),
|
||||
(*Value_BytesValue)(nil),
|
||||
(*Value_EnumValue)(nil),
|
||||
(*Value_ObjectValue)(nil),
|
||||
(*Value_MapValue)(nil),
|
||||
(*Value_ListValue)(nil),
|
||||
(*Value_TypeValue)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Value)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Value_NullValue:
|
||||
b.EncodeVarint(1<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.NullValue))
|
||||
case *Value_BoolValue:
|
||||
t := uint64(0)
|
||||
if x.BoolValue {
|
||||
t = 1
|
||||
}
|
||||
b.EncodeVarint(2<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(t)
|
||||
case *Value_Int64Value:
|
||||
b.EncodeVarint(3<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.Int64Value))
|
||||
case *Value_Uint64Value:
|
||||
b.EncodeVarint(4<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.Uint64Value))
|
||||
case *Value_DoubleValue:
|
||||
b.EncodeVarint(5<<3 | proto.WireFixed64)
|
||||
b.EncodeFixed64(math.Float64bits(x.DoubleValue))
|
||||
case *Value_StringValue:
|
||||
b.EncodeVarint(6<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.StringValue)
|
||||
case *Value_BytesValue:
|
||||
b.EncodeVarint(7<<3 | proto.WireBytes)
|
||||
b.EncodeRawBytes(x.BytesValue)
|
||||
case *Value_EnumValue:
|
||||
b.EncodeVarint(9<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.EnumValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_ObjectValue:
|
||||
b.EncodeVarint(10<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ObjectValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_MapValue:
|
||||
b.EncodeVarint(11<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.MapValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_ListValue:
|
||||
b.EncodeVarint(12<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ListValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_TypeValue:
|
||||
b.EncodeVarint(15<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.TypeValue)
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Value.Kind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Value)
|
||||
switch tag {
|
||||
case 1: // kind.null_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_NullValue{_struct.NullValue(x)}
|
||||
return true, err
|
||||
case 2: // kind.bool_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_BoolValue{x != 0}
|
||||
return true, err
|
||||
case 3: // kind.int64_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_Int64Value{int64(x)}
|
||||
return true, err
|
||||
case 4: // kind.uint64_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_Uint64Value{x}
|
||||
return true, err
|
||||
case 5: // kind.double_value
|
||||
if wire != proto.WireFixed64 {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeFixed64()
|
||||
m.Kind = &Value_DoubleValue{math.Float64frombits(x)}
|
||||
return true, err
|
||||
case 6: // kind.string_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Kind = &Value_StringValue{x}
|
||||
return true, err
|
||||
case 7: // kind.bytes_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeRawBytes(true)
|
||||
m.Kind = &Value_BytesValue{x}
|
||||
return true, err
|
||||
case 9: // kind.enum_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(EnumValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_EnumValue{msg}
|
||||
return true, err
|
||||
case 10: // kind.object_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(any.Any)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_ObjectValue{msg}
|
||||
return true, err
|
||||
case 11: // kind.map_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(MapValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_MapValue{msg}
|
||||
return true, err
|
||||
case 12: // kind.list_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ListValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_ListValue{msg}
|
||||
return true, err
|
||||
case 15: // kind.type_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Kind = &Value_TypeValue{x}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Value_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Value)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Value_NullValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.NullValue))
|
||||
case *Value_BoolValue:
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case *Value_Int64Value:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.Int64Value))
|
||||
case *Value_Uint64Value:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.Uint64Value))
|
||||
case *Value_DoubleValue:
|
||||
n += 1 // tag and wire
|
||||
n += 8
|
||||
case *Value_StringValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.StringValue)))
|
||||
n += len(x.StringValue)
|
||||
case *Value_BytesValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.BytesValue)))
|
||||
n += len(x.BytesValue)
|
||||
case *Value_EnumValue:
|
||||
s := proto.Size(x.EnumValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_ObjectValue:
|
||||
s := proto.Size(x.ObjectValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_MapValue:
|
||||
s := proto.Size(x.MapValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_ListValue:
|
||||
s := proto.Size(x.ListValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_TypeValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.TypeValue)))
|
||||
n += len(x.TypeValue)
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// An enum value.
|
||||
type EnumValue struct {
|
||||
// The fully qualified name of the enum type.
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// The value of the enum.
|
||||
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EnumValue) Reset() { *m = EnumValue{} }
|
||||
func (m *EnumValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*EnumValue) ProtoMessage() {}
|
||||
func (*EnumValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_24bee359d1e5798a, []int{1}
|
||||
}
|
||||
|
||||
func (m *EnumValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EnumValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EnumValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EnumValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EnumValue.Merge(m, src)
|
||||
}
|
||||
func (m *EnumValue) XXX_Size() int {
|
||||
return xxx_messageInfo_EnumValue.Size(m)
|
||||
}
|
||||
func (m *EnumValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EnumValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EnumValue proto.InternalMessageInfo
|
||||
|
||||
func (m *EnumValue) GetType() string {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *EnumValue) GetValue() int32 {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A list.
|
||||
//
|
||||
// Wrapped in a message so 'not set' and empty can be differentiated, which is
|
||||
// required for use in a 'oneof'.
|
||||
type ListValue struct {
|
||||
// The ordered values in the list.
|
||||
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListValue) Reset() { *m = ListValue{} }
|
||||
func (m *ListValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListValue) ProtoMessage() {}
|
||||
func (*ListValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_24bee359d1e5798a, []int{2}
|
||||
}
|
||||
|
||||
func (m *ListValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ListValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListValue.Merge(m, src)
|
||||
}
|
||||
func (m *ListValue) XXX_Size() int {
|
||||
return xxx_messageInfo_ListValue.Size(m)
|
||||
}
|
||||
func (m *ListValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListValue proto.InternalMessageInfo
|
||||
|
||||
func (m *ListValue) GetValues() []*Value {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A map.
|
||||
//
|
||||
// Wrapped in a message so 'not set' and empty can be differentiated, which is
|
||||
// required for use in a 'oneof'.
|
||||
type MapValue struct {
|
||||
// The set of map entries.
|
||||
//
|
||||
// CEL has fewer restrictions on keys, so a protobuf map represenation
|
||||
// cannot be used.
|
||||
Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MapValue) Reset() { *m = MapValue{} }
|
||||
func (m *MapValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*MapValue) ProtoMessage() {}
|
||||
func (*MapValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_24bee359d1e5798a, []int{3}
|
||||
}
|
||||
|
||||
func (m *MapValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MapValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MapValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MapValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MapValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MapValue.Merge(m, src)
|
||||
}
|
||||
func (m *MapValue) XXX_Size() int {
|
||||
return xxx_messageInfo_MapValue.Size(m)
|
||||
}
|
||||
func (m *MapValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MapValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MapValue proto.InternalMessageInfo
|
||||
|
||||
func (m *MapValue) GetEntries() []*MapValue_Entry {
|
||||
if m != nil {
|
||||
return m.Entries
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// An entry in the map.
|
||||
type MapValue_Entry struct {
|
||||
// The key.
|
||||
//
|
||||
// Must be unique with in the map.
|
||||
// Currently only boolean, int, uint, and string values can be keys.
|
||||
Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||
// The value.
|
||||
Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) Reset() { *m = MapValue_Entry{} }
|
||||
func (m *MapValue_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MapValue_Entry) ProtoMessage() {}
|
||||
func (*MapValue_Entry) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_24bee359d1e5798a, []int{3, 0}
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MapValue_Entry.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MapValue_Entry.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MapValue_Entry.Merge(m, src)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Size() int {
|
||||
return xxx_messageInfo_MapValue_Entry.Size(m)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MapValue_Entry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MapValue_Entry proto.InternalMessageInfo
|
||||
|
||||
func (m *MapValue_Entry) GetKey() *Value {
|
||||
if m != nil {
|
||||
return m.Key
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) GetValue() *Value {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Value)(nil), "google.api.expr.v1alpha1.Value")
|
||||
proto.RegisterType((*EnumValue)(nil), "google.api.expr.v1alpha1.EnumValue")
|
||||
proto.RegisterType((*ListValue)(nil), "google.api.expr.v1alpha1.ListValue")
|
||||
proto.RegisterType((*MapValue)(nil), "google.api.expr.v1alpha1.MapValue")
|
||||
proto.RegisterType((*MapValue_Entry)(nil), "google.api.expr.v1alpha1.MapValue.Entry")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1alpha1/value.proto", fileDescriptor_24bee359d1e5798a)
|
||||
}
|
||||
|
||||
var fileDescriptor_24bee359d1e5798a = []byte{
|
||||
// 518 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x94, 0xcb, 0x6e, 0xd4, 0x30,
|
||||
0x14, 0x86, 0x6b, 0xe6, 0xd2, 0xc9, 0x99, 0x11, 0x48, 0x56, 0x17, 0xc3, 0xa8, 0x52, 0x43, 0xca,
|
||||
0x22, 0xab, 0x44, 0x33, 0x50, 0x10, 0x2a, 0x9b, 0x8e, 0x5a, 0x69, 0x16, 0x80, 0xaa, 0x2c, 0x58,
|
||||
0xb0, 0x41, 0xce, 0xd4, 0x84, 0x50, 0xc7, 0x0e, 0x89, 0x5d, 0x91, 0xc7, 0xe3, 0x01, 0x78, 0x1f,
|
||||
0x96, 0xc8, 0xb7, 0x50, 0xa8, 0x46, 0xed, 0x2e, 0xe7, 0xf7, 0xf7, 0xfb, 0x5c, 0x7c, 0x14, 0x78,
|
||||
0x5e, 0x08, 0x51, 0x30, 0x9a, 0x92, 0xba, 0x4c, 0xe9, 0x8f, 0xba, 0x49, 0x6f, 0x96, 0x84, 0xd5,
|
||||
0x5f, 0xc9, 0x32, 0xbd, 0x21, 0x4c, 0xd1, 0xa4, 0x6e, 0x84, 0x14, 0x78, 0x6e, 0xa9, 0x84, 0xd4,
|
||||
0x65, 0xa2, 0xa9, 0xc4, 0x53, 0x8b, 0xa7, 0xce, 0x6f, 0xb8, 0x5c, 0x7d, 0x49, 0x09, 0xef, 0xac,
|
||||
0x69, 0x71, 0xf8, 0xff, 0x51, 0x2b, 0x1b, 0xb5, 0x95, 0xf6, 0x34, 0xfa, 0x35, 0x84, 0xd1, 0x47,
|
||||
0x9d, 0x02, 0x9f, 0x02, 0x70, 0xc5, 0xd8, 0x67, 0x93, 0x70, 0x8e, 0x42, 0x14, 0x3f, 0x5e, 0x2d,
|
||||
0x12, 0x97, 0xd1, 0x9b, 0x93, 0x0f, 0x8a, 0x31, 0xc3, 0x6f, 0xf6, 0xb2, 0x80, 0xfb, 0x00, 0x1f,
|
||||
0x01, 0xe4, 0x42, 0x78, 0xf3, 0xa3, 0x10, 0xc5, 0x13, 0x0d, 0x68, 0xcd, 0x02, 0xcf, 0x60, 0x5a,
|
||||
0x72, 0xf9, 0xea, 0xa5, 0x23, 0x06, 0x21, 0x8a, 0x07, 0x9b, 0xbd, 0x0c, 0x8c, 0x68, 0x91, 0x63,
|
||||
0x98, 0xa9, 0xdb, 0xcc, 0x30, 0x44, 0xf1, 0x70, 0xb3, 0x97, 0x4d, 0xd5, 0xbf, 0xd0, 0x95, 0x50,
|
||||
0x39, 0xa3, 0x0e, 0x1a, 0x85, 0x28, 0x46, 0x1a, 0xb2, 0x6a, 0x0f, 0xb5, 0xb2, 0x29, 0x79, 0xe1,
|
||||
0xa0, 0x71, 0x88, 0xe2, 0x40, 0x43, 0x56, 0xed, 0x2b, 0xca, 0x3b, 0x49, 0x5b, 0xc7, 0xec, 0x87,
|
||||
0x28, 0x9e, 0xe9, 0x8a, 0x8c, 0x68, 0x91, 0x73, 0x00, 0xca, 0x55, 0xe5, 0x88, 0x20, 0x44, 0xf1,
|
||||
0x74, 0x75, 0x9c, 0xec, 0x7a, 0x84, 0xe4, 0x82, 0xab, 0xaa, 0x9f, 0x0d, 0xf5, 0x01, 0x7e, 0x03,
|
||||
0x33, 0x91, 0x7f, 0xa3, 0x5b, 0xe9, 0xee, 0x01, 0x73, 0xcf, 0xc1, 0x9d, 0xd1, 0x9e, 0xf1, 0x4e,
|
||||
0xd7, 0x68, 0x59, 0x6b, 0x3d, 0x83, 0xa0, 0x22, 0xb5, 0xf3, 0x4d, 0x8d, 0x2f, 0xda, 0x9d, 0xff,
|
||||
0x3d, 0xa9, 0x7d, 0xfa, 0x49, 0xe5, 0xbe, 0x75, 0x0f, 0xac, 0x6c, 0x7d, 0xee, 0xd9, 0x7d, 0x3d,
|
||||
0xbc, 0x2b, 0x5b, 0xd9, 0xf7, 0xc0, 0x7c, 0xa0, 0xdf, 0x57, 0x76, 0xb5, 0x1f, 0xfa, 0x13, 0x37,
|
||||
0xcf, 0x40, 0x6b, 0x06, 0x58, 0x8f, 0x61, 0x78, 0x5d, 0xf2, 0xab, 0xe8, 0x04, 0x82, 0x7e, 0x0c,
|
||||
0x18, 0xc3, 0x50, 0x13, 0x66, 0x99, 0x82, 0xcc, 0x7c, 0xe3, 0x03, 0x18, 0xfd, 0x5d, 0x92, 0x51,
|
||||
0x66, 0x83, 0xe8, 0x1c, 0x82, 0x3e, 0x33, 0x7e, 0x0d, 0x63, 0xa3, 0xb6, 0x73, 0x14, 0x0e, 0xe2,
|
||||
0xe9, 0xea, 0x68, 0x77, 0xb9, 0xc6, 0x90, 0x39, 0x3c, 0xfa, 0x89, 0x60, 0xe2, 0x87, 0x80, 0xd7,
|
||||
0xb0, 0x4f, 0xb9, 0x6c, 0xca, 0xfe, 0x9a, 0xf8, 0xfe, 0xc9, 0x25, 0x17, 0x5c, 0x36, 0x5d, 0xe6,
|
||||
0x8d, 0x8b, 0xef, 0x30, 0x32, 0x0a, 0x5e, 0xc2, 0xe0, 0x9a, 0x76, 0xa6, 0x91, 0x07, 0xd4, 0xa3,
|
||||
0x59, 0x7c, 0x72, 0xbb, 0xd1, 0x07, 0x98, 0x2c, 0xbd, 0xae, 0xe0, 0x70, 0x2b, 0xaa, 0x9d, 0xf0,
|
||||
0x1a, 0x0c, 0x7d, 0xa9, 0x97, 0xe6, 0x12, 0x7d, 0x7a, 0xeb, 0xb8, 0x42, 0x30, 0xc2, 0x8b, 0x44,
|
||||
0x34, 0x45, 0x5a, 0x50, 0x6e, 0x56, 0x2a, 0xb5, 0x47, 0xa4, 0x2e, 0xdb, 0xbb, 0xbf, 0x95, 0x53,
|
||||
0x1d, 0xfd, 0x46, 0x28, 0x1f, 0x1b, 0xf6, 0xc5, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf9, 0x53,
|
||||
0x8e, 0x99, 0x81, 0x04, 0x00, 0x00,
|
||||
}
|
715
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta/value.pb.go
generated
vendored
Normal file
715
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta/value.pb.go
generated
vendored
Normal file
|
@ -0,0 +1,715 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1beta1/value.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
any "github.com/golang/protobuf/ptypes/any"
|
||||
_struct "github.com/golang/protobuf/ptypes/struct"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Represents a CEL value.
|
||||
//
|
||||
// This is similar to `google.protobuf.Value`, but can represent CEL's full
|
||||
// range of values.
|
||||
type Value struct {
|
||||
// Required. The valid kinds of values.
|
||||
//
|
||||
// Types that are valid to be assigned to Kind:
|
||||
// *Value_NullValue
|
||||
// *Value_BoolValue
|
||||
// *Value_Int64Value
|
||||
// *Value_Uint64Value
|
||||
// *Value_DoubleValue
|
||||
// *Value_StringValue
|
||||
// *Value_BytesValue
|
||||
// *Value_EnumValue
|
||||
// *Value_ObjectValue
|
||||
// *Value_MapValue
|
||||
// *Value_ListValue
|
||||
// *Value_TypeValue
|
||||
Kind isValue_Kind `protobuf_oneof:"kind"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Value) Reset() { *m = Value{} }
|
||||
func (m *Value) String() string { return proto.CompactTextString(m) }
|
||||
func (*Value) ProtoMessage() {}
|
||||
func (*Value) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6677b81498dbb8ef, []int{0}
|
||||
}
|
||||
|
||||
func (m *Value) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Value.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Value.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Value) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Value.Merge(m, src)
|
||||
}
|
||||
func (m *Value) XXX_Size() int {
|
||||
return xxx_messageInfo_Value.Size(m)
|
||||
}
|
||||
func (m *Value) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Value.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Value proto.InternalMessageInfo
|
||||
|
||||
type isValue_Kind interface {
|
||||
isValue_Kind()
|
||||
}
|
||||
|
||||
type Value_NullValue struct {
|
||||
NullValue _struct.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"`
|
||||
}
|
||||
|
||||
type Value_BoolValue struct {
|
||||
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_Int64Value struct {
|
||||
Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_Uint64Value struct {
|
||||
Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_DoubleValue struct {
|
||||
DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_StringValue struct {
|
||||
StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_BytesValue struct {
|
||||
BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_EnumValue struct {
|
||||
EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_ObjectValue struct {
|
||||
ObjectValue *any.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_MapValue struct {
|
||||
MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_ListValue struct {
|
||||
ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Value_TypeValue struct {
|
||||
TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Value_NullValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_BoolValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_Int64Value) isValue_Kind() {}
|
||||
|
||||
func (*Value_Uint64Value) isValue_Kind() {}
|
||||
|
||||
func (*Value_DoubleValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_StringValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_BytesValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_EnumValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_ObjectValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_MapValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_ListValue) isValue_Kind() {}
|
||||
|
||||
func (*Value_TypeValue) isValue_Kind() {}
|
||||
|
||||
func (m *Value) GetKind() isValue_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetNullValue() _struct.NullValue {
|
||||
if x, ok := m.GetKind().(*Value_NullValue); ok {
|
||||
return x.NullValue
|
||||
}
|
||||
return _struct.NullValue_NULL_VALUE
|
||||
}
|
||||
|
||||
func (m *Value) GetBoolValue() bool {
|
||||
if x, ok := m.GetKind().(*Value_BoolValue); ok {
|
||||
return x.BoolValue
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func (m *Value) GetInt64Value() int64 {
|
||||
if x, ok := m.GetKind().(*Value_Int64Value); ok {
|
||||
return x.Int64Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetUint64Value() uint64 {
|
||||
if x, ok := m.GetKind().(*Value_Uint64Value); ok {
|
||||
return x.Uint64Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetDoubleValue() float64 {
|
||||
if x, ok := m.GetKind().(*Value_DoubleValue); ok {
|
||||
return x.DoubleValue
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Value) GetStringValue() string {
|
||||
if x, ok := m.GetKind().(*Value_StringValue); ok {
|
||||
return x.StringValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Value) GetBytesValue() []byte {
|
||||
if x, ok := m.GetKind().(*Value_BytesValue); ok {
|
||||
return x.BytesValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetEnumValue() *EnumValue {
|
||||
if x, ok := m.GetKind().(*Value_EnumValue); ok {
|
||||
return x.EnumValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetObjectValue() *any.Any {
|
||||
if x, ok := m.GetKind().(*Value_ObjectValue); ok {
|
||||
return x.ObjectValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetMapValue() *MapValue {
|
||||
if x, ok := m.GetKind().(*Value_MapValue); ok {
|
||||
return x.MapValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetListValue() *ListValue {
|
||||
if x, ok := m.GetKind().(*Value_ListValue); ok {
|
||||
return x.ListValue
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Value) GetTypeValue() string {
|
||||
if x, ok := m.GetKind().(*Value_TypeValue); ok {
|
||||
return x.TypeValue
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _Value_OneofMarshaler, _Value_OneofUnmarshaler, _Value_OneofSizer, []interface{}{
|
||||
(*Value_NullValue)(nil),
|
||||
(*Value_BoolValue)(nil),
|
||||
(*Value_Int64Value)(nil),
|
||||
(*Value_Uint64Value)(nil),
|
||||
(*Value_DoubleValue)(nil),
|
||||
(*Value_StringValue)(nil),
|
||||
(*Value_BytesValue)(nil),
|
||||
(*Value_EnumValue)(nil),
|
||||
(*Value_ObjectValue)(nil),
|
||||
(*Value_MapValue)(nil),
|
||||
(*Value_ListValue)(nil),
|
||||
(*Value_TypeValue)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Value_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Value)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Value_NullValue:
|
||||
b.EncodeVarint(1<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.NullValue))
|
||||
case *Value_BoolValue:
|
||||
t := uint64(0)
|
||||
if x.BoolValue {
|
||||
t = 1
|
||||
}
|
||||
b.EncodeVarint(2<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(t)
|
||||
case *Value_Int64Value:
|
||||
b.EncodeVarint(3<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.Int64Value))
|
||||
case *Value_Uint64Value:
|
||||
b.EncodeVarint(4<<3 | proto.WireVarint)
|
||||
b.EncodeVarint(uint64(x.Uint64Value))
|
||||
case *Value_DoubleValue:
|
||||
b.EncodeVarint(5<<3 | proto.WireFixed64)
|
||||
b.EncodeFixed64(math.Float64bits(x.DoubleValue))
|
||||
case *Value_StringValue:
|
||||
b.EncodeVarint(6<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.StringValue)
|
||||
case *Value_BytesValue:
|
||||
b.EncodeVarint(7<<3 | proto.WireBytes)
|
||||
b.EncodeRawBytes(x.BytesValue)
|
||||
case *Value_EnumValue:
|
||||
b.EncodeVarint(9<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.EnumValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_ObjectValue:
|
||||
b.EncodeVarint(10<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ObjectValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_MapValue:
|
||||
b.EncodeVarint(11<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.MapValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_ListValue:
|
||||
b.EncodeVarint(12<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.ListValue); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Value_TypeValue:
|
||||
b.EncodeVarint(15<<3 | proto.WireBytes)
|
||||
b.EncodeStringBytes(x.TypeValue)
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Value.Kind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Value_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Value)
|
||||
switch tag {
|
||||
case 1: // kind.null_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_NullValue{_struct.NullValue(x)}
|
||||
return true, err
|
||||
case 2: // kind.bool_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_BoolValue{x != 0}
|
||||
return true, err
|
||||
case 3: // kind.int64_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_Int64Value{int64(x)}
|
||||
return true, err
|
||||
case 4: // kind.uint64_value
|
||||
if wire != proto.WireVarint {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeVarint()
|
||||
m.Kind = &Value_Uint64Value{x}
|
||||
return true, err
|
||||
case 5: // kind.double_value
|
||||
if wire != proto.WireFixed64 {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeFixed64()
|
||||
m.Kind = &Value_DoubleValue{math.Float64frombits(x)}
|
||||
return true, err
|
||||
case 6: // kind.string_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Kind = &Value_StringValue{x}
|
||||
return true, err
|
||||
case 7: // kind.bytes_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeRawBytes(true)
|
||||
m.Kind = &Value_BytesValue{x}
|
||||
return true, err
|
||||
case 9: // kind.enum_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(EnumValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_EnumValue{msg}
|
||||
return true, err
|
||||
case 10: // kind.object_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(any.Any)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_ObjectValue{msg}
|
||||
return true, err
|
||||
case 11: // kind.map_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(MapValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_MapValue{msg}
|
||||
return true, err
|
||||
case 12: // kind.list_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ListValue)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Value_ListValue{msg}
|
||||
return true, err
|
||||
case 15: // kind.type_value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
x, err := b.DecodeStringBytes()
|
||||
m.Kind = &Value_TypeValue{x}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Value_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Value)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Value_NullValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.NullValue))
|
||||
case *Value_BoolValue:
|
||||
n += 1 // tag and wire
|
||||
n += 1
|
||||
case *Value_Int64Value:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.Int64Value))
|
||||
case *Value_Uint64Value:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(x.Uint64Value))
|
||||
case *Value_DoubleValue:
|
||||
n += 1 // tag and wire
|
||||
n += 8
|
||||
case *Value_StringValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.StringValue)))
|
||||
n += len(x.StringValue)
|
||||
case *Value_BytesValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.BytesValue)))
|
||||
n += len(x.BytesValue)
|
||||
case *Value_EnumValue:
|
||||
s := proto.Size(x.EnumValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_ObjectValue:
|
||||
s := proto.Size(x.ObjectValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_MapValue:
|
||||
s := proto.Size(x.MapValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_ListValue:
|
||||
s := proto.Size(x.ListValue)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Value_TypeValue:
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(len(x.TypeValue)))
|
||||
n += len(x.TypeValue)
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// An enum value.
|
||||
type EnumValue struct {
|
||||
// The fully qualified name of the enum type.
|
||||
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// The value of the enum.
|
||||
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EnumValue) Reset() { *m = EnumValue{} }
|
||||
func (m *EnumValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*EnumValue) ProtoMessage() {}
|
||||
func (*EnumValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6677b81498dbb8ef, []int{1}
|
||||
}
|
||||
|
||||
func (m *EnumValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EnumValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EnumValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EnumValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EnumValue.Merge(m, src)
|
||||
}
|
||||
func (m *EnumValue) XXX_Size() int {
|
||||
return xxx_messageInfo_EnumValue.Size(m)
|
||||
}
|
||||
func (m *EnumValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EnumValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EnumValue proto.InternalMessageInfo
|
||||
|
||||
func (m *EnumValue) GetType() string {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *EnumValue) GetValue() int32 {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// A list.
|
||||
//
|
||||
// Wrapped in a message so 'not set' and empty can be differentiated, which is
|
||||
// required for use in a 'oneof'.
|
||||
type ListValue struct {
|
||||
// The ordered values in the list.
|
||||
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ListValue) Reset() { *m = ListValue{} }
|
||||
func (m *ListValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*ListValue) ProtoMessage() {}
|
||||
func (*ListValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6677b81498dbb8ef, []int{2}
|
||||
}
|
||||
|
||||
func (m *ListValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ListValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ListValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ListValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ListValue.Merge(m, src)
|
||||
}
|
||||
func (m *ListValue) XXX_Size() int {
|
||||
return xxx_messageInfo_ListValue.Size(m)
|
||||
}
|
||||
func (m *ListValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ListValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ListValue proto.InternalMessageInfo
|
||||
|
||||
func (m *ListValue) GetValues() []*Value {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A map.
|
||||
//
|
||||
// Wrapped in a message so 'not set' and empty can be differentiated, which is
|
||||
// required for use in a 'oneof'.
|
||||
type MapValue struct {
|
||||
// The set of map entries.
|
||||
//
|
||||
// CEL has fewer restrictions on keys, so a protobuf map represenation
|
||||
// cannot be used.
|
||||
Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MapValue) Reset() { *m = MapValue{} }
|
||||
func (m *MapValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*MapValue) ProtoMessage() {}
|
||||
func (*MapValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6677b81498dbb8ef, []int{3}
|
||||
}
|
||||
|
||||
func (m *MapValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MapValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MapValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MapValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MapValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MapValue.Merge(m, src)
|
||||
}
|
||||
func (m *MapValue) XXX_Size() int {
|
||||
return xxx_messageInfo_MapValue.Size(m)
|
||||
}
|
||||
func (m *MapValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MapValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MapValue proto.InternalMessageInfo
|
||||
|
||||
func (m *MapValue) GetEntries() []*MapValue_Entry {
|
||||
if m != nil {
|
||||
return m.Entries
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// An entry in the map.
|
||||
type MapValue_Entry struct {
|
||||
// The key.
|
||||
//
|
||||
// Must be unique with in the map.
|
||||
// Currently only boolean, int, uint, and string values can be keys.
|
||||
Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||||
// The value.
|
||||
Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) Reset() { *m = MapValue_Entry{} }
|
||||
func (m *MapValue_Entry) String() string { return proto.CompactTextString(m) }
|
||||
func (*MapValue_Entry) ProtoMessage() {}
|
||||
func (*MapValue_Entry) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_6677b81498dbb8ef, []int{3, 0}
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_MapValue_Entry.Unmarshal(m, b)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_MapValue_Entry.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_MapValue_Entry.Merge(m, src)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_Size() int {
|
||||
return xxx_messageInfo_MapValue_Entry.Size(m)
|
||||
}
|
||||
func (m *MapValue_Entry) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_MapValue_Entry.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_MapValue_Entry proto.InternalMessageInfo
|
||||
|
||||
func (m *MapValue_Entry) GetKey() *Value {
|
||||
if m != nil {
|
||||
return m.Key
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MapValue_Entry) GetValue() *Value {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Value)(nil), "google.api.expr.v1beta1.Value")
|
||||
proto.RegisterType((*EnumValue)(nil), "google.api.expr.v1beta1.EnumValue")
|
||||
proto.RegisterType((*ListValue)(nil), "google.api.expr.v1beta1.ListValue")
|
||||
proto.RegisterType((*MapValue)(nil), "google.api.expr.v1beta1.MapValue")
|
||||
proto.RegisterType((*MapValue_Entry)(nil), "google.api.expr.v1beta1.MapValue.Entry")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1beta1/value.proto", fileDescriptor_6677b81498dbb8ef)
|
||||
}
|
||||
|
||||
var fileDescriptor_6677b81498dbb8ef = []byte{
|
||||
// 518 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x94, 0xcb, 0x6e, 0xd4, 0x3c,
|
||||
0x14, 0xc7, 0xc7, 0xdf, 0x5c, 0x3a, 0x39, 0x33, 0xfa, 0x90, 0xac, 0x4a, 0x94, 0x01, 0x41, 0x9a,
|
||||
0x2e, 0xc8, 0xca, 0xa1, 0x43, 0xa9, 0x04, 0xdd, 0xd0, 0xa9, 0x2a, 0xcd, 0x02, 0x50, 0x95, 0x05,
|
||||
0x0b, 0x36, 0x28, 0x99, 0x9a, 0x28, 0xad, 0x63, 0x47, 0x89, 0x5d, 0x91, 0x97, 0xe3, 0x01, 0x78,
|
||||
0x22, 0x96, 0xc8, 0xb7, 0x50, 0x8a, 0x46, 0xb3, 0xf3, 0xf9, 0xfb, 0xf7, 0xf7, 0xb9, 0xe4, 0x28,
|
||||
0x70, 0x54, 0x08, 0x51, 0x30, 0x9a, 0x64, 0x75, 0x99, 0xd0, 0xef, 0x75, 0x93, 0xdc, 0x1d, 0xe7,
|
||||
0x54, 0x66, 0xc7, 0xc9, 0x5d, 0xc6, 0x14, 0x25, 0x75, 0x23, 0xa4, 0xc0, 0x8f, 0x2d, 0x44, 0xb2,
|
||||
0xba, 0x24, 0x1a, 0x22, 0x0e, 0x5a, 0x3c, 0x71, 0x6e, 0x83, 0xe5, 0xea, 0x5b, 0x92, 0xf1, 0xce,
|
||||
0x7a, 0x16, 0xcf, 0x1e, 0x5e, 0xb5, 0xb2, 0x51, 0x1b, 0x69, 0x6f, 0xa3, 0x9f, 0x23, 0x18, 0x7f,
|
||||
0xd6, 0x19, 0xf0, 0x19, 0x00, 0x57, 0x8c, 0x7d, 0x35, 0xf9, 0x0e, 0x50, 0x88, 0xe2, 0xff, 0x97,
|
||||
0x0b, 0xe2, 0x12, 0x7a, 0x33, 0xf9, 0xa4, 0x18, 0x33, 0xfc, 0x7a, 0x90, 0x06, 0xdc, 0x07, 0xf8,
|
||||
0x05, 0x40, 0x2e, 0x84, 0x37, 0xff, 0x17, 0xa2, 0x78, 0xaa, 0x01, 0xad, 0x59, 0xe0, 0x10, 0x66,
|
||||
0x25, 0x97, 0xa7, 0x27, 0x8e, 0x18, 0x86, 0x28, 0x1e, 0xae, 0x07, 0x29, 0x18, 0xd1, 0x22, 0x47,
|
||||
0x30, 0x57, 0xf7, 0x99, 0x51, 0x88, 0xe2, 0xd1, 0x7a, 0x90, 0xce, 0xd4, 0xdf, 0xd0, 0xb5, 0x50,
|
||||
0x39, 0xa3, 0x0e, 0x1a, 0x87, 0x28, 0x46, 0x1a, 0xb2, 0x6a, 0x0f, 0xb5, 0xb2, 0x29, 0x79, 0xe1,
|
||||
0xa0, 0x49, 0x88, 0xe2, 0x40, 0x43, 0x56, 0xed, 0x2b, 0xca, 0x3b, 0x49, 0x5b, 0xc7, 0xec, 0x85,
|
||||
0x28, 0x9e, 0xeb, 0x8a, 0x8c, 0x68, 0x91, 0x0b, 0x00, 0xca, 0x55, 0xe5, 0x88, 0x20, 0x44, 0xf1,
|
||||
0x6c, 0x19, 0x91, 0x2d, 0xdf, 0x80, 0x5c, 0x72, 0x55, 0xf5, 0xa3, 0xa1, 0x3e, 0xc0, 0x6f, 0x61,
|
||||
0x2e, 0xf2, 0x1b, 0xba, 0x91, 0xee, 0x19, 0x30, 0xcf, 0xec, 0xff, 0x33, 0xd9, 0x73, 0xde, 0xe9,
|
||||
0x12, 0x2d, 0x6b, 0xad, 0xef, 0x21, 0xa8, 0xb2, 0xda, 0xf9, 0x66, 0xc6, 0x77, 0xb8, 0x35, 0xfd,
|
||||
0xc7, 0xac, 0xf6, 0xd9, 0xa7, 0x95, 0x3b, 0xeb, 0x0e, 0x58, 0xd9, 0xfa, 0xd4, 0xf3, 0x1d, 0x1d,
|
||||
0x7c, 0x28, 0x5b, 0xd9, 0x77, 0xc0, 0x7c, 0xa0, 0x3f, 0xae, 0xec, 0x6a, 0x3f, 0xf1, 0x47, 0x6e,
|
||||
0x98, 0x81, 0xd6, 0x0c, 0xb0, 0x9a, 0xc0, 0xe8, 0xb6, 0xe4, 0xd7, 0xd1, 0x1b, 0x08, 0xfa, 0x21,
|
||||
0x60, 0x0c, 0x23, 0x4d, 0x98, 0x4d, 0x0a, 0x52, 0x73, 0xc6, 0xfb, 0x30, 0xfe, 0xb3, 0x21, 0xe3,
|
||||
0xd4, 0x06, 0xd1, 0x05, 0x04, 0x7d, 0x66, 0x7c, 0x0a, 0x13, 0xa3, 0xb6, 0x07, 0x28, 0x1c, 0xc6,
|
||||
0xb3, 0xe5, 0xf3, 0xad, 0xd5, 0x1a, 0x3e, 0x75, 0x74, 0xf4, 0x03, 0xc1, 0xd4, 0x8f, 0x00, 0x9f,
|
||||
0xc3, 0x1e, 0xe5, 0xb2, 0x29, 0xfb, 0x57, 0x5e, 0xee, 0x1c, 0x1b, 0xb9, 0xe4, 0xb2, 0xe9, 0x52,
|
||||
0xef, 0x5b, 0x08, 0x18, 0x1b, 0x05, 0xbf, 0x82, 0xe1, 0x2d, 0xed, 0x4c, 0x1b, 0xbb, 0xab, 0xd1,
|
||||
0x28, 0x3e, 0xb9, 0xdf, 0xe5, 0x6e, 0x8f, 0x85, 0x57, 0x37, 0xf0, 0x74, 0x23, 0xaa, 0x6d, 0xec,
|
||||
0x0a, 0x0c, 0x7c, 0xa5, 0xb7, 0xe5, 0x0a, 0x7d, 0x79, 0xe7, 0xb0, 0x42, 0xb0, 0x8c, 0x17, 0x44,
|
||||
0x34, 0x45, 0x52, 0x50, 0x6e, 0x76, 0x29, 0xb1, 0x57, 0x59, 0x5d, 0xb6, 0x0f, 0x7f, 0x26, 0x67,
|
||||
0xfa, 0xfc, 0x0b, 0xa1, 0x7c, 0x62, 0xc8, 0xd7, 0xbf, 0x03, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x21,
|
||||
0xa3, 0x4c, 0x75, 0x04, 0x00, 0x00,
|
||||
}
|
407
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go
generated
vendored
Normal file
407
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/decl.pb.go
generated
vendored
Normal file
|
@ -0,0 +1,407 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1beta1/decl.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// A declaration.
|
||||
type Decl struct {
|
||||
// The id of the declaration.
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// The name of the declaration.
|
||||
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
||||
// The documentation string for the declaration.
|
||||
Doc string `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"`
|
||||
// The kind of declaration.
|
||||
//
|
||||
// Types that are valid to be assigned to Kind:
|
||||
// *Decl_Ident
|
||||
// *Decl_Function
|
||||
Kind isDecl_Kind `protobuf_oneof:"kind"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *Decl) Reset() { *m = Decl{} }
|
||||
func (m *Decl) String() string { return proto.CompactTextString(m) }
|
||||
func (*Decl) ProtoMessage() {}
|
||||
func (*Decl) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7b13a6b7649d2726, []int{0}
|
||||
}
|
||||
|
||||
func (m *Decl) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_Decl.Unmarshal(m, b)
|
||||
}
|
||||
func (m *Decl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_Decl.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *Decl) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_Decl.Merge(m, src)
|
||||
}
|
||||
func (m *Decl) XXX_Size() int {
|
||||
return xxx_messageInfo_Decl.Size(m)
|
||||
}
|
||||
func (m *Decl) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_Decl.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_Decl proto.InternalMessageInfo
|
||||
|
||||
func (m *Decl) GetId() int32 {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *Decl) GetName() string {
|
||||
if m != nil {
|
||||
return m.Name
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *Decl) GetDoc() string {
|
||||
if m != nil {
|
||||
return m.Doc
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
type isDecl_Kind interface {
|
||||
isDecl_Kind()
|
||||
}
|
||||
|
||||
type Decl_Ident struct {
|
||||
Ident *IdentDecl `protobuf:"bytes,4,opt,name=ident,proto3,oneof"`
|
||||
}
|
||||
|
||||
type Decl_Function struct {
|
||||
Function *FunctionDecl `protobuf:"bytes,5,opt,name=function,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*Decl_Ident) isDecl_Kind() {}
|
||||
|
||||
func (*Decl_Function) isDecl_Kind() {}
|
||||
|
||||
func (m *Decl) GetKind() isDecl_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Decl) GetIdent() *IdentDecl {
|
||||
if x, ok := m.GetKind().(*Decl_Ident); ok {
|
||||
return x.Ident
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *Decl) GetFunction() *FunctionDecl {
|
||||
if x, ok := m.GetKind().(*Decl_Function); ok {
|
||||
return x.Function
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*Decl) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _Decl_OneofMarshaler, _Decl_OneofUnmarshaler, _Decl_OneofSizer, []interface{}{
|
||||
(*Decl_Ident)(nil),
|
||||
(*Decl_Function)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _Decl_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*Decl)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Decl_Ident:
|
||||
b.EncodeVarint(4<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Ident); err != nil {
|
||||
return err
|
||||
}
|
||||
case *Decl_Function:
|
||||
b.EncodeVarint(5<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Function); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("Decl.Kind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _Decl_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*Decl)
|
||||
switch tag {
|
||||
case 4: // kind.ident
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(IdentDecl)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Decl_Ident{msg}
|
||||
return true, err
|
||||
case 5: // kind.function
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(FunctionDecl)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &Decl_Function{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _Decl_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*Decl)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *Decl_Ident:
|
||||
s := proto.Size(x.Ident)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *Decl_Function:
|
||||
s := proto.Size(x.Function)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// The declared type of a variable.
|
||||
//
|
||||
// Extends runtime type values with extra information used for type checking
|
||||
// and dispatching.
|
||||
type DeclType struct {
|
||||
// The expression id of the declared type, if applicable.
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
// The type name, e.g. 'int', 'my.type.Type' or 'T'
|
||||
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// An ordered list of type parameters, e.g. `<string, int>`.
|
||||
// Only applies to a subset of types, e.g. `map`, `list`.
|
||||
TypeParams []*DeclType `protobuf:"bytes,4,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *DeclType) Reset() { *m = DeclType{} }
|
||||
func (m *DeclType) String() string { return proto.CompactTextString(m) }
|
||||
func (*DeclType) ProtoMessage() {}
|
||||
func (*DeclType) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7b13a6b7649d2726, []int{1}
|
||||
}
|
||||
|
||||
func (m *DeclType) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_DeclType.Unmarshal(m, b)
|
||||
}
|
||||
func (m *DeclType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_DeclType.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *DeclType) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_DeclType.Merge(m, src)
|
||||
}
|
||||
func (m *DeclType) XXX_Size() int {
|
||||
return xxx_messageInfo_DeclType.Size(m)
|
||||
}
|
||||
func (m *DeclType) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_DeclType.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_DeclType proto.InternalMessageInfo
|
||||
|
||||
func (m *DeclType) GetId() int32 {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *DeclType) GetType() string {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *DeclType) GetTypeParams() []*DeclType {
|
||||
if m != nil {
|
||||
return m.TypeParams
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// An identifier declaration.
|
||||
type IdentDecl struct {
|
||||
// Optional type of the identifier.
|
||||
Type *DeclType `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
|
||||
// Optional value of the identifier.
|
||||
Value *Expr `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *IdentDecl) Reset() { *m = IdentDecl{} }
|
||||
func (m *IdentDecl) String() string { return proto.CompactTextString(m) }
|
||||
func (*IdentDecl) ProtoMessage() {}
|
||||
func (*IdentDecl) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7b13a6b7649d2726, []int{2}
|
||||
}
|
||||
|
||||
func (m *IdentDecl) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_IdentDecl.Unmarshal(m, b)
|
||||
}
|
||||
func (m *IdentDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_IdentDecl.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *IdentDecl) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_IdentDecl.Merge(m, src)
|
||||
}
|
||||
func (m *IdentDecl) XXX_Size() int {
|
||||
return xxx_messageInfo_IdentDecl.Size(m)
|
||||
}
|
||||
func (m *IdentDecl) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_IdentDecl.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_IdentDecl proto.InternalMessageInfo
|
||||
|
||||
func (m *IdentDecl) GetType() *DeclType {
|
||||
if m != nil {
|
||||
return m.Type
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *IdentDecl) GetValue() *Expr {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A function declaration.
|
||||
type FunctionDecl struct {
|
||||
// The function arguments.
|
||||
Args []*IdentDecl `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"`
|
||||
// Optional declared return type.
|
||||
ReturnType *DeclType `protobuf:"bytes,2,opt,name=return_type,json=returnType,proto3" json:"return_type,omitempty"`
|
||||
// If the first argument of the function is the receiver.
|
||||
ReceiverFunction bool `protobuf:"varint,3,opt,name=receiver_function,json=receiverFunction,proto3" json:"receiver_function,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *FunctionDecl) Reset() { *m = FunctionDecl{} }
|
||||
func (m *FunctionDecl) String() string { return proto.CompactTextString(m) }
|
||||
func (*FunctionDecl) ProtoMessage() {}
|
||||
func (*FunctionDecl) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_7b13a6b7649d2726, []int{3}
|
||||
}
|
||||
|
||||
func (m *FunctionDecl) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_FunctionDecl.Unmarshal(m, b)
|
||||
}
|
||||
func (m *FunctionDecl) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_FunctionDecl.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *FunctionDecl) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_FunctionDecl.Merge(m, src)
|
||||
}
|
||||
func (m *FunctionDecl) XXX_Size() int {
|
||||
return xxx_messageInfo_FunctionDecl.Size(m)
|
||||
}
|
||||
func (m *FunctionDecl) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_FunctionDecl.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_FunctionDecl proto.InternalMessageInfo
|
||||
|
||||
func (m *FunctionDecl) GetArgs() []*IdentDecl {
|
||||
if m != nil {
|
||||
return m.Args
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *FunctionDecl) GetReturnType() *DeclType {
|
||||
if m != nil {
|
||||
return m.ReturnType
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *FunctionDecl) GetReceiverFunction() bool {
|
||||
if m != nil {
|
||||
return m.ReceiverFunction
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*Decl)(nil), "google.api.expr.v1beta1.Decl")
|
||||
proto.RegisterType((*DeclType)(nil), "google.api.expr.v1beta1.DeclType")
|
||||
proto.RegisterType((*IdentDecl)(nil), "google.api.expr.v1beta1.IdentDecl")
|
||||
proto.RegisterType((*FunctionDecl)(nil), "google.api.expr.v1beta1.FunctionDecl")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/expr/v1beta1/decl.proto", fileDescriptor_7b13a6b7649d2726) }
|
||||
|
||||
var fileDescriptor_7b13a6b7649d2726 = []byte{
|
||||
// 398 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xcd, 0x4a, 0xeb, 0x40,
|
||||
0x14, 0xc7, 0xef, 0x34, 0x49, 0x69, 0x4f, 0x2f, 0x97, 0xde, 0xd9, 0xdc, 0x70, 0x45, 0x88, 0x01,
|
||||
0x21, 0x20, 0x24, 0xb4, 0x45, 0x17, 0x76, 0x17, 0x3f, 0xd0, 0x5d, 0x09, 0xae, 0xdc, 0x94, 0x69,
|
||||
0x32, 0x86, 0xd1, 0x74, 0x66, 0x98, 0xa6, 0xb5, 0x7d, 0x32, 0x9f, 0xc0, 0x77, 0x72, 0x29, 0x33,
|
||||
0x49, 0x83, 0xa0, 0x81, 0xae, 0x7a, 0x9a, 0xf3, 0xff, 0x9d, 0x8f, 0xff, 0x1c, 0xf0, 0x73, 0x21,
|
||||
0xf2, 0x82, 0x46, 0x44, 0xb2, 0x88, 0x6e, 0xa5, 0x8a, 0x36, 0xa3, 0x05, 0x2d, 0xc9, 0x28, 0xca,
|
||||
0x68, 0x5a, 0x84, 0x52, 0x89, 0x52, 0xe0, 0x7f, 0x95, 0x26, 0x24, 0x92, 0x85, 0x5a, 0x13, 0xd6,
|
||||
0x9a, 0xff, 0xad, 0xb0, 0x51, 0x19, 0xd8, 0x7f, 0x47, 0x60, 0x5f, 0xd3, 0xb4, 0xc0, 0x7f, 0xa0,
|
||||
0xc3, 0x32, 0x17, 0x79, 0x28, 0x70, 0x92, 0x0e, 0xcb, 0x30, 0x06, 0x9b, 0x93, 0x25, 0x75, 0x3b,
|
||||
0x1e, 0x0a, 0xfa, 0x89, 0x89, 0xf1, 0x10, 0xac, 0x4c, 0xa4, 0xae, 0x65, 0x3e, 0xe9, 0x10, 0x5f,
|
||||
0x82, 0xc3, 0x32, 0xca, 0x4b, 0xd7, 0xf6, 0x50, 0x30, 0x18, 0xfb, 0x61, 0xcb, 0x2c, 0xe1, 0xbd,
|
||||
0x56, 0xe9, 0x46, 0x77, 0xbf, 0x92, 0x0a, 0xc1, 0x57, 0xd0, 0x7b, 0x5a, 0xf3, 0xb4, 0x64, 0x82,
|
||||
0xbb, 0x8e, 0xc1, 0x4f, 0x5b, 0xf1, 0xdb, 0x5a, 0x58, 0x57, 0x68, 0xc0, 0xb8, 0x0b, 0xf6, 0x0b,
|
||||
0xe3, 0x99, 0xaf, 0xa0, 0xa7, 0x73, 0x0f, 0x3b, 0x49, 0x7f, 0x5a, 0xa5, 0xdc, 0xc9, 0x66, 0x15,
|
||||
0x1d, 0xe3, 0x18, 0x06, 0xfa, 0x77, 0x2e, 0x89, 0x22, 0xcb, 0x95, 0x6b, 0x7b, 0x56, 0x30, 0x18,
|
||||
0x9f, 0xb4, 0xf6, 0xdf, 0xd7, 0x4e, 0x40, 0x53, 0x33, 0x03, 0xf9, 0xaf, 0xd0, 0x6f, 0xd6, 0xc2,
|
||||
0xe7, 0x75, 0x13, 0xcb, 0x6c, 0x72, 0x40, 0xa5, 0x6a, 0x8e, 0x09, 0x38, 0x1b, 0x52, 0xac, 0x69,
|
||||
0x6d, 0xe0, 0x71, 0x2b, 0x77, 0xb3, 0x95, 0x2a, 0xa9, 0xb4, 0xfe, 0x1b, 0x82, 0xdf, 0x5f, 0x1d,
|
||||
0xc1, 0x17, 0x60, 0x13, 0x95, 0xaf, 0x5c, 0x64, 0xd6, 0x38, 0xe0, 0x15, 0x12, 0xa3, 0xd7, 0x2e,
|
||||
0x28, 0x5a, 0xae, 0x15, 0x9f, 0x37, 0x06, 0x1d, 0xe6, 0x42, 0x45, 0x19, 0xb7, 0xcf, 0xe0, 0xaf,
|
||||
0xa2, 0x29, 0x65, 0x1b, 0xaa, 0xe6, 0xcd, 0x7b, 0x6a, 0x17, 0x7a, 0xc9, 0x70, 0x9f, 0xd8, 0x0f,
|
||||
0x1b, 0x3f, 0xc3, 0x51, 0x2a, 0x96, 0x6d, 0x0d, 0xe2, 0xbe, 0xee, 0x30, 0xd3, 0x87, 0x39, 0x43,
|
||||
0x8f, 0xd3, 0x5a, 0x95, 0x8b, 0x82, 0xf0, 0x3c, 0x14, 0x2a, 0x8f, 0x72, 0xca, 0xcd, 0xd9, 0x46,
|
||||
0x55, 0x8a, 0x48, 0xb6, 0xfa, 0x76, 0xdd, 0x53, 0xfd, 0xe7, 0x03, 0xa1, 0x45, 0xd7, 0x48, 0x27,
|
||||
0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x10, 0x20, 0xb6, 0xbc, 0x44, 0x03, 0x00, 0x00,
|
||||
}
|
477
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/eval.pb.go
generated
vendored
Normal file
477
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/eval.pb.go
generated
vendored
Normal file
|
@ -0,0 +1,477 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1beta1/eval.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
v1beta "google.golang.org/genproto/googleapis/api/expr/v1beta"
|
||||
status "google.golang.org/genproto/googleapis/rpc/status"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// The state of an evaluation.
|
||||
//
|
||||
// Can represent an initial, partial, or completed state of evaluation.
|
||||
type EvalState struct {
|
||||
// The unique values referenced in this message.
|
||||
Values []*ExprValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
|
||||
// An ordered list of results.
|
||||
//
|
||||
// Tracks the flow of evaluation through the expression.
|
||||
// May be sparse.
|
||||
Results []*EvalState_Result `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalState) Reset() { *m = EvalState{} }
|
||||
func (m *EvalState) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalState) ProtoMessage() {}
|
||||
func (*EvalState) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{0}
|
||||
}
|
||||
|
||||
func (m *EvalState) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalState.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalState.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalState) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalState.Merge(m, src)
|
||||
}
|
||||
func (m *EvalState) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalState.Size(m)
|
||||
}
|
||||
func (m *EvalState) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalState.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalState proto.InternalMessageInfo
|
||||
|
||||
func (m *EvalState) GetValues() []*ExprValue {
|
||||
if m != nil {
|
||||
return m.Values
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalState) GetResults() []*EvalState_Result {
|
||||
if m != nil {
|
||||
return m.Results
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A single evaluation result.
|
||||
type EvalState_Result struct {
|
||||
// The expression this result is for.
|
||||
Expr *IdRef `protobuf:"bytes,1,opt,name=expr,proto3" json:"expr,omitempty"`
|
||||
// The index in `values` of the resulting value.
|
||||
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) Reset() { *m = EvalState_Result{} }
|
||||
func (m *EvalState_Result) String() string { return proto.CompactTextString(m) }
|
||||
func (*EvalState_Result) ProtoMessage() {}
|
||||
func (*EvalState_Result) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{0, 0}
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_EvalState_Result.Unmarshal(m, b)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_EvalState_Result.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_EvalState_Result.Merge(m, src)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_Size() int {
|
||||
return xxx_messageInfo_EvalState_Result.Size(m)
|
||||
}
|
||||
func (m *EvalState_Result) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_EvalState_Result.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_EvalState_Result proto.InternalMessageInfo
|
||||
|
||||
func (m *EvalState_Result) GetExpr() *IdRef {
|
||||
if m != nil {
|
||||
return m.Expr
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *EvalState_Result) GetValue() int32 {
|
||||
if m != nil {
|
||||
return m.Value
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
// The value of an evaluated expression.
|
||||
type ExprValue struct {
|
||||
// An expression can resolve to a value, error or unknown.
|
||||
//
|
||||
// Types that are valid to be assigned to Kind:
|
||||
// *ExprValue_Value
|
||||
// *ExprValue_Error
|
||||
// *ExprValue_Unknown
|
||||
Kind isExprValue_Kind `protobuf_oneof:"kind"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ExprValue) Reset() { *m = ExprValue{} }
|
||||
func (m *ExprValue) String() string { return proto.CompactTextString(m) }
|
||||
func (*ExprValue) ProtoMessage() {}
|
||||
func (*ExprValue) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{1}
|
||||
}
|
||||
|
||||
func (m *ExprValue) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ExprValue.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ExprValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ExprValue.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ExprValue) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ExprValue.Merge(m, src)
|
||||
}
|
||||
func (m *ExprValue) XXX_Size() int {
|
||||
return xxx_messageInfo_ExprValue.Size(m)
|
||||
}
|
||||
func (m *ExprValue) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ExprValue.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ExprValue proto.InternalMessageInfo
|
||||
|
||||
type isExprValue_Kind interface {
|
||||
isExprValue_Kind()
|
||||
}
|
||||
|
||||
type ExprValue_Value struct {
|
||||
Value *v1beta.Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ExprValue_Error struct {
|
||||
Error *ErrorSet `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
|
||||
}
|
||||
|
||||
type ExprValue_Unknown struct {
|
||||
Unknown *UnknownSet `protobuf:"bytes,3,opt,name=unknown,proto3,oneof"`
|
||||
}
|
||||
|
||||
func (*ExprValue_Value) isExprValue_Kind() {}
|
||||
|
||||
func (*ExprValue_Error) isExprValue_Kind() {}
|
||||
|
||||
func (*ExprValue_Unknown) isExprValue_Kind() {}
|
||||
|
||||
func (m *ExprValue) GetKind() isExprValue_Kind {
|
||||
if m != nil {
|
||||
return m.Kind
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetValue() *v1beta.Value {
|
||||
if x, ok := m.GetKind().(*ExprValue_Value); ok {
|
||||
return x.Value
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetError() *ErrorSet {
|
||||
if x, ok := m.GetKind().(*ExprValue_Error); ok {
|
||||
return x.Error
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *ExprValue) GetUnknown() *UnknownSet {
|
||||
if x, ok := m.GetKind().(*ExprValue_Unknown); ok {
|
||||
return x.Unknown
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// XXX_OneofFuncs is for the internal use of the proto package.
|
||||
func (*ExprValue) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
|
||||
return _ExprValue_OneofMarshaler, _ExprValue_OneofUnmarshaler, _ExprValue_OneofSizer, []interface{}{
|
||||
(*ExprValue_Value)(nil),
|
||||
(*ExprValue_Error)(nil),
|
||||
(*ExprValue_Unknown)(nil),
|
||||
}
|
||||
}
|
||||
|
||||
func _ExprValue_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
|
||||
m := msg.(*ExprValue)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *ExprValue_Value:
|
||||
b.EncodeVarint(1<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Value); err != nil {
|
||||
return err
|
||||
}
|
||||
case *ExprValue_Error:
|
||||
b.EncodeVarint(2<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Error); err != nil {
|
||||
return err
|
||||
}
|
||||
case *ExprValue_Unknown:
|
||||
b.EncodeVarint(3<<3 | proto.WireBytes)
|
||||
if err := b.EncodeMessage(x.Unknown); err != nil {
|
||||
return err
|
||||
}
|
||||
case nil:
|
||||
default:
|
||||
return fmt.Errorf("ExprValue.Kind has unexpected type %T", x)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func _ExprValue_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
|
||||
m := msg.(*ExprValue)
|
||||
switch tag {
|
||||
case 1: // kind.value
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(v1beta.Value)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Value{msg}
|
||||
return true, err
|
||||
case 2: // kind.error
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(ErrorSet)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Error{msg}
|
||||
return true, err
|
||||
case 3: // kind.unknown
|
||||
if wire != proto.WireBytes {
|
||||
return true, proto.ErrInternalBadWireType
|
||||
}
|
||||
msg := new(UnknownSet)
|
||||
err := b.DecodeMessage(msg)
|
||||
m.Kind = &ExprValue_Unknown{msg}
|
||||
return true, err
|
||||
default:
|
||||
return false, nil
|
||||
}
|
||||
}
|
||||
|
||||
func _ExprValue_OneofSizer(msg proto.Message) (n int) {
|
||||
m := msg.(*ExprValue)
|
||||
// kind
|
||||
switch x := m.Kind.(type) {
|
||||
case *ExprValue_Value:
|
||||
s := proto.Size(x.Value)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ExprValue_Error:
|
||||
s := proto.Size(x.Error)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case *ExprValue_Unknown:
|
||||
s := proto.Size(x.Unknown)
|
||||
n += 1 // tag and wire
|
||||
n += proto.SizeVarint(uint64(s))
|
||||
n += s
|
||||
case nil:
|
||||
default:
|
||||
panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
|
||||
}
|
||||
return n
|
||||
}
|
||||
|
||||
// A set of errors.
|
||||
//
|
||||
// The errors included depend on the context. See `ExprValue.error`.
|
||||
type ErrorSet struct {
|
||||
// The errors in the set.
|
||||
Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *ErrorSet) Reset() { *m = ErrorSet{} }
|
||||
func (m *ErrorSet) String() string { return proto.CompactTextString(m) }
|
||||
func (*ErrorSet) ProtoMessage() {}
|
||||
func (*ErrorSet) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{2}
|
||||
}
|
||||
|
||||
func (m *ErrorSet) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_ErrorSet.Unmarshal(m, b)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_ErrorSet.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_ErrorSet.Merge(m, src)
|
||||
}
|
||||
func (m *ErrorSet) XXX_Size() int {
|
||||
return xxx_messageInfo_ErrorSet.Size(m)
|
||||
}
|
||||
func (m *ErrorSet) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_ErrorSet.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_ErrorSet proto.InternalMessageInfo
|
||||
|
||||
func (m *ErrorSet) GetErrors() []*status.Status {
|
||||
if m != nil {
|
||||
return m.Errors
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A set of expressions for which the value is unknown.
|
||||
//
|
||||
// The unknowns included depend on the context. See `ExprValue.unknown`.
|
||||
type UnknownSet struct {
|
||||
// The ids of the expressions with unknown values.
|
||||
Exprs []*IdRef `protobuf:"bytes,1,rep,name=exprs,proto3" json:"exprs,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *UnknownSet) Reset() { *m = UnknownSet{} }
|
||||
func (m *UnknownSet) String() string { return proto.CompactTextString(m) }
|
||||
func (*UnknownSet) ProtoMessage() {}
|
||||
func (*UnknownSet) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{3}
|
||||
}
|
||||
|
||||
func (m *UnknownSet) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_UnknownSet.Unmarshal(m, b)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_UnknownSet.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_UnknownSet.Merge(m, src)
|
||||
}
|
||||
func (m *UnknownSet) XXX_Size() int {
|
||||
return xxx_messageInfo_UnknownSet.Size(m)
|
||||
}
|
||||
func (m *UnknownSet) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_UnknownSet.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_UnknownSet proto.InternalMessageInfo
|
||||
|
||||
func (m *UnknownSet) GetExprs() []*IdRef {
|
||||
if m != nil {
|
||||
return m.Exprs
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A reference to an expression id.
|
||||
type IdRef struct {
|
||||
// The expression id.
|
||||
Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *IdRef) Reset() { *m = IdRef{} }
|
||||
func (m *IdRef) String() string { return proto.CompactTextString(m) }
|
||||
func (*IdRef) ProtoMessage() {}
|
||||
func (*IdRef) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_5cf79b1c58929ac8, []int{4}
|
||||
}
|
||||
|
||||
func (m *IdRef) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_IdRef.Unmarshal(m, b)
|
||||
}
|
||||
func (m *IdRef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_IdRef.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *IdRef) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_IdRef.Merge(m, src)
|
||||
}
|
||||
func (m *IdRef) XXX_Size() int {
|
||||
return xxx_messageInfo_IdRef.Size(m)
|
||||
}
|
||||
func (m *IdRef) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_IdRef.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_IdRef proto.InternalMessageInfo
|
||||
|
||||
func (m *IdRef) GetId() int32 {
|
||||
if m != nil {
|
||||
return m.Id
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*EvalState)(nil), "google.api.expr.v1beta1.EvalState")
|
||||
proto.RegisterType((*EvalState_Result)(nil), "google.api.expr.v1beta1.EvalState.Result")
|
||||
proto.RegisterType((*ExprValue)(nil), "google.api.expr.v1beta1.ExprValue")
|
||||
proto.RegisterType((*ErrorSet)(nil), "google.api.expr.v1beta1.ErrorSet")
|
||||
proto.RegisterType((*UnknownSet)(nil), "google.api.expr.v1beta1.UnknownSet")
|
||||
proto.RegisterType((*IdRef)(nil), "google.api.expr.v1beta1.IdRef")
|
||||
}
|
||||
|
||||
func init() { proto.RegisterFile("google/api/expr/v1beta1/eval.proto", fileDescriptor_5cf79b1c58929ac8) }
|
||||
|
||||
var fileDescriptor_5cf79b1c58929ac8 = []byte{
|
||||
// 392 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x8b, 0xd4, 0x30,
|
||||
0x14, 0xc7, 0xcd, 0xcc, 0xb6, 0xab, 0x6f, 0xc0, 0x43, 0x10, 0xb6, 0x8c, 0x20, 0x63, 0xf7, 0x32,
|
||||
0x7a, 0x48, 0xd8, 0x2a, 0x0b, 0xba, 0x07, 0xa1, 0xb2, 0xa0, 0xb7, 0x25, 0x83, 0x1e, 0xbc, 0x65,
|
||||
0xa7, 0xb1, 0xd4, 0xa9, 0x4d, 0x48, 0xd3, 0x3a, 0xff, 0xa1, 0xff, 0x86, 0x7f, 0x86, 0x47, 0xc9,
|
||||
0x4b, 0x83, 0x87, 0xa5, 0xcc, 0xf1, 0x25, 0x9f, 0xcf, 0xf7, 0xe5, 0xc7, 0x83, 0xbc, 0xd6, 0xba,
|
||||
0x6e, 0x15, 0x97, 0xa6, 0xe1, 0xea, 0x68, 0x2c, 0x1f, 0xaf, 0xee, 0x95, 0x93, 0x57, 0x5c, 0x8d,
|
||||
0xb2, 0x65, 0xc6, 0x6a, 0xa7, 0xe9, 0x45, 0x60, 0x98, 0x34, 0x0d, 0xf3, 0x0c, 0x9b, 0x98, 0xf5,
|
||||
0xe5, 0x9c, 0x3c, 0xca, 0x76, 0x50, 0xc1, 0x5e, 0x4f, 0x36, 0xb7, 0x66, 0xcf, 0x7b, 0x27, 0xdd,
|
||||
0xd0, 0x87, 0x8d, 0xfc, 0x0f, 0x81, 0x27, 0xb7, 0xa3, 0x6c, 0x77, 0x4e, 0x3a, 0x45, 0xdf, 0x43,
|
||||
0x8a, 0x56, 0x9f, 0x91, 0xcd, 0x72, 0xbb, 0x2a, 0x72, 0x36, 0xd3, 0x95, 0xdd, 0x1e, 0x8d, 0xfd,
|
||||
0xea, 0x51, 0x31, 0x19, 0xf4, 0x23, 0x9c, 0x5b, 0xd5, 0x0f, 0xad, 0xeb, 0xb3, 0x25, 0xca, 0xaf,
|
||||
0xe6, 0xe5, 0xd8, 0x90, 0x09, 0x34, 0x44, 0x34, 0xd7, 0x02, 0xd2, 0xb0, 0x44, 0x0b, 0x38, 0xf3,
|
||||
0x4e, 0x46, 0x36, 0x64, 0xbb, 0x2a, 0x5e, 0xcc, 0x66, 0x7d, 0xae, 0x84, 0xfa, 0x2e, 0x90, 0xa5,
|
||||
0xcf, 0x20, 0xc1, 0xc3, 0x64, 0x8b, 0x0d, 0xd9, 0x26, 0x22, 0x14, 0xf9, 0x6f, 0x7f, 0xc5, 0x78,
|
||||
0x5c, 0x7a, 0x1d, 0x99, 0x53, 0xc1, 0x88, 0x7f, 0x7a, 0x34, 0xa5, 0xd0, 0x77, 0x90, 0x28, 0x6b,
|
||||
0xb5, 0xc5, 0xec, 0x55, 0xf1, 0x72, 0xfe, 0x72, 0x9e, 0xda, 0x29, 0xe7, 0x55, 0x34, 0xe8, 0x07,
|
||||
0x38, 0x1f, 0xba, 0x43, 0xa7, 0x7f, 0x75, 0xd9, 0x12, 0xe5, 0xcb, 0x59, 0xf9, 0x4b, 0xe0, 0x82,
|
||||
0x1e, 0xad, 0x32, 0x85, 0xb3, 0x43, 0xd3, 0x55, 0xf9, 0x35, 0x3c, 0x8e, 0xe9, 0xf4, 0x35, 0xa4,
|
||||
0x98, 0x1e, 0xbf, 0x8a, 0xc6, 0x4c, 0x6b, 0xf6, 0x6c, 0x87, 0x5f, 0x2c, 0x26, 0x22, 0x2f, 0x01,
|
||||
0xfe, 0x07, 0xd3, 0xb7, 0x90, 0xf8, 0x9e, 0x51, 0x3c, 0xf5, 0xb4, 0x01, 0xce, 0x2f, 0x20, 0xc1,
|
||||
0x9a, 0x3e, 0x85, 0x45, 0x53, 0xe1, 0xeb, 0x25, 0x62, 0xd1, 0x54, 0xe5, 0x0f, 0x78, 0xbe, 0xd7,
|
||||
0x3f, 0xe7, 0x42, 0x4a, 0x9c, 0xae, 0x3b, 0x3f, 0x6b, 0x77, 0xe4, 0xdb, 0xcd, 0x44, 0xd5, 0xba,
|
||||
0x95, 0x5d, 0xcd, 0xb4, 0xad, 0x79, 0xad, 0x3a, 0x9c, 0x44, 0x1e, 0xb6, 0xa4, 0x69, 0xfa, 0x07,
|
||||
0xa3, 0x7c, 0xe3, 0x8b, 0xbf, 0x84, 0xdc, 0xa7, 0x88, 0xbe, 0xf9, 0x17, 0x00, 0x00, 0xff, 0xff,
|
||||
0x33, 0xb5, 0xd5, 0x2b, 0x31, 0x03, 0x00, 0x00,
|
||||
}
|
1361
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/expr.pb.go
generated
vendored
Normal file
1361
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/expr.pb.go
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
193
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/source.pb.go
generated
vendored
Normal file
193
vendor/google.golang.org/genproto/googleapis/api/expr/v1beta1/source.pb.go
generated
vendored
Normal file
|
@ -0,0 +1,193 @@
|
|||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// source: google/api/expr/v1beta1/source.proto
|
||||
|
||||
package expr
|
||||
|
||||
import (
|
||||
fmt "fmt"
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
math "math"
|
||||
)
|
||||
|
||||
// Reference imports to suppress errors if they are not otherwise used.
|
||||
var _ = proto.Marshal
|
||||
var _ = fmt.Errorf
|
||||
var _ = math.Inf
|
||||
|
||||
// This is a compile-time assertion to ensure that this generated file
|
||||
// is compatible with the proto package it is being compiled against.
|
||||
// A compilation error at this line likely means your copy of the
|
||||
// proto package needs to be updated.
|
||||
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||||
|
||||
// Source information collected at parse time.
|
||||
type SourceInfo struct {
|
||||
// The location name. All position information attached to an expression is
|
||||
// relative to this location.
|
||||
//
|
||||
// The location could be a file, UI element, or similar. For example,
|
||||
// `acme/app/AnvilPolicy.cel`.
|
||||
Location string `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
|
||||
// Monotonically increasing list of character offsets where newlines appear.
|
||||
//
|
||||
// The line number of a given position is the index `i` where for a given
|
||||
// `id` the `line_offsets[i] < id_positions[id] < line_offsets[i+1]`. The
|
||||
// column may be derivd from `id_positions[id] - line_offsets[i]`.
|
||||
LineOffsets []int32 `protobuf:"varint,3,rep,packed,name=line_offsets,json=lineOffsets,proto3" json:"line_offsets,omitempty"`
|
||||
// A map from the parse node id (e.g. `Expr.id`) to the character offset
|
||||
// within source.
|
||||
Positions map[int32]int32 `protobuf:"bytes,4,rep,name=positions,proto3" json:"positions,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SourceInfo) Reset() { *m = SourceInfo{} }
|
||||
func (m *SourceInfo) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourceInfo) ProtoMessage() {}
|
||||
func (*SourceInfo) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_26d280d77790e409, []int{0}
|
||||
}
|
||||
|
||||
func (m *SourceInfo) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SourceInfo.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SourceInfo.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *SourceInfo) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SourceInfo.Merge(m, src)
|
||||
}
|
||||
func (m *SourceInfo) XXX_Size() int {
|
||||
return xxx_messageInfo_SourceInfo.Size(m)
|
||||
}
|
||||
func (m *SourceInfo) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SourceInfo.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SourceInfo proto.InternalMessageInfo
|
||||
|
||||
func (m *SourceInfo) GetLocation() string {
|
||||
if m != nil {
|
||||
return m.Location
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SourceInfo) GetLineOffsets() []int32 {
|
||||
if m != nil {
|
||||
return m.LineOffsets
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *SourceInfo) GetPositions() map[int32]int32 {
|
||||
if m != nil {
|
||||
return m.Positions
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// A specific position in source.
|
||||
type SourcePosition struct {
|
||||
// The soucre location name (e.g. file name).
|
||||
Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
|
||||
// The character offset.
|
||||
Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
|
||||
// The 1-based index of the starting line in the source text
|
||||
// where the issue occurs, or 0 if unknown.
|
||||
Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
|
||||
// The 0-based index of the starting position within the line of source text
|
||||
// where the issue occurs. Only meaningful if line is nonzer..
|
||||
Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
XXX_sizecache int32 `json:"-"`
|
||||
}
|
||||
|
||||
func (m *SourcePosition) Reset() { *m = SourcePosition{} }
|
||||
func (m *SourcePosition) String() string { return proto.CompactTextString(m) }
|
||||
func (*SourcePosition) ProtoMessage() {}
|
||||
func (*SourcePosition) Descriptor() ([]byte, []int) {
|
||||
return fileDescriptor_26d280d77790e409, []int{1}
|
||||
}
|
||||
|
||||
func (m *SourcePosition) XXX_Unmarshal(b []byte) error {
|
||||
return xxx_messageInfo_SourcePosition.Unmarshal(m, b)
|
||||
}
|
||||
func (m *SourcePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||||
return xxx_messageInfo_SourcePosition.Marshal(b, m, deterministic)
|
||||
}
|
||||
func (m *SourcePosition) XXX_Merge(src proto.Message) {
|
||||
xxx_messageInfo_SourcePosition.Merge(m, src)
|
||||
}
|
||||
func (m *SourcePosition) XXX_Size() int {
|
||||
return xxx_messageInfo_SourcePosition.Size(m)
|
||||
}
|
||||
func (m *SourcePosition) XXX_DiscardUnknown() {
|
||||
xxx_messageInfo_SourcePosition.DiscardUnknown(m)
|
||||
}
|
||||
|
||||
var xxx_messageInfo_SourcePosition proto.InternalMessageInfo
|
||||
|
||||
func (m *SourcePosition) GetLocation() string {
|
||||
if m != nil {
|
||||
return m.Location
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
func (m *SourcePosition) GetOffset() int32 {
|
||||
if m != nil {
|
||||
return m.Offset
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *SourcePosition) GetLine() int32 {
|
||||
if m != nil {
|
||||
return m.Line
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func (m *SourcePosition) GetColumn() int32 {
|
||||
if m != nil {
|
||||
return m.Column
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterType((*SourceInfo)(nil), "google.api.expr.v1beta1.SourceInfo")
|
||||
proto.RegisterMapType((map[int32]int32)(nil), "google.api.expr.v1beta1.SourceInfo.PositionsEntry")
|
||||
proto.RegisterType((*SourcePosition)(nil), "google.api.expr.v1beta1.SourcePosition")
|
||||
}
|
||||
|
||||
func init() {
|
||||
proto.RegisterFile("google/api/expr/v1beta1/source.proto", fileDescriptor_26d280d77790e409)
|
||||
}
|
||||
|
||||
var fileDescriptor_26d280d77790e409 = []byte{
|
||||
// 311 bytes of a gzipped FileDescriptorProto
|
||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x41, 0x4b, 0x3b, 0x31,
|
||||
0x10, 0xc5, 0x49, 0xb7, 0x5b, 0xfe, 0x9d, 0xfe, 0x29, 0x12, 0x44, 0x97, 0x7a, 0x59, 0x8b, 0x87,
|
||||
0x3d, 0x65, 0x69, 0xbd, 0x88, 0xf5, 0x54, 0xf0, 0xe0, 0xc9, 0xb2, 0xde, 0xbc, 0x48, 0xba, 0xa4,
|
||||
0x4b, 0x30, 0xcd, 0x84, 0xcd, 0xb6, 0xd8, 0xcf, 0xea, 0x17, 0xf1, 0x28, 0x49, 0xb6, 0x96, 0x2a,
|
||||
0xbd, 0xe5, 0xcd, 0xfc, 0x32, 0x33, 0x8f, 0x07, 0x37, 0x15, 0x62, 0xa5, 0x44, 0xce, 0x8d, 0xcc,
|
||||
0xc5, 0x87, 0xa9, 0xf3, 0xed, 0x64, 0x29, 0x1a, 0x3e, 0xc9, 0x2d, 0x6e, 0xea, 0x52, 0x30, 0x53,
|
||||
0x63, 0x83, 0xf4, 0x32, 0x50, 0x8c, 0x1b, 0xc9, 0x1c, 0xc5, 0x5a, 0x6a, 0xfc, 0x49, 0x00, 0x5e,
|
||||
0x3c, 0xf9, 0xa4, 0x57, 0x48, 0x47, 0xf0, 0x4f, 0x61, 0xc9, 0x1b, 0x89, 0x3a, 0xe9, 0xa4, 0x24,
|
||||
0xeb, 0x17, 0x3f, 0x9a, 0x5e, 0xc3, 0x7f, 0x25, 0xb5, 0x78, 0xc3, 0xd5, 0xca, 0x8a, 0xc6, 0x26,
|
||||
0x51, 0x1a, 0x65, 0x71, 0x31, 0x70, 0xb5, 0xe7, 0x50, 0xa2, 0x0b, 0xe8, 0x1b, 0xb4, 0xd2, 0xe1,
|
||||
0x36, 0xe9, 0xa6, 0x51, 0x36, 0x98, 0x4e, 0xd9, 0x89, 0xd5, 0xec, 0xb0, 0x96, 0x2d, 0xf6, 0x9f,
|
||||
0x1e, 0x75, 0x53, 0xef, 0x8a, 0xc3, 0x90, 0xd1, 0x03, 0x0c, 0x8f, 0x9b, 0xf4, 0x0c, 0xa2, 0x77,
|
||||
0xb1, 0x4b, 0x48, 0x4a, 0xb2, 0xb8, 0x70, 0x4f, 0x7a, 0x0e, 0xf1, 0x96, 0xab, 0x8d, 0xf0, 0x17,
|
||||
0xc7, 0x45, 0x10, 0xf7, 0x9d, 0x3b, 0x32, 0x36, 0x30, 0x0c, 0x5b, 0xf6, 0x33, 0x8e, 0x0c, 0x92,
|
||||
0x5f, 0x06, 0x2f, 0xa0, 0x17, 0xbc, 0xb5, 0x83, 0x5a, 0x45, 0x29, 0x74, 0x9d, 0xc9, 0x24, 0xf2,
|
||||
0x55, 0xff, 0x76, 0x6c, 0x89, 0x6a, 0xb3, 0xd6, 0x49, 0x37, 0xb0, 0x41, 0xcd, 0x15, 0x5c, 0x95,
|
||||
0xb8, 0x3e, 0xe5, 0x79, 0x3e, 0x68, 0xcf, 0x71, 0xa1, 0x2c, 0xc8, 0xeb, 0xac, 0xe5, 0x2a, 0x54,
|
||||
0x5c, 0x57, 0x0c, 0xeb, 0x2a, 0xaf, 0x84, 0xf6, 0x91, 0xe5, 0xa1, 0xc5, 0x8d, 0xb4, 0x7f, 0xb2,
|
||||
0x9d, 0x39, 0xf1, 0x45, 0xc8, 0xb2, 0xe7, 0xd1, 0xdb, 0xef, 0x00, 0x00, 0x00, 0xff, 0xff, 0xdf,
|
||||
0x8a, 0x1a, 0x6c, 0x05, 0x02, 0x00, 0x00,
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue