Documentation
¶
Index ¶
- Variables
- type Constant
- func (*Constant) Descriptor() ([]byte, []int)
- func (this *Constant) Equal(that interface{}) bool
- func (m *Constant) GetBoolValue() bool
- func (m *Constant) GetBytesValue() []byte
- func (m *Constant) GetConstantKind() isConstant_ConstantKind
- func (m *Constant) GetDoubleValue() float64
- func (m *Constant) GetDurationValue() *types.Durationdeprecated
- func (m *Constant) GetInt64Value() int64
- func (m *Constant) GetNullValue() types.NullValue
- func (m *Constant) GetStringValue() string
- func (m *Constant) GetTimestampValue() *types.Timestampdeprecated
- func (m *Constant) GetUint64Value() uint64
- func (this *Constant) GoString() string
- func (m *Constant) Marshal() (dAtA []byte, err error)
- func (m *Constant) MarshalTo(dAtA []byte) (int, error)
- func (m *Constant) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Constant) ProtoMessage()
- func (m *Constant) Reset()
- func (m *Constant) Size() (n int)
- func (this *Constant) String() string
- func (m *Constant) Unmarshal(dAtA []byte) error
- func (m *Constant) XXX_DiscardUnknown()
- func (m *Constant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Constant) XXX_Merge(src proto.Message)
- func (*Constant) XXX_MessageName() string
- func (*Constant) XXX_OneofWrappers() []interface{}
- func (m *Constant) XXX_Size() int
- func (m *Constant) XXX_Unmarshal(b []byte) error
- type Constant_BoolValue
- func (this *Constant_BoolValue) Equal(that interface{}) bool
- func (this *Constant_BoolValue) GoString() string
- func (m *Constant_BoolValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Constant_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Constant_BoolValue) Size() (n int)
- func (this *Constant_BoolValue) String() string
- type Constant_BytesValue
- func (this *Constant_BytesValue) Equal(that interface{}) bool
- func (this *Constant_BytesValue) GoString() string
- func (m *Constant_BytesValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Constant_BytesValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Constant_BytesValue) Size() (n int)
- func (this *Constant_BytesValue) String() string
- type Constant_DoubleValue
- func (this *Constant_DoubleValue) Equal(that interface{}) bool
- func (this *Constant_DoubleValue) GoString() string
- func (m *Constant_DoubleValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Constant_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Constant_DoubleValue) Size() (n int)
- func (this *Constant_DoubleValue) String() string
- type Constant_DurationValue
- func (this *Constant_DurationValue) Equal(that interface{}) bool
- func (this *Constant_DurationValue) GoString() string
- func (m *Constant_DurationValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Constant_DurationValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Constant_DurationValue) Size() (n int)
- func (this *Constant_DurationValue) String() string
- type Constant_Int64Value
- func (this *Constant_Int64Value) Equal(that interface{}) bool
- func (this *Constant_Int64Value) GoString() string
- func (m *Constant_Int64Value) MarshalTo(dAtA []byte) (int, error)
- func (m *Constant_Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Constant_Int64Value) Size() (n int)
- func (this *Constant_Int64Value) String() string
- type Constant_NullValue
- func (this *Constant_NullValue) Equal(that interface{}) bool
- func (this *Constant_NullValue) GoString() string
- func (m *Constant_NullValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Constant_NullValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Constant_NullValue) Size() (n int)
- func (this *Constant_NullValue) String() string
- type Constant_StringValue
- func (this *Constant_StringValue) Equal(that interface{}) bool
- func (this *Constant_StringValue) GoString() string
- func (m *Constant_StringValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Constant_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Constant_StringValue) Size() (n int)
- func (this *Constant_StringValue) String() string
- type Constant_TimestampValue
- func (this *Constant_TimestampValue) Equal(that interface{}) bool
- func (this *Constant_TimestampValue) GoString() string
- func (m *Constant_TimestampValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Constant_TimestampValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Constant_TimestampValue) Size() (n int)
- func (this *Constant_TimestampValue) String() string
- type Constant_Uint64Value
- func (this *Constant_Uint64Value) Equal(that interface{}) bool
- func (this *Constant_Uint64Value) GoString() string
- func (m *Constant_Uint64Value) MarshalTo(dAtA []byte) (int, error)
- func (m *Constant_Uint64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Constant_Uint64Value) Size() (n int)
- func (this *Constant_Uint64Value) String() string
- type EnumValue
- func (*EnumValue) Descriptor() ([]byte, []int)
- func (this *EnumValue) Equal(that interface{}) bool
- func (m *EnumValue) GetType() string
- func (m *EnumValue) GetValue() int32
- func (this *EnumValue) GoString() string
- func (m *EnumValue) Marshal() (dAtA []byte, err error)
- func (m *EnumValue) MarshalTo(dAtA []byte) (int, error)
- func (m *EnumValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EnumValue) ProtoMessage()
- func (m *EnumValue) Reset()
- func (m *EnumValue) Size() (n int)
- func (this *EnumValue) String() string
- func (m *EnumValue) Unmarshal(dAtA []byte) error
- func (m *EnumValue) XXX_DiscardUnknown()
- func (m *EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnumValue) XXX_Merge(src proto.Message)
- func (*EnumValue) XXX_MessageName() string
- func (m *EnumValue) XXX_Size() int
- func (m *EnumValue) XXX_Unmarshal(b []byte) error
- type Expr
- func (*Expr) Descriptor() ([]byte, []int)
- func (this *Expr) Equal(that interface{}) bool
- func (m *Expr) GetCallExpr() *Expr_Call
- func (m *Expr) GetComprehensionExpr() *Expr_Comprehension
- func (m *Expr) GetConstExpr() *Constant
- func (m *Expr) GetExprKind() isExpr_ExprKind
- func (m *Expr) GetId() int64
- func (m *Expr) GetIdentExpr() *Expr_Ident
- func (m *Expr) GetListExpr() *Expr_CreateList
- func (m *Expr) GetSelectExpr() *Expr_Select
- func (m *Expr) GetStructExpr() *Expr_CreateStruct
- func (this *Expr) GoString() string
- func (m *Expr) Marshal() (dAtA []byte, err error)
- func (m *Expr) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Expr) ProtoMessage()
- func (m *Expr) Reset()
- func (m *Expr) Size() (n int)
- func (this *Expr) String() string
- func (m *Expr) Unmarshal(dAtA []byte) error
- func (m *Expr) XXX_DiscardUnknown()
- func (m *Expr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Expr) XXX_Merge(src proto.Message)
- func (*Expr) XXX_MessageName() string
- func (*Expr) XXX_OneofWrappers() []interface{}
- func (m *Expr) XXX_Size() int
- func (m *Expr) XXX_Unmarshal(b []byte) error
- type Expr_Call
- func (*Expr_Call) Descriptor() ([]byte, []int)
- func (this *Expr_Call) Equal(that interface{}) bool
- func (m *Expr_Call) GetArgs() []*Expr
- func (m *Expr_Call) GetFunction() string
- func (m *Expr_Call) GetTarget() *Expr
- func (this *Expr_Call) GoString() string
- func (m *Expr_Call) Marshal() (dAtA []byte, err error)
- func (m *Expr_Call) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_Call) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Expr_Call) ProtoMessage()
- func (m *Expr_Call) Reset()
- func (m *Expr_Call) Size() (n int)
- func (this *Expr_Call) String() string
- func (m *Expr_Call) Unmarshal(dAtA []byte) error
- func (m *Expr_Call) XXX_DiscardUnknown()
- func (m *Expr_Call) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Expr_Call) XXX_Merge(src proto.Message)
- func (*Expr_Call) XXX_MessageName() string
- func (m *Expr_Call) XXX_Size() int
- func (m *Expr_Call) XXX_Unmarshal(b []byte) error
- type Expr_CallExpr
- func (this *Expr_CallExpr) Equal(that interface{}) bool
- func (this *Expr_CallExpr) GoString() string
- func (m *Expr_CallExpr) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_CallExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Expr_CallExpr) Size() (n int)
- func (this *Expr_CallExpr) String() string
- type Expr_Comprehension
- func (*Expr_Comprehension) Descriptor() ([]byte, []int)
- func (this *Expr_Comprehension) Equal(that interface{}) bool
- func (m *Expr_Comprehension) GetAccuInit() *Expr
- func (m *Expr_Comprehension) GetAccuVar() string
- func (m *Expr_Comprehension) GetIterRange() *Expr
- func (m *Expr_Comprehension) GetIterVar() string
- func (m *Expr_Comprehension) GetLoopCondition() *Expr
- func (m *Expr_Comprehension) GetLoopStep() *Expr
- func (m *Expr_Comprehension) GetResult() *Expr
- func (this *Expr_Comprehension) GoString() string
- func (m *Expr_Comprehension) Marshal() (dAtA []byte, err error)
- func (m *Expr_Comprehension) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_Comprehension) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Expr_Comprehension) ProtoMessage()
- func (m *Expr_Comprehension) Reset()
- func (m *Expr_Comprehension) Size() (n int)
- func (this *Expr_Comprehension) String() string
- func (m *Expr_Comprehension) Unmarshal(dAtA []byte) error
- func (m *Expr_Comprehension) XXX_DiscardUnknown()
- func (m *Expr_Comprehension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Expr_Comprehension) XXX_Merge(src proto.Message)
- func (*Expr_Comprehension) XXX_MessageName() string
- func (m *Expr_Comprehension) XXX_Size() int
- func (m *Expr_Comprehension) XXX_Unmarshal(b []byte) error
- type Expr_ComprehensionExpr
- func (this *Expr_ComprehensionExpr) Equal(that interface{}) bool
- func (this *Expr_ComprehensionExpr) GoString() string
- func (m *Expr_ComprehensionExpr) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_ComprehensionExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Expr_ComprehensionExpr) Size() (n int)
- func (this *Expr_ComprehensionExpr) String() string
- type Expr_ConstExpr
- func (this *Expr_ConstExpr) Equal(that interface{}) bool
- func (this *Expr_ConstExpr) GoString() string
- func (m *Expr_ConstExpr) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_ConstExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Expr_ConstExpr) Size() (n int)
- func (this *Expr_ConstExpr) String() string
- type Expr_CreateList
- func (*Expr_CreateList) Descriptor() ([]byte, []int)
- func (this *Expr_CreateList) Equal(that interface{}) bool
- func (m *Expr_CreateList) GetElements() []*Expr
- func (this *Expr_CreateList) GoString() string
- func (m *Expr_CreateList) Marshal() (dAtA []byte, err error)
- func (m *Expr_CreateList) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_CreateList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Expr_CreateList) ProtoMessage()
- func (m *Expr_CreateList) Reset()
- func (m *Expr_CreateList) Size() (n int)
- func (this *Expr_CreateList) String() string
- func (m *Expr_CreateList) Unmarshal(dAtA []byte) error
- func (m *Expr_CreateList) XXX_DiscardUnknown()
- func (m *Expr_CreateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Expr_CreateList) XXX_Merge(src proto.Message)
- func (*Expr_CreateList) XXX_MessageName() string
- func (m *Expr_CreateList) XXX_Size() int
- func (m *Expr_CreateList) XXX_Unmarshal(b []byte) error
- type Expr_CreateStruct
- func (*Expr_CreateStruct) Descriptor() ([]byte, []int)
- func (this *Expr_CreateStruct) Equal(that interface{}) bool
- func (m *Expr_CreateStruct) GetEntries() []*Expr_CreateStruct_Entry
- func (m *Expr_CreateStruct) GetMessageName() string
- func (this *Expr_CreateStruct) GoString() string
- func (m *Expr_CreateStruct) Marshal() (dAtA []byte, err error)
- func (m *Expr_CreateStruct) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_CreateStruct) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Expr_CreateStruct) ProtoMessage()
- func (m *Expr_CreateStruct) Reset()
- func (m *Expr_CreateStruct) Size() (n int)
- func (this *Expr_CreateStruct) String() string
- func (m *Expr_CreateStruct) Unmarshal(dAtA []byte) error
- func (m *Expr_CreateStruct) XXX_DiscardUnknown()
- func (m *Expr_CreateStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Expr_CreateStruct) XXX_Merge(src proto.Message)
- func (*Expr_CreateStruct) XXX_MessageName() string
- func (m *Expr_CreateStruct) XXX_Size() int
- func (m *Expr_CreateStruct) XXX_Unmarshal(b []byte) error
- type Expr_CreateStruct_Entry
- func (*Expr_CreateStruct_Entry) Descriptor() ([]byte, []int)
- func (this *Expr_CreateStruct_Entry) Equal(that interface{}) bool
- func (m *Expr_CreateStruct_Entry) GetFieldKey() string
- func (m *Expr_CreateStruct_Entry) GetId() int64
- func (m *Expr_CreateStruct_Entry) GetKeyKind() isExpr_CreateStruct_Entry_KeyKind
- func (m *Expr_CreateStruct_Entry) GetMapKey() *Expr
- func (m *Expr_CreateStruct_Entry) GetValue() *Expr
- func (this *Expr_CreateStruct_Entry) GoString() string
- func (m *Expr_CreateStruct_Entry) Marshal() (dAtA []byte, err error)
- func (m *Expr_CreateStruct_Entry) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_CreateStruct_Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Expr_CreateStruct_Entry) ProtoMessage()
- func (m *Expr_CreateStruct_Entry) Reset()
- func (m *Expr_CreateStruct_Entry) Size() (n int)
- func (this *Expr_CreateStruct_Entry) String() string
- func (m *Expr_CreateStruct_Entry) Unmarshal(dAtA []byte) error
- func (m *Expr_CreateStruct_Entry) XXX_DiscardUnknown()
- func (m *Expr_CreateStruct_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Expr_CreateStruct_Entry) XXX_Merge(src proto.Message)
- func (*Expr_CreateStruct_Entry) XXX_MessageName() string
- func (*Expr_CreateStruct_Entry) XXX_OneofWrappers() []interface{}
- func (m *Expr_CreateStruct_Entry) XXX_Size() int
- func (m *Expr_CreateStruct_Entry) XXX_Unmarshal(b []byte) error
- type Expr_CreateStruct_Entry_FieldKey
- func (this *Expr_CreateStruct_Entry_FieldKey) Equal(that interface{}) bool
- func (this *Expr_CreateStruct_Entry_FieldKey) GoString() string
- func (m *Expr_CreateStruct_Entry_FieldKey) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_CreateStruct_Entry_FieldKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Expr_CreateStruct_Entry_FieldKey) Size() (n int)
- func (this *Expr_CreateStruct_Entry_FieldKey) String() string
- type Expr_CreateStruct_Entry_MapKey
- func (this *Expr_CreateStruct_Entry_MapKey) Equal(that interface{}) bool
- func (this *Expr_CreateStruct_Entry_MapKey) GoString() string
- func (m *Expr_CreateStruct_Entry_MapKey) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_CreateStruct_Entry_MapKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Expr_CreateStruct_Entry_MapKey) Size() (n int)
- func (this *Expr_CreateStruct_Entry_MapKey) String() string
- type Expr_Ident
- func (*Expr_Ident) Descriptor() ([]byte, []int)
- func (this *Expr_Ident) Equal(that interface{}) bool
- func (m *Expr_Ident) GetName() string
- func (this *Expr_Ident) GoString() string
- func (m *Expr_Ident) Marshal() (dAtA []byte, err error)
- func (m *Expr_Ident) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_Ident) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Expr_Ident) ProtoMessage()
- func (m *Expr_Ident) Reset()
- func (m *Expr_Ident) Size() (n int)
- func (this *Expr_Ident) String() string
- func (m *Expr_Ident) Unmarshal(dAtA []byte) error
- func (m *Expr_Ident) XXX_DiscardUnknown()
- func (m *Expr_Ident) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Expr_Ident) XXX_Merge(src proto.Message)
- func (*Expr_Ident) XXX_MessageName() string
- func (m *Expr_Ident) XXX_Size() int
- func (m *Expr_Ident) XXX_Unmarshal(b []byte) error
- type Expr_IdentExpr
- func (this *Expr_IdentExpr) Equal(that interface{}) bool
- func (this *Expr_IdentExpr) GoString() string
- func (m *Expr_IdentExpr) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_IdentExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Expr_IdentExpr) Size() (n int)
- func (this *Expr_IdentExpr) String() string
- type Expr_ListExpr
- func (this *Expr_ListExpr) Equal(that interface{}) bool
- func (this *Expr_ListExpr) GoString() string
- func (m *Expr_ListExpr) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_ListExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Expr_ListExpr) Size() (n int)
- func (this *Expr_ListExpr) String() string
- type Expr_Select
- func (*Expr_Select) Descriptor() ([]byte, []int)
- func (this *Expr_Select) Equal(that interface{}) bool
- func (m *Expr_Select) GetField() string
- func (m *Expr_Select) GetOperand() *Expr
- func (m *Expr_Select) GetTestOnly() bool
- func (this *Expr_Select) GoString() string
- func (m *Expr_Select) Marshal() (dAtA []byte, err error)
- func (m *Expr_Select) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_Select) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Expr_Select) ProtoMessage()
- func (m *Expr_Select) Reset()
- func (m *Expr_Select) Size() (n int)
- func (this *Expr_Select) String() string
- func (m *Expr_Select) Unmarshal(dAtA []byte) error
- func (m *Expr_Select) XXX_DiscardUnknown()
- func (m *Expr_Select) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Expr_Select) XXX_Merge(src proto.Message)
- func (*Expr_Select) XXX_MessageName() string
- func (m *Expr_Select) XXX_Size() int
- func (m *Expr_Select) XXX_Unmarshal(b []byte) error
- type Expr_SelectExpr
- func (this *Expr_SelectExpr) Equal(that interface{}) bool
- func (this *Expr_SelectExpr) GoString() string
- func (m *Expr_SelectExpr) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_SelectExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Expr_SelectExpr) Size() (n int)
- func (this *Expr_SelectExpr) String() string
- type Expr_StructExpr
- func (this *Expr_StructExpr) Equal(that interface{}) bool
- func (this *Expr_StructExpr) GoString() string
- func (m *Expr_StructExpr) MarshalTo(dAtA []byte) (int, error)
- func (m *Expr_StructExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Expr_StructExpr) Size() (n int)
- func (this *Expr_StructExpr) String() string
- type ListValue
- func (*ListValue) Descriptor() ([]byte, []int)
- func (this *ListValue) Equal(that interface{}) bool
- func (m *ListValue) GetValues() []*Value
- func (this *ListValue) GoString() string
- func (m *ListValue) Marshal() (dAtA []byte, err error)
- func (m *ListValue) MarshalTo(dAtA []byte) (int, error)
- func (m *ListValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListValue) ProtoMessage()
- func (m *ListValue) Reset()
- func (m *ListValue) Size() (n int)
- func (this *ListValue) String() string
- func (m *ListValue) Unmarshal(dAtA []byte) error
- func (m *ListValue) XXX_DiscardUnknown()
- func (m *ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListValue) XXX_Merge(src proto.Message)
- func (*ListValue) XXX_MessageName() string
- func (m *ListValue) XXX_Size() int
- func (m *ListValue) XXX_Unmarshal(b []byte) error
- type MapValue
- func (*MapValue) Descriptor() ([]byte, []int)
- func (this *MapValue) Equal(that interface{}) bool
- func (m *MapValue) GetEntries() []*MapValue_Entry
- func (this *MapValue) GoString() string
- func (m *MapValue) Marshal() (dAtA []byte, err error)
- func (m *MapValue) MarshalTo(dAtA []byte) (int, error)
- func (m *MapValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MapValue) ProtoMessage()
- func (m *MapValue) Reset()
- func (m *MapValue) Size() (n int)
- func (this *MapValue) String() string
- func (m *MapValue) Unmarshal(dAtA []byte) error
- func (m *MapValue) XXX_DiscardUnknown()
- func (m *MapValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapValue) XXX_Merge(src proto.Message)
- func (*MapValue) XXX_MessageName() string
- func (m *MapValue) XXX_Size() int
- func (m *MapValue) XXX_Unmarshal(b []byte) error
- type MapValue_Entry
- func (*MapValue_Entry) Descriptor() ([]byte, []int)
- func (this *MapValue_Entry) Equal(that interface{}) bool
- func (m *MapValue_Entry) GetKey() *Value
- func (m *MapValue_Entry) GetValue() *Value
- func (this *MapValue_Entry) GoString() string
- func (m *MapValue_Entry) Marshal() (dAtA []byte, err error)
- func (m *MapValue_Entry) MarshalTo(dAtA []byte) (int, error)
- func (m *MapValue_Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MapValue_Entry) ProtoMessage()
- func (m *MapValue_Entry) Reset()
- func (m *MapValue_Entry) Size() (n int)
- func (this *MapValue_Entry) String() string
- func (m *MapValue_Entry) Unmarshal(dAtA []byte) error
- func (m *MapValue_Entry) XXX_DiscardUnknown()
- func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapValue_Entry) XXX_Merge(src proto.Message)
- func (*MapValue_Entry) XXX_MessageName() string
- func (m *MapValue_Entry) XXX_Size() int
- func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error
- type ParsedExpr
- func (*ParsedExpr) Descriptor() ([]byte, []int)
- func (this *ParsedExpr) Equal(that interface{}) bool
- func (m *ParsedExpr) GetExpr() *Expr
- func (m *ParsedExpr) GetSourceInfo() *SourceInfo
- func (this *ParsedExpr) GoString() string
- func (m *ParsedExpr) Marshal() (dAtA []byte, err error)
- func (m *ParsedExpr) MarshalTo(dAtA []byte) (int, error)
- func (m *ParsedExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ParsedExpr) ProtoMessage()
- func (m *ParsedExpr) Reset()
- func (m *ParsedExpr) Size() (n int)
- func (this *ParsedExpr) String() string
- func (m *ParsedExpr) Unmarshal(dAtA []byte) error
- func (m *ParsedExpr) XXX_DiscardUnknown()
- func (m *ParsedExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ParsedExpr) XXX_Merge(src proto.Message)
- func (*ParsedExpr) XXX_MessageName() string
- func (m *ParsedExpr) XXX_Size() int
- func (m *ParsedExpr) XXX_Unmarshal(b []byte) error
- type SourceInfo
- func (*SourceInfo) Descriptor() ([]byte, []int)
- func (this *SourceInfo) Equal(that interface{}) bool
- func (m *SourceInfo) GetLineOffsets() []int32
- func (m *SourceInfo) GetLocation() string
- func (m *SourceInfo) GetMacroCalls() map[int64]*Expr
- func (m *SourceInfo) GetPositions() map[int64]int32
- func (m *SourceInfo) GetSyntaxVersion() string
- func (this *SourceInfo) GoString() string
- func (m *SourceInfo) Marshal() (dAtA []byte, err error)
- func (m *SourceInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SourceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SourceInfo) ProtoMessage()
- func (m *SourceInfo) Reset()
- func (m *SourceInfo) Size() (n int)
- func (this *SourceInfo) String() string
- func (m *SourceInfo) Unmarshal(dAtA []byte) error
- func (m *SourceInfo) XXX_DiscardUnknown()
- func (m *SourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SourceInfo) XXX_Merge(src proto.Message)
- func (*SourceInfo) XXX_MessageName() string
- func (m *SourceInfo) XXX_Size() int
- func (m *SourceInfo) XXX_Unmarshal(b []byte) error
- type SourcePosition
- func (*SourcePosition) Descriptor() ([]byte, []int)
- func (this *SourcePosition) Equal(that interface{}) bool
- func (m *SourcePosition) GetColumn() int32
- func (m *SourcePosition) GetLine() int32
- func (m *SourcePosition) GetLocation() string
- func (m *SourcePosition) GetOffset() int32
- func (this *SourcePosition) GoString() string
- func (m *SourcePosition) Marshal() (dAtA []byte, err error)
- func (m *SourcePosition) MarshalTo(dAtA []byte) (int, error)
- func (m *SourcePosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SourcePosition) ProtoMessage()
- func (m *SourcePosition) Reset()
- func (m *SourcePosition) Size() (n int)
- func (this *SourcePosition) String() string
- func (m *SourcePosition) Unmarshal(dAtA []byte) error
- func (m *SourcePosition) XXX_DiscardUnknown()
- func (m *SourcePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SourcePosition) XXX_Merge(src proto.Message)
- func (*SourcePosition) XXX_MessageName() string
- func (m *SourcePosition) XXX_Size() int
- func (m *SourcePosition) XXX_Unmarshal(b []byte) error
- type Value
- func (*Value) Descriptor() ([]byte, []int)
- func (this *Value) Equal(that interface{}) bool
- func (m *Value) GetBoolValue() bool
- func (m *Value) GetBytesValue() []byte
- func (m *Value) GetDoubleValue() float64
- func (m *Value) GetEnumValue() *EnumValue
- func (m *Value) GetInt64Value() int64
- func (m *Value) GetKind() isValue_Kind
- func (m *Value) GetListValue() *ListValue
- func (m *Value) GetMapValue() *MapValue
- func (m *Value) GetNullValue() types.NullValue
- func (m *Value) GetObjectValue() *types.Any
- func (m *Value) GetStringValue() string
- func (m *Value) GetTypeValue() string
- func (m *Value) GetUint64Value() uint64
- func (this *Value) GoString() string
- func (m *Value) Marshal() (dAtA []byte, err error)
- func (m *Value) MarshalTo(dAtA []byte) (int, error)
- func (m *Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Value) ProtoMessage()
- func (m *Value) Reset()
- func (m *Value) Size() (n int)
- func (this *Value) String() string
- func (m *Value) Unmarshal(dAtA []byte) error
- func (m *Value) XXX_DiscardUnknown()
- func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Value) XXX_Merge(src proto.Message)
- func (*Value) XXX_MessageName() string
- func (*Value) XXX_OneofWrappers() []interface{}
- func (m *Value) XXX_Size() int
- func (m *Value) XXX_Unmarshal(b []byte) error
- type Value_BoolValue
- func (this *Value_BoolValue) Equal(that interface{}) bool
- func (this *Value_BoolValue) GoString() string
- func (m *Value_BoolValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_BoolValue) Size() (n int)
- func (this *Value_BoolValue) String() string
- type Value_BytesValue
- func (this *Value_BytesValue) Equal(that interface{}) bool
- func (this *Value_BytesValue) GoString() string
- func (m *Value_BytesValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_BytesValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_BytesValue) Size() (n int)
- func (this *Value_BytesValue) String() string
- type Value_DoubleValue
- func (this *Value_DoubleValue) Equal(that interface{}) bool
- func (this *Value_DoubleValue) GoString() string
- func (m *Value_DoubleValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_DoubleValue) Size() (n int)
- func (this *Value_DoubleValue) String() string
- type Value_EnumValue
- func (this *Value_EnumValue) Equal(that interface{}) bool
- func (this *Value_EnumValue) GoString() string
- func (m *Value_EnumValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_EnumValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_EnumValue) Size() (n int)
- func (this *Value_EnumValue) String() string
- type Value_Int64Value
- func (this *Value_Int64Value) Equal(that interface{}) bool
- func (this *Value_Int64Value) GoString() string
- func (m *Value_Int64Value) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_Int64Value) Size() (n int)
- func (this *Value_Int64Value) String() string
- type Value_ListValue
- func (this *Value_ListValue) Equal(that interface{}) bool
- func (this *Value_ListValue) GoString() string
- func (m *Value_ListValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_ListValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_ListValue) Size() (n int)
- func (this *Value_ListValue) String() string
- type Value_MapValue
- func (this *Value_MapValue) Equal(that interface{}) bool
- func (this *Value_MapValue) GoString() string
- func (m *Value_MapValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_MapValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_MapValue) Size() (n int)
- func (this *Value_MapValue) String() string
- type Value_NullValue
- func (this *Value_NullValue) Equal(that interface{}) bool
- func (this *Value_NullValue) GoString() string
- func (m *Value_NullValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_NullValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_NullValue) Size() (n int)
- func (this *Value_NullValue) String() string
- type Value_ObjectValue
- func (this *Value_ObjectValue) Equal(that interface{}) bool
- func (this *Value_ObjectValue) GoString() string
- func (m *Value_ObjectValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_ObjectValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_ObjectValue) Size() (n int)
- func (this *Value_ObjectValue) String() string
- type Value_StringValue
- func (this *Value_StringValue) Equal(that interface{}) bool
- func (this *Value_StringValue) GoString() string
- func (m *Value_StringValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_StringValue) Size() (n int)
- func (this *Value_StringValue) String() string
- type Value_TypeValue
- func (this *Value_TypeValue) Equal(that interface{}) bool
- func (this *Value_TypeValue) GoString() string
- func (m *Value_TypeValue) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_TypeValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_TypeValue) Size() (n int)
- func (this *Value_TypeValue) String() string
- type Value_Uint64Value
- func (this *Value_Uint64Value) Equal(that interface{}) bool
- func (this *Value_Uint64Value) GoString() string
- func (m *Value_Uint64Value) MarshalTo(dAtA []byte) (int, error)
- func (m *Value_Uint64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *Value_Uint64Value) Size() (n int)
- func (this *Value_Uint64Value) String() string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Constant ¶
type Constant struct { // Required. The valid constant kinds. // // Types that are valid to be assigned to ConstantKind: // *Constant_NullValue // *Constant_BoolValue // *Constant_Int64Value // *Constant_Uint64Value // *Constant_DoubleValue // *Constant_StringValue // *Constant_BytesValue // *Constant_DurationValue // *Constant_TimestampValue ConstantKind isConstant_ConstantKind `protobuf_oneof:"constant_kind"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a primitive literal.
Named 'Constant' here for backwards compatibility.
This is similar as the primitives supported in the well-known type `google.protobuf.Value`, but richer so it can represent CEL's full range of primitives.
Lists and structs are not included as constants as these aggregate types may contain Expr[google.api.expr.v1alpha1.Expr] elements which require evaluation and are thus not constant.
Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, `true`, `null`.
func NewPopulatedConstant ¶
func (*Constant) Descriptor ¶
func (*Constant) GetBoolValue ¶
func (*Constant) GetBytesValue ¶
func (*Constant) GetConstantKind ¶
func (m *Constant) GetConstantKind() isConstant_ConstantKind
func (*Constant) GetDoubleValue ¶
func (*Constant) GetDurationValue
deprecated
func (*Constant) GetInt64Value ¶
func (*Constant) GetNullValue ¶
func (*Constant) GetStringValue ¶
func (*Constant) GetTimestampValue
deprecated
func (*Constant) GetUint64Value ¶
func (*Constant) MarshalToSizedBuffer ¶
func (*Constant) ProtoMessage ¶
func (*Constant) ProtoMessage()
func (*Constant) XXX_DiscardUnknown ¶
func (m *Constant) XXX_DiscardUnknown()
func (*Constant) XXX_Marshal ¶
func (*Constant) XXX_MessageName ¶
func (*Constant) XXX_OneofWrappers ¶
func (*Constant) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Constant) XXX_Unmarshal ¶
type Constant_BoolValue ¶
type Constant_BoolValue struct {
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof" json:"bool_value,omitempty"`
}
func NewPopulatedConstant_BoolValue ¶
func NewPopulatedConstant_BoolValue(r randySyntax, easy bool) *Constant_BoolValue
func (*Constant_BoolValue) Equal ¶
func (this *Constant_BoolValue) Equal(that interface{}) bool
func (*Constant_BoolValue) GoString ¶
func (this *Constant_BoolValue) GoString() string
func (*Constant_BoolValue) MarshalTo ¶
func (m *Constant_BoolValue) MarshalTo(dAtA []byte) (int, error)
func (*Constant_BoolValue) MarshalToSizedBuffer ¶
func (m *Constant_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Constant_BoolValue) Size ¶
func (m *Constant_BoolValue) Size() (n int)
func (*Constant_BoolValue) String ¶
func (this *Constant_BoolValue) String() string
type Constant_BytesValue ¶
type Constant_BytesValue struct {
BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof" json:"bytes_value,omitempty"`
}
func NewPopulatedConstant_BytesValue ¶
func NewPopulatedConstant_BytesValue(r randySyntax, easy bool) *Constant_BytesValue
func (*Constant_BytesValue) Equal ¶
func (this *Constant_BytesValue) Equal(that interface{}) bool
func (*Constant_BytesValue) GoString ¶
func (this *Constant_BytesValue) GoString() string
func (*Constant_BytesValue) MarshalTo ¶
func (m *Constant_BytesValue) MarshalTo(dAtA []byte) (int, error)
func (*Constant_BytesValue) MarshalToSizedBuffer ¶
func (m *Constant_BytesValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Constant_BytesValue) Size ¶
func (m *Constant_BytesValue) Size() (n int)
func (*Constant_BytesValue) String ¶
func (this *Constant_BytesValue) String() string
type Constant_DoubleValue ¶
type Constant_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}
func NewPopulatedConstant_DoubleValue ¶
func NewPopulatedConstant_DoubleValue(r randySyntax, easy bool) *Constant_DoubleValue
func (*Constant_DoubleValue) Equal ¶
func (this *Constant_DoubleValue) Equal(that interface{}) bool
func (*Constant_DoubleValue) GoString ¶
func (this *Constant_DoubleValue) GoString() string
func (*Constant_DoubleValue) MarshalTo ¶
func (m *Constant_DoubleValue) MarshalTo(dAtA []byte) (int, error)
func (*Constant_DoubleValue) MarshalToSizedBuffer ¶
func (m *Constant_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Constant_DoubleValue) Size ¶
func (m *Constant_DoubleValue) Size() (n int)
func (*Constant_DoubleValue) String ¶
func (this *Constant_DoubleValue) String() string
type Constant_DurationValue ¶
type Constant_DurationValue struct {
DurationValue *types.Duration `protobuf:"bytes,8,opt,name=duration_value,json=durationValue,proto3,oneof" json:"duration_value,omitempty"`
}
func NewPopulatedConstant_DurationValue ¶
func NewPopulatedConstant_DurationValue(r randySyntax, easy bool) *Constant_DurationValue
func (*Constant_DurationValue) Equal ¶
func (this *Constant_DurationValue) Equal(that interface{}) bool
func (*Constant_DurationValue) GoString ¶
func (this *Constant_DurationValue) GoString() string
func (*Constant_DurationValue) MarshalTo ¶
func (m *Constant_DurationValue) MarshalTo(dAtA []byte) (int, error)
func (*Constant_DurationValue) MarshalToSizedBuffer ¶
func (m *Constant_DurationValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Constant_DurationValue) Size ¶
func (m *Constant_DurationValue) Size() (n int)
func (*Constant_DurationValue) String ¶
func (this *Constant_DurationValue) String() string
type Constant_Int64Value ¶
type Constant_Int64Value struct {
Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof" json:"int64_value,omitempty"`
}
func NewPopulatedConstant_Int64Value ¶
func NewPopulatedConstant_Int64Value(r randySyntax, easy bool) *Constant_Int64Value
func (*Constant_Int64Value) Equal ¶
func (this *Constant_Int64Value) Equal(that interface{}) bool
func (*Constant_Int64Value) GoString ¶
func (this *Constant_Int64Value) GoString() string
func (*Constant_Int64Value) MarshalTo ¶
func (m *Constant_Int64Value) MarshalTo(dAtA []byte) (int, error)
func (*Constant_Int64Value) MarshalToSizedBuffer ¶
func (m *Constant_Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Constant_Int64Value) Size ¶
func (m *Constant_Int64Value) Size() (n int)
func (*Constant_Int64Value) String ¶
func (this *Constant_Int64Value) String() string
type Constant_NullValue ¶
type Constant_NullValue struct {
NullValue types.NullValue `` /* 126-byte string literal not displayed */
}
func NewPopulatedConstant_NullValue ¶
func NewPopulatedConstant_NullValue(r randySyntax, easy bool) *Constant_NullValue
func (*Constant_NullValue) Equal ¶
func (this *Constant_NullValue) Equal(that interface{}) bool
func (*Constant_NullValue) GoString ¶
func (this *Constant_NullValue) GoString() string
func (*Constant_NullValue) MarshalTo ¶
func (m *Constant_NullValue) MarshalTo(dAtA []byte) (int, error)
func (*Constant_NullValue) MarshalToSizedBuffer ¶
func (m *Constant_NullValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Constant_NullValue) Size ¶
func (m *Constant_NullValue) Size() (n int)
func (*Constant_NullValue) String ¶
func (this *Constant_NullValue) String() string
type Constant_StringValue ¶
type Constant_StringValue struct {
StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"`
}
func NewPopulatedConstant_StringValue ¶
func NewPopulatedConstant_StringValue(r randySyntax, easy bool) *Constant_StringValue
func (*Constant_StringValue) Equal ¶
func (this *Constant_StringValue) Equal(that interface{}) bool
func (*Constant_StringValue) GoString ¶
func (this *Constant_StringValue) GoString() string
func (*Constant_StringValue) MarshalTo ¶
func (m *Constant_StringValue) MarshalTo(dAtA []byte) (int, error)
func (*Constant_StringValue) MarshalToSizedBuffer ¶
func (m *Constant_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Constant_StringValue) Size ¶
func (m *Constant_StringValue) Size() (n int)
func (*Constant_StringValue) String ¶
func (this *Constant_StringValue) String() string
type Constant_TimestampValue ¶
type Constant_TimestampValue struct {
TimestampValue *types.Timestamp `protobuf:"bytes,9,opt,name=timestamp_value,json=timestampValue,proto3,oneof" json:"timestamp_value,omitempty"`
}
func NewPopulatedConstant_TimestampValue ¶
func NewPopulatedConstant_TimestampValue(r randySyntax, easy bool) *Constant_TimestampValue
func (*Constant_TimestampValue) Equal ¶
func (this *Constant_TimestampValue) Equal(that interface{}) bool
func (*Constant_TimestampValue) GoString ¶
func (this *Constant_TimestampValue) GoString() string
func (*Constant_TimestampValue) MarshalTo ¶
func (m *Constant_TimestampValue) MarshalTo(dAtA []byte) (int, error)
func (*Constant_TimestampValue) MarshalToSizedBuffer ¶
func (m *Constant_TimestampValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Constant_TimestampValue) Size ¶
func (m *Constant_TimestampValue) Size() (n int)
func (*Constant_TimestampValue) String ¶
func (this *Constant_TimestampValue) String() string
type Constant_Uint64Value ¶
type Constant_Uint64Value struct {
Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof" json:"uint64_value,omitempty"`
}
func NewPopulatedConstant_Uint64Value ¶
func NewPopulatedConstant_Uint64Value(r randySyntax, easy bool) *Constant_Uint64Value
func (*Constant_Uint64Value) Equal ¶
func (this *Constant_Uint64Value) Equal(that interface{}) bool
func (*Constant_Uint64Value) GoString ¶
func (this *Constant_Uint64Value) GoString() string
func (*Constant_Uint64Value) MarshalTo ¶
func (m *Constant_Uint64Value) MarshalTo(dAtA []byte) (int, error)
func (*Constant_Uint64Value) MarshalToSizedBuffer ¶
func (m *Constant_Uint64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Constant_Uint64Value) Size ¶
func (m *Constant_Uint64Value) Size() (n int)
func (*Constant_Uint64Value) String ¶
func (this *Constant_Uint64Value) String() string
type EnumValue ¶
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:"-"` }
An enum value.
func NewPopulatedEnumValue ¶
func (*EnumValue) Descriptor ¶
func (*EnumValue) MarshalToSizedBuffer ¶
func (*EnumValue) ProtoMessage ¶
func (*EnumValue) ProtoMessage()
func (*EnumValue) XXX_DiscardUnknown ¶
func (m *EnumValue) XXX_DiscardUnknown()
func (*EnumValue) XXX_Marshal ¶
func (*EnumValue) XXX_MessageName ¶
func (*EnumValue) XXX_Unmarshal ¶
type Expr ¶
type Expr struct { // Required. An id assigned to this node by the parser which is unique in a // given expression tree. This is used to associate type information and other // attributes to a node in the parse tree. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // Required. Variants of expressions. // // Types that are valid to be assigned to ExprKind: // *Expr_ConstExpr // *Expr_IdentExpr // *Expr_SelectExpr // *Expr_CallExpr // *Expr_ListExpr // *Expr_StructExpr // *Expr_ComprehensionExpr ExprKind isExpr_ExprKind `protobuf_oneof:"expr_kind"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An abstract representation of a common expression.
Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST.
All references within expressions must resolve to a [Decl][google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration.
For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`.
func NewPopulatedExpr ¶
func (*Expr) Descriptor ¶
func (*Expr) GetCallExpr ¶
func (*Expr) GetComprehensionExpr ¶
func (m *Expr) GetComprehensionExpr() *Expr_Comprehension
func (*Expr) GetConstExpr ¶
func (*Expr) GetExprKind ¶
func (m *Expr) GetExprKind() isExpr_ExprKind
func (*Expr) GetIdentExpr ¶
func (m *Expr) GetIdentExpr() *Expr_Ident
func (*Expr) GetListExpr ¶
func (m *Expr) GetListExpr() *Expr_CreateList
func (*Expr) GetSelectExpr ¶
func (m *Expr) GetSelectExpr() *Expr_Select
func (*Expr) GetStructExpr ¶
func (m *Expr) GetStructExpr() *Expr_CreateStruct
func (*Expr) ProtoMessage ¶
func (*Expr) ProtoMessage()
func (*Expr) XXX_DiscardUnknown ¶
func (m *Expr) XXX_DiscardUnknown()
func (*Expr) XXX_MessageName ¶
func (*Expr) XXX_OneofWrappers ¶
func (*Expr) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Expr) XXX_Unmarshal ¶
type Expr_Call ¶
type Expr_Call struct { // The target of an method call-style expression. For example, `x` in // `x.f()`. Target *Expr `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // Required. The name of the function or method being called. Function string `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"` // The arguments. Args []*Expr `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A call expression, including calls to predefined functions and operators.
For example, `value == 10`, `size(map_value)`.
func NewPopulatedExpr_Call ¶
func (*Expr_Call) Descriptor ¶
func (*Expr_Call) GetFunction ¶
func (*Expr_Call) MarshalToSizedBuffer ¶
func (*Expr_Call) ProtoMessage ¶
func (*Expr_Call) ProtoMessage()
func (*Expr_Call) XXX_DiscardUnknown ¶
func (m *Expr_Call) XXX_DiscardUnknown()
func (*Expr_Call) XXX_Marshal ¶
func (*Expr_Call) XXX_MessageName ¶
func (*Expr_Call) XXX_Unmarshal ¶
type Expr_CallExpr ¶
type Expr_CallExpr struct {
CallExpr *Expr_Call `protobuf:"bytes,6,opt,name=call_expr,json=callExpr,proto3,oneof" json:"call_expr,omitempty"`
}
func NewPopulatedExpr_CallExpr ¶
func NewPopulatedExpr_CallExpr(r randySyntax, easy bool) *Expr_CallExpr
func (*Expr_CallExpr) Equal ¶
func (this *Expr_CallExpr) Equal(that interface{}) bool
func (*Expr_CallExpr) GoString ¶
func (this *Expr_CallExpr) GoString() string
func (*Expr_CallExpr) MarshalToSizedBuffer ¶
func (m *Expr_CallExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_CallExpr) Size ¶
func (m *Expr_CallExpr) Size() (n int)
func (*Expr_CallExpr) String ¶
func (this *Expr_CallExpr) String() string
type Expr_Comprehension ¶
type Expr_Comprehension struct { // The name of the iteration variable. IterVar string `protobuf:"bytes,1,opt,name=iter_var,json=iterVar,proto3" json:"iter_var,omitempty"` // The range over which var iterates. IterRange *Expr `protobuf:"bytes,2,opt,name=iter_range,json=iterRange,proto3" json:"iter_range,omitempty"` // The name of the variable used for accumulation of the result. AccuVar string `protobuf:"bytes,3,opt,name=accu_var,json=accuVar,proto3" json:"accu_var,omitempty"` // The initial value of the accumulator. AccuInit *Expr `protobuf:"bytes,4,opt,name=accu_init,json=accuInit,proto3" json:"accu_init,omitempty"` // An expression which can contain iter_var and accu_var. // // Returns false when the result has been computed and may be used as // a hint to short-circuit the remainder of the comprehension. LoopCondition *Expr `protobuf:"bytes,5,opt,name=loop_condition,json=loopCondition,proto3" json:"loop_condition,omitempty"` // An expression which can contain iter_var and accu_var. // // Computes the next value of accu_var. LoopStep *Expr `protobuf:"bytes,6,opt,name=loop_step,json=loopStep,proto3" json:"loop_step,omitempty"` // An expression which can contain accu_var. // // Computes the result. Result *Expr `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A comprehension expression applied to a list or map.
Comprehensions are not part of the core syntax, but enabled with macros. A macro matches a specific call signature within a parsed AST and replaces the call with an alternate AST block. Macro expansion happens at parse time.
The following macros are supported within CEL:
Aggregate type macros may be applied to all elements in a list or all keys in a map:
- `all`, `exists`, `exists_one` - test a predicate expression against the inputs and return `true` if the predicate is satisfied for all, any, or only one value `list.all(x, x < 10)`.
- `filter` - test a predicate expression against the inputs and return the subset of elements which satisfy the predicate: `payments.filter(p, p > 1000)`.
- `map` - apply an expression to all elements in the input and return the output aggregate type: `[1, 2, 3].map(i, i * i)`.
The `has(m.x)` macro tests whether the property `x` is present in struct `m`. The semantics of this macro depend on the type of `m`. For proto2 messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the macro tests whether the property is set to its default. For map and struct types, the macro tests whether the property `x` is defined on `m`.
func NewPopulatedExpr_Comprehension ¶
func NewPopulatedExpr_Comprehension(r randySyntax, easy bool) *Expr_Comprehension
func (*Expr_Comprehension) Descriptor ¶
func (*Expr_Comprehension) Descriptor() ([]byte, []int)
func (*Expr_Comprehension) Equal ¶
func (this *Expr_Comprehension) Equal(that interface{}) bool
func (*Expr_Comprehension) GetAccuInit ¶
func (m *Expr_Comprehension) GetAccuInit() *Expr
func (*Expr_Comprehension) GetAccuVar ¶
func (m *Expr_Comprehension) GetAccuVar() string
func (*Expr_Comprehension) GetIterRange ¶
func (m *Expr_Comprehension) GetIterRange() *Expr
func (*Expr_Comprehension) GetIterVar ¶
func (m *Expr_Comprehension) GetIterVar() string
func (*Expr_Comprehension) GetLoopCondition ¶
func (m *Expr_Comprehension) GetLoopCondition() *Expr
func (*Expr_Comprehension) GetLoopStep ¶
func (m *Expr_Comprehension) GetLoopStep() *Expr
func (*Expr_Comprehension) GetResult ¶
func (m *Expr_Comprehension) GetResult() *Expr
func (*Expr_Comprehension) GoString ¶
func (this *Expr_Comprehension) GoString() string
func (*Expr_Comprehension) Marshal ¶
func (m *Expr_Comprehension) Marshal() (dAtA []byte, err error)
func (*Expr_Comprehension) MarshalTo ¶
func (m *Expr_Comprehension) MarshalTo(dAtA []byte) (int, error)
func (*Expr_Comprehension) MarshalToSizedBuffer ¶
func (m *Expr_Comprehension) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_Comprehension) ProtoMessage ¶
func (*Expr_Comprehension) ProtoMessage()
func (*Expr_Comprehension) Reset ¶
func (m *Expr_Comprehension) Reset()
func (*Expr_Comprehension) Size ¶
func (m *Expr_Comprehension) Size() (n int)
func (*Expr_Comprehension) String ¶
func (this *Expr_Comprehension) String() string
func (*Expr_Comprehension) Unmarshal ¶
func (m *Expr_Comprehension) Unmarshal(dAtA []byte) error
func (*Expr_Comprehension) XXX_DiscardUnknown ¶
func (m *Expr_Comprehension) XXX_DiscardUnknown()
func (*Expr_Comprehension) XXX_Marshal ¶
func (m *Expr_Comprehension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Expr_Comprehension) XXX_Merge ¶
func (m *Expr_Comprehension) XXX_Merge(src proto.Message)
func (*Expr_Comprehension) XXX_MessageName ¶
func (*Expr_Comprehension) XXX_MessageName() string
func (*Expr_Comprehension) XXX_Size ¶
func (m *Expr_Comprehension) XXX_Size() int
func (*Expr_Comprehension) XXX_Unmarshal ¶
func (m *Expr_Comprehension) XXX_Unmarshal(b []byte) error
type Expr_ComprehensionExpr ¶
type Expr_ComprehensionExpr struct {
ComprehensionExpr *Expr_Comprehension `protobuf:"bytes,9,opt,name=comprehension_expr,json=comprehensionExpr,proto3,oneof" json:"comprehension_expr,omitempty"`
}
func NewPopulatedExpr_ComprehensionExpr ¶
func NewPopulatedExpr_ComprehensionExpr(r randySyntax, easy bool) *Expr_ComprehensionExpr
func (*Expr_ComprehensionExpr) Equal ¶
func (this *Expr_ComprehensionExpr) Equal(that interface{}) bool
func (*Expr_ComprehensionExpr) GoString ¶
func (this *Expr_ComprehensionExpr) GoString() string
func (*Expr_ComprehensionExpr) MarshalTo ¶
func (m *Expr_ComprehensionExpr) MarshalTo(dAtA []byte) (int, error)
func (*Expr_ComprehensionExpr) MarshalToSizedBuffer ¶
func (m *Expr_ComprehensionExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_ComprehensionExpr) Size ¶
func (m *Expr_ComprehensionExpr) Size() (n int)
func (*Expr_ComprehensionExpr) String ¶
func (this *Expr_ComprehensionExpr) String() string
type Expr_ConstExpr ¶
type Expr_ConstExpr struct {
ConstExpr *Constant `protobuf:"bytes,3,opt,name=const_expr,json=constExpr,proto3,oneof" json:"const_expr,omitempty"`
}
func NewPopulatedExpr_ConstExpr ¶
func NewPopulatedExpr_ConstExpr(r randySyntax, easy bool) *Expr_ConstExpr
func (*Expr_ConstExpr) Equal ¶
func (this *Expr_ConstExpr) Equal(that interface{}) bool
func (*Expr_ConstExpr) GoString ¶
func (this *Expr_ConstExpr) GoString() string
func (*Expr_ConstExpr) MarshalToSizedBuffer ¶
func (m *Expr_ConstExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_ConstExpr) Size ¶
func (m *Expr_ConstExpr) Size() (n int)
func (*Expr_ConstExpr) String ¶
func (this *Expr_ConstExpr) String() string
type Expr_CreateList ¶
type Expr_CreateList struct { // The elements part of the list. Elements []*Expr `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list creation expression.
Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogenous, e.g. `dyn([1, 'hello', 2.0])`
func NewPopulatedExpr_CreateList ¶
func NewPopulatedExpr_CreateList(r randySyntax, easy bool) *Expr_CreateList
func (*Expr_CreateList) Descriptor ¶
func (*Expr_CreateList) Descriptor() ([]byte, []int)
func (*Expr_CreateList) Equal ¶
func (this *Expr_CreateList) Equal(that interface{}) bool
func (*Expr_CreateList) GetElements ¶
func (m *Expr_CreateList) GetElements() []*Expr
func (*Expr_CreateList) GoString ¶
func (this *Expr_CreateList) GoString() string
func (*Expr_CreateList) Marshal ¶
func (m *Expr_CreateList) Marshal() (dAtA []byte, err error)
func (*Expr_CreateList) MarshalToSizedBuffer ¶
func (m *Expr_CreateList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_CreateList) ProtoMessage ¶
func (*Expr_CreateList) ProtoMessage()
func (*Expr_CreateList) Reset ¶
func (m *Expr_CreateList) Reset()
func (*Expr_CreateList) Size ¶
func (m *Expr_CreateList) Size() (n int)
func (*Expr_CreateList) String ¶
func (this *Expr_CreateList) String() string
func (*Expr_CreateList) Unmarshal ¶
func (m *Expr_CreateList) Unmarshal(dAtA []byte) error
func (*Expr_CreateList) XXX_DiscardUnknown ¶
func (m *Expr_CreateList) XXX_DiscardUnknown()
func (*Expr_CreateList) XXX_Marshal ¶
func (m *Expr_CreateList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Expr_CreateList) XXX_Merge ¶
func (m *Expr_CreateList) XXX_Merge(src proto.Message)
func (*Expr_CreateList) XXX_MessageName ¶
func (*Expr_CreateList) XXX_MessageName() string
func (*Expr_CreateList) XXX_Size ¶
func (m *Expr_CreateList) XXX_Size() int
func (*Expr_CreateList) XXX_Unmarshal ¶
func (m *Expr_CreateList) XXX_Unmarshal(b []byte) error
type Expr_CreateStruct ¶
type Expr_CreateStruct struct { // The type name of the message to be created, empty when creating map // literals. MessageName string `protobuf:"bytes,1,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"` // The entries in the creation expression. Entries []*Expr_CreateStruct_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A map or message creation expression.
Maps are constructed as `{'key_name': 'value'}`. Message construction is similar, but prefixed with a type name and composed of field ids: `types.MyType{field_id: 'value'}`.
func NewPopulatedExpr_CreateStruct ¶
func NewPopulatedExpr_CreateStruct(r randySyntax, easy bool) *Expr_CreateStruct
func (*Expr_CreateStruct) Descriptor ¶
func (*Expr_CreateStruct) Descriptor() ([]byte, []int)
func (*Expr_CreateStruct) Equal ¶
func (this *Expr_CreateStruct) Equal(that interface{}) bool
func (*Expr_CreateStruct) GetEntries ¶
func (m *Expr_CreateStruct) GetEntries() []*Expr_CreateStruct_Entry
func (*Expr_CreateStruct) GetMessageName ¶
func (m *Expr_CreateStruct) GetMessageName() string
func (*Expr_CreateStruct) GoString ¶
func (this *Expr_CreateStruct) GoString() string
func (*Expr_CreateStruct) Marshal ¶
func (m *Expr_CreateStruct) Marshal() (dAtA []byte, err error)
func (*Expr_CreateStruct) MarshalTo ¶
func (m *Expr_CreateStruct) MarshalTo(dAtA []byte) (int, error)
func (*Expr_CreateStruct) MarshalToSizedBuffer ¶
func (m *Expr_CreateStruct) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_CreateStruct) ProtoMessage ¶
func (*Expr_CreateStruct) ProtoMessage()
func (*Expr_CreateStruct) Reset ¶
func (m *Expr_CreateStruct) Reset()
func (*Expr_CreateStruct) Size ¶
func (m *Expr_CreateStruct) Size() (n int)
func (*Expr_CreateStruct) String ¶
func (this *Expr_CreateStruct) String() string
func (*Expr_CreateStruct) Unmarshal ¶
func (m *Expr_CreateStruct) Unmarshal(dAtA []byte) error
func (*Expr_CreateStruct) XXX_DiscardUnknown ¶
func (m *Expr_CreateStruct) XXX_DiscardUnknown()
func (*Expr_CreateStruct) XXX_Marshal ¶
func (m *Expr_CreateStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Expr_CreateStruct) XXX_Merge ¶
func (m *Expr_CreateStruct) XXX_Merge(src proto.Message)
func (*Expr_CreateStruct) XXX_MessageName ¶
func (*Expr_CreateStruct) XXX_MessageName() string
func (*Expr_CreateStruct) XXX_Size ¶
func (m *Expr_CreateStruct) XXX_Size() int
func (*Expr_CreateStruct) XXX_Unmarshal ¶
func (m *Expr_CreateStruct) XXX_Unmarshal(b []byte) error
type Expr_CreateStruct_Entry ¶
type Expr_CreateStruct_Entry struct { // Required. An id assigned to this node by the parser which is unique // in a given expression tree. This is used to associate type // information and other attributes to the node. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // The `Entry` key kinds. // // Types that are valid to be assigned to KeyKind: // *Expr_CreateStruct_Entry_FieldKey // *Expr_CreateStruct_Entry_MapKey KeyKind isExpr_CreateStruct_Entry_KeyKind `protobuf_oneof:"key_kind"` // Required. The value assigned to the key. Value *Expr `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents an entry.
func NewPopulatedExpr_CreateStruct_Entry ¶
func NewPopulatedExpr_CreateStruct_Entry(r randySyntax, easy bool) *Expr_CreateStruct_Entry
func (*Expr_CreateStruct_Entry) Descriptor ¶
func (*Expr_CreateStruct_Entry) Descriptor() ([]byte, []int)
func (*Expr_CreateStruct_Entry) Equal ¶
func (this *Expr_CreateStruct_Entry) Equal(that interface{}) bool
func (*Expr_CreateStruct_Entry) GetFieldKey ¶
func (m *Expr_CreateStruct_Entry) GetFieldKey() string
func (*Expr_CreateStruct_Entry) GetId ¶
func (m *Expr_CreateStruct_Entry) GetId() int64
func (*Expr_CreateStruct_Entry) GetKeyKind ¶
func (m *Expr_CreateStruct_Entry) GetKeyKind() isExpr_CreateStruct_Entry_KeyKind
func (*Expr_CreateStruct_Entry) GetMapKey ¶
func (m *Expr_CreateStruct_Entry) GetMapKey() *Expr
func (*Expr_CreateStruct_Entry) GetValue ¶
func (m *Expr_CreateStruct_Entry) GetValue() *Expr
func (*Expr_CreateStruct_Entry) GoString ¶
func (this *Expr_CreateStruct_Entry) GoString() string
func (*Expr_CreateStruct_Entry) Marshal ¶
func (m *Expr_CreateStruct_Entry) Marshal() (dAtA []byte, err error)
func (*Expr_CreateStruct_Entry) MarshalTo ¶
func (m *Expr_CreateStruct_Entry) MarshalTo(dAtA []byte) (int, error)
func (*Expr_CreateStruct_Entry) MarshalToSizedBuffer ¶
func (m *Expr_CreateStruct_Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_CreateStruct_Entry) ProtoMessage ¶
func (*Expr_CreateStruct_Entry) ProtoMessage()
func (*Expr_CreateStruct_Entry) Reset ¶
func (m *Expr_CreateStruct_Entry) Reset()
func (*Expr_CreateStruct_Entry) Size ¶
func (m *Expr_CreateStruct_Entry) Size() (n int)
func (*Expr_CreateStruct_Entry) String ¶
func (this *Expr_CreateStruct_Entry) String() string
func (*Expr_CreateStruct_Entry) Unmarshal ¶
func (m *Expr_CreateStruct_Entry) Unmarshal(dAtA []byte) error
func (*Expr_CreateStruct_Entry) XXX_DiscardUnknown ¶
func (m *Expr_CreateStruct_Entry) XXX_DiscardUnknown()
func (*Expr_CreateStruct_Entry) XXX_Marshal ¶
func (m *Expr_CreateStruct_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Expr_CreateStruct_Entry) XXX_Merge ¶
func (m *Expr_CreateStruct_Entry) XXX_Merge(src proto.Message)
func (*Expr_CreateStruct_Entry) XXX_MessageName ¶
func (*Expr_CreateStruct_Entry) XXX_MessageName() string
func (*Expr_CreateStruct_Entry) XXX_OneofWrappers ¶
func (*Expr_CreateStruct_Entry) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Expr_CreateStruct_Entry) XXX_Size ¶
func (m *Expr_CreateStruct_Entry) XXX_Size() int
func (*Expr_CreateStruct_Entry) XXX_Unmarshal ¶
func (m *Expr_CreateStruct_Entry) XXX_Unmarshal(b []byte) error
type Expr_CreateStruct_Entry_FieldKey ¶
type Expr_CreateStruct_Entry_FieldKey struct {
FieldKey string `protobuf:"bytes,2,opt,name=field_key,json=fieldKey,proto3,oneof" json:"field_key,omitempty"`
}
func NewPopulatedExpr_CreateStruct_Entry_FieldKey ¶
func NewPopulatedExpr_CreateStruct_Entry_FieldKey(r randySyntax, easy bool) *Expr_CreateStruct_Entry_FieldKey
func (*Expr_CreateStruct_Entry_FieldKey) Equal ¶
func (this *Expr_CreateStruct_Entry_FieldKey) Equal(that interface{}) bool
func (*Expr_CreateStruct_Entry_FieldKey) GoString ¶
func (this *Expr_CreateStruct_Entry_FieldKey) GoString() string
func (*Expr_CreateStruct_Entry_FieldKey) MarshalTo ¶
func (m *Expr_CreateStruct_Entry_FieldKey) MarshalTo(dAtA []byte) (int, error)
func (*Expr_CreateStruct_Entry_FieldKey) MarshalToSizedBuffer ¶
func (m *Expr_CreateStruct_Entry_FieldKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_CreateStruct_Entry_FieldKey) Size ¶
func (m *Expr_CreateStruct_Entry_FieldKey) Size() (n int)
func (*Expr_CreateStruct_Entry_FieldKey) String ¶
func (this *Expr_CreateStruct_Entry_FieldKey) String() string
type Expr_CreateStruct_Entry_MapKey ¶
type Expr_CreateStruct_Entry_MapKey struct {
MapKey *Expr `protobuf:"bytes,3,opt,name=map_key,json=mapKey,proto3,oneof" json:"map_key,omitempty"`
}
func NewPopulatedExpr_CreateStruct_Entry_MapKey ¶
func NewPopulatedExpr_CreateStruct_Entry_MapKey(r randySyntax, easy bool) *Expr_CreateStruct_Entry_MapKey
func (*Expr_CreateStruct_Entry_MapKey) Equal ¶
func (this *Expr_CreateStruct_Entry_MapKey) Equal(that interface{}) bool
func (*Expr_CreateStruct_Entry_MapKey) GoString ¶
func (this *Expr_CreateStruct_Entry_MapKey) GoString() string
func (*Expr_CreateStruct_Entry_MapKey) MarshalTo ¶
func (m *Expr_CreateStruct_Entry_MapKey) MarshalTo(dAtA []byte) (int, error)
func (*Expr_CreateStruct_Entry_MapKey) MarshalToSizedBuffer ¶
func (m *Expr_CreateStruct_Entry_MapKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_CreateStruct_Entry_MapKey) Size ¶
func (m *Expr_CreateStruct_Entry_MapKey) Size() (n int)
func (*Expr_CreateStruct_Entry_MapKey) String ¶
func (this *Expr_CreateStruct_Entry_MapKey) String() string
type Expr_Ident ¶
type Expr_Ident struct { // Required. Holds a single, unqualified identifier, possibly preceded by a // '.'. // // Qualified names are represented by the [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An identifier expression. e.g. `request`.
func NewPopulatedExpr_Ident ¶
func NewPopulatedExpr_Ident(r randySyntax, easy bool) *Expr_Ident
func (*Expr_Ident) Descriptor ¶
func (*Expr_Ident) Descriptor() ([]byte, []int)
func (*Expr_Ident) Equal ¶
func (this *Expr_Ident) Equal(that interface{}) bool
func (*Expr_Ident) GetName ¶
func (m *Expr_Ident) GetName() string
func (*Expr_Ident) GoString ¶
func (this *Expr_Ident) GoString() string
func (*Expr_Ident) Marshal ¶
func (m *Expr_Ident) Marshal() (dAtA []byte, err error)
func (*Expr_Ident) MarshalToSizedBuffer ¶
func (m *Expr_Ident) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_Ident) ProtoMessage ¶
func (*Expr_Ident) ProtoMessage()
func (*Expr_Ident) Reset ¶
func (m *Expr_Ident) Reset()
func (*Expr_Ident) Size ¶
func (m *Expr_Ident) Size() (n int)
func (*Expr_Ident) String ¶
func (this *Expr_Ident) String() string
func (*Expr_Ident) Unmarshal ¶
func (m *Expr_Ident) Unmarshal(dAtA []byte) error
func (*Expr_Ident) XXX_DiscardUnknown ¶
func (m *Expr_Ident) XXX_DiscardUnknown()
func (*Expr_Ident) XXX_Marshal ¶
func (m *Expr_Ident) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Expr_Ident) XXX_Merge ¶
func (m *Expr_Ident) XXX_Merge(src proto.Message)
func (*Expr_Ident) XXX_MessageName ¶
func (*Expr_Ident) XXX_MessageName() string
func (*Expr_Ident) XXX_Size ¶
func (m *Expr_Ident) XXX_Size() int
func (*Expr_Ident) XXX_Unmarshal ¶
func (m *Expr_Ident) XXX_Unmarshal(b []byte) error
type Expr_IdentExpr ¶
type Expr_IdentExpr struct {
IdentExpr *Expr_Ident `protobuf:"bytes,4,opt,name=ident_expr,json=identExpr,proto3,oneof" json:"ident_expr,omitempty"`
}
func NewPopulatedExpr_IdentExpr ¶
func NewPopulatedExpr_IdentExpr(r randySyntax, easy bool) *Expr_IdentExpr
func (*Expr_IdentExpr) Equal ¶
func (this *Expr_IdentExpr) Equal(that interface{}) bool
func (*Expr_IdentExpr) GoString ¶
func (this *Expr_IdentExpr) GoString() string
func (*Expr_IdentExpr) MarshalToSizedBuffer ¶
func (m *Expr_IdentExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_IdentExpr) Size ¶
func (m *Expr_IdentExpr) Size() (n int)
func (*Expr_IdentExpr) String ¶
func (this *Expr_IdentExpr) String() string
type Expr_ListExpr ¶
type Expr_ListExpr struct {
ListExpr *Expr_CreateList `protobuf:"bytes,7,opt,name=list_expr,json=listExpr,proto3,oneof" json:"list_expr,omitempty"`
}
func NewPopulatedExpr_ListExpr ¶
func NewPopulatedExpr_ListExpr(r randySyntax, easy bool) *Expr_ListExpr
func (*Expr_ListExpr) Equal ¶
func (this *Expr_ListExpr) Equal(that interface{}) bool
func (*Expr_ListExpr) GoString ¶
func (this *Expr_ListExpr) GoString() string
func (*Expr_ListExpr) MarshalToSizedBuffer ¶
func (m *Expr_ListExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_ListExpr) Size ¶
func (m *Expr_ListExpr) Size() (n int)
func (*Expr_ListExpr) String ¶
func (this *Expr_ListExpr) String() string
type Expr_Select ¶
type Expr_Select struct { // Required. The target of the selection expression. // // For example, in the select expression `request.auth`, the `request` // portion of the expression is the `operand`. Operand *Expr `protobuf:"bytes,1,opt,name=operand,proto3" json:"operand,omitempty"` // Required. The name of the field to select. // // For example, in the select expression `request.auth`, the `auth` portion // of the expression would be the `field`. Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` // Whether the select is to be interpreted as a field presence test. // // This results from the macro `has(request.auth)`. TestOnly bool `protobuf:"varint,3,opt,name=test_only,json=testOnly,proto3" json:"test_only,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A field selection expression. e.g. `request.auth`.
func NewPopulatedExpr_Select ¶
func NewPopulatedExpr_Select(r randySyntax, easy bool) *Expr_Select
func (*Expr_Select) Descriptor ¶
func (*Expr_Select) Descriptor() ([]byte, []int)
func (*Expr_Select) Equal ¶
func (this *Expr_Select) Equal(that interface{}) bool
func (*Expr_Select) GetField ¶
func (m *Expr_Select) GetField() string
func (*Expr_Select) GetOperand ¶
func (m *Expr_Select) GetOperand() *Expr
func (*Expr_Select) GetTestOnly ¶
func (m *Expr_Select) GetTestOnly() bool
func (*Expr_Select) GoString ¶
func (this *Expr_Select) GoString() string
func (*Expr_Select) Marshal ¶
func (m *Expr_Select) Marshal() (dAtA []byte, err error)
func (*Expr_Select) MarshalToSizedBuffer ¶
func (m *Expr_Select) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_Select) ProtoMessage ¶
func (*Expr_Select) ProtoMessage()
func (*Expr_Select) Reset ¶
func (m *Expr_Select) Reset()
func (*Expr_Select) Size ¶
func (m *Expr_Select) Size() (n int)
func (*Expr_Select) String ¶
func (this *Expr_Select) String() string
func (*Expr_Select) Unmarshal ¶
func (m *Expr_Select) Unmarshal(dAtA []byte) error
func (*Expr_Select) XXX_DiscardUnknown ¶
func (m *Expr_Select) XXX_DiscardUnknown()
func (*Expr_Select) XXX_Marshal ¶
func (m *Expr_Select) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Expr_Select) XXX_Merge ¶
func (m *Expr_Select) XXX_Merge(src proto.Message)
func (*Expr_Select) XXX_MessageName ¶
func (*Expr_Select) XXX_MessageName() string
func (*Expr_Select) XXX_Size ¶
func (m *Expr_Select) XXX_Size() int
func (*Expr_Select) XXX_Unmarshal ¶
func (m *Expr_Select) XXX_Unmarshal(b []byte) error
type Expr_SelectExpr ¶
type Expr_SelectExpr struct {
SelectExpr *Expr_Select `protobuf:"bytes,5,opt,name=select_expr,json=selectExpr,proto3,oneof" json:"select_expr,omitempty"`
}
func NewPopulatedExpr_SelectExpr ¶
func NewPopulatedExpr_SelectExpr(r randySyntax, easy bool) *Expr_SelectExpr
func (*Expr_SelectExpr) Equal ¶
func (this *Expr_SelectExpr) Equal(that interface{}) bool
func (*Expr_SelectExpr) GoString ¶
func (this *Expr_SelectExpr) GoString() string
func (*Expr_SelectExpr) MarshalToSizedBuffer ¶
func (m *Expr_SelectExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_SelectExpr) Size ¶
func (m *Expr_SelectExpr) Size() (n int)
func (*Expr_SelectExpr) String ¶
func (this *Expr_SelectExpr) String() string
type Expr_StructExpr ¶
type Expr_StructExpr struct {
StructExpr *Expr_CreateStruct `protobuf:"bytes,8,opt,name=struct_expr,json=structExpr,proto3,oneof" json:"struct_expr,omitempty"`
}
func NewPopulatedExpr_StructExpr ¶
func NewPopulatedExpr_StructExpr(r randySyntax, easy bool) *Expr_StructExpr
func (*Expr_StructExpr) Equal ¶
func (this *Expr_StructExpr) Equal(that interface{}) bool
func (*Expr_StructExpr) GoString ¶
func (this *Expr_StructExpr) GoString() string
func (*Expr_StructExpr) MarshalToSizedBuffer ¶
func (m *Expr_StructExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Expr_StructExpr) Size ¶
func (m *Expr_StructExpr) Size() (n int)
func (*Expr_StructExpr) String ¶
func (this *Expr_StructExpr) String() string
type ListValue ¶
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:"-"` }
A list.
Wrapped in a message so 'not set' and empty can be differentiated, which is required for use in a 'oneof'.
func NewPopulatedListValue ¶
func (*ListValue) Descriptor ¶
func (*ListValue) MarshalToSizedBuffer ¶
func (*ListValue) ProtoMessage ¶
func (*ListValue) ProtoMessage()
func (*ListValue) XXX_DiscardUnknown ¶
func (m *ListValue) XXX_DiscardUnknown()
func (*ListValue) XXX_Marshal ¶
func (*ListValue) XXX_MessageName ¶
func (*ListValue) XXX_Unmarshal ¶
type MapValue ¶
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:"-"` }
A map.
Wrapped in a message so 'not set' and empty can be differentiated, which is required for use in a 'oneof'.
func NewPopulatedMapValue ¶
func (*MapValue) Descriptor ¶
func (*MapValue) GetEntries ¶
func (m *MapValue) GetEntries() []*MapValue_Entry
func (*MapValue) MarshalToSizedBuffer ¶
func (*MapValue) ProtoMessage ¶
func (*MapValue) ProtoMessage()
func (*MapValue) XXX_DiscardUnknown ¶
func (m *MapValue) XXX_DiscardUnknown()
func (*MapValue) XXX_Marshal ¶
func (*MapValue) XXX_MessageName ¶
func (*MapValue) XXX_Unmarshal ¶
type MapValue_Entry ¶
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:"-"` }
An entry in the map.
func NewPopulatedMapValue_Entry ¶
func NewPopulatedMapValue_Entry(r randyValue, easy bool) *MapValue_Entry
func (*MapValue_Entry) Descriptor ¶
func (*MapValue_Entry) Descriptor() ([]byte, []int)
func (*MapValue_Entry) Equal ¶
func (this *MapValue_Entry) Equal(that interface{}) bool
func (*MapValue_Entry) GetKey ¶
func (m *MapValue_Entry) GetKey() *Value
func (*MapValue_Entry) GetValue ¶
func (m *MapValue_Entry) GetValue() *Value
func (*MapValue_Entry) GoString ¶
func (this *MapValue_Entry) GoString() string
func (*MapValue_Entry) Marshal ¶
func (m *MapValue_Entry) Marshal() (dAtA []byte, err error)
func (*MapValue_Entry) MarshalToSizedBuffer ¶
func (m *MapValue_Entry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MapValue_Entry) ProtoMessage ¶
func (*MapValue_Entry) ProtoMessage()
func (*MapValue_Entry) Reset ¶
func (m *MapValue_Entry) Reset()
func (*MapValue_Entry) Size ¶
func (m *MapValue_Entry) Size() (n int)
func (*MapValue_Entry) String ¶
func (this *MapValue_Entry) String() string
func (*MapValue_Entry) Unmarshal ¶
func (m *MapValue_Entry) Unmarshal(dAtA []byte) error
func (*MapValue_Entry) XXX_DiscardUnknown ¶
func (m *MapValue_Entry) XXX_DiscardUnknown()
func (*MapValue_Entry) XXX_Marshal ¶
func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MapValue_Entry) XXX_Merge ¶
func (m *MapValue_Entry) XXX_Merge(src proto.Message)
func (*MapValue_Entry) XXX_MessageName ¶
func (*MapValue_Entry) XXX_MessageName() string
func (*MapValue_Entry) XXX_Size ¶
func (m *MapValue_Entry) XXX_Size() int
func (*MapValue_Entry) XXX_Unmarshal ¶
func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error
type ParsedExpr ¶
type ParsedExpr struct { // The parsed expression. Expr *Expr `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"` // The source info derived from input that generated the parsed `expr`. SourceInfo *SourceInfo `protobuf:"bytes,3,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An expression together with source information as returned by the parser.
func NewPopulatedParsedExpr ¶
func NewPopulatedParsedExpr(r randySyntax, easy bool) *ParsedExpr
func (*ParsedExpr) Descriptor ¶
func (*ParsedExpr) Descriptor() ([]byte, []int)
func (*ParsedExpr) Equal ¶
func (this *ParsedExpr) Equal(that interface{}) bool
func (*ParsedExpr) GetExpr ¶
func (m *ParsedExpr) GetExpr() *Expr
func (*ParsedExpr) GetSourceInfo ¶
func (m *ParsedExpr) GetSourceInfo() *SourceInfo
func (*ParsedExpr) GoString ¶
func (this *ParsedExpr) GoString() string
func (*ParsedExpr) Marshal ¶
func (m *ParsedExpr) Marshal() (dAtA []byte, err error)
func (*ParsedExpr) MarshalToSizedBuffer ¶
func (m *ParsedExpr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ParsedExpr) ProtoMessage ¶
func (*ParsedExpr) ProtoMessage()
func (*ParsedExpr) Reset ¶
func (m *ParsedExpr) Reset()
func (*ParsedExpr) Size ¶
func (m *ParsedExpr) Size() (n int)
func (*ParsedExpr) String ¶
func (this *ParsedExpr) String() string
func (*ParsedExpr) Unmarshal ¶
func (m *ParsedExpr) Unmarshal(dAtA []byte) error
func (*ParsedExpr) XXX_DiscardUnknown ¶
func (m *ParsedExpr) XXX_DiscardUnknown()
func (*ParsedExpr) XXX_Marshal ¶
func (m *ParsedExpr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ParsedExpr) XXX_Merge ¶
func (m *ParsedExpr) XXX_Merge(src proto.Message)
func (*ParsedExpr) XXX_MessageName ¶
func (*ParsedExpr) XXX_MessageName() string
func (*ParsedExpr) XXX_Size ¶
func (m *ParsedExpr) XXX_Size() int
func (*ParsedExpr) XXX_Unmarshal ¶
func (m *ParsedExpr) XXX_Unmarshal(b []byte) error
type SourceInfo ¶
type SourceInfo struct { // The syntax version of the source, e.g. `cel1`. SyntaxVersion string `protobuf:"bytes,1,opt,name=syntax_version,json=syntaxVersion,proto3" json:"syntax_version,omitempty"` // 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[int64]int32 `` /* 161-byte string literal not displayed */ // A map from the parse node id where a macro replacement was made to the // call `Expr` that resulted in a macro expansion. // // For example, `has(value.field)` is a function call that is replaced by a // `test_only` field selection in the AST. Likewise, the call // `list.exists(e, e > 10)` translates to a comprehension expression. The key // in the map corresponds to the expression id of the expanded macro, and the // value is the call `Expr` that was replaced. MacroCalls map[int64]*Expr `` /* 180-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Source information collected at parse time.
func NewPopulatedSourceInfo ¶
func NewPopulatedSourceInfo(r randySyntax, easy bool) *SourceInfo
func (*SourceInfo) Descriptor ¶
func (*SourceInfo) Descriptor() ([]byte, []int)
func (*SourceInfo) Equal ¶
func (this *SourceInfo) Equal(that interface{}) bool
func (*SourceInfo) GetLineOffsets ¶
func (m *SourceInfo) GetLineOffsets() []int32
func (*SourceInfo) GetLocation ¶
func (m *SourceInfo) GetLocation() string
func (*SourceInfo) GetMacroCalls ¶
func (m *SourceInfo) GetMacroCalls() map[int64]*Expr
func (*SourceInfo) GetPositions ¶
func (m *SourceInfo) GetPositions() map[int64]int32
func (*SourceInfo) GetSyntaxVersion ¶
func (m *SourceInfo) GetSyntaxVersion() string
func (*SourceInfo) GoString ¶
func (this *SourceInfo) GoString() string
func (*SourceInfo) Marshal ¶
func (m *SourceInfo) Marshal() (dAtA []byte, err error)
func (*SourceInfo) MarshalToSizedBuffer ¶
func (m *SourceInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SourceInfo) ProtoMessage ¶
func (*SourceInfo) ProtoMessage()
func (*SourceInfo) Reset ¶
func (m *SourceInfo) Reset()
func (*SourceInfo) Size ¶
func (m *SourceInfo) Size() (n int)
func (*SourceInfo) String ¶
func (this *SourceInfo) String() string
func (*SourceInfo) Unmarshal ¶
func (m *SourceInfo) Unmarshal(dAtA []byte) error
func (*SourceInfo) XXX_DiscardUnknown ¶
func (m *SourceInfo) XXX_DiscardUnknown()
func (*SourceInfo) XXX_Marshal ¶
func (m *SourceInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SourceInfo) XXX_Merge ¶
func (m *SourceInfo) XXX_Merge(src proto.Message)
func (*SourceInfo) XXX_MessageName ¶
func (*SourceInfo) XXX_MessageName() string
func (*SourceInfo) XXX_Size ¶
func (m *SourceInfo) XXX_Size() int
func (*SourceInfo) XXX_Unmarshal ¶
func (m *SourceInfo) XXX_Unmarshal(b []byte) error
type SourcePosition ¶
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 nonzero. Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A specific position in source.
func NewPopulatedSourcePosition ¶
func NewPopulatedSourcePosition(r randySyntax, easy bool) *SourcePosition
func (*SourcePosition) Descriptor ¶
func (*SourcePosition) Descriptor() ([]byte, []int)
func (*SourcePosition) Equal ¶
func (this *SourcePosition) Equal(that interface{}) bool
func (*SourcePosition) GetColumn ¶
func (m *SourcePosition) GetColumn() int32
func (*SourcePosition) GetLine ¶
func (m *SourcePosition) GetLine() int32
func (*SourcePosition) GetLocation ¶
func (m *SourcePosition) GetLocation() string
func (*SourcePosition) GetOffset ¶
func (m *SourcePosition) GetOffset() int32
func (*SourcePosition) GoString ¶
func (this *SourcePosition) GoString() string
func (*SourcePosition) Marshal ¶
func (m *SourcePosition) Marshal() (dAtA []byte, err error)
func (*SourcePosition) MarshalToSizedBuffer ¶
func (m *SourcePosition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SourcePosition) ProtoMessage ¶
func (*SourcePosition) ProtoMessage()
func (*SourcePosition) Reset ¶
func (m *SourcePosition) Reset()
func (*SourcePosition) Size ¶
func (m *SourcePosition) Size() (n int)
func (*SourcePosition) String ¶
func (this *SourcePosition) String() string
func (*SourcePosition) Unmarshal ¶
func (m *SourcePosition) Unmarshal(dAtA []byte) error
func (*SourcePosition) XXX_DiscardUnknown ¶
func (m *SourcePosition) XXX_DiscardUnknown()
func (*SourcePosition) XXX_Marshal ¶
func (m *SourcePosition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SourcePosition) XXX_Merge ¶
func (m *SourcePosition) XXX_Merge(src proto.Message)
func (*SourcePosition) XXX_MessageName ¶
func (*SourcePosition) XXX_MessageName() string
func (*SourcePosition) XXX_Size ¶
func (m *SourcePosition) XXX_Size() int
func (*SourcePosition) XXX_Unmarshal ¶
func (m *SourcePosition) XXX_Unmarshal(b []byte) error
type Value ¶
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:"-"` }
Represents a CEL value.
This is similar to `google.protobuf.Value`, but can represent CEL's full range of values.
func NewPopulatedValue ¶
func (*Value) Descriptor ¶
func (*Value) GetBoolValue ¶
func (*Value) GetBytesValue ¶
func (*Value) GetDoubleValue ¶
func (*Value) GetEnumValue ¶
func (*Value) GetInt64Value ¶
func (*Value) GetListValue ¶
func (*Value) GetMapValue ¶
func (*Value) GetNullValue ¶
func (*Value) GetObjectValue ¶
func (*Value) GetStringValue ¶
func (*Value) GetTypeValue ¶
func (*Value) GetUint64Value ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) XXX_DiscardUnknown ¶
func (m *Value) XXX_DiscardUnknown()
func (*Value) XXX_Marshal ¶
func (*Value) XXX_MessageName ¶
func (*Value) XXX_OneofWrappers ¶
func (*Value) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Value) XXX_Unmarshal ¶
type Value_BoolValue ¶
type Value_BoolValue struct {
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof" json:"bool_value,omitempty"`
}
func NewPopulatedValue_BoolValue ¶
func NewPopulatedValue_BoolValue(r randyValue, easy bool) *Value_BoolValue
func (*Value_BoolValue) Equal ¶
func (this *Value_BoolValue) Equal(that interface{}) bool
func (*Value_BoolValue) GoString ¶
func (this *Value_BoolValue) GoString() string
func (*Value_BoolValue) MarshalToSizedBuffer ¶
func (m *Value_BoolValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_BoolValue) Size ¶
func (m *Value_BoolValue) Size() (n int)
func (*Value_BoolValue) String ¶
func (this *Value_BoolValue) String() string
type Value_BytesValue ¶
type Value_BytesValue struct {
BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof" json:"bytes_value,omitempty"`
}
func NewPopulatedValue_BytesValue ¶
func NewPopulatedValue_BytesValue(r randyValue, easy bool) *Value_BytesValue
func (*Value_BytesValue) Equal ¶
func (this *Value_BytesValue) Equal(that interface{}) bool
func (*Value_BytesValue) GoString ¶
func (this *Value_BytesValue) GoString() string
func (*Value_BytesValue) MarshalToSizedBuffer ¶
func (m *Value_BytesValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_BytesValue) Size ¶
func (m *Value_BytesValue) Size() (n int)
func (*Value_BytesValue) String ¶
func (this *Value_BytesValue) String() string
type Value_DoubleValue ¶
type Value_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof" json:"double_value,omitempty"`
}
func NewPopulatedValue_DoubleValue ¶
func NewPopulatedValue_DoubleValue(r randyValue, easy bool) *Value_DoubleValue
func (*Value_DoubleValue) Equal ¶
func (this *Value_DoubleValue) Equal(that interface{}) bool
func (*Value_DoubleValue) GoString ¶
func (this *Value_DoubleValue) GoString() string
func (*Value_DoubleValue) MarshalTo ¶
func (m *Value_DoubleValue) MarshalTo(dAtA []byte) (int, error)
func (*Value_DoubleValue) MarshalToSizedBuffer ¶
func (m *Value_DoubleValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_DoubleValue) Size ¶
func (m *Value_DoubleValue) Size() (n int)
func (*Value_DoubleValue) String ¶
func (this *Value_DoubleValue) String() string
type Value_EnumValue ¶
type Value_EnumValue struct {
EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof" json:"enum_value,omitempty"`
}
func NewPopulatedValue_EnumValue ¶
func NewPopulatedValue_EnumValue(r randyValue, easy bool) *Value_EnumValue
func (*Value_EnumValue) Equal ¶
func (this *Value_EnumValue) Equal(that interface{}) bool
func (*Value_EnumValue) GoString ¶
func (this *Value_EnumValue) GoString() string
func (*Value_EnumValue) MarshalToSizedBuffer ¶
func (m *Value_EnumValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_EnumValue) Size ¶
func (m *Value_EnumValue) Size() (n int)
func (*Value_EnumValue) String ¶
func (this *Value_EnumValue) String() string
type Value_Int64Value ¶
type Value_Int64Value struct {
Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof" json:"int64_value,omitempty"`
}
func NewPopulatedValue_Int64Value ¶
func NewPopulatedValue_Int64Value(r randyValue, easy bool) *Value_Int64Value
func (*Value_Int64Value) Equal ¶
func (this *Value_Int64Value) Equal(that interface{}) bool
func (*Value_Int64Value) GoString ¶
func (this *Value_Int64Value) GoString() string
func (*Value_Int64Value) MarshalToSizedBuffer ¶
func (m *Value_Int64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_Int64Value) Size ¶
func (m *Value_Int64Value) Size() (n int)
func (*Value_Int64Value) String ¶
func (this *Value_Int64Value) String() string
type Value_ListValue ¶
type Value_ListValue struct {
ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof" json:"list_value,omitempty"`
}
func NewPopulatedValue_ListValue ¶
func NewPopulatedValue_ListValue(r randyValue, easy bool) *Value_ListValue
func (*Value_ListValue) Equal ¶
func (this *Value_ListValue) Equal(that interface{}) bool
func (*Value_ListValue) GoString ¶
func (this *Value_ListValue) GoString() string
func (*Value_ListValue) MarshalToSizedBuffer ¶
func (m *Value_ListValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_ListValue) Size ¶
func (m *Value_ListValue) Size() (n int)
func (*Value_ListValue) String ¶
func (this *Value_ListValue) String() string
type Value_MapValue ¶
type Value_MapValue struct {
MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof" json:"map_value,omitempty"`
}
func NewPopulatedValue_MapValue ¶
func NewPopulatedValue_MapValue(r randyValue, easy bool) *Value_MapValue
func (*Value_MapValue) Equal ¶
func (this *Value_MapValue) Equal(that interface{}) bool
func (*Value_MapValue) GoString ¶
func (this *Value_MapValue) GoString() string
func (*Value_MapValue) MarshalToSizedBuffer ¶
func (m *Value_MapValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_MapValue) Size ¶
func (m *Value_MapValue) Size() (n int)
func (*Value_MapValue) String ¶
func (this *Value_MapValue) String() string
type Value_NullValue ¶
type Value_NullValue struct {
NullValue types.NullValue `` /* 126-byte string literal not displayed */
}
func NewPopulatedValue_NullValue ¶
func NewPopulatedValue_NullValue(r randyValue, easy bool) *Value_NullValue
func (*Value_NullValue) Equal ¶
func (this *Value_NullValue) Equal(that interface{}) bool
func (*Value_NullValue) GoString ¶
func (this *Value_NullValue) GoString() string
func (*Value_NullValue) MarshalToSizedBuffer ¶
func (m *Value_NullValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_NullValue) Size ¶
func (m *Value_NullValue) Size() (n int)
func (*Value_NullValue) String ¶
func (this *Value_NullValue) String() string
type Value_ObjectValue ¶
type Value_ObjectValue struct {
ObjectValue *types.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof" json:"object_value,omitempty"`
}
func NewPopulatedValue_ObjectValue ¶
func NewPopulatedValue_ObjectValue(r randyValue, easy bool) *Value_ObjectValue
func (*Value_ObjectValue) Equal ¶
func (this *Value_ObjectValue) Equal(that interface{}) bool
func (*Value_ObjectValue) GoString ¶
func (this *Value_ObjectValue) GoString() string
func (*Value_ObjectValue) MarshalTo ¶
func (m *Value_ObjectValue) MarshalTo(dAtA []byte) (int, error)
func (*Value_ObjectValue) MarshalToSizedBuffer ¶
func (m *Value_ObjectValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_ObjectValue) Size ¶
func (m *Value_ObjectValue) Size() (n int)
func (*Value_ObjectValue) String ¶
func (this *Value_ObjectValue) String() string
type Value_StringValue ¶
type Value_StringValue struct {
StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof" json:"string_value,omitempty"`
}
func NewPopulatedValue_StringValue ¶
func NewPopulatedValue_StringValue(r randyValue, easy bool) *Value_StringValue
func (*Value_StringValue) Equal ¶
func (this *Value_StringValue) Equal(that interface{}) bool
func (*Value_StringValue) GoString ¶
func (this *Value_StringValue) GoString() string
func (*Value_StringValue) MarshalTo ¶
func (m *Value_StringValue) MarshalTo(dAtA []byte) (int, error)
func (*Value_StringValue) MarshalToSizedBuffer ¶
func (m *Value_StringValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_StringValue) Size ¶
func (m *Value_StringValue) Size() (n int)
func (*Value_StringValue) String ¶
func (this *Value_StringValue) String() string
type Value_TypeValue ¶
type Value_TypeValue struct {
TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof" json:"type_value,omitempty"`
}
func NewPopulatedValue_TypeValue ¶
func NewPopulatedValue_TypeValue(r randyValue, easy bool) *Value_TypeValue
func (*Value_TypeValue) Equal ¶
func (this *Value_TypeValue) Equal(that interface{}) bool
func (*Value_TypeValue) GoString ¶
func (this *Value_TypeValue) GoString() string
func (*Value_TypeValue) MarshalToSizedBuffer ¶
func (m *Value_TypeValue) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_TypeValue) Size ¶
func (m *Value_TypeValue) Size() (n int)
func (*Value_TypeValue) String ¶
func (this *Value_TypeValue) String() string
type Value_Uint64Value ¶
type Value_Uint64Value struct {
Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof" json:"uint64_value,omitempty"`
}
func NewPopulatedValue_Uint64Value ¶
func NewPopulatedValue_Uint64Value(r randyValue, easy bool) *Value_Uint64Value
func (*Value_Uint64Value) Equal ¶
func (this *Value_Uint64Value) Equal(that interface{}) bool
func (*Value_Uint64Value) GoString ¶
func (this *Value_Uint64Value) GoString() string
func (*Value_Uint64Value) MarshalTo ¶
func (m *Value_Uint64Value) MarshalTo(dAtA []byte) (int, error)
func (*Value_Uint64Value) MarshalToSizedBuffer ¶
func (m *Value_Uint64Value) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Value_Uint64Value) Size ¶
func (m *Value_Uint64Value) Size() (n int)
func (*Value_Uint64Value) String ¶
func (this *Value_Uint64Value) String() string