values

package
v0.15.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 18 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_values_values_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Boolean

type Boolean struct {
	V bool `protobuf:"varint,1,opt,name=v,proto3" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Boolean) Descriptor deprecated

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

Deprecated: Use Boolean.ProtoReflect.Descriptor instead.

func (*Boolean) GetV

func (x *Boolean) GetV() bool

func (*Boolean) ProtoMessage

func (*Boolean) ProtoMessage()

func (*Boolean) ProtoReflect

func (x *Boolean) ProtoReflect() protoreflect.Message

func (*Boolean) Reset

func (x *Boolean) Reset()

func (*Boolean) String

func (x *Boolean) String() string

func (*Boolean) Validate

func (m *Boolean) Validate() error

Validate checks the field values on Boolean with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type BooleanValidationError

type BooleanValidationError struct {
	// contains filtered or unexported fields
}

BooleanValidationError is the validation error returned by Boolean.Validate if the designated constraints aren't met.

func (BooleanValidationError) Cause

func (e BooleanValidationError) Cause() error

Cause function returns cause value.

func (BooleanValidationError) Error

func (e BooleanValidationError) Error() string

Error satisfies the builtin error interface

func (BooleanValidationError) ErrorName

func (e BooleanValidationError) ErrorName() string

ErrorName returns error name.

func (BooleanValidationError) Field

func (e BooleanValidationError) Field() string

Field function returns field value.

func (BooleanValidationError) Key

func (e BooleanValidationError) Key() bool

Key function returns key value.

func (BooleanValidationError) Reason

func (e BooleanValidationError) Reason() string

Reason function returns reason value.

type Bytes

type Bytes struct {
	V []byte `protobuf:"bytes,1,opt,name=v,proto3" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Bytes) Descriptor deprecated

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

Deprecated: Use Bytes.ProtoReflect.Descriptor instead.

func (*Bytes) GetV

func (x *Bytes) GetV() []byte

func (*Bytes) ProtoMessage

func (*Bytes) ProtoMessage()

func (*Bytes) ProtoReflect

func (x *Bytes) ProtoReflect() protoreflect.Message

func (*Bytes) Reset

func (x *Bytes) Reset()

func (*Bytes) String

func (x *Bytes) String() string

func (*Bytes) Validate

func (m *Bytes) Validate() error

Validate checks the field values on Bytes with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type BytesValidationError

type BytesValidationError struct {
	// contains filtered or unexported fields
}

BytesValidationError is the validation error returned by Bytes.Validate if the designated constraints aren't met.

func (BytesValidationError) Cause

func (e BytesValidationError) Cause() error

Cause function returns cause value.

func (BytesValidationError) Error

func (e BytesValidationError) Error() string

Error satisfies the builtin error interface

func (BytesValidationError) ErrorName

func (e BytesValidationError) ErrorName() string

ErrorName returns error name.

func (BytesValidationError) Field

func (e BytesValidationError) Field() string

Field function returns field value.

func (BytesValidationError) Key

func (e BytesValidationError) Key() bool

Key function returns key value.

func (BytesValidationError) Reason

func (e BytesValidationError) Reason() string

Reason function returns reason value.

type Call

