github.com/argoproj/argo-events@v1.9.1/sensors/triggers/trigger.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: trigger.proto
     3  
     4  package triggers
     5  
     6  import (
     7  	context "context"
     8  	fmt "fmt"
     9  	proto "github.com/golang/protobuf/proto"
    10  	grpc "google.golang.org/grpc"
    11  	math "math"
    12  )
    13  
    14  // Reference imports to suppress errors if they are not otherwise used.
    15  var _ = proto.Marshal
    16  var _ = fmt.Errorf
    17  var _ = math.Inf
    18  
    19  // This is a compile-time assertion to ensure that this generated file
    20  // is compatible with the proto package it is being compiled against.
    21  // A compilation error at this line likely means your copy of the
    22  // proto package needs to be updated.
    23  const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
    24  
    25  // FetchResourceRequest is the request to fetch trigger resource
    26  type FetchResourceRequest struct {
    27  	Resource             []byte   `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
    28  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    29  	XXX_unrecognized     []byte   `json:"-"`
    30  	XXX_sizecache        int32    `json:"-"`
    31  }
    32  
    33  func (m *FetchResourceRequest) Reset()         { *m = FetchResourceRequest{} }
    34  func (m *FetchResourceRequest) String() string { return proto.CompactTextString(m) }
    35  func (*FetchResourceRequest) ProtoMessage()    {}
    36  func (*FetchResourceRequest) Descriptor() ([]byte, []int) {
    37  	return fileDescriptor_8c31e6d8b4368946, []int{0}
    38  }
    39  
    40  func (m *FetchResourceRequest) XXX_Unmarshal(b []byte) error {
    41  	return xxx_messageInfo_FetchResourceRequest.Unmarshal(m, b)
    42  }
    43  func (m *FetchResourceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    44  	return xxx_messageInfo_FetchResourceRequest.Marshal(b, m, deterministic)
    45  }
    46  func (m *FetchResourceRequest) XXX_Merge(src proto.Message) {
    47  	xxx_messageInfo_FetchResourceRequest.Merge(m, src)
    48  }
    49  func (m *FetchResourceRequest) XXX_Size() int {
    50  	return xxx_messageInfo_FetchResourceRequest.Size(m)
    51  }
    52  func (m *FetchResourceRequest) XXX_DiscardUnknown() {
    53  	xxx_messageInfo_FetchResourceRequest.DiscardUnknown(m)
    54  }
    55  
    56  var xxx_messageInfo_FetchResourceRequest proto.InternalMessageInfo
    57  
    58  func (m *FetchResourceRequest) GetResource() []byte {
    59  	if m != nil {
    60  		return m.Resource
    61  	}
    62  	return nil
    63  }
    64  
    65  // FetchResourceRequest contains the fetched resource.
    66  type FetchResourceResponse struct {
    67  	Resource             []byte   `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
    68  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
    69  	XXX_unrecognized     []byte   `json:"-"`
    70  	XXX_sizecache        int32    `json:"-"`
    71  }
    72  
    73  func (m *FetchResourceResponse) Reset()         { *m = FetchResourceResponse{} }
    74  func (m *FetchResourceResponse) String() string { return proto.CompactTextString(m) }
    75  func (*FetchResourceResponse) ProtoMessage()    {}
    76  func (*FetchResourceResponse) Descriptor() ([]byte, []int) {
    77  	return fileDescriptor_8c31e6d8b4368946, []int{1}
    78  }
    79  
    80  func (m *FetchResourceResponse) XXX_Unmarshal(b []byte) error {
    81  	return xxx_messageInfo_FetchResourceResponse.Unmarshal(m, b)
    82  }
    83  func (m *FetchResourceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    84  	return xxx_messageInfo_FetchResourceResponse.Marshal(b, m, deterministic)
    85  }
    86  func (m *FetchResourceResponse) XXX_Merge(src proto.Message) {
    87  	xxx_messageInfo_FetchResourceResponse.Merge(m, src)
    88  }
    89  func (m *FetchResourceResponse) XXX_Size() int {
    90  	return xxx_messageInfo_FetchResourceResponse.Size(m)
    91  }
    92  func (m *FetchResourceResponse) XXX_DiscardUnknown() {
    93  	xxx_messageInfo_FetchResourceResponse.DiscardUnknown(m)
    94  }
    95  
    96  var xxx_messageInfo_FetchResourceResponse proto.InternalMessageInfo
    97  
    98  func (m *FetchResourceResponse) GetResource() []byte {
    99  	if m != nil {
   100  		return m.Resource
   101  	}
   102  	return nil
   103  }
   104  
   105  // ExecuteRequest is a request to execute a trigger resource.
   106  type ExecuteRequest struct {
   107  	Resource             []byte   `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
   108  	Payload              []byte   `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"`
   109  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   110  	XXX_unrecognized     []byte   `json:"-"`
   111  	XXX_sizecache        int32    `json:"-"`
   112  }
   113  
   114  func (m *ExecuteRequest) Reset()         { *m = ExecuteRequest{} }
   115  func (m *ExecuteRequest) String() string { return proto.CompactTextString(m) }
   116  func (*ExecuteRequest) ProtoMessage()    {}
   117  func (*ExecuteRequest) Descriptor() ([]byte, []int) {
   118  	return fileDescriptor_8c31e6d8b4368946, []int{2}
   119  }
   120  
   121  func (m *ExecuteRequest) XXX_Unmarshal(b []byte) error {
   122  	return xxx_messageInfo_ExecuteRequest.Unmarshal(m, b)
   123  }
   124  func (m *ExecuteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   125  	return xxx_messageInfo_ExecuteRequest.Marshal(b, m, deterministic)
   126  }
   127  func (m *ExecuteRequest) XXX_Merge(src proto.Message) {
   128  	xxx_messageInfo_ExecuteRequest.Merge(m, src)
   129  }
   130  func (m *ExecuteRequest) XXX_Size() int {
   131  	return xxx_messageInfo_ExecuteRequest.Size(m)
   132  }
   133  func (m *ExecuteRequest) XXX_DiscardUnknown() {
   134  	xxx_messageInfo_ExecuteRequest.DiscardUnknown(m)
   135  }
   136  
   137  var xxx_messageInfo_ExecuteRequest proto.InternalMessageInfo
   138  
   139  func (m *ExecuteRequest) GetResource() []byte {
   140  	if m != nil {
   141  		return m.Resource
   142  	}
   143  	return nil
   144  }
   145  
   146  func (m *ExecuteRequest) GetPayload() []byte {
   147  	if m != nil {
   148  		return m.Payload
   149  	}
   150  	return nil
   151  }
   152  
   153  // ExecuteResponse is the response of the trigger execution
   154  type ExecuteResponse struct {
   155  	Response             []byte   `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"`
   156  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   157  	XXX_unrecognized     []byte   `json:"-"`
   158  	XXX_sizecache        int32    `json:"-"`
   159  }
   160  
   161  func (m *ExecuteResponse) Reset()         { *m = ExecuteResponse{} }
   162  func (m *ExecuteResponse) String() string { return proto.CompactTextString(m) }
   163  func (*ExecuteResponse) ProtoMessage()    {}
   164  func (*ExecuteResponse) Descriptor() ([]byte, []int) {
   165  	return fileDescriptor_8c31e6d8b4368946, []int{3}
   166  }
   167  
   168  func (m *ExecuteResponse) XXX_Unmarshal(b []byte) error {
   169  	return xxx_messageInfo_ExecuteResponse.Unmarshal(m, b)
   170  }
   171  func (m *ExecuteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   172  	return xxx_messageInfo_ExecuteResponse.Marshal(b, m, deterministic)
   173  }
   174  func (m *ExecuteResponse) XXX_Merge(src proto.Message) {
   175  	xxx_messageInfo_ExecuteResponse.Merge(m, src)
   176  }
   177  func (m *ExecuteResponse) XXX_Size() int {
   178  	return xxx_messageInfo_ExecuteResponse.Size(m)
   179  }
   180  func (m *ExecuteResponse) XXX_DiscardUnknown() {
   181  	xxx_messageInfo_ExecuteResponse.DiscardUnknown(m)
   182  }
   183  
   184  var xxx_messageInfo_ExecuteResponse proto.InternalMessageInfo
   185  
   186  func (m *ExecuteResponse) GetResponse() []byte {
   187  	if m != nil {
   188  		return m.Response
   189  	}
   190  	return nil
   191  }
   192  
   193  // ApplyPolicyRequest is the request to apply policy on the trigger execution result.
   194  type ApplyPolicyRequest struct {
   195  	Request              []byte   `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
   196  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   197  	XXX_unrecognized     []byte   `json:"-"`
   198  	XXX_sizecache        int32    `json:"-"`
   199  }
   200  
   201  func (m *ApplyPolicyRequest) Reset()         { *m = ApplyPolicyRequest{} }
   202  func (m *ApplyPolicyRequest) String() string { return proto.CompactTextString(m) }
   203  func (*ApplyPolicyRequest) ProtoMessage()    {}
   204  func (*ApplyPolicyRequest) Descriptor() ([]byte, []int) {
   205  	return fileDescriptor_8c31e6d8b4368946, []int{4}
   206  }
   207  
   208  func (m *ApplyPolicyRequest) XXX_Unmarshal(b []byte) error {
   209  	return xxx_messageInfo_ApplyPolicyRequest.Unmarshal(m, b)
   210  }
   211  func (m *ApplyPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   212  	return xxx_messageInfo_ApplyPolicyRequest.Marshal(b, m, deterministic)
   213  }
   214  func (m *ApplyPolicyRequest) XXX_Merge(src proto.Message) {
   215  	xxx_messageInfo_ApplyPolicyRequest.Merge(m, src)
   216  }
   217  func (m *ApplyPolicyRequest) XXX_Size() int {
   218  	return xxx_messageInfo_ApplyPolicyRequest.Size(m)
   219  }
   220  func (m *ApplyPolicyRequest) XXX_DiscardUnknown() {
   221  	xxx_messageInfo_ApplyPolicyRequest.DiscardUnknown(m)
   222  }
   223  
   224  var xxx_messageInfo_ApplyPolicyRequest proto.InternalMessageInfo
   225  
   226  func (m *ApplyPolicyRequest) GetRequest() []byte {
   227  	if m != nil {
   228  		return m.Request
   229  	}
   230  	return nil
   231  }
   232  
   233  // ApplyPolicyResponse is the response of the application of the trigger policy.
   234  type ApplyPolicyResponse struct {
   235  	Success              bool     `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
   236  	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
   237  	XXX_NoUnkeyedLiteral struct{} `json:"-"`
   238  	XXX_unrecognized     []byte   `json:"-"`
   239  	XXX_sizecache        int32    `json:"-"`
   240  }
   241  
   242  func (m *ApplyPolicyResponse) Reset()         { *m = ApplyPolicyResponse{} }
   243  func (m *ApplyPolicyResponse) String() string { return proto.CompactTextString(m) }
   244  func (*ApplyPolicyResponse) ProtoMessage()    {}
   245  func (*ApplyPolicyResponse) Descriptor() ([]byte, []int) {
   246  	return fileDescriptor_8c31e6d8b4368946, []int{5}
   247  }
   248  
   249  func (m *ApplyPolicyResponse) XXX_Unmarshal(b []byte) error {
   250  	return xxx_messageInfo_ApplyPolicyResponse.Unmarshal(m, b)
   251  }
   252  func (m *ApplyPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   253  	return xxx_messageInfo_ApplyPolicyResponse.Marshal(b, m, deterministic)
   254  }
   255  func (m *ApplyPolicyResponse) XXX_Merge(src proto.Message) {
   256  	xxx_messageInfo_ApplyPolicyResponse.Merge(m, src)
   257  }
   258  func (m *ApplyPolicyResponse) XXX_Size() int {
   259  	return xxx_messageInfo_ApplyPolicyResponse.Size(m)
   260  }
   261  func (m *ApplyPolicyResponse) XXX_DiscardUnknown() {
   262  	xxx_messageInfo_ApplyPolicyResponse.DiscardUnknown(m)
   263  }
   264  
   265  var xxx_messageInfo_ApplyPolicyResponse proto.InternalMessageInfo
   266  
   267  func (m *ApplyPolicyResponse) GetSuccess() bool {
   268  	if m != nil {
   269  		return m.Success
   270  	}
   271  	return false
   272  }
   273  
   274  func (m *ApplyPolicyResponse) GetMessage() string {
   275  	if m != nil {
   276  		return m.Message
   277  	}
   278  	return ""
   279  }
   280  
   281  func init() {
   282  	proto.RegisterType((*FetchResourceRequest)(nil), "triggers.FetchResourceRequest")
   283  	proto.RegisterType((*FetchResourceResponse)(nil), "triggers.FetchResourceResponse")
   284  	proto.RegisterType((*ExecuteRequest)(nil), "triggers.ExecuteRequest")
   285  	proto.RegisterType((*ExecuteResponse)(nil), "triggers.ExecuteResponse")
   286  	proto.RegisterType((*ApplyPolicyRequest)(nil), "triggers.ApplyPolicyRequest")
   287  	proto.RegisterType((*ApplyPolicyResponse)(nil), "triggers.ApplyPolicyResponse")
   288  }
   289  
   290  func init() { proto.RegisterFile("trigger.proto", fileDescriptor_8c31e6d8b4368946) }
   291  
   292  var fileDescriptor_8c31e6d8b4368946 = []byte{
   293  	// 272 bytes of a gzipped FileDescriptorProto
   294  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4d, 0x4b, 0x03, 0x31,
   295  	0x10, 0x65, 0x3d, 0x98, 0x75, 0xb4, 0x0a, 0x51, 0x21, 0x2e, 0x7e, 0x91, 0x93, 0x17, 0xf7, 0xd0,
   296  	0xde, 0x05, 0x0f, 0x16, 0xf4, 0x54, 0x82, 0x7f, 0x60, 0x8d, 0xc3, 0x5a, 0x58, 0x4d, 0xcc, 0x64,
   297  	0xc1, 0xfd, 0xc5, 0xfe, 0x0d, 0x31, 0x9b, 0xb4, 0x5d, 0x6d, 0xc5, 0xdb, 0xbc, 0xbc, 0x79, 0xf3,
   298  	0x26, 0x2f, 0x81, 0x91, 0x77, 0xf3, 0xba, 0x46, 0x57, 0x5a, 0x67, 0xbc, 0xe1, 0x79, 0x84, 0x24,
   299  	0xc7, 0x70, 0x34, 0x45, 0xaf, 0x5f, 0x14, 0x92, 0x69, 0x9d, 0x46, 0x85, 0xef, 0x2d, 0x92, 0xe7,
   300  	0x05, 0xe4, 0x2e, 0x1e, 0x89, 0xec, 0x32, 0xbb, 0xda, 0x53, 0x0b, 0x2c, 0x27, 0x70, 0xfc, 0x43,
   301  	0x43, 0xd6, 0xbc, 0x11, 0xfe, 0x29, 0x9a, 0xc2, 0xfe, 0xdd, 0x07, 0xea, 0xd6, 0xff, 0xc7, 0x82,
   302  	0x0b, 0x60, 0xb6, 0xea, 0x1a, 0x53, 0x3d, 0x8b, 0xad, 0x40, 0x25, 0x28, 0xaf, 0xe1, 0x60, 0x31,
   303  	0x67, 0x60, 0x1b, 0xea, 0x95, 0x41, 0x01, 0xcb, 0x12, 0xf8, 0xad, 0xb5, 0x4d, 0x37, 0x33, 0xcd,
   304  	0x5c, 0x77, 0xc9, 0x5a, 0x00, 0x73, 0x7d, 0x19, 0x05, 0x09, 0xca, 0x7b, 0x38, 0x1c, 0xf4, 0x47,
   305  	0x0b, 0x01, 0x8c, 0x5a, 0xad, 0x91, 0x28, 0x08, 0x72, 0x95, 0xe0, 0x37, 0xf3, 0x8a, 0x44, 0x55,
   306  	0x8d, 0x61, 0xd3, 0x1d, 0x95, 0xe0, 0xf8, 0x33, 0x03, 0xf6, 0xd8, 0xe7, 0xcc, 0x67, 0x30, 0x1a,
   307  	0x44, 0xc6, 0xcf, 0xcb, 0xf4, 0x04, 0xe5, 0xba, 0xfc, 0x8b, 0x8b, 0x8d, 0x7c, 0xdc, 0xe8, 0x06,
   308  	0x58, 0xcc, 0x81, 0x8b, 0x65, 0xef, 0x30, 0xe2, 0xe2, 0x64, 0x0d, 0x13, 0xf5, 0x0f, 0xb0, 0xbb,
   309  	0x72, 0x51, 0x7e, 0xba, 0xec, 0xfc, 0x9d, 0x57, 0x71, 0xb6, 0x81, 0xed, 0x67, 0x3d, 0x6d, 0x87,
   310  	0x5f, 0x35, 0xf9, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x4b, 0x24, 0xc7, 0x9f, 0x66, 0x02, 0x00, 0x00,
   311  }
   312  
   313  // Reference imports to suppress errors if they are not otherwise used.
   314  var _ context.Context
   315  var _ grpc.ClientConn
   316  
   317  // This is a compile-time assertion to ensure that this generated file
   318  // is compatible with the grpc package it is being compiled against.
   319  const _ = grpc.SupportPackageIsVersion4
   320  
   321  // TriggerClient is the client API for Trigger service.
   322  //
   323  // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   324  type TriggerClient interface {
   325  	// FetchResource fetches the resource to be triggered.
   326  	FetchResource(ctx context.Context, in *FetchResourceRequest, opts ...grpc.CallOption) (*FetchResourceResponse, error)
   327  	// Execute executes the requested trigger resource.
   328  	Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (*ExecuteResponse, error)
   329  	// ApplyPolicy applies policies on the trigger execution result.
   330  	ApplyPolicy(ctx context.Context, in *ApplyPolicyRequest, opts ...grpc.CallOption) (*ApplyPolicyResponse, error)
   331  }
   332  
   333  type triggerClient struct {
   334  	cc *grpc.ClientConn
   335  }
   336  
   337  func NewTriggerClient(cc *grpc.ClientConn) TriggerClient {
   338  	return &triggerClient{cc}
   339  }
   340  
   341  func (c *triggerClient) FetchResource(ctx context.Context, in *FetchResourceRequest, opts ...grpc.CallOption) (*FetchResourceResponse, error) {
   342  	out := new(FetchResourceResponse)
   343  	err := c.cc.Invoke(ctx, "/triggers.Trigger/FetchResource", in, out, opts...)
   344  	if err != nil {
   345  		return nil, err
   346  	}
   347  	return out, nil
   348  }
   349  
   350  func (c *triggerClient) Execute(ctx context.Context, in *ExecuteRequest, opts ...grpc.CallOption) (*ExecuteResponse, error) {
   351  	out := new(ExecuteResponse)
   352  	err := c.cc.Invoke(ctx, "/triggers.Trigger/Execute", in, out, opts...)
   353  	if err != nil {
   354  		return nil, err
   355  	}
   356  	return out, nil
   357  }
   358  
   359  func (c *triggerClient) ApplyPolicy(ctx context.Context, in *ApplyPolicyRequest, opts ...grpc.CallOption) (*ApplyPolicyResponse, error) {
   360  	out := new(ApplyPolicyResponse)
   361  	err := c.cc.Invoke(ctx, "/triggers.Trigger/ApplyPolicy", in, out, opts...)
   362  	if err != nil {
   363  		return nil, err
   364  	}
   365  	return out, nil
   366  }
   367  
   368  // TriggerServer is the server API for Trigger service.
   369  type TriggerServer interface {
   370  	// FetchResource fetches the resource to be triggered.
   371  	FetchResource(context.Context, *FetchResourceRequest) (*FetchResourceResponse, error)
   372  	// Execute executes the requested trigger resource.
   373  	Execute(context.Context, *ExecuteRequest) (*ExecuteResponse, error)
   374  	// ApplyPolicy applies policies on the trigger execution result.
   375  	ApplyPolicy(context.Context, *ApplyPolicyRequest) (*ApplyPolicyResponse, error)
   376  }
   377  
   378  func RegisterTriggerServer(s *grpc.Server, srv TriggerServer) {
   379  	s.RegisterService(&_Trigger_serviceDesc, srv)
   380  }
   381  
   382  func _Trigger_FetchResource_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   383  	in := new(FetchResourceRequest)
   384  	if err := dec(in); err != nil {
   385  		return nil, err
   386  	}
   387  	if interceptor == nil {
   388  		return srv.(TriggerServer).FetchResource(ctx, in)
   389  	}
   390  	info := &grpc.UnaryServerInfo{
   391  		Server:     srv,
   392  		FullMethod: "/triggers.Trigger/FetchResource",
   393  	}
   394  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   395  		return srv.(TriggerServer).FetchResource(ctx, req.(*FetchResourceRequest))
   396  	}
   397  	return interceptor(ctx, in, info, handler)
   398  }
   399  
   400  func _Trigger_Execute_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   401  	in := new(ExecuteRequest)
   402  	if err := dec(in); err != nil {
   403  		return nil, err
   404  	}
   405  	if interceptor == nil {
   406  		return srv.(TriggerServer).Execute(ctx, in)
   407  	}
   408  	info := &grpc.UnaryServerInfo{
   409  		Server:     srv,
   410  		FullMethod: "/triggers.Trigger/Execute",
   411  	}
   412  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   413  		return srv.(TriggerServer).Execute(ctx, req.(*ExecuteRequest))
   414  	}
   415  	return interceptor(ctx, in, info, handler)
   416  }
   417  
   418  func _Trigger_ApplyPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
   419  	in := new(ApplyPolicyRequest)
   420  	if err := dec(in); err != nil {
   421  		return nil, err
   422  	}
   423  	if interceptor == nil {
   424  		return srv.(TriggerServer).ApplyPolicy(ctx, in)
   425  	}
   426  	info := &grpc.UnaryServerInfo{
   427  		Server:     srv,
   428  		FullMethod: "/triggers.Trigger/ApplyPolicy",
   429  	}
   430  	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
   431  		return srv.(TriggerServer).ApplyPolicy(ctx, req.(*ApplyPolicyRequest))
   432  	}
   433  	return interceptor(ctx, in, info, handler)
   434  }
   435  
   436  var _Trigger_serviceDesc = grpc.ServiceDesc{
   437  	ServiceName: "triggers.Trigger",
   438  	HandlerType: (*TriggerServer)(nil),
   439  	Methods: []grpc.MethodDesc{
   440  		{
   441  			MethodName: "FetchResource",
   442  			Handler:    _Trigger_FetchResource_Handler,
   443  		},
   444  		{
   445  			MethodName: "Execute",
   446  			Handler:    _Trigger_Execute_Handler,
   447  		},
   448  		{
   449  			MethodName: "ApplyPolicy",
   450  			Handler:    _Trigger_ApplyPolicy_Handler,
   451  		},
   452  	},
   453  	Streams:  []grpc.StreamDesc{},
   454  	Metadata: "trigger.proto",
   455  }