github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/client/v3/notification_channel/notification_channel_service.pb.descriptors.go (about)

     1  // Code generated by protoc-gen-goten-client
     2  // API: NotificationChannelService
     3  // DO NOT EDIT!!!
     4  
     5  package notification_channel_client
     6  
     7  import (
     8  	"google.golang.org/protobuf/proto"
     9  
    10  	gotenclient "github.com/cloudwan/goten-sdk/runtime/client"
    11  	gotenresource "github.com/cloudwan/goten-sdk/runtime/resource"
    12  )
    13  
    14  // proto imports
    15  import (
    16  	notification_channel "github.com/cloudwan/edgelq-sdk/monitoring/resources/v3/notification_channel"
    17  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    18  )
    19  
    20  // Reference imports to suppress errors if they are not otherwise used.
    21  var (
    22  	_ = new(proto.Message)
    23  	_ = new(gotenclient.MethodDescriptor)
    24  	_ = gotenresource.WildcardId
    25  )
    26  
    27  // make sure we're using proto imports
    28  var (
    29  	_ = &notification_channel.NotificationChannel{}
    30  	_ = &emptypb.Empty{}
    31  )
    32  
    33  var (
    34  	descriptorsInitialized                 bool
    35  	notificationChannelServiceDescriptor   *NotificationChannelServiceDescriptor
    36  	getNotificationChannelDescriptor       *GetNotificationChannelDescriptor
    37  	batchGetNotificationChannelsDescriptor *BatchGetNotificationChannelsDescriptor
    38  	listNotificationChannelsDescriptor     *ListNotificationChannelsDescriptor
    39  	watchNotificationChannelDescriptor     *WatchNotificationChannelDescriptor
    40  	watchNotificationChannelsDescriptor    *WatchNotificationChannelsDescriptor
    41  	createNotificationChannelDescriptor    *CreateNotificationChannelDescriptor
    42  	updateNotificationChannelDescriptor    *UpdateNotificationChannelDescriptor
    43  	deleteNotificationChannelDescriptor    *DeleteNotificationChannelDescriptor
    44  	testNotificationChannelDescriptor      *TestNotificationChannelDescriptor
    45  )
    46  
    47  type GetNotificationChannelDescriptor struct{}
    48  
    49  type GetNotificationChannelDescriptorClientMsgHandle struct{}
    50  
    51  type GetNotificationChannelDescriptorServerMsgHandle struct{}
    52  
    53  func (d *GetNotificationChannelDescriptor) NewEmptyClientMsg() proto.Message {
    54  	return &GetNotificationChannelRequest{}
    55  }
    56  
    57  func (d *GetNotificationChannelDescriptor) NewEmptyServerMsg() proto.Message {
    58  	return &notification_channel.NotificationChannel{}
    59  }
    60  
    61  func (d *GetNotificationChannelDescriptor) IsUnary() bool {
    62  	return true
    63  }
    64  
    65  func (d *GetNotificationChannelDescriptor) IsClientStream() bool {
    66  	return false
    67  }
    68  
    69  func (d *GetNotificationChannelDescriptor) IsServerStream() bool {
    70  	return false
    71  }
    72  
    73  func (d *GetNotificationChannelDescriptor) IsCollection() bool {
    74  	return false
    75  }
    76  
    77  func (d *GetNotificationChannelDescriptor) IsPlural() bool {
    78  	return false
    79  }
    80  
    81  func (d *GetNotificationChannelDescriptor) HasResource() bool {
    82  	return true
    83  }
    84  
    85  func (d *GetNotificationChannelDescriptor) RequestHasResourceBody() bool {
    86  	return false
    87  }
    88  
    89  func (d *GetNotificationChannelDescriptor) GetVerb() string {
    90  	return "get"
    91  }
    92  
    93  func (d *GetNotificationChannelDescriptor) GetMethodName() string {
    94  	return "GetNotificationChannel"
    95  }
    96  
    97  func (d *GetNotificationChannelDescriptor) GetFullMethodName() string {
    98  	return "/ntt.monitoring.v3.NotificationChannelService/GetNotificationChannel"
    99  }
   100  
   101  func (d *GetNotificationChannelDescriptor) GetProtoPkgName() string {
   102  	return "ntt.monitoring.v3"
   103  }
   104  
   105  func (d *GetNotificationChannelDescriptor) GetApiName() string {
   106  	return "NotificationChannelService"
   107  }
   108  
   109  func (d *GetNotificationChannelDescriptor) GetServiceDomain() string {
   110  	return "monitoring.edgelq.com"
   111  }
   112  
   113  func (d *GetNotificationChannelDescriptor) GetServiceVersion() string {
   114  	return "v3"
   115  }
   116  
   117  func (d *GetNotificationChannelDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor {
   118  	return notificationChannelServiceDescriptor
   119  }
   120  
   121  func (d *GetNotificationChannelDescriptor) GetResourceDescriptor() gotenresource.Descriptor {
   122  	return notification_channel.GetDescriptor()
   123  }
   124  
   125  func (d *GetNotificationChannelDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle {
   126  	return &GetNotificationChannelDescriptorClientMsgHandle{}
   127  }
   128  
   129  func (d *GetNotificationChannelDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle {
   130  	return &GetNotificationChannelDescriptorServerMsgHandle{}
   131  }
   132  
   133  func (h *GetNotificationChannelDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
   134  	typedMsg := msg.(*GetNotificationChannelRequest)
   135  	var asInterface interface{} = h
   136  	override, ok := asInterface.(interface {
   137  		OverrideExtractResourceName(*GetNotificationChannelRequest) *notification_channel.Name
   138  	})
   139  	if ok {
   140  		return override.OverrideExtractResourceName(typedMsg)
   141  	}
   142  	{
   143  		if name := typedMsg.GetName(); name != nil {
   144  			return name
   145  		}
   146  	}
   147  	return (*notification_channel.Name)(nil)
   148  }
   149  
   150  func (h *GetNotificationChannelDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
   151  	typedMsg := msg.(*GetNotificationChannelRequest)
   152  	var asInterface interface{} = h
   153  	override, ok := asInterface.(interface {
   154  		OverrideExtractResourceNames(*GetNotificationChannelRequest) []*notification_channel.Name
   155  	})
   156  	if ok {
   157  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
   158  	}
   159  	return nil
   160  }
   161  
   162  func (h *GetNotificationChannelDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
   163  	typedMsg := msg.(*GetNotificationChannelRequest)
   164  	var asInterface interface{} = h
   165  	override, ok := asInterface.(interface {
   166  		OverrideExtractCollectionName(*GetNotificationChannelRequest) *notification_channel.ParentName
   167  	})
   168  	if ok {
   169  		return override.OverrideExtractCollectionName(typedMsg)
   170  	}
   171  	return nil
   172  }
   173  
   174  func (h *GetNotificationChannelDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
   175  	typedMsg := msg.(*GetNotificationChannelRequest)
   176  	var asInterface interface{} = h
   177  	override, ok := asInterface.(interface {
   178  		OverrideExtractResourceBody(*GetNotificationChannelRequest) *notification_channel.NotificationChannel
   179  	})
   180  	if ok {
   181  		return override.OverrideExtractResourceBody(typedMsg)
   182  	}
   183  	return nil
   184  }
   185  
   186  func (h *GetNotificationChannelDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
   187  	typedMsg := msg.(*GetNotificationChannelRequest)
   188  	var asInterface interface{} = h
   189  	override, ok := asInterface.(interface {
   190  		OverrideExtractResourceBodies(*GetNotificationChannelRequest) []*notification_channel.NotificationChannel
   191  	})
   192  	if ok {
   193  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
   194  	}
   195  	return nil
   196  }
   197  
   198  func (h *GetNotificationChannelDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
   199  	typedMsg := msg.(*notification_channel.NotificationChannel)
   200  	var asInterface interface{} = h
   201  	override, ok := asInterface.(interface {
   202  		OverrideExtractResourceName(*notification_channel.NotificationChannel) *notification_channel.Name
   203  	})
   204  	if ok {
   205  		return override.OverrideExtractResourceName(typedMsg)
   206  	}
   207  	{
   208  		if name := typedMsg.GetName(); name != nil {
   209  			return name
   210  		}
   211  	}
   212  	return (*notification_channel.Name)(nil)
   213  }
   214  
   215  func (h *GetNotificationChannelDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
   216  	typedMsg := msg.(*notification_channel.NotificationChannel)
   217  	var asInterface interface{} = h
   218  	override, ok := asInterface.(interface {
   219  		OverrideExtractResourceNames(*notification_channel.NotificationChannel) []*notification_channel.Name
   220  	})
   221  	if ok {
   222  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
   223  	}
   224  	return nil
   225  }
   226  
   227  func (h *GetNotificationChannelDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
   228  	typedMsg := msg.(*notification_channel.NotificationChannel)
   229  	var asInterface interface{} = h
   230  	override, ok := asInterface.(interface {
   231  		OverrideExtractCollectionName(*notification_channel.NotificationChannel) *notification_channel.ParentName
   232  	})
   233  	if ok {
   234  		return override.OverrideExtractCollectionName(typedMsg)
   235  	}
   236  	return nil
   237  }
   238  
   239  func (h *GetNotificationChannelDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
   240  	return msg.(*notification_channel.NotificationChannel)
   241  }
   242  
   243  func (h *GetNotificationChannelDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
   244  	typedMsg := msg.(*notification_channel.NotificationChannel)
   245  	var asInterface interface{} = h
   246  	override, ok := asInterface.(interface {
   247  		OverrideExtractResourceBodies(*notification_channel.NotificationChannel) []*notification_channel.NotificationChannel
   248  	})
   249  	if ok {
   250  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
   251  	}
   252  	return nil
   253  }
   254  
   255  func GetGetNotificationChannelDescriptor() *GetNotificationChannelDescriptor {
   256  	return getNotificationChannelDescriptor
   257  }
   258  
   259  type BatchGetNotificationChannelsDescriptor struct{}
   260  
   261  type BatchGetNotificationChannelsDescriptorClientMsgHandle struct{}
   262  
   263  type BatchGetNotificationChannelsDescriptorServerMsgHandle struct{}
   264  
   265  func (d *BatchGetNotificationChannelsDescriptor) NewEmptyClientMsg() proto.Message {
   266  	return &BatchGetNotificationChannelsRequest{}
   267  }
   268  
   269  func (d *BatchGetNotificationChannelsDescriptor) NewEmptyServerMsg() proto.Message {
   270  	return &BatchGetNotificationChannelsResponse{}
   271  }
   272  
   273  func (d *BatchGetNotificationChannelsDescriptor) IsUnary() bool {
   274  	return true
   275  }
   276  
   277  func (d *BatchGetNotificationChannelsDescriptor) IsClientStream() bool {
   278  	return false
   279  }
   280  
   281  func (d *BatchGetNotificationChannelsDescriptor) IsServerStream() bool {
   282  	return false
   283  }
   284  
   285  func (d *BatchGetNotificationChannelsDescriptor) IsCollection() bool {
   286  	return false
   287  }
   288  
   289  func (d *BatchGetNotificationChannelsDescriptor) IsPlural() bool {
   290  	return true
   291  }
   292  
   293  func (d *BatchGetNotificationChannelsDescriptor) HasResource() bool {
   294  	return true
   295  }
   296  
   297  func (d *BatchGetNotificationChannelsDescriptor) RequestHasResourceBody() bool {
   298  	return false
   299  }
   300  
   301  func (d *BatchGetNotificationChannelsDescriptor) GetVerb() string {
   302  	return "batchGet"
   303  }
   304  
   305  func (d *BatchGetNotificationChannelsDescriptor) GetMethodName() string {
   306  	return "BatchGetNotificationChannels"
   307  }
   308  
   309  func (d *BatchGetNotificationChannelsDescriptor) GetFullMethodName() string {
   310  	return "/ntt.monitoring.v3.NotificationChannelService/BatchGetNotificationChannels"
   311  }
   312  
   313  func (d *BatchGetNotificationChannelsDescriptor) GetProtoPkgName() string {
   314  	return "ntt.monitoring.v3"
   315  }
   316  
   317  func (d *BatchGetNotificationChannelsDescriptor) GetApiName() string {
   318  	return "NotificationChannelService"
   319  }
   320  
   321  func (d *BatchGetNotificationChannelsDescriptor) GetServiceDomain() string {
   322  	return "monitoring.edgelq.com"
   323  }
   324  
   325  func (d *BatchGetNotificationChannelsDescriptor) GetServiceVersion() string {
   326  	return "v3"
   327  }
   328  
   329  func (d *BatchGetNotificationChannelsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor {
   330  	return notificationChannelServiceDescriptor
   331  }
   332  
   333  func (d *BatchGetNotificationChannelsDescriptor) GetResourceDescriptor() gotenresource.Descriptor {
   334  	return notification_channel.GetDescriptor()
   335  }
   336  
   337  func (d *BatchGetNotificationChannelsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle {
   338  	return &BatchGetNotificationChannelsDescriptorClientMsgHandle{}
   339  }
   340  
   341  func (d *BatchGetNotificationChannelsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle {
   342  	return &BatchGetNotificationChannelsDescriptorServerMsgHandle{}
   343  }
   344  
   345  func (h *BatchGetNotificationChannelsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
   346  	typedMsg := msg.(*BatchGetNotificationChannelsRequest)
   347  	var asInterface interface{} = h
   348  	override, ok := asInterface.(interface {
   349  		OverrideExtractResourceName(*BatchGetNotificationChannelsRequest) *notification_channel.Name
   350  	})
   351  	if ok {
   352  		return override.OverrideExtractResourceName(typedMsg)
   353  	}
   354  	return nil
   355  }
   356  
   357  func (h *BatchGetNotificationChannelsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
   358  	typedMsg := msg.(*BatchGetNotificationChannelsRequest)
   359  	var asInterface interface{} = h
   360  	override, ok := asInterface.(interface {
   361  		OverrideExtractResourceNames(*BatchGetNotificationChannelsRequest) []*notification_channel.Name
   362  	})
   363  	if ok {
   364  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
   365  	}
   366  	{
   367  		if names := typedMsg.GetNames(); len(names) > 0 {
   368  			return notification_channel.NotificationChannelNameList(names)
   369  		}
   370  	}
   371  	return (notification_channel.NotificationChannelNameList)(nil)
   372  }
   373  
   374  func (h *BatchGetNotificationChannelsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
   375  	typedMsg := msg.(*BatchGetNotificationChannelsRequest)
   376  	var asInterface interface{} = h
   377  	override, ok := asInterface.(interface {
   378  		OverrideExtractCollectionName(*BatchGetNotificationChannelsRequest) *notification_channel.ParentName
   379  	})
   380  	if ok {
   381  		return override.OverrideExtractCollectionName(typedMsg)
   382  	}
   383  	return nil
   384  }
   385  
   386  func (h *BatchGetNotificationChannelsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
   387  	typedMsg := msg.(*BatchGetNotificationChannelsRequest)
   388  	var asInterface interface{} = h
   389  	override, ok := asInterface.(interface {
   390  		OverrideExtractResourceBody(*BatchGetNotificationChannelsRequest) *notification_channel.NotificationChannel
   391  	})
   392  	if ok {
   393  		return override.OverrideExtractResourceBody(typedMsg)
   394  	}
   395  	return nil
   396  }
   397  
   398  func (h *BatchGetNotificationChannelsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
   399  	typedMsg := msg.(*BatchGetNotificationChannelsRequest)
   400  	var asInterface interface{} = h
   401  	override, ok := asInterface.(interface {
   402  		OverrideExtractResourceBodies(*BatchGetNotificationChannelsRequest) []*notification_channel.NotificationChannel
   403  	})
   404  	if ok {
   405  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
   406  	}
   407  	return nil
   408  }
   409  
   410  func (h *BatchGetNotificationChannelsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
   411  	typedMsg := msg.(*BatchGetNotificationChannelsResponse)
   412  	var asInterface interface{} = h
   413  	override, ok := asInterface.(interface {
   414  		OverrideExtractResourceName(*BatchGetNotificationChannelsResponse) *notification_channel.Name
   415  	})
   416  	if ok {
   417  		return override.OverrideExtractResourceName(typedMsg)
   418  	}
   419  	return nil
   420  }
   421  
   422  func (h *BatchGetNotificationChannelsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
   423  	typedMsg := msg.(*BatchGetNotificationChannelsResponse)
   424  	var asInterface interface{} = h
   425  	override, ok := asInterface.(interface {
   426  		OverrideExtractResourceNames(*BatchGetNotificationChannelsResponse) []*notification_channel.Name
   427  	})
   428  	if ok {
   429  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
   430  	}
   431  	{
   432  		if resources := typedMsg.GetNotificationChannels(); len(resources) > 0 {
   433  			list := make(notification_channel.NotificationChannelNameList, 0, len(resources))
   434  			for _, res := range resources {
   435  				list = append(list, res.GetName())
   436  			}
   437  			return list
   438  		}
   439  	}
   440  	return (notification_channel.NotificationChannelNameList)(nil)
   441  }
   442  
   443  func (h *BatchGetNotificationChannelsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
   444  	typedMsg := msg.(*BatchGetNotificationChannelsResponse)
   445  	var asInterface interface{} = h
   446  	override, ok := asInterface.(interface {
   447  		OverrideExtractCollectionName(*BatchGetNotificationChannelsResponse) *notification_channel.ParentName
   448  	})
   449  	if ok {
   450  		return override.OverrideExtractCollectionName(typedMsg)
   451  	}
   452  	return nil
   453  }
   454  
   455  func (h *BatchGetNotificationChannelsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
   456  	typedMsg := msg.(*BatchGetNotificationChannelsResponse)
   457  	var asInterface interface{} = h
   458  	override, ok := asInterface.(interface {
   459  		OverrideExtractResourceBody(*BatchGetNotificationChannelsResponse) *notification_channel.NotificationChannel
   460  	})
   461  	if ok {
   462  		return override.OverrideExtractResourceBody(typedMsg)
   463  	}
   464  	return nil
   465  }
   466  
   467  func (h *BatchGetNotificationChannelsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
   468  	typedMsg := msg.(*BatchGetNotificationChannelsResponse)
   469  	var asInterface interface{} = h
   470  	override, ok := asInterface.(interface {
   471  		OverrideExtractResourceBodies(*BatchGetNotificationChannelsResponse) []*notification_channel.NotificationChannel
   472  	})
   473  	if ok {
   474  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
   475  	}
   476  	{
   477  		if resources := typedMsg.GetNotificationChannels(); len(resources) > 0 {
   478  			return notification_channel.NotificationChannelList(resources)
   479  		}
   480  	}
   481  	return (notification_channel.NotificationChannelList)(nil)
   482  }
   483  
   484  func GetBatchGetNotificationChannelsDescriptor() *BatchGetNotificationChannelsDescriptor {
   485  	return batchGetNotificationChannelsDescriptor
   486  }
   487  
   488  type ListNotificationChannelsDescriptor struct{}
   489  
   490  type ListNotificationChannelsDescriptorClientMsgHandle struct{}
   491  
   492  type ListNotificationChannelsDescriptorServerMsgHandle struct{}
   493  
   494  func (d *ListNotificationChannelsDescriptor) NewEmptyClientMsg() proto.Message {
   495  	return &ListNotificationChannelsRequest{}
   496  }
   497  
   498  func (d *ListNotificationChannelsDescriptor) NewEmptyServerMsg() proto.Message {
   499  	return &ListNotificationChannelsResponse{}
   500  }
   501  
   502  func (d *ListNotificationChannelsDescriptor) IsUnary() bool {
   503  	return true
   504  }
   505  
   506  func (d *ListNotificationChannelsDescriptor) IsClientStream() bool {
   507  	return false
   508  }
   509  
   510  func (d *ListNotificationChannelsDescriptor) IsServerStream() bool {
   511  	return false
   512  }
   513  
   514  func (d *ListNotificationChannelsDescriptor) IsCollection() bool {
   515  	return true
   516  }
   517  
   518  func (d *ListNotificationChannelsDescriptor) IsPlural() bool {
   519  	return true
   520  }
   521  
   522  func (d *ListNotificationChannelsDescriptor) HasResource() bool {
   523  	return true
   524  }
   525  
   526  func (d *ListNotificationChannelsDescriptor) RequestHasResourceBody() bool {
   527  	return false
   528  }
   529  
   530  func (d *ListNotificationChannelsDescriptor) GetVerb() string {
   531  	return "list"
   532  }
   533  
   534  func (d *ListNotificationChannelsDescriptor) GetMethodName() string {
   535  	return "ListNotificationChannels"
   536  }
   537  
   538  func (d *ListNotificationChannelsDescriptor) GetFullMethodName() string {
   539  	return "/ntt.monitoring.v3.NotificationChannelService/ListNotificationChannels"
   540  }
   541  
   542  func (d *ListNotificationChannelsDescriptor) GetProtoPkgName() string {
   543  	return "ntt.monitoring.v3"
   544  }
   545  
   546  func (d *ListNotificationChannelsDescriptor) GetApiName() string {
   547  	return "NotificationChannelService"
   548  }
   549  
   550  func (d *ListNotificationChannelsDescriptor) GetServiceDomain() string {
   551  	return "monitoring.edgelq.com"
   552  }
   553  
   554  func (d *ListNotificationChannelsDescriptor) GetServiceVersion() string {
   555  	return "v3"
   556  }
   557  
   558  func (d *ListNotificationChannelsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor {
   559  	return notificationChannelServiceDescriptor
   560  }
   561  
   562  func (d *ListNotificationChannelsDescriptor) GetResourceDescriptor() gotenresource.Descriptor {
   563  	return notification_channel.GetDescriptor()
   564  }
   565  
   566  func (d *ListNotificationChannelsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle {
   567  	return &ListNotificationChannelsDescriptorClientMsgHandle{}
   568  }
   569  
   570  func (d *ListNotificationChannelsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle {
   571  	return &ListNotificationChannelsDescriptorServerMsgHandle{}
   572  }
   573  
   574  func (h *ListNotificationChannelsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
   575  	typedMsg := msg.(*ListNotificationChannelsRequest)
   576  	var asInterface interface{} = h
   577  	override, ok := asInterface.(interface {
   578  		OverrideExtractResourceName(*ListNotificationChannelsRequest) *notification_channel.Name
   579  	})
   580  	if ok {
   581  		return override.OverrideExtractResourceName(typedMsg)
   582  	}
   583  	return nil
   584  }
   585  
   586  func (h *ListNotificationChannelsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
   587  	typedMsg := msg.(*ListNotificationChannelsRequest)
   588  	var asInterface interface{} = h
   589  	override, ok := asInterface.(interface {
   590  		OverrideExtractResourceNames(*ListNotificationChannelsRequest) []*notification_channel.Name
   591  	})
   592  	if ok {
   593  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
   594  	}
   595  	return nil
   596  }
   597  
   598  func (h *ListNotificationChannelsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
   599  	typedMsg := msg.(*ListNotificationChannelsRequest)
   600  	var asInterface interface{} = h
   601  	override, ok := asInterface.(interface {
   602  		OverrideExtractCollectionName(*ListNotificationChannelsRequest) *notification_channel.ParentName
   603  	})
   604  	if ok {
   605  		return override.OverrideExtractCollectionName(typedMsg)
   606  	}
   607  	{
   608  		if parentName := typedMsg.GetParent(); parentName != nil {
   609  			return parentName
   610  		}
   611  	}
   612  	return (*notification_channel.ParentName)(nil)
   613  }
   614  
   615  func (h *ListNotificationChannelsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
   616  	typedMsg := msg.(*ListNotificationChannelsRequest)
   617  	var asInterface interface{} = h
   618  	override, ok := asInterface.(interface {
   619  		OverrideExtractResourceBody(*ListNotificationChannelsRequest) *notification_channel.NotificationChannel
   620  	})
   621  	if ok {
   622  		return override.OverrideExtractResourceBody(typedMsg)
   623  	}
   624  	return nil
   625  }
   626  
   627  func (h *ListNotificationChannelsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
   628  	typedMsg := msg.(*ListNotificationChannelsRequest)
   629  	var asInterface interface{} = h
   630  	override, ok := asInterface.(interface {
   631  		OverrideExtractResourceBodies(*ListNotificationChannelsRequest) []*notification_channel.NotificationChannel
   632  	})
   633  	if ok {
   634  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
   635  	}
   636  	return nil
   637  }
   638  
   639  func (h *ListNotificationChannelsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
   640  	typedMsg := msg.(*ListNotificationChannelsResponse)
   641  	var asInterface interface{} = h
   642  	override, ok := asInterface.(interface {
   643  		OverrideExtractResourceName(*ListNotificationChannelsResponse) *notification_channel.Name
   644  	})
   645  	if ok {
   646  		return override.OverrideExtractResourceName(typedMsg)
   647  	}
   648  	return nil
   649  }
   650  
   651  func (h *ListNotificationChannelsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
   652  	typedMsg := msg.(*ListNotificationChannelsResponse)
   653  	var asInterface interface{} = h
   654  	override, ok := asInterface.(interface {
   655  		OverrideExtractResourceNames(*ListNotificationChannelsResponse) []*notification_channel.Name
   656  	})
   657  	if ok {
   658  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
   659  	}
   660  	{
   661  		if resources := typedMsg.GetNotificationChannels(); len(resources) > 0 {
   662  			list := make(notification_channel.NotificationChannelNameList, 0, len(resources))
   663  			for _, res := range resources {
   664  				list = append(list, res.GetName())
   665  			}
   666  			return list
   667  		}
   668  	}
   669  	return (notification_channel.NotificationChannelNameList)(nil)
   670  }
   671  
   672  func (h *ListNotificationChannelsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
   673  	typedMsg := msg.(*ListNotificationChannelsResponse)
   674  	var asInterface interface{} = h
   675  	override, ok := asInterface.(interface {
   676  		OverrideExtractCollectionName(*ListNotificationChannelsResponse) *notification_channel.ParentName
   677  	})
   678  	if ok {
   679  		return override.OverrideExtractCollectionName(typedMsg)
   680  	}
   681  	return nil
   682  }
   683  
   684  func (h *ListNotificationChannelsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
   685  	typedMsg := msg.(*ListNotificationChannelsResponse)
   686  	var asInterface interface{} = h
   687  	override, ok := asInterface.(interface {
   688  		OverrideExtractResourceBody(*ListNotificationChannelsResponse) *notification_channel.NotificationChannel
   689  	})
   690  	if ok {
   691  		return override.OverrideExtractResourceBody(typedMsg)
   692  	}
   693  	return nil
   694  }
   695  
   696  func (h *ListNotificationChannelsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
   697  	typedMsg := msg.(*ListNotificationChannelsResponse)
   698  	var asInterface interface{} = h
   699  	override, ok := asInterface.(interface {
   700  		OverrideExtractResourceBodies(*ListNotificationChannelsResponse) []*notification_channel.NotificationChannel
   701  	})
   702  	if ok {
   703  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
   704  	}
   705  	{
   706  		if resources := typedMsg.GetNotificationChannels(); len(resources) > 0 {
   707  			return notification_channel.NotificationChannelList(resources)
   708  		}
   709  	}
   710  	return (notification_channel.NotificationChannelList)(nil)
   711  }
   712  
   713  func GetListNotificationChannelsDescriptor() *ListNotificationChannelsDescriptor {
   714  	return listNotificationChannelsDescriptor
   715  }
   716  
   717  type WatchNotificationChannelDescriptor struct{}
   718  
   719  type WatchNotificationChannelDescriptorClientMsgHandle struct{}
   720  
   721  type WatchNotificationChannelDescriptorServerMsgHandle struct{}
   722  
   723  func (d *WatchNotificationChannelDescriptor) NewEmptyClientMsg() proto.Message {
   724  	return &WatchNotificationChannelRequest{}
   725  }
   726  
   727  func (d *WatchNotificationChannelDescriptor) NewEmptyServerMsg() proto.Message {
   728  	return &WatchNotificationChannelResponse{}
   729  }
   730  
   731  func (d *WatchNotificationChannelDescriptor) IsUnary() bool {
   732  	return false
   733  }
   734  
   735  func (d *WatchNotificationChannelDescriptor) IsClientStream() bool {
   736  	return false
   737  }
   738  
   739  func (d *WatchNotificationChannelDescriptor) IsServerStream() bool {
   740  	return true
   741  }
   742  
   743  func (d *WatchNotificationChannelDescriptor) IsCollection() bool {
   744  	return false
   745  }
   746  
   747  func (d *WatchNotificationChannelDescriptor) IsPlural() bool {
   748  	return false
   749  }
   750  
   751  func (d *WatchNotificationChannelDescriptor) HasResource() bool {
   752  	return true
   753  }
   754  
   755  func (d *WatchNotificationChannelDescriptor) RequestHasResourceBody() bool {
   756  	return false
   757  }
   758  
   759  func (d *WatchNotificationChannelDescriptor) GetVerb() string {
   760  	return "watch"
   761  }
   762  
   763  func (d *WatchNotificationChannelDescriptor) GetMethodName() string {
   764  	return "WatchNotificationChannel"
   765  }
   766  
   767  func (d *WatchNotificationChannelDescriptor) GetFullMethodName() string {
   768  	return "/ntt.monitoring.v3.NotificationChannelService/WatchNotificationChannel"
   769  }
   770  
   771  func (d *WatchNotificationChannelDescriptor) GetProtoPkgName() string {
   772  	return "ntt.monitoring.v3"
   773  }
   774  
   775  func (d *WatchNotificationChannelDescriptor) GetApiName() string {
   776  	return "NotificationChannelService"
   777  }
   778  
   779  func (d *WatchNotificationChannelDescriptor) GetServiceDomain() string {
   780  	return "monitoring.edgelq.com"
   781  }
   782  
   783  func (d *WatchNotificationChannelDescriptor) GetServiceVersion() string {
   784  	return "v3"
   785  }
   786  
   787  func (d *WatchNotificationChannelDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor {
   788  	return notificationChannelServiceDescriptor
   789  }
   790  
   791  func (d *WatchNotificationChannelDescriptor) GetResourceDescriptor() gotenresource.Descriptor {
   792  	return notification_channel.GetDescriptor()
   793  }
   794  
   795  func (d *WatchNotificationChannelDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle {
   796  	return &WatchNotificationChannelDescriptorClientMsgHandle{}
   797  }
   798  
   799  func (d *WatchNotificationChannelDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle {
   800  	return &WatchNotificationChannelDescriptorServerMsgHandle{}
   801  }
   802  
   803  func (h *WatchNotificationChannelDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
   804  	typedMsg := msg.(*WatchNotificationChannelRequest)
   805  	var asInterface interface{} = h
   806  	override, ok := asInterface.(interface {
   807  		OverrideExtractResourceName(*WatchNotificationChannelRequest) *notification_channel.Name
   808  	})
   809  	if ok {
   810  		return override.OverrideExtractResourceName(typedMsg)
   811  	}
   812  	{
   813  		if name := typedMsg.GetName(); name != nil {
   814  			return name
   815  		}
   816  	}
   817  	return (*notification_channel.Name)(nil)
   818  }
   819  
   820  func (h *WatchNotificationChannelDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
   821  	typedMsg := msg.(*WatchNotificationChannelRequest)
   822  	var asInterface interface{} = h
   823  	override, ok := asInterface.(interface {
   824  		OverrideExtractResourceNames(*WatchNotificationChannelRequest) []*notification_channel.Name
   825  	})
   826  	if ok {
   827  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
   828  	}
   829  	return nil
   830  }
   831  
   832  func (h *WatchNotificationChannelDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
   833  	typedMsg := msg.(*WatchNotificationChannelRequest)
   834  	var asInterface interface{} = h
   835  	override, ok := asInterface.(interface {
   836  		OverrideExtractCollectionName(*WatchNotificationChannelRequest) *notification_channel.ParentName
   837  	})
   838  	if ok {
   839  		return override.OverrideExtractCollectionName(typedMsg)
   840  	}
   841  	return nil
   842  }
   843  
   844  func (h *WatchNotificationChannelDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
   845  	typedMsg := msg.(*WatchNotificationChannelRequest)
   846  	var asInterface interface{} = h
   847  	override, ok := asInterface.(interface {
   848  		OverrideExtractResourceBody(*WatchNotificationChannelRequest) *notification_channel.NotificationChannel
   849  	})
   850  	if ok {
   851  		return override.OverrideExtractResourceBody(typedMsg)
   852  	}
   853  	return nil
   854  }
   855  
   856  func (h *WatchNotificationChannelDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
   857  	typedMsg := msg.(*WatchNotificationChannelRequest)
   858  	var asInterface interface{} = h
   859  	override, ok := asInterface.(interface {
   860  		OverrideExtractResourceBodies(*WatchNotificationChannelRequest) []*notification_channel.NotificationChannel
   861  	})
   862  	if ok {
   863  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
   864  	}
   865  	return nil
   866  }
   867  
   868  func (h *WatchNotificationChannelDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
   869  	typedMsg := msg.(*WatchNotificationChannelResponse)
   870  	var asInterface interface{} = h
   871  	override, ok := asInterface.(interface {
   872  		OverrideExtractResourceName(*WatchNotificationChannelResponse) *notification_channel.Name
   873  	})
   874  	if ok {
   875  		return override.OverrideExtractResourceName(typedMsg)
   876  	}
   877  	{
   878  		if resChange := typedMsg.GetChange(); resChange != nil {
   879  			switch tResChange := resChange.ChangeType.(type) {
   880  			case *notification_channel.NotificationChannelChange_Added_:
   881  				return tResChange.Added.GetNotificationChannel().GetName()
   882  			case *notification_channel.NotificationChannelChange_Modified_:
   883  				return tResChange.Modified.GetName()
   884  			case *notification_channel.NotificationChannelChange_Removed_:
   885  				return tResChange.Removed.GetName()
   886  			case *notification_channel.NotificationChannelChange_Current_:
   887  				return tResChange.Current.GetNotificationChannel().GetName()
   888  			}
   889  		}
   890  	}
   891  	return (*notification_channel.Name)(nil)
   892  }
   893  
   894  func (h *WatchNotificationChannelDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
   895  	typedMsg := msg.(*WatchNotificationChannelResponse)
   896  	var asInterface interface{} = h
   897  	override, ok := asInterface.(interface {
   898  		OverrideExtractResourceNames(*WatchNotificationChannelResponse) []*notification_channel.Name
   899  	})
   900  	if ok {
   901  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
   902  	}
   903  	return nil
   904  }
   905  
   906  func (h *WatchNotificationChannelDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
   907  	typedMsg := msg.(*WatchNotificationChannelResponse)
   908  	var asInterface interface{} = h
   909  	override, ok := asInterface.(interface {
   910  		OverrideExtractCollectionName(*WatchNotificationChannelResponse) *notification_channel.ParentName
   911  	})
   912  	if ok {
   913  		return override.OverrideExtractCollectionName(typedMsg)
   914  	}
   915  	return nil
   916  }
   917  
   918  func (h *WatchNotificationChannelDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
   919  	typedMsg := msg.(*WatchNotificationChannelResponse)
   920  	var asInterface interface{} = h
   921  	override, ok := asInterface.(interface {
   922  		OverrideExtractResourceBody(*WatchNotificationChannelResponse) *notification_channel.NotificationChannel
   923  	})
   924  	if ok {
   925  		return override.OverrideExtractResourceBody(typedMsg)
   926  	}
   927  	{
   928  		if resChange := typedMsg.GetChange(); resChange != nil {
   929  			switch tResChange := resChange.ChangeType.(type) {
   930  			case *notification_channel.NotificationChannelChange_Added_:
   931  				return tResChange.Added.GetNotificationChannel()
   932  			case *notification_channel.NotificationChannelChange_Modified_:
   933  				return tResChange.Modified.GetNotificationChannel()
   934  			case *notification_channel.NotificationChannelChange_Current_:
   935  				return tResChange.Current.GetNotificationChannel()
   936  			}
   937  		}
   938  	}
   939  	return (*notification_channel.NotificationChannel)(nil)
   940  }
   941  
   942  func (h *WatchNotificationChannelDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
   943  	typedMsg := msg.(*WatchNotificationChannelResponse)
   944  	var asInterface interface{} = h
   945  	override, ok := asInterface.(interface {
   946  		OverrideExtractResourceBodies(*WatchNotificationChannelResponse) []*notification_channel.NotificationChannel
   947  	})
   948  	if ok {
   949  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
   950  	}
   951  	return nil
   952  }
   953  
   954  func GetWatchNotificationChannelDescriptor() *WatchNotificationChannelDescriptor {
   955  	return watchNotificationChannelDescriptor
   956  }
   957  
   958  type WatchNotificationChannelsDescriptor struct{}
   959  
   960  type WatchNotificationChannelsDescriptorClientMsgHandle struct{}
   961  
   962  type WatchNotificationChannelsDescriptorServerMsgHandle struct{}
   963  
   964  func (d *WatchNotificationChannelsDescriptor) NewEmptyClientMsg() proto.Message {
   965  	return &WatchNotificationChannelsRequest{}
   966  }
   967  
   968  func (d *WatchNotificationChannelsDescriptor) NewEmptyServerMsg() proto.Message {
   969  	return &WatchNotificationChannelsResponse{}
   970  }
   971  
   972  func (d *WatchNotificationChannelsDescriptor) IsUnary() bool {
   973  	return false
   974  }
   975  
   976  func (d *WatchNotificationChannelsDescriptor) IsClientStream() bool {
   977  	return false
   978  }
   979  
   980  func (d *WatchNotificationChannelsDescriptor) IsServerStream() bool {
   981  	return true
   982  }
   983  
   984  func (d *WatchNotificationChannelsDescriptor) IsCollection() bool {
   985  	return true
   986  }
   987  
   988  func (d *WatchNotificationChannelsDescriptor) IsPlural() bool {
   989  	return true
   990  }
   991  
   992  func (d *WatchNotificationChannelsDescriptor) HasResource() bool {
   993  	return true
   994  }
   995  
   996  func (d *WatchNotificationChannelsDescriptor) RequestHasResourceBody() bool {
   997  	return false
   998  }
   999  
  1000  func (d *WatchNotificationChannelsDescriptor) GetVerb() string {
  1001  	return "watch"
  1002  }
  1003  
  1004  func (d *WatchNotificationChannelsDescriptor) GetMethodName() string {
  1005  	return "WatchNotificationChannels"
  1006  }
  1007  
  1008  func (d *WatchNotificationChannelsDescriptor) GetFullMethodName() string {
  1009  	return "/ntt.monitoring.v3.NotificationChannelService/WatchNotificationChannels"
  1010  }
  1011  
  1012  func (d *WatchNotificationChannelsDescriptor) GetProtoPkgName() string {
  1013  	return "ntt.monitoring.v3"
  1014  }
  1015  
  1016  func (d *WatchNotificationChannelsDescriptor) GetApiName() string {
  1017  	return "NotificationChannelService"
  1018  }
  1019  
  1020  func (d *WatchNotificationChannelsDescriptor) GetServiceDomain() string {
  1021  	return "monitoring.edgelq.com"
  1022  }
  1023  
  1024  func (d *WatchNotificationChannelsDescriptor) GetServiceVersion() string {
  1025  	return "v3"
  1026  }
  1027  
  1028  func (d *WatchNotificationChannelsDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor {
  1029  	return notificationChannelServiceDescriptor
  1030  }
  1031  
  1032  func (d *WatchNotificationChannelsDescriptor) GetResourceDescriptor() gotenresource.Descriptor {
  1033  	return notification_channel.GetDescriptor()
  1034  }
  1035  
  1036  func (d *WatchNotificationChannelsDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle {
  1037  	return &WatchNotificationChannelsDescriptorClientMsgHandle{}
  1038  }
  1039  
  1040  func (d *WatchNotificationChannelsDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle {
  1041  	return &WatchNotificationChannelsDescriptorServerMsgHandle{}
  1042  }
  1043  
  1044  func (h *WatchNotificationChannelsDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
  1045  	typedMsg := msg.(*WatchNotificationChannelsRequest)
  1046  	var asInterface interface{} = h
  1047  	override, ok := asInterface.(interface {
  1048  		OverrideExtractResourceName(*WatchNotificationChannelsRequest) *notification_channel.Name
  1049  	})
  1050  	if ok {
  1051  		return override.OverrideExtractResourceName(typedMsg)
  1052  	}
  1053  	return nil
  1054  }
  1055  
  1056  func (h *WatchNotificationChannelsDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
  1057  	typedMsg := msg.(*WatchNotificationChannelsRequest)
  1058  	var asInterface interface{} = h
  1059  	override, ok := asInterface.(interface {
  1060  		OverrideExtractResourceNames(*WatchNotificationChannelsRequest) []*notification_channel.Name
  1061  	})
  1062  	if ok {
  1063  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
  1064  	}
  1065  	return nil
  1066  }
  1067  
  1068  func (h *WatchNotificationChannelsDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
  1069  	typedMsg := msg.(*WatchNotificationChannelsRequest)
  1070  	var asInterface interface{} = h
  1071  	override, ok := asInterface.(interface {
  1072  		OverrideExtractCollectionName(*WatchNotificationChannelsRequest) *notification_channel.ParentName
  1073  	})
  1074  	if ok {
  1075  		return override.OverrideExtractCollectionName(typedMsg)
  1076  	}
  1077  	{
  1078  		if parentName := typedMsg.GetParent(); parentName != nil {
  1079  			return parentName
  1080  		}
  1081  	}
  1082  	return (*notification_channel.ParentName)(nil)
  1083  }
  1084  
  1085  func (h *WatchNotificationChannelsDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
  1086  	typedMsg := msg.(*WatchNotificationChannelsRequest)
  1087  	var asInterface interface{} = h
  1088  	override, ok := asInterface.(interface {
  1089  		OverrideExtractResourceBody(*WatchNotificationChannelsRequest) *notification_channel.NotificationChannel
  1090  	})
  1091  	if ok {
  1092  		return override.OverrideExtractResourceBody(typedMsg)
  1093  	}
  1094  	return nil
  1095  }
  1096  
  1097  func (h *WatchNotificationChannelsDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
  1098  	typedMsg := msg.(*WatchNotificationChannelsRequest)
  1099  	var asInterface interface{} = h
  1100  	override, ok := asInterface.(interface {
  1101  		OverrideExtractResourceBodies(*WatchNotificationChannelsRequest) []*notification_channel.NotificationChannel
  1102  	})
  1103  	if ok {
  1104  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
  1105  	}
  1106  	return nil
  1107  }
  1108  
  1109  func (h *WatchNotificationChannelsDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
  1110  	typedMsg := msg.(*WatchNotificationChannelsResponse)
  1111  	var asInterface interface{} = h
  1112  	override, ok := asInterface.(interface {
  1113  		OverrideExtractResourceName(*WatchNotificationChannelsResponse) *notification_channel.Name
  1114  	})
  1115  	if ok {
  1116  		return override.OverrideExtractResourceName(typedMsg)
  1117  	}
  1118  	return nil
  1119  }
  1120  
  1121  func (h *WatchNotificationChannelsDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
  1122  	typedMsg := msg.(*WatchNotificationChannelsResponse)
  1123  	var asInterface interface{} = h
  1124  	override, ok := asInterface.(interface {
  1125  		OverrideExtractResourceNames(*WatchNotificationChannelsResponse) []*notification_channel.Name
  1126  	})
  1127  	if ok {
  1128  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
  1129  	}
  1130  	{
  1131  		if resChanges := typedMsg.GetNotificationChannelChanges(); len(resChanges) > 0 {
  1132  			list := make(notification_channel.NotificationChannelNameList, 0, len(resChanges))
  1133  			for _, resChange := range resChanges {
  1134  				switch tResChange := resChange.ChangeType.(type) {
  1135  				case *notification_channel.NotificationChannelChange_Added_:
  1136  					list = append(list, tResChange.Added.GetNotificationChannel().GetName())
  1137  				case *notification_channel.NotificationChannelChange_Modified_:
  1138  					list = append(list, tResChange.Modified.GetName())
  1139  				case *notification_channel.NotificationChannelChange_Removed_:
  1140  					list = append(list, tResChange.Removed.GetName())
  1141  				case *notification_channel.NotificationChannelChange_Current_:
  1142  					list = append(list, tResChange.Current.GetNotificationChannel().GetName())
  1143  				}
  1144  			}
  1145  			return list
  1146  		}
  1147  	}
  1148  	return (notification_channel.NotificationChannelNameList)(nil)
  1149  }
  1150  
  1151  func (h *WatchNotificationChannelsDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
  1152  	typedMsg := msg.(*WatchNotificationChannelsResponse)
  1153  	var asInterface interface{} = h
  1154  	override, ok := asInterface.(interface {
  1155  		OverrideExtractCollectionName(*WatchNotificationChannelsResponse) *notification_channel.ParentName
  1156  	})
  1157  	if ok {
  1158  		return override.OverrideExtractCollectionName(typedMsg)
  1159  	}
  1160  	return nil
  1161  }
  1162  
  1163  func (h *WatchNotificationChannelsDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
  1164  	typedMsg := msg.(*WatchNotificationChannelsResponse)
  1165  	var asInterface interface{} = h
  1166  	override, ok := asInterface.(interface {
  1167  		OverrideExtractResourceBody(*WatchNotificationChannelsResponse) *notification_channel.NotificationChannel
  1168  	})
  1169  	if ok {
  1170  		return override.OverrideExtractResourceBody(typedMsg)
  1171  	}
  1172  	return nil
  1173  }
  1174  
  1175  func (h *WatchNotificationChannelsDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
  1176  	typedMsg := msg.(*WatchNotificationChannelsResponse)
  1177  	var asInterface interface{} = h
  1178  	override, ok := asInterface.(interface {
  1179  		OverrideExtractResourceBodies(*WatchNotificationChannelsResponse) []*notification_channel.NotificationChannel
  1180  	})
  1181  	if ok {
  1182  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
  1183  	}
  1184  	{
  1185  		if resChanges := typedMsg.GetNotificationChannelChanges(); len(resChanges) > 0 {
  1186  			list := make(notification_channel.NotificationChannelList, 0, len(resChanges))
  1187  			for _, resChange := range resChanges {
  1188  				switch tResChange := resChange.ChangeType.(type) {
  1189  				case *notification_channel.NotificationChannelChange_Added_:
  1190  					list = append(list, tResChange.Added.GetNotificationChannel())
  1191  				case *notification_channel.NotificationChannelChange_Modified_:
  1192  					list = append(list, tResChange.Modified.GetNotificationChannel())
  1193  				case *notification_channel.NotificationChannelChange_Current_:
  1194  					list = append(list, tResChange.Current.GetNotificationChannel())
  1195  				}
  1196  			}
  1197  			return list
  1198  		}
  1199  	}
  1200  	return (notification_channel.NotificationChannelList)(nil)
  1201  }
  1202  
  1203  func GetWatchNotificationChannelsDescriptor() *WatchNotificationChannelsDescriptor {
  1204  	return watchNotificationChannelsDescriptor
  1205  }
  1206  
  1207  type CreateNotificationChannelDescriptor struct{}
  1208  
  1209  type CreateNotificationChannelDescriptorClientMsgHandle struct{}
  1210  
  1211  type CreateNotificationChannelDescriptorServerMsgHandle struct{}
  1212  
  1213  func (d *CreateNotificationChannelDescriptor) NewEmptyClientMsg() proto.Message {
  1214  	return &CreateNotificationChannelRequest{}
  1215  }
  1216  
  1217  func (d *CreateNotificationChannelDescriptor) NewEmptyServerMsg() proto.Message {
  1218  	return &notification_channel.NotificationChannel{}
  1219  }
  1220  
  1221  func (d *CreateNotificationChannelDescriptor) IsUnary() bool {
  1222  	return true
  1223  }
  1224  
  1225  func (d *CreateNotificationChannelDescriptor) IsClientStream() bool {
  1226  	return false
  1227  }
  1228  
  1229  func (d *CreateNotificationChannelDescriptor) IsServerStream() bool {
  1230  	return false
  1231  }
  1232  
  1233  func (d *CreateNotificationChannelDescriptor) IsCollection() bool {
  1234  	return true
  1235  }
  1236  
  1237  func (d *CreateNotificationChannelDescriptor) IsPlural() bool {
  1238  	return false
  1239  }
  1240  
  1241  func (d *CreateNotificationChannelDescriptor) HasResource() bool {
  1242  	return true
  1243  }
  1244  
  1245  func (d *CreateNotificationChannelDescriptor) RequestHasResourceBody() bool {
  1246  	return true
  1247  }
  1248  
  1249  func (d *CreateNotificationChannelDescriptor) GetVerb() string {
  1250  	return "create"
  1251  }
  1252  
  1253  func (d *CreateNotificationChannelDescriptor) GetMethodName() string {
  1254  	return "CreateNotificationChannel"
  1255  }
  1256  
  1257  func (d *CreateNotificationChannelDescriptor) GetFullMethodName() string {
  1258  	return "/ntt.monitoring.v3.NotificationChannelService/CreateNotificationChannel"
  1259  }
  1260  
  1261  func (d *CreateNotificationChannelDescriptor) GetProtoPkgName() string {
  1262  	return "ntt.monitoring.v3"
  1263  }
  1264  
  1265  func (d *CreateNotificationChannelDescriptor) GetApiName() string {
  1266  	return "NotificationChannelService"
  1267  }
  1268  
  1269  func (d *CreateNotificationChannelDescriptor) GetServiceDomain() string {
  1270  	return "monitoring.edgelq.com"
  1271  }
  1272  
  1273  func (d *CreateNotificationChannelDescriptor) GetServiceVersion() string {
  1274  	return "v3"
  1275  }
  1276  
  1277  func (d *CreateNotificationChannelDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor {
  1278  	return notificationChannelServiceDescriptor
  1279  }
  1280  
  1281  func (d *CreateNotificationChannelDescriptor) GetResourceDescriptor() gotenresource.Descriptor {
  1282  	return notification_channel.GetDescriptor()
  1283  }
  1284  
  1285  func (d *CreateNotificationChannelDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle {
  1286  	return &CreateNotificationChannelDescriptorClientMsgHandle{}
  1287  }
  1288  
  1289  func (d *CreateNotificationChannelDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle {
  1290  	return &CreateNotificationChannelDescriptorServerMsgHandle{}
  1291  }
  1292  
  1293  func (h *CreateNotificationChannelDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
  1294  	typedMsg := msg.(*CreateNotificationChannelRequest)
  1295  	var asInterface interface{} = h
  1296  	override, ok := asInterface.(interface {
  1297  		OverrideExtractResourceName(*CreateNotificationChannelRequest) *notification_channel.Name
  1298  	})
  1299  	if ok {
  1300  		return override.OverrideExtractResourceName(typedMsg)
  1301  	}
  1302  	{
  1303  		res := typedMsg.GetNotificationChannel()
  1304  		if name := res.GetName(); name != nil {
  1305  			return name
  1306  		}
  1307  	}
  1308  	return (*notification_channel.Name)(nil)
  1309  }
  1310  
  1311  func (h *CreateNotificationChannelDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
  1312  	typedMsg := msg.(*CreateNotificationChannelRequest)
  1313  	var asInterface interface{} = h
  1314  	override, ok := asInterface.(interface {
  1315  		OverrideExtractResourceNames(*CreateNotificationChannelRequest) []*notification_channel.Name
  1316  	})
  1317  	if ok {
  1318  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
  1319  	}
  1320  	return nil
  1321  }
  1322  
  1323  func (h *CreateNotificationChannelDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
  1324  	typedMsg := msg.(*CreateNotificationChannelRequest)
  1325  	var asInterface interface{} = h
  1326  	override, ok := asInterface.(interface {
  1327  		OverrideExtractCollectionName(*CreateNotificationChannelRequest) *notification_channel.ParentName
  1328  	})
  1329  	if ok {
  1330  		return override.OverrideExtractCollectionName(typedMsg)
  1331  	}
  1332  	{
  1333  		if parentName := typedMsg.GetParent(); parentName != nil {
  1334  			return parentName
  1335  		}
  1336  	}
  1337  	return (*notification_channel.ParentName)(nil)
  1338  }
  1339  
  1340  func (h *CreateNotificationChannelDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
  1341  	typedMsg := msg.(*CreateNotificationChannelRequest)
  1342  	var asInterface interface{} = h
  1343  	override, ok := asInterface.(interface {
  1344  		OverrideExtractResourceBody(*CreateNotificationChannelRequest) *notification_channel.NotificationChannel
  1345  	})
  1346  	if ok {
  1347  		return override.OverrideExtractResourceBody(typedMsg)
  1348  	}
  1349  	{
  1350  		return typedMsg.GetNotificationChannel()
  1351  	}
  1352  	return (*notification_channel.NotificationChannel)(nil)
  1353  }
  1354  
  1355  func (h *CreateNotificationChannelDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
  1356  	typedMsg := msg.(*CreateNotificationChannelRequest)
  1357  	var asInterface interface{} = h
  1358  	override, ok := asInterface.(interface {
  1359  		OverrideExtractResourceBodies(*CreateNotificationChannelRequest) []*notification_channel.NotificationChannel
  1360  	})
  1361  	if ok {
  1362  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
  1363  	}
  1364  	return nil
  1365  }
  1366  
  1367  func (h *CreateNotificationChannelDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
  1368  	typedMsg := msg.(*notification_channel.NotificationChannel)
  1369  	var asInterface interface{} = h
  1370  	override, ok := asInterface.(interface {
  1371  		OverrideExtractResourceName(*notification_channel.NotificationChannel) *notification_channel.Name
  1372  	})
  1373  	if ok {
  1374  		return override.OverrideExtractResourceName(typedMsg)
  1375  	}
  1376  	{
  1377  		if name := typedMsg.GetName(); name != nil {
  1378  			return name
  1379  		}
  1380  	}
  1381  	return (*notification_channel.Name)(nil)
  1382  }
  1383  
  1384  func (h *CreateNotificationChannelDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
  1385  	typedMsg := msg.(*notification_channel.NotificationChannel)
  1386  	var asInterface interface{} = h
  1387  	override, ok := asInterface.(interface {
  1388  		OverrideExtractResourceNames(*notification_channel.NotificationChannel) []*notification_channel.Name
  1389  	})
  1390  	if ok {
  1391  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
  1392  	}
  1393  	return nil
  1394  }
  1395  
  1396  func (h *CreateNotificationChannelDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
  1397  	typedMsg := msg.(*notification_channel.NotificationChannel)
  1398  	var asInterface interface{} = h
  1399  	override, ok := asInterface.(interface {
  1400  		OverrideExtractCollectionName(*notification_channel.NotificationChannel) *notification_channel.ParentName
  1401  	})
  1402  	if ok {
  1403  		return override.OverrideExtractCollectionName(typedMsg)
  1404  	}
  1405  	return nil
  1406  }
  1407  
  1408  func (h *CreateNotificationChannelDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
  1409  	return msg.(*notification_channel.NotificationChannel)
  1410  }
  1411  
  1412  func (h *CreateNotificationChannelDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
  1413  	typedMsg := msg.(*notification_channel.NotificationChannel)
  1414  	var asInterface interface{} = h
  1415  	override, ok := asInterface.(interface {
  1416  		OverrideExtractResourceBodies(*notification_channel.NotificationChannel) []*notification_channel.NotificationChannel
  1417  	})
  1418  	if ok {
  1419  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
  1420  	}
  1421  	return nil
  1422  }
  1423  
  1424  func GetCreateNotificationChannelDescriptor() *CreateNotificationChannelDescriptor {
  1425  	return createNotificationChannelDescriptor
  1426  }
  1427  
  1428  type UpdateNotificationChannelDescriptor struct{}
  1429  
  1430  type UpdateNotificationChannelDescriptorClientMsgHandle struct{}
  1431  
  1432  type UpdateNotificationChannelDescriptorServerMsgHandle struct{}
  1433  
  1434  func (d *UpdateNotificationChannelDescriptor) NewEmptyClientMsg() proto.Message {
  1435  	return &UpdateNotificationChannelRequest{}
  1436  }
  1437  
  1438  func (d *UpdateNotificationChannelDescriptor) NewEmptyServerMsg() proto.Message {
  1439  	return &notification_channel.NotificationChannel{}
  1440  }
  1441  
  1442  func (d *UpdateNotificationChannelDescriptor) IsUnary() bool {
  1443  	return true
  1444  }
  1445  
  1446  func (d *UpdateNotificationChannelDescriptor) IsClientStream() bool {
  1447  	return false
  1448  }
  1449  
  1450  func (d *UpdateNotificationChannelDescriptor) IsServerStream() bool {
  1451  	return false
  1452  }
  1453  
  1454  func (d *UpdateNotificationChannelDescriptor) IsCollection() bool {
  1455  	return false
  1456  }
  1457  
  1458  func (d *UpdateNotificationChannelDescriptor) IsPlural() bool {
  1459  	return false
  1460  }
  1461  
  1462  func (d *UpdateNotificationChannelDescriptor) HasResource() bool {
  1463  	return true
  1464  }
  1465  
  1466  func (d *UpdateNotificationChannelDescriptor) RequestHasResourceBody() bool {
  1467  	return true
  1468  }
  1469  
  1470  func (d *UpdateNotificationChannelDescriptor) GetVerb() string {
  1471  	return "update"
  1472  }
  1473  
  1474  func (d *UpdateNotificationChannelDescriptor) GetMethodName() string {
  1475  	return "UpdateNotificationChannel"
  1476  }
  1477  
  1478  func (d *UpdateNotificationChannelDescriptor) GetFullMethodName() string {
  1479  	return "/ntt.monitoring.v3.NotificationChannelService/UpdateNotificationChannel"
  1480  }
  1481  
  1482  func (d *UpdateNotificationChannelDescriptor) GetProtoPkgName() string {
  1483  	return "ntt.monitoring.v3"
  1484  }
  1485  
  1486  func (d *UpdateNotificationChannelDescriptor) GetApiName() string {
  1487  	return "NotificationChannelService"
  1488  }
  1489  
  1490  func (d *UpdateNotificationChannelDescriptor) GetServiceDomain() string {
  1491  	return "monitoring.edgelq.com"
  1492  }
  1493  
  1494  func (d *UpdateNotificationChannelDescriptor) GetServiceVersion() string {
  1495  	return "v3"
  1496  }
  1497  
  1498  func (d *UpdateNotificationChannelDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor {
  1499  	return notificationChannelServiceDescriptor
  1500  }
  1501  
  1502  func (d *UpdateNotificationChannelDescriptor) GetResourceDescriptor() gotenresource.Descriptor {
  1503  	return notification_channel.GetDescriptor()
  1504  }
  1505  
  1506  func (d *UpdateNotificationChannelDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle {
  1507  	return &UpdateNotificationChannelDescriptorClientMsgHandle{}
  1508  }
  1509  
  1510  func (d *UpdateNotificationChannelDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle {
  1511  	return &UpdateNotificationChannelDescriptorServerMsgHandle{}
  1512  }
  1513  
  1514  func (h *UpdateNotificationChannelDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
  1515  	typedMsg := msg.(*UpdateNotificationChannelRequest)
  1516  	var asInterface interface{} = h
  1517  	override, ok := asInterface.(interface {
  1518  		OverrideExtractResourceName(*UpdateNotificationChannelRequest) *notification_channel.Name
  1519  	})
  1520  	if ok {
  1521  		return override.OverrideExtractResourceName(typedMsg)
  1522  	}
  1523  	{
  1524  		res := typedMsg.GetNotificationChannel()
  1525  		if name := res.GetName(); name != nil {
  1526  			return name
  1527  		}
  1528  	}
  1529  	return (*notification_channel.Name)(nil)
  1530  }
  1531  
  1532  func (h *UpdateNotificationChannelDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
  1533  	typedMsg := msg.(*UpdateNotificationChannelRequest)
  1534  	var asInterface interface{} = h
  1535  	override, ok := asInterface.(interface {
  1536  		OverrideExtractResourceNames(*UpdateNotificationChannelRequest) []*notification_channel.Name
  1537  	})
  1538  	if ok {
  1539  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
  1540  	}
  1541  	return nil
  1542  }
  1543  
  1544  func (h *UpdateNotificationChannelDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
  1545  	typedMsg := msg.(*UpdateNotificationChannelRequest)
  1546  	var asInterface interface{} = h
  1547  	override, ok := asInterface.(interface {
  1548  		OverrideExtractCollectionName(*UpdateNotificationChannelRequest) *notification_channel.ParentName
  1549  	})
  1550  	if ok {
  1551  		return override.OverrideExtractCollectionName(typedMsg)
  1552  	}
  1553  	return nil
  1554  }
  1555  
  1556  func (h *UpdateNotificationChannelDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
  1557  	typedMsg := msg.(*UpdateNotificationChannelRequest)
  1558  	var asInterface interface{} = h
  1559  	override, ok := asInterface.(interface {
  1560  		OverrideExtractResourceBody(*UpdateNotificationChannelRequest) *notification_channel.NotificationChannel
  1561  	})
  1562  	if ok {
  1563  		return override.OverrideExtractResourceBody(typedMsg)
  1564  	}
  1565  	{
  1566  		return typedMsg.GetNotificationChannel()
  1567  	}
  1568  	return (*notification_channel.NotificationChannel)(nil)
  1569  }
  1570  
  1571  func (h *UpdateNotificationChannelDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
  1572  	typedMsg := msg.(*UpdateNotificationChannelRequest)
  1573  	var asInterface interface{} = h
  1574  	override, ok := asInterface.(interface {
  1575  		OverrideExtractResourceBodies(*UpdateNotificationChannelRequest) []*notification_channel.NotificationChannel
  1576  	})
  1577  	if ok {
  1578  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
  1579  	}
  1580  	return nil
  1581  }
  1582  
  1583  func (h *UpdateNotificationChannelDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
  1584  	typedMsg := msg.(*notification_channel.NotificationChannel)
  1585  	var asInterface interface{} = h
  1586  	override, ok := asInterface.(interface {
  1587  		OverrideExtractResourceName(*notification_channel.NotificationChannel) *notification_channel.Name
  1588  	})
  1589  	if ok {
  1590  		return override.OverrideExtractResourceName(typedMsg)
  1591  	}
  1592  	{
  1593  		if name := typedMsg.GetName(); name != nil {
  1594  			return name
  1595  		}
  1596  	}
  1597  	return (*notification_channel.Name)(nil)
  1598  }
  1599  
  1600  func (h *UpdateNotificationChannelDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
  1601  	typedMsg := msg.(*notification_channel.NotificationChannel)
  1602  	var asInterface interface{} = h
  1603  	override, ok := asInterface.(interface {
  1604  		OverrideExtractResourceNames(*notification_channel.NotificationChannel) []*notification_channel.Name
  1605  	})
  1606  	if ok {
  1607  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
  1608  	}
  1609  	return nil
  1610  }
  1611  
  1612  func (h *UpdateNotificationChannelDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
  1613  	typedMsg := msg.(*notification_channel.NotificationChannel)
  1614  	var asInterface interface{} = h
  1615  	override, ok := asInterface.(interface {
  1616  		OverrideExtractCollectionName(*notification_channel.NotificationChannel) *notification_channel.ParentName
  1617  	})
  1618  	if ok {
  1619  		return override.OverrideExtractCollectionName(typedMsg)
  1620  	}
  1621  	return nil
  1622  }
  1623  
  1624  func (h *UpdateNotificationChannelDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
  1625  	return msg.(*notification_channel.NotificationChannel)
  1626  }
  1627  
  1628  func (h *UpdateNotificationChannelDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
  1629  	typedMsg := msg.(*notification_channel.NotificationChannel)
  1630  	var asInterface interface{} = h
  1631  	override, ok := asInterface.(interface {
  1632  		OverrideExtractResourceBodies(*notification_channel.NotificationChannel) []*notification_channel.NotificationChannel
  1633  	})
  1634  	if ok {
  1635  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
  1636  	}
  1637  	return nil
  1638  }
  1639  
  1640  func GetUpdateNotificationChannelDescriptor() *UpdateNotificationChannelDescriptor {
  1641  	return updateNotificationChannelDescriptor
  1642  }
  1643  
  1644  type DeleteNotificationChannelDescriptor struct{}
  1645  
  1646  type DeleteNotificationChannelDescriptorClientMsgHandle struct{}
  1647  
  1648  type DeleteNotificationChannelDescriptorServerMsgHandle struct{}
  1649  
  1650  func (d *DeleteNotificationChannelDescriptor) NewEmptyClientMsg() proto.Message {
  1651  	return &DeleteNotificationChannelRequest{}
  1652  }
  1653  
  1654  func (d *DeleteNotificationChannelDescriptor) NewEmptyServerMsg() proto.Message {
  1655  	return &emptypb.Empty{}
  1656  }
  1657  
  1658  func (d *DeleteNotificationChannelDescriptor) IsUnary() bool {
  1659  	return true
  1660  }
  1661  
  1662  func (d *DeleteNotificationChannelDescriptor) IsClientStream() bool {
  1663  	return false
  1664  }
  1665  
  1666  func (d *DeleteNotificationChannelDescriptor) IsServerStream() bool {
  1667  	return false
  1668  }
  1669  
  1670  func (d *DeleteNotificationChannelDescriptor) IsCollection() bool {
  1671  	return false
  1672  }
  1673  
  1674  func (d *DeleteNotificationChannelDescriptor) IsPlural() bool {
  1675  	return false
  1676  }
  1677  
  1678  func (d *DeleteNotificationChannelDescriptor) HasResource() bool {
  1679  	return true
  1680  }
  1681  
  1682  func (d *DeleteNotificationChannelDescriptor) RequestHasResourceBody() bool {
  1683  	return false
  1684  }
  1685  
  1686  func (d *DeleteNotificationChannelDescriptor) GetVerb() string {
  1687  	return "delete"
  1688  }
  1689  
  1690  func (d *DeleteNotificationChannelDescriptor) GetMethodName() string {
  1691  	return "DeleteNotificationChannel"
  1692  }
  1693  
  1694  func (d *DeleteNotificationChannelDescriptor) GetFullMethodName() string {
  1695  	return "/ntt.monitoring.v3.NotificationChannelService/DeleteNotificationChannel"
  1696  }
  1697  
  1698  func (d *DeleteNotificationChannelDescriptor) GetProtoPkgName() string {
  1699  	return "ntt.monitoring.v3"
  1700  }
  1701  
  1702  func (d *DeleteNotificationChannelDescriptor) GetApiName() string {
  1703  	return "NotificationChannelService"
  1704  }
  1705  
  1706  func (d *DeleteNotificationChannelDescriptor) GetServiceDomain() string {
  1707  	return "monitoring.edgelq.com"
  1708  }
  1709  
  1710  func (d *DeleteNotificationChannelDescriptor) GetServiceVersion() string {
  1711  	return "v3"
  1712  }
  1713  
  1714  func (d *DeleteNotificationChannelDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor {
  1715  	return notificationChannelServiceDescriptor
  1716  }
  1717  
  1718  func (d *DeleteNotificationChannelDescriptor) GetResourceDescriptor() gotenresource.Descriptor {
  1719  	return notification_channel.GetDescriptor()
  1720  }
  1721  
  1722  func (d *DeleteNotificationChannelDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle {
  1723  	return &DeleteNotificationChannelDescriptorClientMsgHandle{}
  1724  }
  1725  
  1726  func (d *DeleteNotificationChannelDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle {
  1727  	return &DeleteNotificationChannelDescriptorServerMsgHandle{}
  1728  }
  1729  
  1730  func (h *DeleteNotificationChannelDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
  1731  	typedMsg := msg.(*DeleteNotificationChannelRequest)
  1732  	var asInterface interface{} = h
  1733  	override, ok := asInterface.(interface {
  1734  		OverrideExtractResourceName(*DeleteNotificationChannelRequest) *notification_channel.Name
  1735  	})
  1736  	if ok {
  1737  		return override.OverrideExtractResourceName(typedMsg)
  1738  	}
  1739  	{
  1740  		if name := typedMsg.GetName(); name != nil {
  1741  			return name
  1742  		}
  1743  	}
  1744  	return (*notification_channel.Name)(nil)
  1745  }
  1746  
  1747  func (h *DeleteNotificationChannelDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
  1748  	typedMsg := msg.(*DeleteNotificationChannelRequest)
  1749  	var asInterface interface{} = h
  1750  	override, ok := asInterface.(interface {
  1751  		OverrideExtractResourceNames(*DeleteNotificationChannelRequest) []*notification_channel.Name
  1752  	})
  1753  	if ok {
  1754  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
  1755  	}
  1756  	return nil
  1757  }
  1758  
  1759  func (h *DeleteNotificationChannelDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
  1760  	typedMsg := msg.(*DeleteNotificationChannelRequest)
  1761  	var asInterface interface{} = h
  1762  	override, ok := asInterface.(interface {
  1763  		OverrideExtractCollectionName(*DeleteNotificationChannelRequest) *notification_channel.ParentName
  1764  	})
  1765  	if ok {
  1766  		return override.OverrideExtractCollectionName(typedMsg)
  1767  	}
  1768  	return nil
  1769  }
  1770  
  1771  func (h *DeleteNotificationChannelDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
  1772  	typedMsg := msg.(*DeleteNotificationChannelRequest)
  1773  	var asInterface interface{} = h
  1774  	override, ok := asInterface.(interface {
  1775  		OverrideExtractResourceBody(*DeleteNotificationChannelRequest) *notification_channel.NotificationChannel
  1776  	})
  1777  	if ok {
  1778  		return override.OverrideExtractResourceBody(typedMsg)
  1779  	}
  1780  	return nil
  1781  }
  1782  
  1783  func (h *DeleteNotificationChannelDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
  1784  	typedMsg := msg.(*DeleteNotificationChannelRequest)
  1785  	var asInterface interface{} = h
  1786  	override, ok := asInterface.(interface {
  1787  		OverrideExtractResourceBodies(*DeleteNotificationChannelRequest) []*notification_channel.NotificationChannel
  1788  	})
  1789  	if ok {
  1790  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
  1791  	}
  1792  	return nil
  1793  }
  1794  
  1795  func (h *DeleteNotificationChannelDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
  1796  	typedMsg := msg.(*emptypb.Empty)
  1797  	var asInterface interface{} = h
  1798  	override, ok := asInterface.(interface {
  1799  		OverrideExtractResourceName(*emptypb.Empty) *notification_channel.Name
  1800  	})
  1801  	if ok {
  1802  		return override.OverrideExtractResourceName(typedMsg)
  1803  	}
  1804  	return nil
  1805  }
  1806  
  1807  func (h *DeleteNotificationChannelDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
  1808  	typedMsg := msg.(*emptypb.Empty)
  1809  	var asInterface interface{} = h
  1810  	override, ok := asInterface.(interface {
  1811  		OverrideExtractResourceNames(*emptypb.Empty) []*notification_channel.Name
  1812  	})
  1813  	if ok {
  1814  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
  1815  	}
  1816  	return nil
  1817  }
  1818  
  1819  func (h *DeleteNotificationChannelDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
  1820  	typedMsg := msg.(*emptypb.Empty)
  1821  	var asInterface interface{} = h
  1822  	override, ok := asInterface.(interface {
  1823  		OverrideExtractCollectionName(*emptypb.Empty) *notification_channel.ParentName
  1824  	})
  1825  	if ok {
  1826  		return override.OverrideExtractCollectionName(typedMsg)
  1827  	}
  1828  	return nil
  1829  }
  1830  
  1831  func (h *DeleteNotificationChannelDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
  1832  	typedMsg := msg.(*emptypb.Empty)
  1833  	var asInterface interface{} = h
  1834  	override, ok := asInterface.(interface {
  1835  		OverrideExtractResourceBody(*emptypb.Empty) *notification_channel.NotificationChannel
  1836  	})
  1837  	if ok {
  1838  		return override.OverrideExtractResourceBody(typedMsg)
  1839  	}
  1840  	return nil
  1841  }
  1842  
  1843  func (h *DeleteNotificationChannelDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
  1844  	typedMsg := msg.(*emptypb.Empty)
  1845  	var asInterface interface{} = h
  1846  	override, ok := asInterface.(interface {
  1847  		OverrideExtractResourceBodies(*emptypb.Empty) []*notification_channel.NotificationChannel
  1848  	})
  1849  	if ok {
  1850  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
  1851  	}
  1852  	return nil
  1853  }
  1854  
  1855  func GetDeleteNotificationChannelDescriptor() *DeleteNotificationChannelDescriptor {
  1856  	return deleteNotificationChannelDescriptor
  1857  }
  1858  
  1859  type TestNotificationChannelDescriptor struct{}
  1860  
  1861  type TestNotificationChannelDescriptorClientMsgHandle struct{}
  1862  
  1863  type TestNotificationChannelDescriptorServerMsgHandle struct{}
  1864  
  1865  func (d *TestNotificationChannelDescriptor) NewEmptyClientMsg() proto.Message {
  1866  	return &TestNotificationChannelRequest{}
  1867  }
  1868  
  1869  func (d *TestNotificationChannelDescriptor) NewEmptyServerMsg() proto.Message {
  1870  	return &emptypb.Empty{}
  1871  }
  1872  
  1873  func (d *TestNotificationChannelDescriptor) IsUnary() bool {
  1874  	return true
  1875  }
  1876  
  1877  func (d *TestNotificationChannelDescriptor) IsClientStream() bool {
  1878  	return false
  1879  }
  1880  
  1881  func (d *TestNotificationChannelDescriptor) IsServerStream() bool {
  1882  	return false
  1883  }
  1884  
  1885  func (d *TestNotificationChannelDescriptor) IsCollection() bool {
  1886  	return false
  1887  }
  1888  
  1889  func (d *TestNotificationChannelDescriptor) IsPlural() bool {
  1890  	return false
  1891  }
  1892  
  1893  func (d *TestNotificationChannelDescriptor) HasResource() bool {
  1894  	return true
  1895  }
  1896  
  1897  func (d *TestNotificationChannelDescriptor) RequestHasResourceBody() bool {
  1898  	return false
  1899  }
  1900  
  1901  func (d *TestNotificationChannelDescriptor) GetVerb() string {
  1902  	return "test"
  1903  }
  1904  
  1905  func (d *TestNotificationChannelDescriptor) GetMethodName() string {
  1906  	return "TestNotificationChannel"
  1907  }
  1908  
  1909  func (d *TestNotificationChannelDescriptor) GetFullMethodName() string {
  1910  	return "/ntt.monitoring.v3.NotificationChannelService/TestNotificationChannel"
  1911  }
  1912  
  1913  func (d *TestNotificationChannelDescriptor) GetProtoPkgName() string {
  1914  	return "ntt.monitoring.v3"
  1915  }
  1916  
  1917  func (d *TestNotificationChannelDescriptor) GetApiName() string {
  1918  	return "NotificationChannelService"
  1919  }
  1920  
  1921  func (d *TestNotificationChannelDescriptor) GetServiceDomain() string {
  1922  	return "monitoring.edgelq.com"
  1923  }
  1924  
  1925  func (d *TestNotificationChannelDescriptor) GetServiceVersion() string {
  1926  	return "v3"
  1927  }
  1928  
  1929  func (d *TestNotificationChannelDescriptor) GetApiDescriptor() gotenclient.ApiDescriptor {
  1930  	return notificationChannelServiceDescriptor
  1931  }
  1932  
  1933  func (d *TestNotificationChannelDescriptor) GetResourceDescriptor() gotenresource.Descriptor {
  1934  	return notification_channel.GetDescriptor()
  1935  }
  1936  
  1937  func (d *TestNotificationChannelDescriptor) GetClientMsgReflectHandle() gotenclient.MethodMsgHandle {
  1938  	return &TestNotificationChannelDescriptorClientMsgHandle{}
  1939  }
  1940  
  1941  func (d *TestNotificationChannelDescriptor) GetServerMsgReflectHandle() gotenclient.MethodMsgHandle {
  1942  	return &TestNotificationChannelDescriptorServerMsgHandle{}
  1943  }
  1944  
  1945  func (h *TestNotificationChannelDescriptorClientMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
  1946  	typedMsg := msg.(*TestNotificationChannelRequest)
  1947  	var asInterface interface{} = h
  1948  	override, ok := asInterface.(interface {
  1949  		OverrideExtractResourceName(*TestNotificationChannelRequest) *notification_channel.Name
  1950  	})
  1951  	if ok {
  1952  		return override.OverrideExtractResourceName(typedMsg)
  1953  	}
  1954  	{
  1955  		if name := typedMsg.GetName(); name != nil {
  1956  			return name
  1957  		}
  1958  	}
  1959  	return (*notification_channel.Name)(nil)
  1960  }
  1961  
  1962  func (h *TestNotificationChannelDescriptorClientMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
  1963  	typedMsg := msg.(*TestNotificationChannelRequest)
  1964  	var asInterface interface{} = h
  1965  	override, ok := asInterface.(interface {
  1966  		OverrideExtractResourceNames(*TestNotificationChannelRequest) []*notification_channel.Name
  1967  	})
  1968  	if ok {
  1969  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
  1970  	}
  1971  	return nil
  1972  }
  1973  
  1974  func (h *TestNotificationChannelDescriptorClientMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
  1975  	typedMsg := msg.(*TestNotificationChannelRequest)
  1976  	var asInterface interface{} = h
  1977  	override, ok := asInterface.(interface {
  1978  		OverrideExtractCollectionName(*TestNotificationChannelRequest) *notification_channel.ParentName
  1979  	})
  1980  	if ok {
  1981  		return override.OverrideExtractCollectionName(typedMsg)
  1982  	}
  1983  	return nil
  1984  }
  1985  
  1986  func (h *TestNotificationChannelDescriptorClientMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
  1987  	typedMsg := msg.(*TestNotificationChannelRequest)
  1988  	var asInterface interface{} = h
  1989  	override, ok := asInterface.(interface {
  1990  		OverrideExtractResourceBody(*TestNotificationChannelRequest) *notification_channel.NotificationChannel
  1991  	})
  1992  	if ok {
  1993  		return override.OverrideExtractResourceBody(typedMsg)
  1994  	}
  1995  	return nil
  1996  }
  1997  
  1998  func (h *TestNotificationChannelDescriptorClientMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
  1999  	typedMsg := msg.(*TestNotificationChannelRequest)
  2000  	var asInterface interface{} = h
  2001  	override, ok := asInterface.(interface {
  2002  		OverrideExtractResourceBodies(*TestNotificationChannelRequest) []*notification_channel.NotificationChannel
  2003  	})
  2004  	if ok {
  2005  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
  2006  	}
  2007  	return nil
  2008  }
  2009  
  2010  func (h *TestNotificationChannelDescriptorServerMsgHandle) ExtractResourceName(msg proto.Message) gotenresource.Name {
  2011  	typedMsg := msg.(*emptypb.Empty)
  2012  	var asInterface interface{} = h
  2013  	override, ok := asInterface.(interface {
  2014  		OverrideExtractResourceName(*emptypb.Empty) *notification_channel.Name
  2015  	})
  2016  	if ok {
  2017  		return override.OverrideExtractResourceName(typedMsg)
  2018  	}
  2019  	return nil
  2020  }
  2021  
  2022  func (h *TestNotificationChannelDescriptorServerMsgHandle) ExtractResourceNames(msg proto.Message) gotenresource.NameList {
  2023  	typedMsg := msg.(*emptypb.Empty)
  2024  	var asInterface interface{} = h
  2025  	override, ok := asInterface.(interface {
  2026  		OverrideExtractResourceNames(*emptypb.Empty) []*notification_channel.Name
  2027  	})
  2028  	if ok {
  2029  		return notification_channel.NotificationChannelNameList(override.OverrideExtractResourceNames(typedMsg))
  2030  	}
  2031  	return nil
  2032  }
  2033  
  2034  func (h *TestNotificationChannelDescriptorServerMsgHandle) ExtractCollectionName(msg proto.Message) gotenresource.Name {
  2035  	typedMsg := msg.(*emptypb.Empty)
  2036  	var asInterface interface{} = h
  2037  	override, ok := asInterface.(interface {
  2038  		OverrideExtractCollectionName(*emptypb.Empty) *notification_channel.ParentName
  2039  	})
  2040  	if ok {
  2041  		return override.OverrideExtractCollectionName(typedMsg)
  2042  	}
  2043  	return nil
  2044  }
  2045  
  2046  func (h *TestNotificationChannelDescriptorServerMsgHandle) ExtractResourceBody(msg proto.Message) gotenresource.Resource {
  2047  	typedMsg := msg.(*emptypb.Empty)
  2048  	var asInterface interface{} = h
  2049  	override, ok := asInterface.(interface {
  2050  		OverrideExtractResourceBody(*emptypb.Empty) *notification_channel.NotificationChannel
  2051  	})
  2052  	if ok {
  2053  		return override.OverrideExtractResourceBody(typedMsg)
  2054  	}
  2055  	return nil
  2056  }
  2057  
  2058  func (h *TestNotificationChannelDescriptorServerMsgHandle) ExtractResourceBodies(msg proto.Message) gotenresource.ResourceList {
  2059  	typedMsg := msg.(*emptypb.Empty)
  2060  	var asInterface interface{} = h
  2061  	override, ok := asInterface.(interface {
  2062  		OverrideExtractResourceBodies(*emptypb.Empty) []*notification_channel.NotificationChannel
  2063  	})
  2064  	if ok {
  2065  		return notification_channel.NotificationChannelList(override.OverrideExtractResourceBodies(typedMsg))
  2066  	}
  2067  	return nil
  2068  }
  2069  
  2070  func GetTestNotificationChannelDescriptor() *TestNotificationChannelDescriptor {
  2071  	return testNotificationChannelDescriptor
  2072  }
  2073  
  2074  type NotificationChannelServiceDescriptor struct{}
  2075  
  2076  func (d *NotificationChannelServiceDescriptor) AllMethodDescriptors() []gotenclient.MethodDescriptor {
  2077  	return []gotenclient.MethodDescriptor{
  2078  		getNotificationChannelDescriptor,
  2079  		batchGetNotificationChannelsDescriptor,
  2080  		listNotificationChannelsDescriptor,
  2081  		watchNotificationChannelDescriptor,
  2082  		watchNotificationChannelsDescriptor,
  2083  		createNotificationChannelDescriptor,
  2084  		updateNotificationChannelDescriptor,
  2085  		deleteNotificationChannelDescriptor,
  2086  		testNotificationChannelDescriptor,
  2087  	}
  2088  }
  2089  
  2090  func (d *NotificationChannelServiceDescriptor) GetFullAPIName() string {
  2091  	return "/ntt.monitoring.v3.NotificationChannelService"
  2092  }
  2093  
  2094  func (d *NotificationChannelServiceDescriptor) GetProtoPkgName() string {
  2095  	return "ntt.monitoring.v3"
  2096  }
  2097  
  2098  func (d *NotificationChannelServiceDescriptor) GetApiName() string {
  2099  	return "NotificationChannelService"
  2100  }
  2101  
  2102  func (d *NotificationChannelServiceDescriptor) GetServiceDomain() string {
  2103  	return "monitoring.edgelq.com"
  2104  }
  2105  
  2106  func (d *NotificationChannelServiceDescriptor) GetServiceVersion() string {
  2107  	return "v3"
  2108  }
  2109  
  2110  func GetNotificationChannelServiceDescriptor() *NotificationChannelServiceDescriptor {
  2111  	return notificationChannelServiceDescriptor
  2112  }
  2113  
  2114  func initDescriptors() {
  2115  	notificationChannelServiceDescriptor = &NotificationChannelServiceDescriptor{}
  2116  	getNotificationChannelDescriptor = &GetNotificationChannelDescriptor{}
  2117  	batchGetNotificationChannelsDescriptor = &BatchGetNotificationChannelsDescriptor{}
  2118  	listNotificationChannelsDescriptor = &ListNotificationChannelsDescriptor{}
  2119  	watchNotificationChannelDescriptor = &WatchNotificationChannelDescriptor{}
  2120  	watchNotificationChannelsDescriptor = &WatchNotificationChannelsDescriptor{}
  2121  	createNotificationChannelDescriptor = &CreateNotificationChannelDescriptor{}
  2122  	updateNotificationChannelDescriptor = &UpdateNotificationChannelDescriptor{}
  2123  	deleteNotificationChannelDescriptor = &DeleteNotificationChannelDescriptor{}
  2124  	testNotificationChannelDescriptor = &TestNotificationChannelDescriptor{}
  2125  	gotenclient.GetRegistry().RegisterApiDescriptor(notificationChannelServiceDescriptor)
  2126  	gotenclient.GetRegistry().RegisterMethodDescriptor(getNotificationChannelDescriptor)
  2127  	gotenclient.GetRegistry().RegisterMethodDescriptor(batchGetNotificationChannelsDescriptor)
  2128  	gotenclient.GetRegistry().RegisterMethodDescriptor(listNotificationChannelsDescriptor)
  2129  	gotenclient.GetRegistry().RegisterMethodDescriptor(watchNotificationChannelDescriptor)
  2130  	gotenclient.GetRegistry().RegisterMethodDescriptor(watchNotificationChannelsDescriptor)
  2131  	gotenclient.GetRegistry().RegisterMethodDescriptor(createNotificationChannelDescriptor)
  2132  	gotenclient.GetRegistry().RegisterMethodDescriptor(updateNotificationChannelDescriptor)
  2133  	gotenclient.GetRegistry().RegisterMethodDescriptor(deleteNotificationChannelDescriptor)
  2134  	gotenclient.GetRegistry().RegisterMethodDescriptor(testNotificationChannelDescriptor)
  2135  }
  2136  
  2137  func init() {
  2138  	if !descriptorsInitialized {
  2139  		initDescriptors()
  2140  		descriptorsInitialized = true
  2141  	}
  2142  }