type Call struct {
	Id     string          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string          `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Issuer string          `protobuf:"bytes,3,opt,name=issuer,proto3" json:"issuer,omitempty"` // plugin id for plugins
	Flags  map[string]bool ``                                                                  /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Call) Descriptor deprecated

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

Deprecated: Use Call.ProtoReflect.Descriptor instead.

func (*Call) GetFlags

func (x *Call) GetFlags() map[string]bool

func (*Call) GetId

func (x *Call) GetId() string

func (*Call) GetIssuer

func (x *Call) GetIssuer() string

func (*Call) GetName

func (x *Call) GetName() string

func (*Call) ProtoMessage

func (*Call) ProtoMessage()

func (*Call) ProtoReflect

func (x *Call) ProtoReflect() protoreflect.Message

func (*Call) Reset

func (x *Call) Reset()

func (*Call) String

func (x *Call) String() string

func (*Call) Validate

func (m *Call) Validate() error

Validate checks the field values on Call with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CallValidationError

type CallValidationError struct {
	// contains filtered or unexported fields
}

CallValidationError is the validation error returned by Call.Validate if the designated constraints aren't met.

func (CallValidationError) Cause

func (e CallValidationError) Cause() error

Cause function returns cause value.

func (CallValidationError) Error

func (e CallValidationError) Error() string

Error satisfies the builtin error interface

func (CallValidationError) ErrorName

func (e CallValidationError) ErrorName() string

ErrorName returns error name.

func (CallValidationError) Field

func (e CallValidationError) Field() string

Field function returns field value.

func (CallValidationError) Key

func (e CallValidationError) Key() bool

Key function returns key value.

func (CallValidationError) Reason

func (e CallValidationError) Reason() string

Reason function returns reason value.

type Dict

type Dict struct {
	Items []*DictItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*Dict) Descriptor deprecated

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

Deprecated: Use Dict.ProtoReflect.Descriptor instead.

func (*Dict) GetItems

func (x *Dict) GetItems() []*DictItem

func (*Dict) ProtoMessage

func (*Dict) ProtoMessage()

func (*Dict) ProtoReflect

func (x *Dict) ProtoReflect() protoreflect.Message

func (*Dict) Reset

func (x *Dict) Reset()

func (*Dict) String

func (x *Dict) String() string

func (*Dict) Validate

func (m *Dict) Validate() error

Validate checks the field values on Dict with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DictItem

type DictItem struct {
	K *Value `protobuf:"bytes,1,opt,name=k,proto3" json:"k,omitempty"`
	V *Value `protobuf:"bytes,2,opt,name=v,proto3" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*DictItem) Descriptor deprecated

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

Deprecated: Use DictItem.ProtoReflect.Descriptor instead.

func (*DictItem) GetK

func (x *DictItem) GetK() *Value

func (*DictItem) GetV

func (x *DictItem) GetV() *Value

func (*DictItem) ProtoMessage

func (*DictItem) ProtoMessage()

func (*DictItem) ProtoReflect

func (x *DictItem) ProtoReflect() protoreflect.Message

func (*DictItem) Reset

func (x *DictItem) Reset()

func (*DictItem) String

func (x *DictItem) String() string

func (*DictItem) Validate

func (m *DictItem) Validate() error

Validate checks the field values on DictItem with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DictItemValidationError

type DictItemValidationError struct {
	// contains filtered or unexported fields
}

DictItemValidationError is the validation error returned by DictItem.Validate if the designated constraints aren't met.

func (DictItemValidationError) Cause

func (e DictItemValidationError) Cause() error

Cause function returns cause value.

func (DictItemValidationError) Error

func (e DictItemValidationError) Error() string

Error satisfies the builtin error interface

func (DictItemValidationError) ErrorName

func (e DictItemValidationError) ErrorName() string

ErrorName returns error name.

func (DictItemValidationError) Field

func (e DictItemValidationError) Field() string

Field function returns field value.

func (DictItemValidationError) Key

func (e DictItemValidationError) Key() bool

Key function returns key value.

func (DictItemValidationError) Reason

func (e DictItemValidationError) Reason() string

Reason function returns reason value.

type DictValidationError

type DictValidationError struct {
	// contains filtered or unexported fields
}

DictValidationError is the validation error returned by Dict.Validate if the designated constraints aren't met.

func (DictValidationError) Cause

func (e DictValidationError) Cause() error

Cause function returns cause value.

func (DictValidationError) Error

func (e DictValidationError) Error() string

Error satisfies the builtin error interface

func (DictValidationError) ErrorName

func (e DictValidationError) ErrorName() string

ErrorName returns error name.

func (DictValidationError) Field

func (e DictValidationError) Field() string

Field function returns field value.

func (DictValidationError) Key

func (e DictValidationError) Key() bool

Key function returns key value.

func (DictValidationError) Reason

func (e DictValidationError) Reason() string

Reason function returns reason value.

type Duration

type Duration struct {
	D *durationpb.Duration `protobuf:"bytes,1,opt,name=d,proto3" json:"d,omitempty"`
	// contains filtered or unexported fields
}

func (*Duration) Descriptor deprecated

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

Deprecated: Use Duration.ProtoReflect.Descriptor instead.

func (*Duration) GetD

func (x *Duration) GetD() *durationpb.Duration

func (*Duration) ProtoMessage

func (*Duration) ProtoMessage()

func (*Duration) ProtoReflect

func (x *Duration) ProtoReflect() protoreflect.Message

