Files
cunicu/pkg/proto/rpc/signaling.pb.go
Steffen Vogel 3837043749 update generated protobuf code
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2022-09-08 21:12:54 +02:00

312 lines
11 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.6.1
// source: rpc/signaling.proto
package rpc
import (
proto "github.com/stv0g/cunicu/pkg/proto"
signaling "github.com/stv0g/cunicu/pkg/proto/signaling"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type GetSignalingMessageParams struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Interface name
Intf string `protobuf:"bytes,1,opt,name=intf,proto3" json:"intf,omitempty"`
// Public key of peer
Peer []byte `protobuf:"bytes,2,opt,name=peer,proto3" json:"peer,omitempty"`
}
func (x *GetSignalingMessageParams) Reset() {
*x = GetSignalingMessageParams{}
if protoimpl.UnsafeEnabled {
mi := &file_rpc_signaling_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetSignalingMessageParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSignalingMessageParams) ProtoMessage() {}
func (x *GetSignalingMessageParams) ProtoReflect() protoreflect.Message {
mi := &file_rpc_signaling_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetSignalingMessageParams.ProtoReflect.Descriptor instead.
func (*GetSignalingMessageParams) Descriptor() ([]byte, []int) {
return file_rpc_signaling_proto_rawDescGZIP(), []int{0}
}
func (x *GetSignalingMessageParams) GetIntf() string {
if x != nil {
return x.Intf
}
return ""
}
func (x *GetSignalingMessageParams) GetPeer() []byte {
if x != nil {
return x.Peer
}
return nil
}
type GetSignalingMessageResp struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Envelope *signaling.Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
}
func (x *GetSignalingMessageResp) Reset() {
*x = GetSignalingMessageResp{}
if protoimpl.UnsafeEnabled {
mi := &file_rpc_signaling_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetSignalingMessageResp) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetSignalingMessageResp) ProtoMessage() {}
func (x *GetSignalingMessageResp) ProtoReflect() protoreflect.Message {
mi := &file_rpc_signaling_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetSignalingMessageResp.ProtoReflect.Descriptor instead.
func (*GetSignalingMessageResp) Descriptor() ([]byte, []int) {
return file_rpc_signaling_proto_rawDescGZIP(), []int{1}
}
func (x *GetSignalingMessageResp) GetEnvelope() *signaling.Envelope {
if x != nil {
return x.Envelope
}
return nil
}
type PutSignalingMessageParams struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Envelope *signaling.Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
}
func (x *PutSignalingMessageParams) Reset() {
*x = PutSignalingMessageParams{}
if protoimpl.UnsafeEnabled {
mi := &file_rpc_signaling_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PutSignalingMessageParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PutSignalingMessageParams) ProtoMessage() {}
func (x *PutSignalingMessageParams) ProtoReflect() protoreflect.Message {
mi := &file_rpc_signaling_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PutSignalingMessageParams.ProtoReflect.Descriptor instead.
func (*PutSignalingMessageParams) Descriptor() ([]byte, []int) {
return file_rpc_signaling_proto_rawDescGZIP(), []int{2}
}
func (x *PutSignalingMessageParams) GetEnvelope() *signaling.Envelope {
if x != nil {
return x.Envelope
}
return nil
}
var File_rpc_signaling_proto protoreflect.FileDescriptor
var file_rpc_signaling_proto_rawDesc = []byte{
0x0a, 0x13, 0x72, 0x70, 0x63, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x63, 0x75, 0x6e, 0x69, 0x63, 0x75, 0x2e, 0x72, 0x70,
0x63, 0x1a, 0x0c, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x19, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x69, 0x67, 0x6e, 0x61,
0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x43, 0x0a, 0x19, 0x47, 0x65,
0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x69, 0x6e, 0x74, 0x66, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x69, 0x6e, 0x74, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x70,
0x65, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x70, 0x65, 0x65, 0x72, 0x22,
0x51, 0x0a, 0x17, 0x47, 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d,
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x36, 0x0a, 0x08, 0x65, 0x6e,
0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63,
0x75, 0x6e, 0x69, 0x63, 0x75, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x2e,
0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x52, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f,
0x70, 0x65, 0x22, 0x53, 0x0a, 0x19, 0x50, 0x75, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69,
0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12,
0x36, 0x0a, 0x08, 0x65, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x75, 0x6e, 0x69, 0x63, 0x75, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x61,
0x6c, 0x69, 0x6e, 0x67, 0x2e, 0x45, 0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x52, 0x08, 0x65,
0x6e, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x65, 0x32, 0xbf, 0x01, 0x0a, 0x09, 0x53, 0x69, 0x67, 0x6e,
0x61, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x63, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e,
0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x25, 0x2e, 0x63,
0x75, 0x6e, 0x69, 0x63, 0x75, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x67,
0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72,
0x61, 0x6d, 0x73, 0x1a, 0x23, 0x2e, 0x63, 0x75, 0x6e, 0x69, 0x63, 0x75, 0x2e, 0x72, 0x70, 0x63,
0x2e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73,
0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x4d, 0x0a, 0x13, 0x50, 0x75,
0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
0x65, 0x12, 0x25, 0x2e, 0x63, 0x75, 0x6e, 0x69, 0x63, 0x75, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x50,
0x75, 0x74, 0x53, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61,
0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x0d, 0x2e, 0x63, 0x75, 0x6e, 0x69, 0x63,
0x75, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x42, 0x27, 0x5a, 0x25, 0x67, 0x69, 0x74,
0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x76, 0x30, 0x67, 0x2f, 0x63, 0x75,
0x6e, 0x69, 0x63, 0x75, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72,
0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_rpc_signaling_proto_rawDescOnce sync.Once
file_rpc_signaling_proto_rawDescData = file_rpc_signaling_proto_rawDesc
)
func file_rpc_signaling_proto_rawDescGZIP() []byte {
file_rpc_signaling_proto_rawDescOnce.Do(func() {
file_rpc_signaling_proto_rawDescData = protoimpl.X.CompressGZIP(file_rpc_signaling_proto_rawDescData)
})
return file_rpc_signaling_proto_rawDescData
}
var file_rpc_signaling_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_rpc_signaling_proto_goTypes = []interface{}{
(*GetSignalingMessageParams)(nil), // 0: cunicu.rpc.GetSignalingMessageParams
(*GetSignalingMessageResp)(nil), // 1: cunicu.rpc.GetSignalingMessageResp
(*PutSignalingMessageParams)(nil), // 2: cunicu.rpc.PutSignalingMessageParams
(*signaling.Envelope)(nil), // 3: cunicu.signaling.Envelope
(*proto.Empty)(nil), // 4: cunicu.Empty
}
var file_rpc_signaling_proto_depIdxs = []int32{
3, // 0: cunicu.rpc.GetSignalingMessageResp.envelope:type_name -> cunicu.signaling.Envelope
3, // 1: cunicu.rpc.PutSignalingMessageParams.envelope:type_name -> cunicu.signaling.Envelope
0, // 2: cunicu.rpc.Signaling.GetSignalingMessage:input_type -> cunicu.rpc.GetSignalingMessageParams
2, // 3: cunicu.rpc.Signaling.PutSignalingMessage:input_type -> cunicu.rpc.PutSignalingMessageParams
1, // 4: cunicu.rpc.Signaling.GetSignalingMessage:output_type -> cunicu.rpc.GetSignalingMessageResp
4, // 5: cunicu.rpc.Signaling.PutSignalingMessage:output_type -> cunicu.Empty
4, // [4:6] is the sub-list for method output_type
2, // [2:4] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_rpc_signaling_proto_init() }
func file_rpc_signaling_proto_init() {
if File_rpc_signaling_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_rpc_signaling_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetSignalingMessageParams); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rpc_signaling_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetSignalingMessageResp); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_rpc_signaling_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PutSignalingMessageParams); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_rpc_signaling_proto_rawDesc,
NumEnums: 0,
NumMessages: 3,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_rpc_signaling_proto_goTypes,
DependencyIndexes: file_rpc_signaling_proto_depIdxs,
MessageInfos: file_rpc_signaling_proto_msgTypes,
}.Build()
File_rpc_signaling_proto = out.File
file_rpc_signaling_proto_rawDesc = nil
file_rpc_signaling_proto_goTypes = nil
file_rpc_signaling_proto_depIdxs = nil
}