go.ligato.io/vpp-agent/v3@v3.5.0/examples/customize/custom_vpp_plugin/proto/custom/vpp/syslog/syslog.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.1 4 // protoc v3.17.3 5 // source: proto/custom/vpp/syslog/syslog.proto 6 7 package vpp_syslog 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type Sender struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` 29 Collector string `protobuf:"bytes,2,opt,name=collector,proto3" json:"collector,omitempty"` 30 Port int32 `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"` 31 } 32 33 func (x *Sender) Reset() { 34 *x = Sender{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_proto_custom_vpp_syslog_syslog_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *Sender) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*Sender) ProtoMessage() {} 47 48 func (x *Sender) ProtoReflect() protoreflect.Message { 49 mi := &file_proto_custom_vpp_syslog_syslog_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use Sender.ProtoReflect.Descriptor instead. 61 func (*Sender) Descriptor() ([]byte, []int) { 62 return file_proto_custom_vpp_syslog_syslog_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *Sender) GetSource() string { 66 if x != nil { 67 return x.Source 68 } 69 return "" 70 } 71 72 func (x *Sender) GetCollector() string { 73 if x != nil { 74 return x.Collector 75 } 76 return "" 77 } 78 79 func (x *Sender) GetPort() int32 { 80 if x != nil { 81 return x.Port 82 } 83 return 0 84 } 85 86 var File_proto_custom_vpp_syslog_syslog_proto protoreflect.FileDescriptor 87 88 var file_proto_custom_vpp_syslog_syslog_proto_rawDesc = []byte{ 89 0x0a, 0x24, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2f, 0x76, 90 0x70, 0x70, 0x2f, 0x73, 0x79, 0x73, 0x6c, 0x6f, 0x67, 0x2f, 0x73, 0x79, 0x73, 0x6c, 0x6f, 0x67, 91 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x76, 92 0x70, 0x70, 0x2e, 0x73, 0x79, 0x73, 0x6c, 0x6f, 0x67, 0x22, 0x52, 0x0a, 0x06, 0x53, 0x65, 0x6e, 93 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 94 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 95 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 96 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 97 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x63, 0x5a, 98 0x61, 0x67, 0x6f, 0x2e, 0x6c, 0x69, 0x67, 0x61, 0x74, 0x6f, 0x2e, 0x69, 0x6f, 0x2f, 0x76, 0x70, 99 0x70, 0x2d, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x33, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 100 0x6c, 0x65, 0x73, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x69, 0x7a, 0x65, 0x2f, 0x63, 0x75, 101 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x76, 0x70, 0x70, 0x5f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 102 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2f, 0x76, 0x70, 0x70, 103 0x2f, 0x73, 0x79, 0x73, 0x6c, 0x6f, 0x67, 0x3b, 0x76, 0x70, 0x70, 0x5f, 0x73, 0x79, 0x73, 0x6c, 104 0x6f, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 105 } 106 107 var ( 108 file_proto_custom_vpp_syslog_syslog_proto_rawDescOnce sync.Once 109 file_proto_custom_vpp_syslog_syslog_proto_rawDescData = file_proto_custom_vpp_syslog_syslog_proto_rawDesc 110 ) 111 112 func file_proto_custom_vpp_syslog_syslog_proto_rawDescGZIP() []byte { 113 file_proto_custom_vpp_syslog_syslog_proto_rawDescOnce.Do(func() { 114 file_proto_custom_vpp_syslog_syslog_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_custom_vpp_syslog_syslog_proto_rawDescData) 115 }) 116 return file_proto_custom_vpp_syslog_syslog_proto_rawDescData 117 } 118 119 var file_proto_custom_vpp_syslog_syslog_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 120 var file_proto_custom_vpp_syslog_syslog_proto_goTypes = []interface{}{ 121 (*Sender)(nil), // 0: custom.vpp.syslog.Sender 122 } 123 var file_proto_custom_vpp_syslog_syslog_proto_depIdxs = []int32{ 124 0, // [0:0] is the sub-list for method output_type 125 0, // [0:0] is the sub-list for method input_type 126 0, // [0:0] is the sub-list for extension type_name 127 0, // [0:0] is the sub-list for extension extendee 128 0, // [0:0] is the sub-list for field type_name 129 } 130 131 func init() { file_proto_custom_vpp_syslog_syslog_proto_init() } 132 func file_proto_custom_vpp_syslog_syslog_proto_init() { 133 if File_proto_custom_vpp_syslog_syslog_proto != nil { 134 return 135 } 136 if !protoimpl.UnsafeEnabled { 137 file_proto_custom_vpp_syslog_syslog_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 138 switch v := v.(*Sender); i { 139 case 0: 140 return &v.state 141 case 1: 142 return &v.sizeCache 143 case 2: 144 return &v.unknownFields 145 default: 146 return nil 147 } 148 } 149 } 150 type x struct{} 151 out := protoimpl.TypeBuilder{ 152 File: protoimpl.DescBuilder{ 153 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 154 RawDescriptor: file_proto_custom_vpp_syslog_syslog_proto_rawDesc, 155 NumEnums: 0, 156 NumMessages: 1, 157 NumExtensions: 0, 158 NumServices: 0, 159 }, 160 GoTypes: file_proto_custom_vpp_syslog_syslog_proto_goTypes, 161 DependencyIndexes: file_proto_custom_vpp_syslog_syslog_proto_depIdxs, 162 MessageInfos: file_proto_custom_vpp_syslog_syslog_proto_msgTypes, 163 }.Build() 164 File_proto_custom_vpp_syslog_syslog_proto = out.File 165 file_proto_custom_vpp_syslog_syslog_proto_rawDesc = nil 166 file_proto_custom_vpp_syslog_syslog_proto_goTypes = nil 167 file_proto_custom_vpp_syslog_syslog_proto_depIdxs = nil 168 }