func (*Duration) Reset

func (x *Duration) Reset()

func (*Duration) String

func (x *Duration) String() string

func (*Duration) Validate

func (m *Duration) Validate() error

Validate checks the field values on Duration with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DurationValidationError

type DurationValidationError struct {
	// contains filtered or unexported fields
}

DurationValidationError is the validation error returned by Duration.Validate if the designated constraints aren't met.

func (DurationValidationError) Cause

func (e DurationValidationError) Cause() error

Cause function returns cause value.

func (DurationValidationError) Error

func (e DurationValidationError) Error() string

Error satisfies the builtin error interface

func (DurationValidationError) ErrorName

func (e DurationValidationError) ErrorName() string

ErrorName returns error name.

func (DurationValidationError) Field

func (e DurationValidationError) Field() string

Field function returns field value.

func (DurationValidationError) Key

func (e DurationValidationError) Key() bool

Key function returns key value.

func (DurationValidationError) Reason

func (e DurationValidationError) Reason() string

Reason function returns reason value.

type Float

type Float struct {
	V float32 `protobuf:"fixed32,1,opt,name=v,proto3" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Float) Descriptor deprecated

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

Deprecated: Use Float.ProtoReflect.Descriptor instead.

func (*Float) GetV

func (x *Float) GetV() float32

func (*Float) ProtoMessage

func (*Float) ProtoMessage()

func (*Float) ProtoReflect

func (x *Float) ProtoReflect() protoreflect.Message

func (*Float) Reset

func (x *Float) Reset()

func (*Float) String

func (x *Float) String() string

func (*Float) Validate

func (m *Float) Validate() error

Validate checks the field values on Float with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FloatValidationError

type FloatValidationError struct {
	// contains filtered or unexported fields
}

FloatValidationError is the validation error returned by Float.Validate if the designated constraints aren't met.

func (FloatValidationError) Cause

func (e FloatValidationError) Cause() error

Cause function returns cause value.

func (FloatValidationError) Error

func (e FloatValidationError) Error() string

Error satisfies the builtin error interface

func (FloatValidationError) ErrorName

func (e FloatValidationError) ErrorName() string

ErrorName returns error name.

func (FloatValidationError) Field

func (e FloatValidationError) Field() string

Field function returns field value.

func (FloatValidationError) Key

func (e FloatValidationError) Key() bool

Key function returns key value.

func (FloatValidationError) Reason

func (e FloatValidationError) Reason() string

Reason function returns reason value.

type Function

type Function struct {
	FuncId string             `protobuf:"bytes,1,opt,name=func_id,json=funcId,proto3" json:"func_id,omitempty"`
	Lang   string             `protobuf:"bytes,2,opt,name=lang,proto3" json:"lang,omitempty"`
	Scope  string             `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	Sig    *FunctionSignature `protobuf:"bytes,4,opt,name=sig,proto3" json:"sig,omitempty"` // optional - not necessary.
	// contains filtered or unexported fields
}

func (*Function) Descriptor deprecated

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

Deprecated: Use Function.ProtoReflect.Descriptor instead.

func (*Function) GetFuncId

func (x *Function) GetFuncId() string

func (*Function) GetLang

func (x *Function) GetLang() string

func (*Function) GetScope

func (x *Function) GetScope() string

func (*Function) GetSig

func (x *Function) GetSig() *FunctionSignature

func (*Function) ProtoMessage

func (*Function) ProtoMessage()

func (*Function) ProtoReflect

func (x *Function) ProtoReflect() protoreflect.Message

func (*Function) Reset

func (x *Function) Reset()

func (*Function) String

func (x *Function) String() string

func (*Function) Validate

func (m *Function) Validate() error

Validate checks the field values on Function with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FunctionSignature

type FunctionSignature struct {
	Name        string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Doc         string   `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"`
	NArgs       uint32   `protobuf:"varint,3,opt,name=n_args,json=nArgs,proto3" json:"n_args,omitempty"`
	NKwonlyargs uint32   `protobuf:"varint,4,opt,name=n_kwonlyargs,json=nKwonlyargs,proto3" json:"n_kwonlyargs,omitempty"`
	ArgsNames   []string `protobuf:"bytes,5,rep,name=args_names,json=argsNames,proto3" json:"args_names,omitempty"` // see https://github.com/google/starlark-go/blob/master/starlark/value.go#L703.
	HasVarargs  bool     `protobuf:"varint,6,opt,name=has_varargs,json=hasVarargs,proto3" json:"has_varargs,omitempty"`
	HasKwargs   bool     `protobuf:"varint,7,opt,name=has_kwargs,json=hasKwargs,proto3" json:"has_kwargs,omitempty"`
	// contains filtered or unexported fields
}

