Files
ziti/pb/edge_ctrl_pb/edge_ctrl.pb.go
T
2020-09-29 09:27:05 -04:00

828 lines
28 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// source: edge_ctrl.proto
package edge_ctrl_pb
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type ContentType int32
const (
ContentType_Zero ContentType = 0
ContentType_ServerHelloType ContentType = 20000
ContentType_ClientHelloType ContentType = 20001
ContentType_ErrorType ContentType = 20002
ContentType_SessionAddedType ContentType = 20100
ContentType_SessionUpdatedType ContentType = 20101
ContentType_SessionRemovedType ContentType = 20102
ContentType_ApiSessionAddedType ContentType = 20200
ContentType_ApiSessionUpdatedType ContentType = 20201
ContentType_ApiSessionRemovedType ContentType = 20202
ContentType_ApiSessionHeartbeatType ContentType = 20203
ContentType_EnrollType ContentType = 20300
ContentType_EnrollCertsType ContentType = 20301
)
var ContentType_name = map[int32]string{
0: "Zero",
20000: "ServerHelloType",
20001: "ClientHelloType",
20002: "ErrorType",
20100: "SessionAddedType",
20101: "SessionUpdatedType",
20102: "SessionRemovedType",
20200: "ApiSessionAddedType",
20201: "ApiSessionUpdatedType",
20202: "ApiSessionRemovedType",
20203: "ApiSessionHeartbeatType",
20300: "EnrollType",
20301: "EnrollCertsType",
}
var ContentType_value = map[string]int32{
"Zero": 0,
"ServerHelloType": 20000,
"ClientHelloType": 20001,
"ErrorType": 20002,
"SessionAddedType": 20100,
"SessionUpdatedType": 20101,
"SessionRemovedType": 20102,
"ApiSessionAddedType": 20200,
"ApiSessionUpdatedType": 20201,
"ApiSessionRemovedType": 20202,
"ApiSessionHeartbeatType": 20203,
"EnrollType": 20300,
"EnrollCertsType": 20301,
}
func (x ContentType) String() string {
return proto.EnumName(ContentType_name, int32(x))
}
func (ContentType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{0}
}
type SessionType int32
const (
SessionType_Dial SessionType = 0
SessionType_Bind SessionType = 1
)
var SessionType_name = map[int32]string{
0: "Dial",
1: "Bind",
}
var SessionType_value = map[string]int32{
"Dial": 0,
"Bind": 1,
}
func (x SessionType) String() string {
return proto.EnumName(SessionType_name, int32(x))
}
func (SessionType) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{1}
}
type ServerHello struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Data map[string]string `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServerHello) Reset() { *m = ServerHello{} }
func (m *ServerHello) String() string { return proto.CompactTextString(m) }
func (*ServerHello) ProtoMessage() {}
func (*ServerHello) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{0}
}
func (m *ServerHello) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServerHello.Unmarshal(m, b)
}
func (m *ServerHello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServerHello.Marshal(b, m, deterministic)
}
func (m *ServerHello) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServerHello.Merge(m, src)
}
func (m *ServerHello) XXX_Size() int {
return xxx_messageInfo_ServerHello.Size(m)
}
func (m *ServerHello) XXX_DiscardUnknown() {
xxx_messageInfo_ServerHello.DiscardUnknown(m)
}
var xxx_messageInfo_ServerHello proto.InternalMessageInfo
func (m *ServerHello) GetVersion() string {
if m != nil {
return m.Version
}
return ""
}
func (m *ServerHello) GetData() map[string]string {
if m != nil {
return m.Data
}
return nil
}
type ClientHello struct {
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
Hostname string `protobuf:"bytes,2,opt,name=hostname,proto3" json:"hostname,omitempty"`
Protocols []string `protobuf:"bytes,3,rep,name=protocols,proto3" json:"protocols,omitempty"`
Data map[string]string `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ClientHello) Reset() { *m = ClientHello{} }
func (m *ClientHello) String() string { return proto.CompactTextString(m) }
func (*ClientHello) ProtoMessage() {}
func (*ClientHello) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{1}
}
func (m *ClientHello) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ClientHello.Unmarshal(m, b)
}
func (m *ClientHello) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ClientHello.Marshal(b, m, deterministic)
}
func (m *ClientHello) XXX_Merge(src proto.Message) {
xxx_messageInfo_ClientHello.Merge(m, src)
}
func (m *ClientHello) XXX_Size() int {
return xxx_messageInfo_ClientHello.Size(m)
}
func (m *ClientHello) XXX_DiscardUnknown() {
xxx_messageInfo_ClientHello.DiscardUnknown(m)
}
var xxx_messageInfo_ClientHello proto.InternalMessageInfo
func (m *ClientHello) GetVersion() string {
if m != nil {
return m.Version
}
return ""
}
func (m *ClientHello) GetHostname() string {
if m != nil {
return m.Hostname
}
return ""
}
func (m *ClientHello) GetProtocols() []string {
if m != nil {
return m.Protocols
}
return nil
}
func (m *ClientHello) GetData() map[string]string {
if m != nil {
return m.Data
}
return nil
}
type Error struct {
Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Cause string `protobuf:"bytes,3,opt,name=cause,proto3" json:"cause,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Error) Reset() { *m = Error{} }
func (m *Error) String() string { return proto.CompactTextString(m) }
func (*Error) ProtoMessage() {}
func (*Error) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{2}
}
func (m *Error) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Error.Unmarshal(m, b)
}
func (m *Error) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Error.Marshal(b, m, deterministic)
}
func (m *Error) XXX_Merge(src proto.Message) {
xxx_messageInfo_Error.Merge(m, src)
}
func (m *Error) XXX_Size() int {
return xxx_messageInfo_Error.Size(m)
}
func (m *Error) XXX_DiscardUnknown() {
xxx_messageInfo_Error.DiscardUnknown(m)
}
var xxx_messageInfo_Error proto.InternalMessageInfo
func (m *Error) GetCode() string {
if m != nil {
return m.Code
}
return ""
}
func (m *Error) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *Error) GetCause() string {
if m != nil {
return m.Cause
}
return ""
}
type Service 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"`
EncryptionRequired bool `protobuf:"varint,3,opt,name=encryptionRequired,proto3" json:"encryptionRequired,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Service) Reset() { *m = Service{} }
func (m *Service) String() string { return proto.CompactTextString(m) }
func (*Service) ProtoMessage() {}
func (*Service) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{3}
}
func (m *Service) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Service.Unmarshal(m, b)
}
func (m *Service) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Service.Marshal(b, m, deterministic)
}
func (m *Service) XXX_Merge(src proto.Message) {
xxx_messageInfo_Service.Merge(m, src)
}
func (m *Service) XXX_Size() int {
return xxx_messageInfo_Service.Size(m)
}
func (m *Service) XXX_DiscardUnknown() {
xxx_messageInfo_Service.DiscardUnknown(m)
}
var xxx_messageInfo_Service proto.InternalMessageInfo
func (m *Service) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *Service) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Service) GetEncryptionRequired() bool {
if m != nil {
return m.EncryptionRequired
}
return false
}
type Session struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Type SessionType `protobuf:"varint,2,opt,name=type,proto3,enum=edge_ctrl.pb.SessionType" json:"type,omitempty"`
CertFingerprints []string `protobuf:"bytes,3,rep,name=certFingerprints,proto3" json:"certFingerprints,omitempty"`
Urls []string `protobuf:"bytes,4,rep,name=urls,proto3" json:"urls,omitempty"`
Service *Service `protobuf:"bytes,5,opt,name=service,proto3" json:"service,omitempty"`
Id string `protobuf:"bytes,7,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Session) Reset() { *m = Session{} }
func (m *Session) String() string { return proto.CompactTextString(m) }
func (*Session) ProtoMessage() {}
func (*Session) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{4}
}
func (m *Session) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Session.Unmarshal(m, b)
}
func (m *Session) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Session.Marshal(b, m, deterministic)
}
func (m *Session) XXX_Merge(src proto.Message) {
xxx_messageInfo_Session.Merge(m, src)
}
func (m *Session) XXX_Size() int {
return xxx_messageInfo_Session.Size(m)
}
func (m *Session) XXX_DiscardUnknown() {
xxx_messageInfo_Session.DiscardUnknown(m)
}
var xxx_messageInfo_Session proto.InternalMessageInfo
func (m *Session) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func (m *Session) GetType() SessionType {
if m != nil {
return m.Type
}
return SessionType_Dial
}
func (m *Session) GetCertFingerprints() []string {
if m != nil {
return m.CertFingerprints
}
return nil
}
func (m *Session) GetUrls() []string {
if m != nil {
return m.Urls
}
return nil
}
func (m *Session) GetService() *Service {
if m != nil {
return m.Service
}
return nil
}
func (m *Session) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type ApiSession struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
CertFingerprints []string `protobuf:"bytes,2,rep,name=certFingerprints,proto3" json:"certFingerprints,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ApiSession) Reset() { *m = ApiSession{} }
func (m *ApiSession) String() string { return proto.CompactTextString(m) }
func (*ApiSession) ProtoMessage() {}
func (*ApiSession) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{5}
}
func (m *ApiSession) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApiSession.Unmarshal(m, b)
}
func (m *ApiSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ApiSession.Marshal(b, m, deterministic)
}
func (m *ApiSession) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApiSession.Merge(m, src)
}
func (m *ApiSession) XXX_Size() int {
return xxx_messageInfo_ApiSession.Size(m)
}
func (m *ApiSession) XXX_DiscardUnknown() {
xxx_messageInfo_ApiSession.DiscardUnknown(m)
}
var xxx_messageInfo_ApiSession proto.InternalMessageInfo
func (m *ApiSession) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func (m *ApiSession) GetCertFingerprints() []string {
if m != nil {
return m.CertFingerprints
}
return nil
}
type ApiSessionAdded struct {
IsFullState bool `protobuf:"varint,1,opt,name=isFullState,proto3" json:"isFullState,omitempty"`
ApiSessions []*ApiSession `protobuf:"bytes,2,rep,name=apiSessions,proto3" json:"apiSessions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ApiSessionAdded) Reset() { *m = ApiSessionAdded{} }
func (m *ApiSessionAdded) String() string { return proto.CompactTextString(m) }
func (*ApiSessionAdded) ProtoMessage() {}
func (*ApiSessionAdded) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{6}
}
func (m *ApiSessionAdded) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApiSessionAdded.Unmarshal(m, b)
}
func (m *ApiSessionAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ApiSessionAdded.Marshal(b, m, deterministic)
}
func (m *ApiSessionAdded) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApiSessionAdded.Merge(m, src)
}
func (m *ApiSessionAdded) XXX_Size() int {
return xxx_messageInfo_ApiSessionAdded.Size(m)
}
func (m *ApiSessionAdded) XXX_DiscardUnknown() {
xxx_messageInfo_ApiSessionAdded.DiscardUnknown(m)
}
var xxx_messageInfo_ApiSessionAdded proto.InternalMessageInfo
func (m *ApiSessionAdded) GetIsFullState() bool {
if m != nil {
return m.IsFullState
}
return false
}
func (m *ApiSessionAdded) GetApiSessions() []*ApiSession {
if m != nil {
return m.ApiSessions
}
return nil
}
type ApiSessionUpdated struct {
ApiSessions []*ApiSession `protobuf:"bytes,1,rep,name=apiSessions,proto3" json:"apiSessions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ApiSessionUpdated) Reset() { *m = ApiSessionUpdated{} }
func (m *ApiSessionUpdated) String() string { return proto.CompactTextString(m) }
func (*ApiSessionUpdated) ProtoMessage() {}
func (*ApiSessionUpdated) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{7}
}
func (m *ApiSessionUpdated) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApiSessionUpdated.Unmarshal(m, b)
}
func (m *ApiSessionUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ApiSessionUpdated.Marshal(b, m, deterministic)
}
func (m *ApiSessionUpdated) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApiSessionUpdated.Merge(m, src)
}
func (m *ApiSessionUpdated) XXX_Size() int {
return xxx_messageInfo_ApiSessionUpdated.Size(m)
}
func (m *ApiSessionUpdated) XXX_DiscardUnknown() {
xxx_messageInfo_ApiSessionUpdated.DiscardUnknown(m)
}
var xxx_messageInfo_ApiSessionUpdated proto.InternalMessageInfo
func (m *ApiSessionUpdated) GetApiSessions() []*ApiSession {
if m != nil {
return m.ApiSessions
}
return nil
}
type ApiSessionRemoved struct {
Tokens []string `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ApiSessionRemoved) Reset() { *m = ApiSessionRemoved{} }
func (m *ApiSessionRemoved) String() string { return proto.CompactTextString(m) }
func (*ApiSessionRemoved) ProtoMessage() {}
func (*ApiSessionRemoved) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{8}
}
func (m *ApiSessionRemoved) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApiSessionRemoved.Unmarshal(m, b)
}
func (m *ApiSessionRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ApiSessionRemoved.Marshal(b, m, deterministic)
}
func (m *ApiSessionRemoved) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApiSessionRemoved.Merge(m, src)
}
func (m *ApiSessionRemoved) XXX_Size() int {
return xxx_messageInfo_ApiSessionRemoved.Size(m)
}
func (m *ApiSessionRemoved) XXX_DiscardUnknown() {
xxx_messageInfo_ApiSessionRemoved.DiscardUnknown(m)
}
var xxx_messageInfo_ApiSessionRemoved proto.InternalMessageInfo
func (m *ApiSessionRemoved) GetTokens() []string {
if m != nil {
return m.Tokens
}
return nil
}
type ApiSessionHeartbeat struct {
Tokens []string `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ApiSessionHeartbeat) Reset() { *m = ApiSessionHeartbeat{} }
func (m *ApiSessionHeartbeat) String() string { return proto.CompactTextString(m) }
func (*ApiSessionHeartbeat) ProtoMessage() {}
func (*ApiSessionHeartbeat) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{9}
}
func (m *ApiSessionHeartbeat) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ApiSessionHeartbeat.Unmarshal(m, b)
}
func (m *ApiSessionHeartbeat) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ApiSessionHeartbeat.Marshal(b, m, deterministic)
}
func (m *ApiSessionHeartbeat) XXX_Merge(src proto.Message) {
xxx_messageInfo_ApiSessionHeartbeat.Merge(m, src)
}
func (m *ApiSessionHeartbeat) XXX_Size() int {
return xxx_messageInfo_ApiSessionHeartbeat.Size(m)
}
func (m *ApiSessionHeartbeat) XXX_DiscardUnknown() {
xxx_messageInfo_ApiSessionHeartbeat.DiscardUnknown(m)
}
var xxx_messageInfo_ApiSessionHeartbeat proto.InternalMessageInfo
func (m *ApiSessionHeartbeat) GetTokens() []string {
if m != nil {
return m.Tokens
}
return nil
}
type SessionAdded struct {
IsFullState bool `protobuf:"varint,1,opt,name=isFullState,proto3" json:"isFullState,omitempty"`
Sessions []*Session `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SessionAdded) Reset() { *m = SessionAdded{} }
func (m *SessionAdded) String() string { return proto.CompactTextString(m) }
func (*SessionAdded) ProtoMessage() {}
func (*SessionAdded) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{10}
}
func (m *SessionAdded) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SessionAdded.Unmarshal(m, b)
}
func (m *SessionAdded) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SessionAdded.Marshal(b, m, deterministic)
}
func (m *SessionAdded) XXX_Merge(src proto.Message) {
xxx_messageInfo_SessionAdded.Merge(m, src)
}
func (m *SessionAdded) XXX_Size() int {
return xxx_messageInfo_SessionAdded.Size(m)
}
func (m *SessionAdded) XXX_DiscardUnknown() {
xxx_messageInfo_SessionAdded.DiscardUnknown(m)
}
var xxx_messageInfo_SessionAdded proto.InternalMessageInfo
func (m *SessionAdded) GetIsFullState() bool {
if m != nil {
return m.IsFullState
}
return false
}
func (m *SessionAdded) GetSessions() []*Session {
if m != nil {
return m.Sessions
}
return nil
}
type SessionRemoved struct {
Tokens []string `protobuf:"bytes,1,rep,name=tokens,proto3" json:"tokens,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SessionRemoved) Reset() { *m = SessionRemoved{} }
func (m *SessionRemoved) String() string { return proto.CompactTextString(m) }
func (*SessionRemoved) ProtoMessage() {}
func (*SessionRemoved) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{11}
}
func (m *SessionRemoved) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SessionRemoved.Unmarshal(m, b)
}
func (m *SessionRemoved) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SessionRemoved.Marshal(b, m, deterministic)
}
func (m *SessionRemoved) XXX_Merge(src proto.Message) {
xxx_messageInfo_SessionRemoved.Merge(m, src)
}
func (m *SessionRemoved) XXX_Size() int {
return xxx_messageInfo_SessionRemoved.Size(m)
}
func (m *SessionRemoved) XXX_DiscardUnknown() {
xxx_messageInfo_SessionRemoved.DiscardUnknown(m)
}
var xxx_messageInfo_SessionRemoved proto.InternalMessageInfo
func (m *SessionRemoved) GetTokens() []string {
if m != nil {
return m.Tokens
}
return nil
}
type SessionUpdated struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
Urls []string `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"`
Service *Service `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SessionUpdated) Reset() { *m = SessionUpdated{} }
func (m *SessionUpdated) String() string { return proto.CompactTextString(m) }
func (*SessionUpdated) ProtoMessage() {}
func (*SessionUpdated) Descriptor() ([]byte, []int) {
return fileDescriptor_23f46a161f139ee1, []int{12}
}
func (m *SessionUpdated) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_SessionUpdated.Unmarshal(m, b)
}
func (m *SessionUpdated) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_SessionUpdated.Marshal(b, m, deterministic)
}
func (m *SessionUpdated) XXX_Merge(src proto.Message) {
xxx_messageInfo_SessionUpdated.Merge(m, src)
}
func (m *SessionUpdated) XXX_Size() int {
return xxx_messageInfo_SessionUpdated.Size(m)
}
func (m *SessionUpdated) XXX_DiscardUnknown() {
xxx_messageInfo_SessionUpdated.DiscardUnknown(m)
}
var xxx_messageInfo_SessionUpdated proto.InternalMessageInfo
func (m *SessionUpdated) GetToken() string {
if m != nil {
return m.Token
}
return ""
}
func (m *SessionUpdated) GetUrls() []string {
if m != nil {
return m.Urls
}
return nil
}
func (m *SessionUpdated) GetService() *Service {
if m != nil {
return m.Service
}
return nil
}
func init() {
proto.RegisterEnum("edge_ctrl.pb.ContentType", ContentType_name, ContentType_value)
proto.RegisterEnum("edge_ctrl.pb.SessionType", SessionType_name, SessionType_value)
proto.RegisterType((*ServerHello)(nil), "edge_ctrl.pb.ServerHello")
proto.RegisterMapType((map[string]string)(nil), "edge_ctrl.pb.ServerHello.DataEntry")
proto.RegisterType((*ClientHello)(nil), "edge_ctrl.pb.ClientHello")
proto.RegisterMapType((map[string]string)(nil), "edge_ctrl.pb.ClientHello.DataEntry")
proto.RegisterType((*Error)(nil), "edge_ctrl.pb.Error")
proto.RegisterType((*Service)(nil), "edge_ctrl.pb.Service")
proto.RegisterType((*Session)(nil), "edge_ctrl.pb.Session")
proto.RegisterType((*ApiSession)(nil), "edge_ctrl.pb.ApiSession")
proto.RegisterType((*ApiSessionAdded)(nil), "edge_ctrl.pb.ApiSessionAdded")
proto.RegisterType((*ApiSessionUpdated)(nil), "edge_ctrl.pb.ApiSessionUpdated")
proto.RegisterType((*ApiSessionRemoved)(nil), "edge_ctrl.pb.ApiSessionRemoved")
proto.RegisterType((*ApiSessionHeartbeat)(nil), "edge_ctrl.pb.ApiSessionHeartbeat")
proto.RegisterType((*SessionAdded)(nil), "edge_ctrl.pb.SessionAdded")
proto.RegisterType((*SessionRemoved)(nil), "edge_ctrl.pb.SessionRemoved")
proto.RegisterType((*SessionUpdated)(nil), "edge_ctrl.pb.SessionUpdated")
}
func init() {
proto.RegisterFile("edge_ctrl.proto", fileDescriptor_23f46a161f139ee1)
}
var fileDescriptor_23f46a161f139ee1 = []byte{
// 700 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x55, 0xdd, 0x6e, 0xd3, 0x4c,
0x10, 0xfd, 0x9c, 0xa4, 0x4d, 0x32, 0xa9, 0x1a, 0x7f, 0x0b, 0x29, 0x69, 0x01, 0xa9, 0x98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