genproto: google.golang.org/genproto/googleapis/type/expr Index | Files

package expr

import "google.golang.org/genproto/googleapis/type/expr"

Index

Package Files

expr.pb.go

type Expr Uses

type Expr struct {
    // Textual representation of an expression in
    // Common Expression Language syntax.
    //
    // The application context of the containing message determines which
    // well-known feature set of CEL is supported.
    Expression string `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
    // An optional title for the expression, i.e. a short string describing
    // its purpose. This can be used e.g. in UIs which allow to enter the
    // expression.
    Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
    // An optional description of the expression. This is a longer text which
    // describes the expression, e.g. when hovered over it in a UI.
    Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
    // An optional string indicating the location of the expression for error
    // reporting, e.g. a file name and a position in the file.
    Location             string   `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Represents an expression text. Example:

title: "User account presence"
description: "Determines whether the request has a user account"
expression: "size(request.user) > 0"

func (*Expr) Descriptor Uses

func (*Expr) Descriptor() ([]byte, []int)

func (*Expr) GetDescription Uses

func (m *Expr) GetDescription() string

func (*Expr) GetExpression Uses

func (m *Expr) GetExpression() string

func (*Expr) GetLocation Uses

func (m *Expr) GetLocation() string

func (*Expr) GetTitle Uses

func (m *Expr) GetTitle() string

func (*Expr) ProtoMessage Uses

func (*Expr) ProtoMessage()

func (*Expr) Reset Uses

func (m *Expr) Reset()

func (*Expr) String Uses

func (m *Expr) String() string

func (*Expr) XXX_DiscardUnknown Uses

func (m *Expr) XXX_DiscardUnknown()

func (*Expr) XXX_Marshal Uses

func (m *Expr) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Expr) XXX_Merge Uses

func (m *Expr) XXX_Merge(src proto.Message)

func (*Expr) XXX_Size Uses

func (m *Expr) XXX_Size() int

func (*Expr) XXX_Unmarshal Uses

func (m *Expr) XXX_Unmarshal(b []byte) error

Package expr imports 3 packages (graph) and is imported by 3 packages. Updated 2019-10-03. Refresh now. Tools for package owners.