github.com/aristanetworks/goarista@v0.0.0-20240514173732-cca2755bbd44/gnmireverse/gnmireverse.pb.go (about) 1 // Copyright (c) 2020 Arista Networks, Inc. 2 // Use of this source code is governed by the Apache License 2.0 3 // that can be found in the COPYING file. 4 5 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.30.0 8 // protoc v4.22.2 9 // source: gnmireverse.proto 10 11 // Package gNMIReverse defines a service specification that reverses the 12 // direction of the dial for gNMI Subscribe and gNMI Get. 13 // 14 // gNMI is a "dial-in" service, where the telemetry collector must make a 15 // connection to the gNMI target. With gNMIReverse, a client can be run 16 // alongside the gNMI target and then "dial-out" to a gNMIReverse server 17 // to send streaming data. 18 19 package gnmireverse 20 21 import ( 22 gnmi "github.com/openconfig/gnmi/proto/gnmi" 23 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 24 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 25 emptypb "google.golang.org/protobuf/types/known/emptypb" 26 reflect "reflect" 27 ) 28 29 const ( 30 // Verify that this generated code is sufficiently up-to-date. 31 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 32 // Verify that runtime/protoimpl is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 34 ) 35 36 var File_gnmireverse_proto protoreflect.FileDescriptor 37 38 var file_gnmireverse_proto_rawDesc = []byte{ 39 0x0a, 0x11, 0x67, 0x6e, 0x6d, 0x69, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x2e, 0x70, 0x72, 40 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x67, 0x6e, 0x6d, 0x69, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 41 0x1a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x70, 0x65, 42 0x6e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x67, 0x6e, 0x6d, 0x69, 0x2f, 0x70, 0x72, 0x6f, 43 0x74, 0x6f, 0x2f, 0x67, 0x6e, 0x6d, 0x69, 0x2f, 0x67, 0x6e, 0x6d, 0x69, 0x2e, 0x70, 0x72, 0x6f, 44 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 45 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 46 0x86, 0x01, 0x0a, 0x0b, 0x67, 0x4e, 0x4d, 0x49, 0x52, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x12, 47 0x3c, 0x0a, 0x07, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x12, 0x17, 0x2e, 0x67, 0x6e, 0x6d, 48 0x69, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 49 0x6e, 0x73, 0x65, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 50 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x28, 0x01, 0x12, 0x39, 0x0a, 51 0x0a, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x73, 0x68, 0x47, 0x65, 0x74, 0x12, 0x11, 0x2e, 0x67, 0x6e, 52 0x6d, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x16, 53 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 54 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x28, 0x01, 0x42, 0x30, 0x5a, 0x2e, 0x67, 0x69, 0x74, 0x68, 55 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x65, 0x74, 56 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x2f, 0x67, 0x6f, 0x61, 0x72, 0x69, 0x73, 0x74, 0x61, 0x2f, 0x67, 57 0x6e, 0x6d, 0x69, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 58 0x6f, 0x33, 59 } 60 61 var file_gnmireverse_proto_goTypes = []interface{}{ 62 (*gnmi.SubscribeResponse)(nil), // 0: gnmi.SubscribeResponse 63 (*gnmi.GetResponse)(nil), // 1: gnmi.GetResponse 64 (*emptypb.Empty)(nil), // 2: google.protobuf.Empty 65 } 66 var file_gnmireverse_proto_depIdxs = []int32{ 67 0, // 0: gnmireverse.gNMIReverse.Publish:input_type -> gnmi.SubscribeResponse 68 1, // 1: gnmireverse.gNMIReverse.PublishGet:input_type -> gnmi.GetResponse 69 2, // 2: gnmireverse.gNMIReverse.Publish:output_type -> google.protobuf.Empty 70 2, // 3: gnmireverse.gNMIReverse.PublishGet:output_type -> google.protobuf.Empty 71 2, // [2:4] is the sub-list for method output_type 72 0, // [0:2] is the sub-list for method input_type 73 0, // [0:0] is the sub-list for extension type_name 74 0, // [0:0] is the sub-list for extension extendee 75 0, // [0:0] is the sub-list for field type_name 76 } 77 78 func init() { file_gnmireverse_proto_init() } 79 func file_gnmireverse_proto_init() { 80 if File_gnmireverse_proto != nil { 81 return 82 } 83 type x struct{} 84 out := protoimpl.TypeBuilder{ 85 File: protoimpl.DescBuilder{ 86 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 87 RawDescriptor: file_gnmireverse_proto_rawDesc, 88 NumEnums: 0, 89 NumMessages: 0, 90 NumExtensions: 0, 91 NumServices: 1, 92 }, 93 GoTypes: file_gnmireverse_proto_goTypes, 94 DependencyIndexes: file_gnmireverse_proto_depIdxs, 95 }.Build() 96 File_gnmireverse_proto = out.File 97 file_gnmireverse_proto_rawDesc = nil 98 file_gnmireverse_proto_goTypes = nil 99 file_gnmireverse_proto_depIdxs = nil 100 }