github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/client/v4/notification_channel/notification_channel_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/monitoring/proto/v4/notification_channel_custom.proto 3 // DO NOT EDIT!!! 4 5 package notification_channel_client 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 notification_channel "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/notification_channel" 21 project "github.com/cloudwan/edgelq-sdk/monitoring/resources/v4/project" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = ¬ification_channel.NotificationChannel{} 39 _ = &project.Project{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 // Request message for method 50 // [TestNotificationChannel][ntt.monitoring.v4.TestNotificationChannel] 51 type TestNotificationChannelRequest struct { 52 state protoimpl.MessageState 53 sizeCache protoimpl.SizeCache 54 unknownFields protoimpl.UnknownFields 55 // Name of ntt.monitoring.v4.NotificationChannel 56 Name *notification_channel.Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 57 } 58 59 func (m *TestNotificationChannelRequest) Reset() { 60 *m = TestNotificationChannelRequest{} 61 if protoimpl.UnsafeEnabled { 62 mi := &edgelq_monitoring_proto_v4_notification_channel_custom_proto_msgTypes[0] 63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 64 ms.StoreMessageInfo(mi) 65 } 66 } 67 68 func (m *TestNotificationChannelRequest) String() string { 69 return protoimpl.X.MessageStringOf(m) 70 } 71 72 func (*TestNotificationChannelRequest) ProtoMessage() {} 73 74 func (m *TestNotificationChannelRequest) ProtoReflect() preflect.Message { 75 mi := &edgelq_monitoring_proto_v4_notification_channel_custom_proto_msgTypes[0] 76 if protoimpl.UnsafeEnabled && m != nil { 77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 78 if ms.LoadMessageInfo() == nil { 79 ms.StoreMessageInfo(mi) 80 } 81 return ms 82 } 83 return mi.MessageOf(m) 84 } 85 86 func (*TestNotificationChannelRequest) GotenMessage() {} 87 88 // Deprecated, Use TestNotificationChannelRequest.ProtoReflect.Descriptor instead. 89 func (*TestNotificationChannelRequest) Descriptor() ([]byte, []int) { 90 return edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDescGZIP(), []int{0} 91 } 92 93 func (m *TestNotificationChannelRequest) Unmarshal(b []byte) error { 94 return proto.Unmarshal(b, m) 95 } 96 97 func (m *TestNotificationChannelRequest) Marshal() ([]byte, error) { 98 return proto.Marshal(m) 99 } 100 101 func (m *TestNotificationChannelRequest) MarshalJSON() ([]byte, error) { 102 return protojson.MarshalOptions{}.Marshal(m) 103 } 104 105 func (m *TestNotificationChannelRequest) UnmarshalJSON(data []byte) error { 106 return protojson.Unmarshal(data, m) 107 } 108 109 func (m *TestNotificationChannelRequest) GetName() *notification_channel.Name { 110 if m != nil { 111 return m.Name 112 } 113 return nil 114 } 115 116 func (m *TestNotificationChannelRequest) SetName(fv *notification_channel.Name) { 117 if m == nil { 118 panic(fmt.Errorf("can't set %s on nil %s", "Name", "TestNotificationChannelRequest")) 119 } 120 m.Name = fv 121 } 122 123 var edgelq_monitoring_proto_v4_notification_channel_custom_proto preflect.FileDescriptor 124 125 var edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDesc = []byte{ 126 0x0a, 0x3c, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 127 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x6e, 0x6f, 0x74, 128 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 129 0x6c, 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 130 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 131 0x34, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 132 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 133 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 134 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 135 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 136 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 137 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 138 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 139 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35, 0x65, 0x64, 0x67, 0x65, 0x6c, 140 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 141 0x74, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 142 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 143 0x1a, 0x3c, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 144 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x34, 0x2f, 0x6e, 0x6f, 0x74, 145 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 146 0x6c, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x51, 147 0x0a, 0x1e, 0x54, 0x65, 0x73, 0x74, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 148 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 149 0x12, 0x2f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1b, 150 0xb2, 0xda, 0x21, 0x17, 0x0a, 0x15, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 151 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 152 0x65, 0x42, 0xa2, 0x01, 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 153 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 154 0x76, 0x34, 0x42, 0x1e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 155 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 156 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x60, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 157 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 158 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6c, 0x69, 0x65, 159 0x6e, 0x74, 0x2f, 0x76, 0x34, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 160 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x6e, 0x6f, 0x74, 0x69, 0x66, 161 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 162 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 163 } 164 165 var ( 166 edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDescOnce sync.Once 167 edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDescData = edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDesc 168 ) 169 170 func edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDescGZIP() []byte { 171 edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDescOnce.Do(func() { 172 edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDescData) 173 }) 174 return edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDescData 175 } 176 177 var edgelq_monitoring_proto_v4_notification_channel_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 178 var edgelq_monitoring_proto_v4_notification_channel_custom_proto_goTypes = []interface{}{ 179 (*TestNotificationChannelRequest)(nil), // 0: ntt.monitoring.v4.TestNotificationChannelRequest 180 } 181 var edgelq_monitoring_proto_v4_notification_channel_custom_proto_depIdxs = []int32{ 182 0, // [0:0] is the sub-list for method output_type 183 0, // [0:0] is the sub-list for method input_type 184 0, // [0:0] is the sub-list for extension type_name 185 0, // [0:0] is the sub-list for extension extendee 186 0, // [0:0] is the sub-list for field type_name 187 } 188 189 func init() { edgelq_monitoring_proto_v4_notification_channel_custom_proto_init() } 190 func edgelq_monitoring_proto_v4_notification_channel_custom_proto_init() { 191 if edgelq_monitoring_proto_v4_notification_channel_custom_proto != nil { 192 return 193 } 194 if !protoimpl.UnsafeEnabled { 195 196 edgelq_monitoring_proto_v4_notification_channel_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 197 switch v := v.(*TestNotificationChannelRequest); i { 198 case 0: 199 return &v.state 200 case 1: 201 return &v.sizeCache 202 case 2: 203 return &v.unknownFields 204 default: 205 return nil 206 } 207 } 208 } 209 210 type x struct{} 211 out := protoimpl.TypeBuilder{ 212 File: protoimpl.DescBuilder{ 213 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 214 RawDescriptor: edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDesc, 215 NumEnums: 0, 216 NumMessages: 1, 217 NumExtensions: 0, 218 NumServices: 0, 219 }, 220 GoTypes: edgelq_monitoring_proto_v4_notification_channel_custom_proto_goTypes, 221 DependencyIndexes: edgelq_monitoring_proto_v4_notification_channel_custom_proto_depIdxs, 222 MessageInfos: edgelq_monitoring_proto_v4_notification_channel_custom_proto_msgTypes, 223 }.Build() 224 edgelq_monitoring_proto_v4_notification_channel_custom_proto = out.File 225 edgelq_monitoring_proto_v4_notification_channel_custom_proto_rawDesc = nil 226 edgelq_monitoring_proto_v4_notification_channel_custom_proto_goTypes = nil 227 edgelq_monitoring_proto_v4_notification_channel_custom_proto_depIdxs = nil 228 }