Documentation ¶
Index ¶
- Variables
- type Boolean
- type BooleanValidationError
- type Bytes
- type BytesValidationError
- type Call
- func (*Call) Descriptor() ([]byte, []int)deprecated
- func (x *Call) GetFlags() map[string]bool
- func (x *Call) GetId() string
- func (x *Call) GetIssuer() string
- func (x *Call) GetName() string
- func (*Call) ProtoMessage()
- func (x *Call) ProtoReflect() protoreflect.Message
- func (x *Call) Reset()
- func (x *Call) String() string
- func (m *Call) Validate() error
- type CallValidationError
- type Dict
- type DictItem
- func (*DictItem) Descriptor() ([]byte, []int)deprecated
- func (x *DictItem) GetK() *Value
- func (x *DictItem) GetV() *Value
- func (*DictItem) ProtoMessage()
- func (x *DictItem) ProtoReflect() protoreflect.Message
- func (x *DictItem) Reset()
- func (x *DictItem) String() string
- func (m *DictItem) Validate() error
- type DictItemValidationError
- type DictValidationError
- type Duration
- type DurationValidationError
- type Float
- type FloatValidationError
- type Function
- func (*Function) Descriptor() ([]byte, []int)deprecated
- func (x *Function) GetFuncId() string
- func (x *Function) GetLang() string
- func (x *Function) GetScope() string
- func (x *Function) GetSig() *FunctionSignature
- func (*Function) ProtoMessage()
- func (x *Function) ProtoReflect() protoreflect.Message
- func (x *Function) Reset()
- func (x *Function) String() string
- func (m *Function) Validate() error
- type FunctionSignature
- func (*FunctionSignature) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionSignature) GetArgsNames() []string
- func (x *FunctionSignature) GetDoc() string
- func (x *FunctionSignature) GetHasKwargs() bool
- func (x *FunctionSignature) GetHasVarargs() bool
- func (x *FunctionSignature) GetNArgs() uint32
- func (x *FunctionSignature) GetNKwonlyargs() uint32
- func (x *FunctionSignature) GetName() string
- func (*FunctionSignature) ProtoMessage()
- func (x *FunctionSignature) ProtoReflect() protoreflect.Message
- func (x *FunctionSignature) Reset()
- func (x *FunctionSignature) String() string
- func (m *FunctionSignature) Validate() error
- type FunctionSignatureValidationError
- func (e FunctionSignatureValidationError) Cause() error
- func (e FunctionSignatureValidationError) Error() string
- func (e FunctionSignatureValidationError) ErrorName() string
- func (e FunctionSignatureValidationError) Field() string
- func (e FunctionSignatureValidationError) Key() bool
- func (e FunctionSignatureValidationError) Reason() string
- type FunctionValidationError
- type Integer
- type IntegerValidationError
- type List
- type ListValidationError
- type Module
- func (*Module) Descriptor() ([]byte, []int)deprecated
- func (x *Module) GetMembers() map[string]*Value
- func (x *Module) GetName() string
- func (*Module) ProtoMessage()
- func (x *Module) ProtoReflect() protoreflect.Message
- func (x *Module) Reset()
- func (x *Module) String() string
- func (m *Module) Validate() error
- type ModuleValidationError
- type None
- type NoneValidationError
- type Set
- type SetValidationError
- type String
- type StringValidationError
- type Struct
- func (*Struct) Descriptor() ([]byte, []int)deprecated
- func (x *Struct) GetCtor() *Value
- func (x *Struct) GetFields() map[string]*Value
- func (*Struct) ProtoMessage()
- func (x *Struct) ProtoReflect() protoreflect.Message
- func (x *Struct) Reset()
- func (x *Struct) String() string
- func (m *Struct) Validate() error
- type StructValidationError
- type Symbol
- type SymbolValidationError
- type Time
- type TimeValidationError
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBoolean() *Boolean
- func (x *Value) GetBytes() *Bytes
- func (x *Value) GetCall() *Call
- func (x *Value) GetDict() *Dict
- func (x *Value) GetDuration() *Duration
- func (x *Value) GetFloat() *Float
- func (x *Value) GetFunction() *Function
- func (x *Value) GetInteger() *Integer
- func (x *Value) GetList() *List
- func (x *Value) GetModule() *Module
- func (x *Value) GetNone() *None
- func (x *Value) GetSet() *Set
- func (x *Value) GetString_() *String
- func (x *Value) GetStruct() *Struct
- func (x *Value) GetSymbol() *Symbol
- func (x *Value) GetTime() *Time
- func (m *Value) GetType() isValue_Type
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- func (m *Value) Validate() error
- type ValueValidationError
- type Value_Boolean
- type Value_Bytes
- type Value_Call
- type Value_Dict
- type Value_Duration
- type Value_Float
- type Value_Function
- type Value_Integer
- type Value_List
- type Value_Module
- type Value_None
- type Value_Set
- type Value_String_
- type Value_Struct
- type Value_Symbol
- type Value_Time
Constants ¶
This section is empty.
Variables ¶
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) ProtoMessage ¶
func (*Boolean) ProtoMessage()
func (*Boolean) ProtoReflect ¶
func (x *Boolean) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Bytes) ProtoMessage()
func (*Bytes) ProtoReflect ¶
func (x *Bytes) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Call) ProtoMessage()
func (*Call) ProtoReflect ¶
func (x *Call) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Dict) ProtoMessage()
func (*Dict) ProtoReflect ¶
func (x *Dict) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*DictItem) ProtoMessage()
func (*DictItem) ProtoReflect ¶
func (x *DictItem) ProtoReflect() protoreflect.Message
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) GetD ¶
func (x *Duration) GetD() *durationpb.Duration
func (*Duration) ProtoMessage ¶
func (*Duration) ProtoMessage()
func (*Duration) ProtoReflect ¶
func (x *Duration) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Float) ProtoMessage()
func (*Float) ProtoReflect ¶
func (x *Float) ProtoReflect() protoreflect.Message
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) GetSig ¶
func (x *Function) GetSig() *FunctionSignature
func (*Function) ProtoMessage ¶
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶
func (x *Function) ProtoReflect() protoreflect.Message
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 ¶
func (e FunctionSignatureValidationError) Cause() error
Cause function returns cause value.
func (FunctionSignatureValidationError) Error ¶
func (e FunctionSignatureValidationError) Error() string
Error satisfies the builtin error interface
func (FunctionSignatureValidationError) ErrorName ¶
func (e FunctionSignatureValidationError) ErrorName() string
ErrorName returns error name.
func (FunctionSignatureValidationError) Field ¶
func (e FunctionSignatureValidationError) Field() string
Field function returns field value.
func (FunctionSignatureValidationError) Key ¶
func (e FunctionSignatureValidationError) Key() bool
Key function returns key value.
func (FunctionSignatureValidationError) Reason ¶
func (e FunctionSignatureValidationError) Reason() string
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) ProtoMessage ¶
func (*Integer) ProtoMessage()
func (*Integer) ProtoReflect ¶
func (x *Integer) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) ProtoReflect ¶
func (x *List) ProtoReflect() protoreflect.Message
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) GetMembers ¶
func (*Module) ProtoMessage ¶
func (*Module) ProtoMessage()
func (*Module) ProtoReflect ¶
func (x *Module) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*None) ProtoMessage()
func (*None) ProtoReflect ¶
func (x *None) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Set) ProtoMessage()
func (*Set) ProtoReflect ¶
func (x *Set) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*String) ProtoMessage()
func (*String) ProtoReflect ¶
func (x *String) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Struct) ProtoMessage()
func (*Struct) ProtoReflect ¶
func (x *Struct) ProtoReflect() protoreflect.Message
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) ProtoMessage ¶
func (*Symbol) ProtoMessage()
func (*Symbol) ProtoReflect ¶
func (x *Symbol) ProtoReflect() protoreflect.Message
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) GetT ¶
func (x *Time) GetT() *timestamppb.Timestamp
func (*Time) ProtoMessage ¶
func (*Time) ProtoMessage()
func (*Time) ProtoReflect ¶
func (x *Time) ProtoReflect() protoreflect.Message
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) GetBoolean ¶
func (*Value) GetDuration ¶
func (*Value) GetFunction ¶
func (*Value) GetInteger ¶
func (*Value) GetString_ ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
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_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"`
}