Documentation ¶
Overview ¶
Package protocol is a generated protocol buffer package.
It is generated from these files:
github.com/TheThingsNetwork/ttn/api/protocol/protocol.proto
It has these top-level messages:
Message RxMetadata TxConfiguration ActivationMetadata
Index ¶
- Variables
- type ActivationMetadata
- func (*ActivationMetadata) Descriptor() ([]byte, []int)
- func (m *ActivationMetadata) GetLorawan() *lorawan.ActivationMetadata
- func (m *ActivationMetadata) GetProtocol() isActivationMetadata_Protocol
- func (m *ActivationMetadata) Marshal() (dAtA []byte, err error)
- func (m *ActivationMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*ActivationMetadata) ProtoMessage()
- func (m *ActivationMetadata) Reset()
- func (m *ActivationMetadata) Size() (n int)
- func (m *ActivationMetadata) String() string
- func (m *ActivationMetadata) Unmarshal(dAtA []byte) error
- func (m *ActivationMetadata) Validate() error
- func (*ActivationMetadata) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ActivationMetadata_Lorawan
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetLorawan() *lorawan.Message
- func (m *Message) GetProtocol() isMessage_Protocol
- func (m *Message) Marshal() (dAtA []byte, err error)
- func (m *Message) MarshalTo(dAtA []byte) (int, error)
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) Size() (n int)
- func (m *Message) String() string
- func (m *Message) Unmarshal(dAtA []byte) error
- func (m *Message) Validate() error
- func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Message_Lorawan
- type RxMetadata
- func (*RxMetadata) Descriptor() ([]byte, []int)
- func (m *RxMetadata) GetLorawan() *lorawan.Metadata
- func (m *RxMetadata) GetProtocol() isRxMetadata_Protocol
- func (m *RxMetadata) Marshal() (dAtA []byte, err error)
- func (m *RxMetadata) MarshalTo(dAtA []byte) (int, error)
- func (*RxMetadata) ProtoMessage()
- func (m *RxMetadata) Reset()
- func (m *RxMetadata) Size() (n int)
- func (m *RxMetadata) String() string
- func (m *RxMetadata) Unmarshal(dAtA []byte) error
- func (m *RxMetadata) Validate() error
- func (*RxMetadata) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type RxMetadata_Lorawan
- type TxConfiguration
- func (*TxConfiguration) Descriptor() ([]byte, []int)
- func (m *TxConfiguration) GetLorawan() *lorawan.TxConfiguration
- func (m *TxConfiguration) GetProtocol() isTxConfiguration_Protocol
- func (m *TxConfiguration) Marshal() (dAtA []byte, err error)
- func (m *TxConfiguration) MarshalTo(dAtA []byte) (int, error)
- func (*TxConfiguration) ProtoMessage()
- func (m *TxConfiguration) Reset()
- func (m *TxConfiguration) Size() (n int)
- func (m *TxConfiguration) String() string
- func (m *TxConfiguration) Unmarshal(dAtA []byte) error
- func (m *TxConfiguration) Validate() error
- func (*TxConfiguration) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type TxConfiguration_Lorawan
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthProtocol = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProtocol = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type ActivationMetadata ¶
type ActivationMetadata struct { // Types that are valid to be assigned to Protocol: // *ActivationMetadata_Lorawan Protocol isActivationMetadata_Protocol `protobuf_oneof:"protocol"` }
func (*ActivationMetadata) Descriptor ¶
func (*ActivationMetadata) Descriptor() ([]byte, []int)
func (*ActivationMetadata) GetLorawan ¶
func (m *ActivationMetadata) GetLorawan() *lorawan.ActivationMetadata
func (*ActivationMetadata) GetProtocol ¶
func (m *ActivationMetadata) GetProtocol() isActivationMetadata_Protocol
func (*ActivationMetadata) Marshal ¶
func (m *ActivationMetadata) Marshal() (dAtA []byte, err error)
func (*ActivationMetadata) MarshalTo ¶
func (m *ActivationMetadata) MarshalTo(dAtA []byte) (int, error)
func (*ActivationMetadata) ProtoMessage ¶
func (*ActivationMetadata) ProtoMessage()
func (*ActivationMetadata) Reset ¶
func (m *ActivationMetadata) Reset()
func (*ActivationMetadata) Size ¶
func (m *ActivationMetadata) Size() (n int)
func (*ActivationMetadata) String ¶
func (m *ActivationMetadata) String() string
func (*ActivationMetadata) Unmarshal ¶
func (m *ActivationMetadata) Unmarshal(dAtA []byte) error
func (*ActivationMetadata) Validate ¶
func (m *ActivationMetadata) Validate() error
Validate implements the api.Validator interface
func (*ActivationMetadata) XXX_OneofFuncs ¶
func (*ActivationMetadata) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type ActivationMetadata_Lorawan ¶
type ActivationMetadata_Lorawan struct {
Lorawan *lorawan.ActivationMetadata `protobuf:"bytes,1,opt,name=lorawan,oneof"`
}
func (*ActivationMetadata_Lorawan) MarshalTo ¶
func (m *ActivationMetadata_Lorawan) MarshalTo(dAtA []byte) (int, error)
func (*ActivationMetadata_Lorawan) Size ¶
func (m *ActivationMetadata_Lorawan) Size() (n int)
func (*ActivationMetadata_Lorawan) Validate ¶
func (m *ActivationMetadata_Lorawan) Validate() error
Validate implements the api.Validator interface
type Message ¶
type Message struct { // Types that are valid to be assigned to Protocol: // *Message_Lorawan Protocol isMessage_Protocol `protobuf_oneof:"protocol"` }
func (*Message) Descriptor ¶
func (*Message) GetLorawan ¶
func (*Message) GetProtocol ¶
func (m *Message) GetProtocol() isMessage_Protocol
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
type Message_Lorawan ¶
type Message_Lorawan struct {
Lorawan *lorawan.Message `protobuf:"bytes,1,opt,name=lorawan,oneof"`
}
func (*Message_Lorawan) Size ¶
func (m *Message_Lorawan) Size() (n int)
func (*Message_Lorawan) Validate ¶
func (m *Message_Lorawan) Validate() error
Validate implements the api.Validator interface
type RxMetadata ¶
type RxMetadata struct { // Types that are valid to be assigned to Protocol: // *RxMetadata_Lorawan Protocol isRxMetadata_Protocol `protobuf_oneof:"protocol"` }
func (*RxMetadata) Descriptor ¶
func (*RxMetadata) Descriptor() ([]byte, []int)
func (*RxMetadata) GetLorawan ¶
func (m *RxMetadata) GetLorawan() *lorawan.Metadata
func (*RxMetadata) GetProtocol ¶
func (m *RxMetadata) GetProtocol() isRxMetadata_Protocol
func (*RxMetadata) Marshal ¶
func (m *RxMetadata) Marshal() (dAtA []byte, err error)
func (*RxMetadata) ProtoMessage ¶
func (*RxMetadata) ProtoMessage()
func (*RxMetadata) Reset ¶
func (m *RxMetadata) Reset()
func (*RxMetadata) Size ¶
func (m *RxMetadata) Size() (n int)
func (*RxMetadata) String ¶
func (m *RxMetadata) String() string
func (*RxMetadata) Unmarshal ¶
func (m *RxMetadata) Unmarshal(dAtA []byte) error
func (*RxMetadata) Validate ¶
func (m *RxMetadata) Validate() error
Validate implements the api.Validator interface
func (*RxMetadata) XXX_OneofFuncs ¶
func (*RxMetadata) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type RxMetadata_Lorawan ¶
type RxMetadata_Lorawan struct {
Lorawan *lorawan.Metadata `protobuf:"bytes,1,opt,name=lorawan,oneof"`
}
func (*RxMetadata_Lorawan) MarshalTo ¶
func (m *RxMetadata_Lorawan) MarshalTo(dAtA []byte) (int, error)
func (*RxMetadata_Lorawan) Size ¶
func (m *RxMetadata_Lorawan) Size() (n int)
func (*RxMetadata_Lorawan) Validate ¶
func (m *RxMetadata_Lorawan) Validate() error
Validate implements the api.Validator interface
type TxConfiguration ¶
type TxConfiguration struct { // Types that are valid to be assigned to Protocol: // *TxConfiguration_Lorawan Protocol isTxConfiguration_Protocol `protobuf_oneof:"protocol"` }
func (*TxConfiguration) Descriptor ¶
func (*TxConfiguration) Descriptor() ([]byte, []int)
func (*TxConfiguration) GetLorawan ¶
func (m *TxConfiguration) GetLorawan() *lorawan.TxConfiguration
func (*TxConfiguration) GetProtocol ¶
func (m *TxConfiguration) GetProtocol() isTxConfiguration_Protocol
func (*TxConfiguration) Marshal ¶
func (m *TxConfiguration) Marshal() (dAtA []byte, err error)
func (*TxConfiguration) ProtoMessage ¶
func (*TxConfiguration) ProtoMessage()
func (*TxConfiguration) Reset ¶
func (m *TxConfiguration) Reset()
func (*TxConfiguration) Size ¶
func (m *TxConfiguration) Size() (n int)
func (*TxConfiguration) String ¶
func (m *TxConfiguration) String() string
func (*TxConfiguration) Unmarshal ¶
func (m *TxConfiguration) Unmarshal(dAtA []byte) error
func (*TxConfiguration) Validate ¶
func (m *TxConfiguration) Validate() error
Validate implements the api.Validator interface
func (*TxConfiguration) XXX_OneofFuncs ¶
func (*TxConfiguration) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
type TxConfiguration_Lorawan ¶
type TxConfiguration_Lorawan struct {
Lorawan *lorawan.TxConfiguration `protobuf:"bytes,1,opt,name=lorawan,oneof"`
}
func (*TxConfiguration_Lorawan) MarshalTo ¶
func (m *TxConfiguration_Lorawan) MarshalTo(dAtA []byte) (int, error)
func (*TxConfiguration_Lorawan) Size ¶
func (m *TxConfiguration_Lorawan) Size() (n int)
func (*TxConfiguration_Lorawan) Validate ¶
func (m *TxConfiguration_Lorawan) Validate() error
Validate implements the api.Validator interface
Click to show internal directories.
Click to hide internal directories.