func (*FunctionSignature) Descriptor deprecated

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

Deprecated: Use FunctionSignature.ProtoReflect.Descriptor instead.

func (*FunctionSignature) GetArgsNames

func (x *FunctionSignature) GetArgsNames() []string

func (*FunctionSignature) GetDoc

func (x *FunctionSignature) GetDoc() string

func (*FunctionSignature) GetHasKwargs

func (x *FunctionSignature) GetHasKwargs() bool

func (*FunctionSignature) GetHasVarargs

func (x *FunctionSignature) GetHasVarargs() bool

func (*FunctionSignature) GetNArgs

func (x *FunctionSignature) GetNArgs() uint32

func (*FunctionSignature) GetNKwonlyargs

func (x *FunctionSignature) GetNKwonlyargs() uint32

func (*FunctionSignature) GetName

func (x *FunctionSignature) GetName() string

func (*FunctionSignature) ProtoMessage

func (*FunctionSignature) ProtoMessage()

func (*FunctionSignature) ProtoReflect

func (x *FunctionSignature) ProtoReflect() protoreflect.Message

func (*FunctionSignature) Reset

func (x *FunctionSignature) Reset()

func (*FunctionSignature) String

func (x *FunctionSignature) String() string

func (*FunctionSignature) Validate

func (m *FunctionSignature) Validate() error

Validate checks the field values on FunctionSignature with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type FunctionSignatureValidationError

type FunctionSignatureValidationError struct {
	// contains filtered or unexported fields
}

FunctionSignatureValidationError is the validation error returned by FunctionSignature.Validate if the designated constraints aren't met.

func (FunctionSignatureValidationError) Cause

Cause function returns cause value.

func (FunctionSignatureValidationError) Error

Error satisfies the builtin error interface

func (FunctionSignatureValidationError) ErrorName

ErrorName returns error name.

func (FunctionSignatureValidationError) Field

Field function returns field value.

func (FunctionSignatureValidationError) Key

Key function returns key value.

func (FunctionSignatureValidationError) Reason

Reason function returns reason value.

type FunctionValidationError

type FunctionValidationError struct {
	// contains filtered or unexported fields
}

FunctionValidationError is the validation error returned by Function.Validate if the designated constraints aren't met.

func (FunctionValidationError) Cause

func (e FunctionValidationError) Cause() error

Cause function returns cause value.

func (FunctionValidationError) Error

func (e FunctionValidationError) Error() string

Error satisfies the builtin error interface

func (FunctionValidationError) ErrorName

func (e FunctionValidationError) ErrorName() string

ErrorName returns error name.

func (FunctionValidationError) Field

func (e FunctionValidationError) Field() string

Field function returns field value.

func (FunctionValidationError) Key

func (e FunctionValidationError) Key() bool

Key function returns key value.

func (FunctionValidationError) Reason

func (e FunctionValidationError) Reason() string

Reason function returns reason value.

type Integer

