github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/alert/alert_change.pb.go (about)

     1  // Code generated by protoc-gen-goten-go
     2  // File: edgelq/alerting/proto/v1/alert_change.proto
     3  // DO NOT EDIT!!!
     4  
     5  package alert
     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  	log_condition "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/log_condition"
    21  	ts_condition "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/ts_condition"
    22  	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
    23  )
    24  
    25  // Reference imports to suppress errors if they are not otherwise used.
    26  var (
    27  	_ = fmt.Errorf
    28  	_ = reflect.Method{}
    29  	_ = sync.Once{}
    30  
    31  	_ = protojson.MarshalOptions{}
    32  	_ = proto.MarshalOptions{}
    33  	_ = preflect.Value{}
    34  	_ = protoimpl.DescBuilder{}
    35  )
    36  
    37  // make sure we're using proto imports
    38  var (
    39  	_ = &log_condition.LogCondition{}
    40  	_ = &ts_condition.TsCondition{}
    41  	_ = &fieldmaskpb.FieldMask{}
    42  )
    43  
    44  const (
    45  	// Verify that this generated code is sufficiently up-to-date.
    46  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    47  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    48  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    49  )
    50  
    51  // AlertChange is used by Watch notifications Responses to describe change of
    52  // single Alert One of Added, Modified, Removed
    53  type AlertChange struct {
    54  	state         protoimpl.MessageState
    55  	sizeCache     protoimpl.SizeCache
    56  	unknownFields protoimpl.UnknownFields
    57  	// Alert change
    58  	//
    59  	// Types that are valid to be assigned to ChangeType:
    60  	//	*AlertChange_Added_
    61  	//	*AlertChange_Modified_
    62  	//	*AlertChange_Current_
    63  	//	*AlertChange_Removed_
    64  	ChangeType isAlertChange_ChangeType `protobuf_oneof:"change_type"`
    65  }
    66  
    67  func (m *AlertChange) Reset() {
    68  	*m = AlertChange{}
    69  	if protoimpl.UnsafeEnabled {
    70  		mi := &edgelq_alerting_proto_v1_alert_change_proto_msgTypes[0]
    71  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    72  		ms.StoreMessageInfo(mi)
    73  	}
    74  }
    75  
    76  func (m *AlertChange) String() string {
    77  	return protoimpl.X.MessageStringOf(m)
    78  }
    79  
    80  func (*AlertChange) ProtoMessage() {}
    81  
    82  func (m *AlertChange) ProtoReflect() preflect.Message {
    83  	mi := &edgelq_alerting_proto_v1_alert_change_proto_msgTypes[0]
    84  	if protoimpl.UnsafeEnabled && m != nil {
    85  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
    86  		if ms.LoadMessageInfo() == nil {
    87  			ms.StoreMessageInfo(mi)
    88  		}
    89  		return ms
    90  	}
    91  	return mi.MessageOf(m)
    92  }
    93  
    94  func (*AlertChange) GotenMessage() {}
    95  
    96  // Deprecated, Use AlertChange.ProtoReflect.Descriptor instead.
    97  func (*AlertChange) Descriptor() ([]byte, []int) {
    98  	return edgelq_alerting_proto_v1_alert_change_proto_rawDescGZIP(), []int{0}
    99  }
   100  
   101  func (m *AlertChange) Unmarshal(b []byte) error {
   102  	return proto.Unmarshal(b, m)
   103  }
   104  
   105  func (m *AlertChange) Marshal() ([]byte, error) {
   106  	return proto.Marshal(m)
   107  }
   108  
   109  func (m *AlertChange) MarshalJSON() ([]byte, error) {
   110  	return protojson.MarshalOptions{}.Marshal(m)
   111  }
   112  
   113  func (m *AlertChange) UnmarshalJSON(data []byte) error {
   114  	return protojson.Unmarshal(data, m)
   115  }
   116  
   117  type isAlertChange_ChangeType interface {
   118  	isAlertChange_ChangeType()
   119  }
   120  
   121  type AlertChange_Added_ struct {
   122  	// Added is returned when watched document is added, either created or
   123  	// enters Query view
   124  	Added *AlertChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof"`
   125  }
   126  type AlertChange_Modified_ struct {
   127  	// Modified is returned when watched document is modified
   128  	Modified *AlertChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof"`
   129  }
   130  type AlertChange_Current_ struct {
   131  	// Current is returned in stateless watch when document enters query view or
   132  	// is modified within.
   133  	Current *AlertChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof"`
   134  }
   135  type AlertChange_Removed_ struct {
   136  	// Removed is returned when Alert is deleted or leaves Query view
   137  	Removed *AlertChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof"`
   138  }
   139  
   140  func (*AlertChange_Added_) isAlertChange_ChangeType()    {}
   141  func (*AlertChange_Modified_) isAlertChange_ChangeType() {}
   142  func (*AlertChange_Current_) isAlertChange_ChangeType()  {}
   143  func (*AlertChange_Removed_) isAlertChange_ChangeType()  {}
   144  func (m *AlertChange) GetChangeType() isAlertChange_ChangeType {
   145  	if m != nil {
   146  		return m.ChangeType
   147  	}
   148  	return nil
   149  }
   150  func (m *AlertChange) GetAdded() *AlertChange_Added {
   151  	if x, ok := m.GetChangeType().(*AlertChange_Added_); ok {
   152  		return x.Added
   153  	}
   154  	return nil
   155  }
   156  func (m *AlertChange) GetModified() *AlertChange_Modified {
   157  	if x, ok := m.GetChangeType().(*AlertChange_Modified_); ok {
   158  		return x.Modified
   159  	}
   160  	return nil
   161  }
   162  func (m *AlertChange) GetCurrent() *AlertChange_Current {
   163  	if x, ok := m.GetChangeType().(*AlertChange_Current_); ok {
   164  		return x.Current
   165  	}
   166  	return nil
   167  }
   168  func (m *AlertChange) GetRemoved() *AlertChange_Removed {
   169  	if x, ok := m.GetChangeType().(*AlertChange_Removed_); ok {
   170  		return x.Removed
   171  	}
   172  	return nil
   173  }
   174  func (m *AlertChange) SetChangeType(ofv isAlertChange_ChangeType) {
   175  	if m == nil {
   176  		panic(fmt.Errorf("can't set %s on nil %s", "isAlertChange_ChangeType", "AlertChange"))
   177  	}
   178  	m.ChangeType = ofv
   179  }
   180  func (m *AlertChange) SetAdded(fv *AlertChange_Added) {
   181  	m.SetChangeType(&AlertChange_Added_{Added: fv})
   182  }
   183  func (m *AlertChange) SetModified(fv *AlertChange_Modified) {
   184  	m.SetChangeType(&AlertChange_Modified_{Modified: fv})
   185  }
   186  func (m *AlertChange) SetCurrent(fv *AlertChange_Current) {
   187  	m.SetChangeType(&AlertChange_Current_{Current: fv})
   188  }
   189  func (m *AlertChange) SetRemoved(fv *AlertChange_Removed) {
   190  	m.SetChangeType(&AlertChange_Removed_{Removed: fv})
   191  }
   192  
   193  // Alert has been added to query view
   194  type AlertChange_Added struct {
   195  	state         protoimpl.MessageState
   196  	sizeCache     protoimpl.SizeCache
   197  	unknownFields protoimpl.UnknownFields
   198  	Alert         *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"`
   199  	// Integer describing index of added Alert in resulting query view.
   200  	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"`
   201  }
   202  
   203  func (m *AlertChange_Added) Reset() {
   204  	*m = AlertChange_Added{}
   205  	if protoimpl.UnsafeEnabled {
   206  		mi := &edgelq_alerting_proto_v1_alert_change_proto_msgTypes[1]
   207  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   208  		ms.StoreMessageInfo(mi)
   209  	}
   210  }
   211  
   212  func (m *AlertChange_Added) String() string {
   213  	return protoimpl.X.MessageStringOf(m)
   214  }
   215  
   216  func (*AlertChange_Added) ProtoMessage() {}
   217  
   218  func (m *AlertChange_Added) ProtoReflect() preflect.Message {
   219  	mi := &edgelq_alerting_proto_v1_alert_change_proto_msgTypes[1]
   220  	if protoimpl.UnsafeEnabled && m != nil {
   221  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   222  		if ms.LoadMessageInfo() == nil {
   223  			ms.StoreMessageInfo(mi)
   224  		}
   225  		return ms
   226  	}
   227  	return mi.MessageOf(m)
   228  }
   229  
   230  func (*AlertChange_Added) GotenMessage() {}
   231  
   232  // Deprecated, Use AlertChange_Added.ProtoReflect.Descriptor instead.
   233  func (*AlertChange_Added) Descriptor() ([]byte, []int) {
   234  	return edgelq_alerting_proto_v1_alert_change_proto_rawDescGZIP(), []int{0, 0}
   235  }
   236  
   237  func (m *AlertChange_Added) Unmarshal(b []byte) error {
   238  	return proto.Unmarshal(b, m)
   239  }
   240  
   241  func (m *AlertChange_Added) Marshal() ([]byte, error) {
   242  	return proto.Marshal(m)
   243  }
   244  
   245  func (m *AlertChange_Added) MarshalJSON() ([]byte, error) {
   246  	return protojson.MarshalOptions{}.Marshal(m)
   247  }
   248  
   249  func (m *AlertChange_Added) UnmarshalJSON(data []byte) error {
   250  	return protojson.Unmarshal(data, m)
   251  }
   252  
   253  func (m *AlertChange_Added) GetAlert() *Alert {
   254  	if m != nil {
   255  		return m.Alert
   256  	}
   257  	return nil
   258  }
   259  
   260  func (m *AlertChange_Added) GetViewIndex() int32 {
   261  	if m != nil {
   262  		return m.ViewIndex
   263  	}
   264  	return int32(0)
   265  }
   266  
   267  func (m *AlertChange_Added) SetAlert(fv *Alert) {
   268  	if m == nil {
   269  		panic(fmt.Errorf("can't set %s on nil %s", "Alert", "AlertChange_Added"))
   270  	}
   271  	m.Alert = fv
   272  }
   273  
   274  func (m *AlertChange_Added) SetViewIndex(fv int32) {
   275  	if m == nil {
   276  		panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "AlertChange_Added"))
   277  	}
   278  	m.ViewIndex = fv
   279  }
   280  
   281  // Alert changed some of it's fields - contains either full document or masked
   282  // change
   283  type AlertChange_Modified struct {
   284  	state         protoimpl.MessageState
   285  	sizeCache     protoimpl.SizeCache
   286  	unknownFields protoimpl.UnknownFields
   287  	// Name of modified Alert
   288  	Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
   289  	// New version of Alert or masked difference, depending on mask_changes
   290  	// instrumentation of issued [WatchAlertRequest] or [WatchAlertsRequest]
   291  	Alert *Alert `protobuf:"bytes,2,opt,name=alert,proto3" json:"alert,omitempty"`
   292  	// Used when mask_changes is set, contains field paths of modified
   293  	// properties.
   294  	FieldMask *Alert_FieldMask `protobuf:"bytes,3,opt,customtype=Alert_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
   295  	// Previous view index specifies previous position of modified Alert.
   296  	// When modification doesn't affect sorted order, value will remain
   297  	// identical to [view_index].
   298  	PreviousViewIndex int32 `protobuf:"varint,4,opt,name=previous_view_index,json=previousViewIndex,proto3" json:"previous_view_index,omitempty"`
   299  	// Integer specifying Alert new index in resulting query view.
   300  	ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"`
   301  }
   302  
   303  func (m *AlertChange_Modified) Reset() {
   304  	*m = AlertChange_Modified{}
   305  	if protoimpl.UnsafeEnabled {
   306  		mi := &edgelq_alerting_proto_v1_alert_change_proto_msgTypes[2]
   307  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   308  		ms.StoreMessageInfo(mi)
   309  	}
   310  }
   311  
   312  func (m *AlertChange_Modified) String() string {
   313  	return protoimpl.X.MessageStringOf(m)
   314  }
   315  
   316  func (*AlertChange_Modified) ProtoMessage() {}
   317  
   318  func (m *AlertChange_Modified) ProtoReflect() preflect.Message {
   319  	mi := &edgelq_alerting_proto_v1_alert_change_proto_msgTypes[2]
   320  	if protoimpl.UnsafeEnabled && m != nil {
   321  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   322  		if ms.LoadMessageInfo() == nil {
   323  			ms.StoreMessageInfo(mi)
   324  		}
   325  		return ms
   326  	}
   327  	return mi.MessageOf(m)
   328  }
   329  
   330  func (*AlertChange_Modified) GotenMessage() {}
   331  
   332  // Deprecated, Use AlertChange_Modified.ProtoReflect.Descriptor instead.
   333  func (*AlertChange_Modified) Descriptor() ([]byte, []int) {
   334  	return edgelq_alerting_proto_v1_alert_change_proto_rawDescGZIP(), []int{0, 1}
   335  }
   336  
   337  func (m *AlertChange_Modified) Unmarshal(b []byte) error {
   338  	return proto.Unmarshal(b, m)
   339  }
   340  
   341  func (m *AlertChange_Modified) Marshal() ([]byte, error) {
   342  	return proto.Marshal(m)
   343  }
   344  
   345  func (m *AlertChange_Modified) MarshalJSON() ([]byte, error) {
   346  	return protojson.MarshalOptions{}.Marshal(m)
   347  }
   348  
   349  func (m *AlertChange_Modified) UnmarshalJSON(data []byte) error {
   350  	return protojson.Unmarshal(data, m)
   351  }
   352  
   353  func (m *AlertChange_Modified) GetName() *Name {
   354  	if m != nil {
   355  		return m.Name
   356  	}
   357  	return nil
   358  }
   359  
   360  func (m *AlertChange_Modified) GetAlert() *Alert {
   361  	if m != nil {
   362  		return m.Alert
   363  	}
   364  	return nil
   365  }
   366  
   367  func (m *AlertChange_Modified) GetFieldMask() *Alert_FieldMask {
   368  	if m != nil {
   369  		return m.FieldMask
   370  	}
   371  	return nil
   372  }
   373  
   374  func (m *AlertChange_Modified) GetPreviousViewIndex() int32 {
   375  	if m != nil {
   376  		return m.PreviousViewIndex
   377  	}
   378  	return int32(0)
   379  }
   380  
   381  func (m *AlertChange_Modified) GetViewIndex() int32 {
   382  	if m != nil {
   383  		return m.ViewIndex
   384  	}
   385  	return int32(0)
   386  }
   387  
   388  func (m *AlertChange_Modified) SetName(fv *Name) {
   389  	if m == nil {
   390  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "AlertChange_Modified"))
   391  	}
   392  	m.Name = fv
   393  }
   394  
   395  func (m *AlertChange_Modified) SetAlert(fv *Alert) {
   396  	if m == nil {
   397  		panic(fmt.Errorf("can't set %s on nil %s", "Alert", "AlertChange_Modified"))
   398  	}
   399  	m.Alert = fv
   400  }
   401  
   402  func (m *AlertChange_Modified) SetFieldMask(fv *Alert_FieldMask) {
   403  	if m == nil {
   404  		panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "AlertChange_Modified"))
   405  	}
   406  	m.FieldMask = fv
   407  }
   408  
   409  func (m *AlertChange_Modified) SetPreviousViewIndex(fv int32) {
   410  	if m == nil {
   411  		panic(fmt.Errorf("can't set %s on nil %s", "PreviousViewIndex", "AlertChange_Modified"))
   412  	}
   413  	m.PreviousViewIndex = fv
   414  }
   415  
   416  func (m *AlertChange_Modified) SetViewIndex(fv int32) {
   417  	if m == nil {
   418  		panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "AlertChange_Modified"))
   419  	}
   420  	m.ViewIndex = fv
   421  }
   422  
   423  // Alert has been added or modified in a query view. Version used for
   424  // stateless watching
   425  type AlertChange_Current struct {
   426  	state         protoimpl.MessageState
   427  	sizeCache     protoimpl.SizeCache
   428  	unknownFields protoimpl.UnknownFields
   429  	Alert         *Alert `protobuf:"bytes,1,opt,name=alert,proto3" json:"alert,omitempty"`
   430  }
   431  
   432  func (m *AlertChange_Current) Reset() {
   433  	*m = AlertChange_Current{}
   434  	if protoimpl.UnsafeEnabled {
   435  		mi := &edgelq_alerting_proto_v1_alert_change_proto_msgTypes[3]
   436  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   437  		ms.StoreMessageInfo(mi)
   438  	}
   439  }
   440  
   441  func (m *AlertChange_Current) String() string {
   442  	return protoimpl.X.MessageStringOf(m)
   443  }
   444  
   445  func (*AlertChange_Current) ProtoMessage() {}
   446  
   447  func (m *AlertChange_Current) ProtoReflect() preflect.Message {
   448  	mi := &edgelq_alerting_proto_v1_alert_change_proto_msgTypes[3]
   449  	if protoimpl.UnsafeEnabled && m != nil {
   450  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   451  		if ms.LoadMessageInfo() == nil {
   452  			ms.StoreMessageInfo(mi)
   453  		}
   454  		return ms
   455  	}
   456  	return mi.MessageOf(m)
   457  }
   458  
   459  func (*AlertChange_Current) GotenMessage() {}
   460  
   461  // Deprecated, Use AlertChange_Current.ProtoReflect.Descriptor instead.
   462  func (*AlertChange_Current) Descriptor() ([]byte, []int) {
   463  	return edgelq_alerting_proto_v1_alert_change_proto_rawDescGZIP(), []int{0, 2}
   464  }
   465  
   466  func (m *AlertChange_Current) Unmarshal(b []byte) error {
   467  	return proto.Unmarshal(b, m)
   468  }
   469  
   470  func (m *AlertChange_Current) Marshal() ([]byte, error) {
   471  	return proto.Marshal(m)
   472  }
   473  
   474  func (m *AlertChange_Current) MarshalJSON() ([]byte, error) {
   475  	return protojson.MarshalOptions{}.Marshal(m)
   476  }
   477  
   478  func (m *AlertChange_Current) UnmarshalJSON(data []byte) error {
   479  	return protojson.Unmarshal(data, m)
   480  }
   481  
   482  func (m *AlertChange_Current) GetAlert() *Alert {
   483  	if m != nil {
   484  		return m.Alert
   485  	}
   486  	return nil
   487  }
   488  
   489  func (m *AlertChange_Current) SetAlert(fv *Alert) {
   490  	if m == nil {
   491  		panic(fmt.Errorf("can't set %s on nil %s", "Alert", "AlertChange_Current"))
   492  	}
   493  	m.Alert = fv
   494  }
   495  
   496  // Removed is returned when Alert is deleted or leaves Query view
   497  type AlertChange_Removed struct {
   498  	state         protoimpl.MessageState
   499  	sizeCache     protoimpl.SizeCache
   500  	unknownFields protoimpl.UnknownFields
   501  	Name          *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"`
   502  	// Integer specifying removed Alert index. Not populated in stateless watch
   503  	// type.
   504  	ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"`
   505  }
   506  
   507  func (m *AlertChange_Removed) Reset() {
   508  	*m = AlertChange_Removed{}
   509  	if protoimpl.UnsafeEnabled {
   510  		mi := &edgelq_alerting_proto_v1_alert_change_proto_msgTypes[4]
   511  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   512  		ms.StoreMessageInfo(mi)
   513  	}
   514  }
   515  
   516  func (m *AlertChange_Removed) String() string {
   517  	return protoimpl.X.MessageStringOf(m)
   518  }
   519  
   520  func (*AlertChange_Removed) ProtoMessage() {}
   521  
   522  func (m *AlertChange_Removed) ProtoReflect() preflect.Message {
   523  	mi := &edgelq_alerting_proto_v1_alert_change_proto_msgTypes[4]
   524  	if protoimpl.UnsafeEnabled && m != nil {
   525  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m))
   526  		if ms.LoadMessageInfo() == nil {
   527  			ms.StoreMessageInfo(mi)
   528  		}
   529  		return ms
   530  	}
   531  	return mi.MessageOf(m)
   532  }
   533  
   534  func (*AlertChange_Removed) GotenMessage() {}
   535  
   536  // Deprecated, Use AlertChange_Removed.ProtoReflect.Descriptor instead.
   537  func (*AlertChange_Removed) Descriptor() ([]byte, []int) {
   538  	return edgelq_alerting_proto_v1_alert_change_proto_rawDescGZIP(), []int{0, 3}
   539  }
   540  
   541  func (m *AlertChange_Removed) Unmarshal(b []byte) error {
   542  	return proto.Unmarshal(b, m)
   543  }
   544  
   545  func (m *AlertChange_Removed) Marshal() ([]byte, error) {
   546  	return proto.Marshal(m)
   547  }
   548  
   549  func (m *AlertChange_Removed) MarshalJSON() ([]byte, error) {
   550  	return protojson.MarshalOptions{}.Marshal(m)
   551  }
   552  
   553  func (m *AlertChange_Removed) UnmarshalJSON(data []byte) error {
   554  	return protojson.Unmarshal(data, m)
   555  }
   556  
   557  func (m *AlertChange_Removed) GetName() *Name {
   558  	if m != nil {
   559  		return m.Name
   560  	}
   561  	return nil
   562  }
   563  
   564  func (m *AlertChange_Removed) GetViewIndex() int32 {
   565  	if m != nil {
   566  		return m.ViewIndex
   567  	}
   568  	return int32(0)
   569  }
   570  
   571  func (m *AlertChange_Removed) SetName(fv *Name) {
   572  	if m == nil {
   573  		panic(fmt.Errorf("can't set %s on nil %s", "Name", "AlertChange_Removed"))
   574  	}
   575  	m.Name = fv
   576  }
   577  
   578  func (m *AlertChange_Removed) SetViewIndex(fv int32) {
   579  	if m == nil {
   580  		panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "AlertChange_Removed"))
   581  	}
   582  	m.ViewIndex = fv
   583  }
   584  
   585  var edgelq_alerting_proto_v1_alert_change_proto preflect.FileDescriptor
   586  
   587  var edgelq_alerting_proto_v1_alert_change_proto_rawDesc = []byte{
   588  	0x0a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e,
   589  	0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74,
   590  	0x5f, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x6e,
   591  	0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x19,
   592  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
   593  	0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   594  	0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
   595  	0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74,
   596  	0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67,
   597  	0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65,
   598  	0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65,
   599  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64,
   600  	0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72,
   601  	0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f,
   602  	0x74, 0x6f, 0x22, 0x81, 0x06, 0x0a, 0x0b, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x6e,
   603  	0x67, 0x65, 0x12, 0x3a, 0x0a, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
   604  	0x0b, 0x32, 0x22, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67,
   605  	0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e,
   606  	0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x12, 0x43,
   607  	0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
   608  	0x32, 0x25, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e,
   609  	0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x4d,
   610  	0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66,
   611  	0x69, 0x65, 0x64, 0x12, 0x40, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x04,
   612  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74,
   613  	0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x6e,
   614  	0x67, 0x65, 0x2e, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 0x63, 0x75,
   615  	0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x40, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64,
   616  	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65,
   617  	0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x68,
   618  	0x61, 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x07,
   619  	0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x1a, 0x54, 0x0a, 0x05, 0x41, 0x64, 0x64, 0x65, 0x64,
   620  	0x12, 0x2c, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
   621  	0x16, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76,
   622  	0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x1d,
   623  	0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01,
   624  	0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0xf4, 0x01,
   625  	0x0a, 0x08, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x04, 0x6e, 0x61,
   626  	0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0xb2, 0xda, 0x21, 0x09, 0x0a, 0x07,
   627  	0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a,
   628  	0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6e,
   629  	0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41,
   630  	0x6c, 0x65, 0x72, 0x74, 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x48, 0x0a, 0x0a, 0x66,
   631  	0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
   632  	0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   633  	0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x0d, 0xb2, 0xda, 0x21,
   634  	0x09, 0x32, 0x07, 0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c,
   635  	0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75,
   636  	0x73, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x04, 0x20, 0x01,
   637  	0x28, 0x05, 0x52, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x56, 0x69, 0x65, 0x77,
   638  	0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e,
   639  	0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49,
   640  	0x6e, 0x64, 0x65, 0x78, 0x1a, 0x37, 0x0a, 0x07, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12,
   641  	0x2c, 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
   642  	0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31,
   643  	0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x1a, 0x4b, 0x0a,
   644  	0x07, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x12, 0x21, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   645  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0d, 0xb2, 0xda, 0x21, 0x09, 0x0a, 0x07, 0x0a, 0x05,
   646  	0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76,
   647  	0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
   648  	0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x3a, 0x0b, 0x9a, 0xd9, 0x21, 0x07,
   649  	0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 0x68, 0x61, 0x6e, 0x67,
   650  	0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x6e, 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x16, 0x63, 0x6f,
   651  	0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70,
   652  	0x62, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x6e, 0x67,
   653  	0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
   654  	0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64,
   655  	0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65,
   656  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74,
   657  	0x3b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   658  }
   659  
   660  var (
   661  	edgelq_alerting_proto_v1_alert_change_proto_rawDescOnce sync.Once
   662  	edgelq_alerting_proto_v1_alert_change_proto_rawDescData = edgelq_alerting_proto_v1_alert_change_proto_rawDesc
   663  )
   664  
   665  func edgelq_alerting_proto_v1_alert_change_proto_rawDescGZIP() []byte {
   666  	edgelq_alerting_proto_v1_alert_change_proto_rawDescOnce.Do(func() {
   667  		edgelq_alerting_proto_v1_alert_change_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_alerting_proto_v1_alert_change_proto_rawDescData)
   668  	})
   669  	return edgelq_alerting_proto_v1_alert_change_proto_rawDescData
   670  }
   671  
   672  var edgelq_alerting_proto_v1_alert_change_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   673  var edgelq_alerting_proto_v1_alert_change_proto_goTypes = []interface{}{
   674  	(*AlertChange)(nil),          // 0: ntt.alerting.v1.AlertChange
   675  	(*AlertChange_Added)(nil),    // 1: ntt.alerting.v1.AlertChange.Added
   676  	(*AlertChange_Modified)(nil), // 2: ntt.alerting.v1.AlertChange.Modified
   677  	(*AlertChange_Current)(nil),  // 3: ntt.alerting.v1.AlertChange.Current
   678  	(*AlertChange_Removed)(nil),  // 4: ntt.alerting.v1.AlertChange.Removed
   679  	(*Alert)(nil),                // 5: ntt.alerting.v1.Alert
   680  	(*Alert_FieldMask)(nil),      // 6: ntt.alerting.v1.Alert_FieldMask
   681  }
   682  var edgelq_alerting_proto_v1_alert_change_proto_depIdxs = []int32{
   683  	1, // 0: ntt.alerting.v1.AlertChange.added:type_name -> ntt.alerting.v1.AlertChange.Added
   684  	2, // 1: ntt.alerting.v1.AlertChange.modified:type_name -> ntt.alerting.v1.AlertChange.Modified
   685  	3, // 2: ntt.alerting.v1.AlertChange.current:type_name -> ntt.alerting.v1.AlertChange.Current
   686  	4, // 3: ntt.alerting.v1.AlertChange.removed:type_name -> ntt.alerting.v1.AlertChange.Removed
   687  	5, // 4: ntt.alerting.v1.AlertChange.Added.alert:type_name -> ntt.alerting.v1.Alert
   688  	5, // 5: ntt.alerting.v1.AlertChange.Modified.alert:type_name -> ntt.alerting.v1.Alert
   689  	6, // 6: ntt.alerting.v1.AlertChange.Modified.field_mask:type_name -> ntt.alerting.v1.Alert_FieldMask
   690  	5, // 7: ntt.alerting.v1.AlertChange.Current.alert:type_name -> ntt.alerting.v1.Alert
   691  	8, // [8:8] is the sub-list for method output_type
   692  	8, // [8:8] is the sub-list for method input_type
   693  	8, // [8:8] is the sub-list for extension type_name
   694  	8, // [8:8] is the sub-list for extension extendee
   695  	0, // [0:8] is the sub-list for field type_name
   696  }
   697  
   698  func init() { edgelq_alerting_proto_v1_alert_change_proto_init() }
   699  func edgelq_alerting_proto_v1_alert_change_proto_init() {
   700  	if edgelq_alerting_proto_v1_alert_change_proto != nil {
   701  		return
   702  	}
   703  	if !protoimpl.UnsafeEnabled {
   704  
   705  		edgelq_alerting_proto_v1_alert_change_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   706  			switch v := v.(*AlertChange); i {
   707  			case 0:
   708  				return &v.state
   709  			case 1:
   710  				return &v.sizeCache
   711  			case 2:
   712  				return &v.unknownFields
   713  			default:
   714  				return nil
   715  			}
   716  		}
   717  		edgelq_alerting_proto_v1_alert_change_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   718  			switch v := v.(*AlertChange_Added); i {
   719  			case 0:
   720  				return &v.state
   721  			case 1:
   722  				return &v.sizeCache
   723  			case 2:
   724  				return &v.unknownFields
   725  			default:
   726  				return nil
   727  			}
   728  		}
   729  		edgelq_alerting_proto_v1_alert_change_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   730  			switch v := v.(*AlertChange_Modified); i {
   731  			case 0:
   732  				return &v.state
   733  			case 1:
   734  				return &v.sizeCache
   735  			case 2:
   736  				return &v.unknownFields
   737  			default:
   738  				return nil
   739  			}
   740  		}
   741  		edgelq_alerting_proto_v1_alert_change_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   742  			switch v := v.(*AlertChange_Current); i {
   743  			case 0:
   744  				return &v.state
   745  			case 1:
   746  				return &v.sizeCache
   747  			case 2:
   748  				return &v.unknownFields
   749  			default:
   750  				return nil
   751  			}
   752  		}
   753  		edgelq_alerting_proto_v1_alert_change_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   754  			switch v := v.(*AlertChange_Removed); i {
   755  			case 0:
   756  				return &v.state
   757  			case 1:
   758  				return &v.sizeCache
   759  			case 2:
   760  				return &v.unknownFields
   761  			default:
   762  				return nil
   763  			}
   764  		}
   765  	}
   766  
   767  	edgelq_alerting_proto_v1_alert_change_proto_msgTypes[0].OneofWrappers = []interface{}{
   768  		(*AlertChange_Added_)(nil),
   769  		(*AlertChange_Modified_)(nil),
   770  		(*AlertChange_Current_)(nil),
   771  		(*AlertChange_Removed_)(nil),
   772  	}
   773  	type x struct{}
   774  	out := protoimpl.TypeBuilder{
   775  		File: protoimpl.DescBuilder{
   776  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   777  			RawDescriptor: edgelq_alerting_proto_v1_alert_change_proto_rawDesc,
   778  			NumEnums:      0,
   779  			NumMessages:   5,
   780  			NumExtensions: 0,
   781  			NumServices:   0,
   782  		},
   783  		GoTypes:           edgelq_alerting_proto_v1_alert_change_proto_goTypes,
   784  		DependencyIndexes: edgelq_alerting_proto_v1_alert_change_proto_depIdxs,
   785  		MessageInfos:      edgelq_alerting_proto_v1_alert_change_proto_msgTypes,
   786  	}.Build()
   787  	edgelq_alerting_proto_v1_alert_change_proto = out.File
   788  	edgelq_alerting_proto_v1_alert_change_proto_rawDesc = nil
   789  	edgelq_alerting_proto_v1_alert_change_proto_goTypes = nil
   790  	edgelq_alerting_proto_v1_alert_change_proto_depIdxs = nil
   791  }