Protocol_Data_Control

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: BSD-3-Clause, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package Protocol_Data_Control is a generated protocol buffer package.

It is generated from these files:

ControlChannel.proto

It has these top-level messages:

Packet
OpenChannel
ChannelResult
KeepAlive
EnableFeatures
FeaturesEnabled

Index

Constants

This section is empty.

Variables

View Source
var ChannelResult_CommonError_name = map[int32]string{
	0: "GenericError",
	1: "UnknownTypeError",
	2: "UnauthorizedError",
	3: "BadUsageError",
	4: "FailedError",
}
View Source
var ChannelResult_CommonError_value = map[string]int32{
	"GenericError":      0,
	"UnknownTypeError":  1,
	"UnauthorizedError": 2,
	"BadUsageError":     3,
	"FailedError":       4,
}

Functions

This section is empty.

Types

type ChannelResult

type ChannelResult struct {
	ChannelIdentifier *int32                     `protobuf:"varint,1,req,name=channel_identifier" json:"channel_identifier,omitempty"`
	Opened            *bool                      `protobuf:"varint,2,req,name=opened" json:"opened,omitempty"`
	CommonError       *ChannelResult_CommonError `protobuf:"varint,3,opt,name=common_error,enum=Protocol.Data.Control.ChannelResult_CommonError" json:"common_error,omitempty"`
	XXX_extensions    map[int32]proto.Extension  `json:"-"`
	XXX_unrecognized  []byte                     `json:"-"`
}

func (*ChannelResult) ExtensionMap

func (m *ChannelResult) ExtensionMap() map[int32]proto.Extension

func (*ChannelResult) ExtensionRangeArray

func (*ChannelResult) ExtensionRangeArray() []proto.ExtensionRange

func (*ChannelResult) GetChannelIdentifier

func (m *ChannelResult) GetChannelIdentifier() int32

func (*ChannelResult) GetCommonError

func (m *ChannelResult) GetCommonError() ChannelResult_CommonError

func (*ChannelResult) GetOpened

func (m *ChannelResult) GetOpened() bool

func (*ChannelResult) ProtoMessage

func (*ChannelResult) ProtoMessage()

func (*ChannelResult) Reset

func (m *ChannelResult) Reset()

func (*ChannelResult) String

func (m *ChannelResult) String() string

type ChannelResult_CommonError

type ChannelResult_CommonError int32
const (
	ChannelResult_GenericError      ChannelResult_CommonError = 0
	ChannelResult_UnknownTypeError  ChannelResult_CommonError = 1
	ChannelResult_UnauthorizedError ChannelResult_CommonError = 2
	ChannelResult_BadUsageError     ChannelResult_CommonError = 3
	ChannelResult_FailedError       ChannelResult_CommonError = 4
)

func (ChannelResult_CommonError) Enum

func (ChannelResult_CommonError) String

func (x ChannelResult_CommonError) String() string

func (*ChannelResult_CommonError) UnmarshalJSON

func (x *ChannelResult_CommonError) UnmarshalJSON(data []byte) error

type EnableFeatures

type EnableFeatures struct {
	Feature          []string                  `protobuf:"bytes,1,rep,name=feature" json:"feature,omitempty"`
	XXX_extensions   map[int32]proto.Extension `json:"-"`
	XXX_unrecognized []byte                    `json:"-"`
}

func (*EnableFeatures) ExtensionMap

func (m *EnableFeatures) ExtensionMap() map[int32]proto.Extension

func (*EnableFeatures) ExtensionRangeArray

func (*EnableFeatures) ExtensionRangeArray() []proto.ExtensionRange

func (*EnableFeatures) GetFeature

func (m *EnableFeatures) GetFeature() []string

func (*EnableFeatures) ProtoMessage

func (*EnableFeatures) ProtoMessage()

func (*EnableFeatures) Reset

func (m *EnableFeatures) Reset()

func (*EnableFeatures) String

func (m *EnableFeatures) String() string

type FeaturesEnabled

type FeaturesEnabled struct {
	Feature          []string                  `protobuf:"bytes,1,rep,name=feature" json:"feature,omitempty"`
	XXX_extensions   map[int32]proto.Extension `json:"-"`
	XXX_unrecognized []byte                    `json:"-"`
}