type Integer struct {
	V int64 `protobuf:"varint,1,opt,name=v,proto3" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*Integer) Descriptor deprecated

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

Deprecated: Use Integer.ProtoReflect.Descriptor instead.

func (*Integer) GetV

func (x *Integer) GetV() int64

func (*Integer) ProtoMessage

func (*Integer) ProtoMessage()

func (*Integer) ProtoReflect

func (x *Integer) ProtoReflect() protoreflect.Message

func (*Integer) Reset

func (x *Integer) Reset()

func (*Integer) String

func (x *Integer) String() string

func (*Integer) Validate

func (m *Integer) Validate() error

Validate checks the field values on Integer with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type IntegerValidationError

type IntegerValidationError struct {
	// contains filtered or unexported fields
}

IntegerValidationError is the validation error returned by Integer.Validate if the designated constraints aren't met.

func (IntegerValidationError) Cause

func (e IntegerValidationError) Cause() error

Cause function returns cause value.

func (IntegerValidationError) Error

func (e IntegerValidationError) Error() string

Error satisfies the builtin error interface

func (IntegerValidationError) ErrorName

func (e IntegerValidationError) ErrorName() string

ErrorName returns error name.

func (IntegerValidationError) Field

func (e IntegerValidationError) Field() string

Field function returns field value.

func (IntegerValidationError) Key

func (e IntegerValidationError) Key() bool

Key function returns key value.

func (IntegerValidationError) Reason

func (e IntegerValidationError) Reason() string

Reason function returns reason value.

type List

type List struct {
	Vs []*Value `protobuf:"bytes,1,rep,name=vs,proto3" json:"vs,omitempty"`
	// contains filtered or unexported fields
}

For Starlark, will be used for Tuple in return values.

func (*List) Descriptor deprecated

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

Deprecated: Use List.ProtoReflect.Descriptor instead.

func (*List) GetVs

func (x *List) GetVs() []*Value

func (*List) ProtoMessage

func (*List) ProtoMessage()

func (*List) ProtoReflect

func (x *List) ProtoReflect() protoreflect.Message

func (*List) Reset

func (x *List) Reset()

func (*List) String

func (x *List) String() string

func (*List) Validate

func (m *List) Validate() error

Validate checks the field values on List with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ListValidationError

type ListValidationError struct {
	// contains filtered or unexported fields
}

ListValidationError is the validation error returned by List.Validate if the designated constraints aren't met.

func (ListValidationError) Cause

func (e ListValidationError) Cause() error

Cause function returns cause value.

func (ListValidationError) Error

func (e ListValidationError) Error() string

Error satisfies the builtin error interface

func (ListValidationError) ErrorName

func (e ListValidationError) ErrorName() string

ErrorName returns error name.

func (ListValidationError) Field

func (e ListValidationError) Field() string

Field function returns field value.

func (ListValidationError) Key

func (e ListValidationError) Key() bool

Key function returns key value.

func (ListValidationError) Reason

func (e ListValidationError) Reason() string

Reason function returns reason value.

type Module

type Module struct {
	Name    string            `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Members map[string]*Value `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Module) Descriptor deprecated

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

Deprecated: Use Module.ProtoReflect.Descriptor instead.

func (*Module) GetMembers

func (x *Module) GetMembers() map[string]*Value

func (*Module) GetName

func (x *Module) GetName() string

func (*Module) ProtoMessage

func (*Module) ProtoMessage()

func (*Module) ProtoReflect

func (x *Module) ProtoReflect() protoreflect.Message

func (*Module) Reset

func (x *Module) Reset()

func (*Module) String

func (x *Module) String() string

func (*Module) Validate

func (m *Module) Validate() error

Validate checks the field values on Module with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ModuleValidationError

type ModuleValidationError struct {
	// contains filtered or unexported fields
}

ModuleValidationError is the validation error returned by Module.Validate if the designated constraints aren't met.

func (ModuleValidationError) Cause

func (e ModuleValidationError) Cause() error

Cause function returns cause value.

func (ModuleValidationError) Error

func (e ModuleValidationError) Error() string

Error satisfies the builtin error interface

func (ModuleValidationError) ErrorName

func (e ModuleValidationError) ErrorName() string

ErrorName returns error name.

func (ModuleValidationError) Field

func (e ModuleValidationError) Field() string

Field function returns field value.

func (ModuleValidationError) Key

func (e ModuleValidationError) Key() bool

Key function returns key value.

func (ModuleValidationError) Reason

func (e ModuleValidationError) Reason() string

Reason function returns reason value.

type None

type None struct {
	// contains filtered or unexported fields
}

func (*None) Descriptor deprecated

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

Deprecated: Use None.ProtoReflect.Descriptor instead.

func (*None) ProtoMessage

func (*None) ProtoMessage()

func (*None) ProtoReflect

func (x *None) ProtoReflect() protoreflect.Message

func (*None) Reset

func (x *None) Reset()

func (*None) String

func (x *None) String() string

func (*None) Validate

func (m *None) Validate() error

Validate checks the field values on None with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type NoneValidationError

type NoneValidationError struct {
	// contains filtered or unexported fields
}

NoneValidationError is the validation error returned by None.Validate if the designated constraints aren't met.

func (NoneValidationError) Cause

func (e NoneValidationError) Cause() error

Cause function returns cause value.

func (NoneValidationError) Error

func (e NoneValidationError) Error() string

Error satisfies the builtin error interface

func (NoneValidationError) ErrorName

func (e NoneValidationError) ErrorName() string

ErrorName returns error name.

func (NoneValidationError) Field

func (e NoneValidationError) Field() string

Field function returns field value.

func (NoneValidationError) Key

func (e NoneValidationError) Key() bool

Key function returns key value.

func (NoneValidationError) Reason

func (e NoneValidationError) Reason() string

Reason function returns reason value.

type Set

type Set struct {
	Vs []*Value `protobuf:"bytes,1,rep,name=vs,proto3" json:"vs,omitempty"`
	// contains filtered or unexported fields
}

func (*Set) Descriptor deprecated

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

Deprecated: Use Set.ProtoReflect.Descriptor instead.

func (*Set) GetVs

func (x *Set) GetVs() []*Value

func (*Set) ProtoMessage

func (*Set) ProtoMessage()

func (*Set) ProtoReflect

func (x *Set) ProtoReflect() protoreflect.Message

func (*Set) Reset

func (x *Set) Reset()

func (*Set) String

func (x *Set) String() string

func (*Set) Validate

func (m *Set) Validate() error

Validate checks the field values on Set with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SetValidationError

type SetValidationError struct {
	// contains filtered or unexported fields
}

SetValidationError is the validation error returned by Set.Validate if the designated constraints aren't met.

func (SetValidationError) Cause

func (e SetValidationError) Cause() error

Cause function returns cause value.

func (SetValidationError) Error

func (e SetValidationError) Error() string

Error satisfies the builtin error interface

func (SetValidationError) ErrorName

func (e SetValidationError) ErrorName() string

ErrorName returns error name.

func (SetValidationError) Field

func (e SetValidationError) Field() string

Field function returns field value.

func (SetValidationError) Key

func (e SetValidationError) Key() bool

Key function returns key value.

func (SetValidationError) Reason

func (e SetValidationError) Reason() string

Reason function returns reason value.

type String

type String struct {
	V string `protobuf:"bytes,1,opt,name=v,proto3" json:"v,omitempty"`
	// contains filtered or unexported fields
}

func (*String) Descriptor deprecated

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

Deprecated: Use String.ProtoReflect.Descriptor instead.

func (*String) GetV

func (x *String) GetV() string

func (*String) ProtoMessage

func (*String) ProtoMessage()

func (*String) ProtoReflect

func (x *String) ProtoReflect() protoreflect.Message

func (*String) Reset

func (x *String) Reset()

func (*String) String

func (x *String) String() string

func (*String) Validate

func (m *String) Validate() error

Validate checks the field values on String with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StringValidationError

type StringValidationError struct {
	// contains filtered or unexported fields
}

StringValidationError is the validation error returned by String.Validate if the designated constraints aren't met.

func (StringValidationError) Cause

func (e StringValidationError) Cause() error

Cause function returns cause value.

func (StringValidationError) Error

func (e StringValidationError) Error() string

Error satisfies the builtin error interface

func (StringValidationError) ErrorName

func (e StringValidationError) ErrorName() string

ErrorName returns error name.

func (StringValidationError) Field

func (e StringValidationError) Field() string

Field function returns field value.

func (StringValidationError) Key

func (e StringValidationError) Key() bool

Key function returns key value.

func (StringValidationError) Reason

func (e StringValidationError) Reason() string

Reason function returns reason value.

type Struct

type Struct struct {
	Ctor   *Value            `protobuf:"bytes,1,opt,name=ctor,proto3" json:"ctor,omitempty"`
	Fields map[string]*Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Struct) Descriptor deprecated

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

Deprecated: Use Struct.ProtoReflect.Descriptor instead.

func (*Struct) GetCtor

func (x *Struct) GetCtor() *Value

func (*Struct) GetFields

func (x *Struct) GetFields() map[string]*Value

func (*Struct) ProtoMessage

func (*Struct) ProtoMessage()

func (*Struct) ProtoReflect

func (x *Struct) ProtoReflect() protoreflect.Message

func (*Struct) Reset

func (x *Struct) Reset()

func (*Struct) String

func (x *Struct) String() string

func (*Struct) Validate

func (m *Struct) Validate() error

Validate checks the field values on Struct with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StructValidationError

type StructValidationError struct {
	// contains filtered or unexported fields
}

StructValidationError is the validation error returned by Struct.Validate if the designated constraints aren't met.

func (StructValidationError) Cause

func (e StructValidationError) Cause() error

Cause function returns cause value.

func (StructValidationError) Error

func (e StructValidationError) Error() string

Error satisfies the builtin error interface

func (StructValidationError) ErrorName

func (e StructValidationError) ErrorName() string

ErrorName returns error name.

func (StructValidationError) Field

func (e StructValidationError) Field() string

Field function returns field value.

func (StructValidationError) Key

func (e StructValidationError) Key() bool

Key function returns key value.

func (StructValidationError) Reason

func (e StructValidationError) Reason() string

Reason function returns reason value.

type Symbol

type Symbol struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Symbol) Descriptor deprecated

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

Deprecated: Use Symbol.ProtoReflect.Descriptor instead.

func (*Symbol) GetName

func (x *Symbol) GetName() string

func (*Symbol) ProtoMessage

func (*Symbol) ProtoMessage()

func (*Symbol) ProtoReflect

func (x *Symbol) ProtoReflect() protoreflect.Message

func (*Symbol) Reset

func (x *Symbol) Reset()

func (*Symbol) String

func (x *Symbol) String() string

func (*Symbol) Validate

func (m *Symbol) Validate() error

Validate checks the field values on Symbol with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SymbolValidationError

type SymbolValidationError struct {
	// contains filtered or unexported fields
}

SymbolValidationError is the validation error returned by Symbol.Validate if the designated constraints aren't met.

func (SymbolValidationError) Cause

func (e SymbolValidationError) Cause() error

Cause function returns cause value.

func (SymbolValidationError) Error

func (e SymbolValidationError) Error() string

Error satisfies the builtin error interface

func (SymbolValidationError) ErrorName

func (e SymbolValidationError) ErrorName() string

ErrorName returns error name.

func (SymbolValidationError) Field

func (e SymbolValidationError) Field() string

Field function returns field value.

func (SymbolValidationError) Key

func (e SymbolValidationError) Key() bool

Key function returns key value.

func (SymbolValidationError) Reason

func (e SymbolValidationError) Reason() string

Reason function returns reason value.

type Time

type Time struct {
	T *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=t,proto3" json:"t,omitempty"`
	// contains filtered or unexported fields
}

