github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/client/v1/notification_channel/notification_channel_custom.pb.go (about)

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