Documentation ¶
Index ¶
- type Data
- func (*Data) Descriptor() ([]byte, []int)
- func (m *Data) GetData() []byte
- func (m *Data) GetDesc() map[string][]byte
- func (m *Data) GetUuid() string
- func (*Data) ProtoMessage()
- func (m *Data) Reset()
- func (m *Data) String() string
- func (m *Data) Validate() error
- func (m *Data) XXX_DiscardUnknown()
- func (m *Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Data) XXX_Merge(src proto.Message)
- func (m *Data) XXX_Size() int
- func (m *Data) XXX_Unmarshal(b []byte) error
- type DataValidationError
- type Msg
- func (*Msg) Descriptor() ([]byte, []int)
- func (m *Msg) GetDataList() []*Data
- func (*Msg) ProtoMessage()
- func (m *Msg) Reset()
- func (m *Msg) String() string
- func (m *Msg) Validate() error
- func (m *Msg) XXX_DiscardUnknown()
- func (m *Msg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Msg) XXX_Merge(src proto.Message)
- func (m *Msg) XXX_Size() int
- func (m *Msg) XXX_Unmarshal(b []byte) error
- type MsgValidationError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Desc map[string][]byte `` /* 149-byte string literal not displayed */ Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Data) Descriptor ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) Validate ¶
Validate checks the field values on Data with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Data) XXX_DiscardUnknown ¶
func (m *Data) XXX_DiscardUnknown()
func (*Data) XXX_Unmarshal ¶
type DataValidationError ¶
type DataValidationError struct {
// contains filtered or unexported fields
}
DataValidationError is the validation error returned by Data.Validate if the designated constraints aren't met.
func (DataValidationError) Cause ¶
func (e DataValidationError) Cause() error
Cause function returns cause value.
func (DataValidationError) Error ¶
func (e DataValidationError) Error() string
Error satisfies the builtin error interface
func (DataValidationError) ErrorName ¶
func (e DataValidationError) ErrorName() string
ErrorName returns error name.
func (DataValidationError) Field ¶
func (e DataValidationError) Field() string
Field function returns field value.
func (DataValidationError) Key ¶
func (e DataValidationError) Key() bool
Key function returns key value.
func (DataValidationError) Reason ¶
func (e DataValidationError) Reason() string
Reason function returns reason value.
type Msg ¶
type Msg struct { DataList []*Data `protobuf:"bytes,1,rep,name=dataList,proto3" json:"dataList,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Msg) Descriptor ¶
func (*Msg) GetDataList ¶
func (*Msg) ProtoMessage ¶
func (*Msg) ProtoMessage()
func (*Msg) Validate ¶
Validate checks the field values on Msg with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Msg) XXX_DiscardUnknown ¶
func (m *Msg) XXX_DiscardUnknown()
func (*Msg) XXX_Unmarshal ¶
type MsgValidationError ¶
type MsgValidationError struct {
// contains filtered or unexported fields
}
MsgValidationError is the validation error returned by Msg.Validate if the designated constraints aren't met.
func (MsgValidationError) Cause ¶
func (e MsgValidationError) Cause() error
Cause function returns cause value.
func (MsgValidationError) Error ¶
func (e MsgValidationError) Error() string
Error satisfies the builtin error interface
func (MsgValidationError) ErrorName ¶
func (e MsgValidationError) ErrorName() string
ErrorName returns error name.
func (MsgValidationError) Field ¶
func (e MsgValidationError) Field() string
Field function returns field value.
func (MsgValidationError) Key ¶
func (e MsgValidationError) Key() bool
Key function returns key value.
func (MsgValidationError) Reason ¶
func (e MsgValidationError) Reason() string
Reason function returns reason value.