func (*Time) Descriptor deprecated

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

Deprecated: Use Time.ProtoReflect.Descriptor instead.

func (*Time) GetT

func (x *Time) GetT() *timestamppb.Timestamp

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) ProtoReflect

func (x *Time) ProtoReflect() protoreflect.Message

func (*Time) Reset

func (x *Time) Reset()

func (*Time) String

func (x *Time) String() string

func (*Time) Validate

func (m *Time) Validate() error

Validate checks the field values on Time with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TimeValidationError

type TimeValidationError struct {
	// contains filtered or unexported fields
}

TimeValidationError is the validation error returned by Time.Validate if the designated constraints aren't met.

func (TimeValidationError) Cause

func (e TimeValidationError) Cause() error

Cause function returns cause value.

func (TimeValidationError) Error

func (e TimeValidationError) Error() string

Error satisfies the builtin error interface

func (TimeValidationError) ErrorName

func (e TimeValidationError) ErrorName() string

ErrorName returns error name.

func (TimeValidationError) Field

func (e TimeValidationError) Field() string

Field function returns field value.

func (TimeValidationError) Key

func (e TimeValidationError) Key() bool

Key function returns key value.

func (TimeValidationError) Reason

func (e TimeValidationError) Reason() string

Reason function returns reason value.

type Value