func (*FeaturesEnabled) ExtensionMap

func (m *FeaturesEnabled) ExtensionMap() map[int32]proto.Extension

func (*FeaturesEnabled) ExtensionRangeArray

func (*FeaturesEnabled) ExtensionRangeArray() []proto.ExtensionRange

func (*FeaturesEnabled) GetFeature

func (m *FeaturesEnabled) GetFeature() []string

func (*FeaturesEnabled) ProtoMessage

func (*FeaturesEnabled) ProtoMessage()

func (*FeaturesEnabled) Reset

func (m *FeaturesEnabled) Reset()

func (*FeaturesEnabled) String

func (m *FeaturesEnabled) String() string

type KeepAlive

type KeepAlive struct {
	ResponseRequested *bool  `protobuf:"varint,1,req,name=response_requested" json:"response_requested,omitempty"`
	XXX_unrecognized  []byte `json:"-"`
}

func (*KeepAlive) GetResponseRequested

func (m *KeepAlive) GetResponseRequested() bool

func (*KeepAlive) ProtoMessage

func (*KeepAlive) ProtoMessage()

func (*KeepAlive) Reset

func (m *KeepAlive) Reset()

func (*KeepAlive) String

func (m *KeepAlive) String() string

type OpenChannel

type OpenChannel struct {
	ChannelIdentifier *int32                    `protobuf:"varint,1,req,name=channel_identifier" json:"channel_identifier,omitempty"`
	ChannelType       *string                   `protobuf:"bytes,2,req,name=channel_type" json:"channel_type,omitempty"`
	XXX_extensions    map[int32]proto.Extension `json:"-"`
	XXX_unrecognized  []byte                    `json:"-"`
}

func (*OpenChannel) ExtensionMap

func (m *OpenChannel) ExtensionMap() map[int32]proto.Extension

func (*OpenChannel) ExtensionRangeArray

func (*OpenChannel) ExtensionRangeArray() []proto.ExtensionRange

func (*OpenChannel) GetChannelIdentifier

func (m *OpenChannel) GetChannelIdentifier() int32

func (*OpenChannel) GetChannelType

func (m *OpenChannel) GetChannelType() string

func (*OpenChannel) ProtoMessage

func (*OpenChannel) ProtoMessage()

func (*OpenChannel) Reset

func (m *OpenChannel) Reset()

func (*OpenChannel) String

func (m *OpenChannel) String() string

type Packet

type Packet struct {
	// Must contain exactly one field
	OpenChannel      *OpenChannel     `protobuf:"bytes,1,opt,name=open_channel" json:"open_channel,omitempty"`
	ChannelResult    *ChannelResult   `protobuf:"bytes,2,opt,name=channel_result" json:"channel_result,omitempty"`
	KeepAlive        *KeepAlive       `protobuf:"bytes,3,opt,name=keep_alive" json:"keep_alive,omitempty"`
	EnableFeatures   *EnableFeatures  `protobuf:"bytes,4,opt,name=enable_features" json:"enable_features,omitempty"`
	FeaturesEnabled  *FeaturesEnabled `protobuf:"bytes,5,opt,name=features_enabled" json:"features_enabled,omitempty"`
	XXX_unrecognized []byte           `json:"-"`
}

func (*Packet) GetChannelResult

func (m *Packet) GetChannelResult() *ChannelResult

func (*Packet) GetEnableFeatures

func (m *Packet) GetEnableFeatures() *EnableFeatures

func (*Packet) GetFeaturesEnabled

func (m *Packet) GetFeaturesEnabled() *FeaturesEnabled

func (*Packet) GetKeepAlive

func (m *Packet) GetKeepAlive() *KeepAlive

func (*Packet) GetOpenChannel

func (m *Packet) GetOpenChannel() *OpenChannel

func (*Packet) ProtoMessage

func (*Packet) ProtoMessage()

func (*Packet) Reset

func (m *Packet) Reset()

func (*Packet) String

func (m *Packet) String() string

Jump to

Keyboard shortcuts

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