type Value struct {

	// Types that are assignable to Type:
	//	*Value_None
	//	*Value_String_
	//	*Value_Integer
	//	*Value_Boolean
	//	*Value_List
	//	*Value_Dict
	//	*Value_Float
	//	*Value_Set
	//	*Value_Bytes
	//	*Value_Time
	//	*Value_Duration
	//	*Value_Symbol
	//	*Value_Struct
	//	*Value_Module
	//	*Value_Function
	//	*Value_Call
	Type isValue_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBoolean

func (x *Value) GetBoolean() *Boolean

func (*Value) GetBytes

func (x *Value) GetBytes() *Bytes

func (*Value) GetCall

func (x *Value) GetCall() *Call

func (*Value) GetDict

func (x *Value) GetDict() *Dict

func (*Value) GetDuration

func (x *Value) GetDuration() *Duration

func (*Value) GetFloat

func (x *Value) GetFloat() *Float

func (*Value) GetFunction

func (x *Value) GetFunction() *Function

func (*Value) GetInteger

func (x *Value) GetInteger() *Integer

func (*Value) GetList

func (x *Value) GetList() *List

func (*Value) GetModule

func (x *Value) GetModule() *Module

func (*Value) GetNone

func (x *Value) GetNone() *None

func (*Value) GetSet

func (x *Value) GetSet() *Set

func (*Value) GetString_

func (x *Value) GetString_() *String

func (*Value) GetStruct

func (x *Value) GetStruct() *Struct

func (*Value) GetSymbol

func (x *Value) GetSymbol() *Symbol

func (*Value) GetTime

func (x *Value) GetTime() *Time

func (*Value) GetType

func (m *Value) GetType() isValue_Type

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

func (x *Value) ProtoReflect() protoreflect.Message

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

func (*Value) Validate

func (m *Value) Validate() error

Validate checks the field values on Value with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type ValueValidationError

type ValueValidationError struct {
	// contains filtered or unexported fields
}

ValueValidationError is the validation error returned by Value.Validate if the designated constraints aren't met.

func (ValueValidationError) Cause

func (e ValueValidationError) Cause() error

Cause function returns cause value.

func (ValueValidationError) Error

func (e ValueValidationError) Error() string

Error satisfies the builtin error interface

func (ValueValidationError) ErrorName

func (e ValueValidationError) ErrorName() string

ErrorName returns error name.

func (ValueValidationError) Field

func (e ValueValidationError) Field() string

Field function returns field value.

func (ValueValidationError) Key

func (e ValueValidationError) Key() bool

Key function returns key value.

func (ValueValidationError) Reason

func (e ValueValidationError) Reason() string

Reason function returns reason value.

type Value_Boolean

type Value_Boolean struct {
	Boolean *Boolean `protobuf:"bytes,4,opt,name=boolean,proto3,oneof"`
}

type Value_Bytes

type Value_Bytes struct {
	Bytes *Bytes `protobuf:"bytes,9,opt,name=bytes,proto3,oneof"`
}

type Value_Call

type Value_Call struct {
	Call *Call `protobuf:"bytes,100,opt,name=call,proto3,oneof"`
}

type Value_Dict

type Value_Dict struct {
	Dict *Dict `protobuf:"bytes,6,opt,name=dict,proto3,oneof"`
}

type Value_Duration

type Value_Duration struct {
	Duration *Duration `protobuf:"bytes,11,opt,name=duration,proto3,oneof"`
}

type Value_Float

type Value_Float struct {
	Float *Float `protobuf:"bytes,7,opt,name=float,proto3,oneof"`
}

type Value_Function

type Value_Function struct {
	Function *Function `protobuf:"bytes,52,opt,name=function,proto3,oneof"`
}

type Value_Integer

type Value_Integer struct {
	Integer *Integer `protobuf:"bytes,3,opt,name=integer,proto3,oneof"`
}

type Value_List

type Value_List struct {
	List *List `protobuf:"bytes,5,opt,name=list,proto3,oneof"`
}

type Value_Module

type Value_Module struct {
	Module *Module `protobuf:"bytes,51,opt,name=module,proto3,oneof"`
}

type Value_None

type Value_None struct {
	None *None `protobuf:"bytes,1,opt,name=none,proto3,oneof"`
}

type Value_Set

type Value_Set struct {
	Set *Set `protobuf:"bytes,8,opt,name=set,proto3,oneof"`
}

type Value_String_

type Value_String_ struct {
	String_ *String `protobuf:"bytes,2,opt,name=string,proto3,oneof"`
}

type Value_Struct

type Value_Struct struct {
	Struct *Struct `protobuf:"bytes,50,opt,name=struct,proto3,oneof"`
}

type Value_Symbol

type Value_Symbol struct {
	Symbol *Symbol `protobuf:"bytes,12,opt,name=symbol,proto3,oneof"`
}

type Value_Time

type Value_Time struct {
	Time *Time `protobuf:"bytes,10,opt,name=time,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL