github.com/Axway/agent-sdk@v1.1.101/pkg/watchmanager/proto/watch.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.28.1
     4  // 	protoc        v3.18.1
     5  // source: watch.proto
     6  
     7  package proto
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	reflect "reflect"
    13  	sync "sync"
    14  )
    15  
    16  const (
    17  	// Verify that this generated code is sufficiently up-to-date.
    18  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    19  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    21  )
    22  
    23  type Event_Type int32
    24  
    25  const (
    26  	Event_CREATED            Event_Type = 0
    27  	Event_UPDATED            Event_Type = 1
    28  	Event_DELETED            Event_Type = 2
    29  	Event_SUBRESOURCEUPDATED Event_Type = 3
    30  )
    31  
    32  // Enum value maps for Event_Type.
    33  var (
    34  	Event_Type_name = map[int32]string{
    35  		0: "CREATED",
    36  		1: "UPDATED",
    37  		2: "DELETED",
    38  		3: "SUBRESOURCEUPDATED",
    39  	}
    40  	Event_Type_value = map[string]int32{
    41  		"CREATED":            0,
    42  		"UPDATED":            1,
    43  		"DELETED":            2,
    44  		"SUBRESOURCEUPDATED": 3,
    45  	}
    46  )
    47  
    48  func (x Event_Type) Enum() *Event_Type {
    49  	p := new(Event_Type)
    50  	*p = x
    51  	return p
    52  }
    53  
    54  func (x Event_Type) String() string {
    55  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    56  }
    57  
    58  func (Event_Type) Descriptor() protoreflect.EnumDescriptor {
    59  	return file_watch_proto_enumTypes[0].Descriptor()
    60  }
    61  
    62  func (Event_Type) Type() protoreflect.EnumType {
    63  	return &file_watch_proto_enumTypes[0]
    64  }
    65  
    66  func (x Event_Type) Number() protoreflect.EnumNumber {
    67  	return protoreflect.EnumNumber(x)
    68  }
    69  
    70  // Deprecated: Use Event_Type.Descriptor instead.
    71  func (Event_Type) EnumDescriptor() ([]byte, []int) {
    72  	return file_watch_proto_rawDescGZIP(), []int{1, 0}
    73  }
    74  
    75  type Request struct {
    76  	state         protoimpl.MessageState
    77  	sizeCache     protoimpl.SizeCache
    78  	unknownFields protoimpl.UnknownFields
    79  
    80  	SelfLink string `protobuf:"bytes,1,opt,name=selfLink,proto3" json:"selfLink,omitempty"`
    81  	Token    string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
    82  }
    83  
    84  func (x *Request) Reset() {
    85  	*x = Request{}
    86  	if protoimpl.UnsafeEnabled {
    87  		mi := &file_watch_proto_msgTypes[0]
    88  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    89  		ms.StoreMessageInfo(mi)
    90  	}
    91  }
    92  
    93  func (x *Request) String() string {
    94  	return protoimpl.X.MessageStringOf(x)
    95  }
    96  
    97  func (*Request) ProtoMessage() {}
    98  
    99  func (x *Request) ProtoReflect() protoreflect.Message {
   100  	mi := &file_watch_proto_msgTypes[0]
   101  	if protoimpl.UnsafeEnabled && x != nil {
   102  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   103  		if ms.LoadMessageInfo() == nil {
   104  			ms.StoreMessageInfo(mi)
   105  		}
   106  		return ms
   107  	}
   108  	return mi.MessageOf(x)
   109  }
   110  
   111  // Deprecated: Use Request.ProtoReflect.Descriptor instead.
   112  func (*Request) Descriptor() ([]byte, []int) {
   113  	return file_watch_proto_rawDescGZIP(), []int{0}
   114  }
   115  
   116  func (x *Request) GetSelfLink() string {
   117  	if x != nil {
   118  		return x.SelfLink
   119  	}
   120  	return ""
   121  }
   122  
   123  func (x *Request) GetToken() string {
   124  	if x != nil {
   125  		return x.Token
   126  	}
   127  	return ""
   128  }
   129  
   130  type Event struct {
   131  	state         protoimpl.MessageState
   132  	sizeCache     protoimpl.SizeCache
   133  	unknownFields protoimpl.UnknownFields
   134  
   135  	Id            string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   136  	Time          string            `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
   137  	Version       string            `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
   138  	Product       string            `protobuf:"bytes,4,opt,name=product,proto3" json:"product,omitempty"`
   139  	CorrelationId string            `protobuf:"bytes,5,opt,name=correlationId,proto3" json:"correlationId,omitempty"`
   140  	Organization  *Organization     `protobuf:"bytes,6,opt,name=organization,proto3" json:"organization,omitempty"`
   141  	Type          Event_Type        `protobuf:"varint,7,opt,name=type,proto3,enum=central.events.v1.Event_Type" json:"type,omitempty"`
   142  	Payload       *ResourceInstance `protobuf:"bytes,8,opt,name=payload,proto3" json:"payload,omitempty"`
   143  	Metadata      *EventMeta        `protobuf:"bytes,9,opt,name=metadata,proto3" json:"metadata,omitempty"`
   144  }
   145  
   146  func (x *Event) Reset() {
   147  	*x = Event{}
   148  	if protoimpl.UnsafeEnabled {
   149  		mi := &file_watch_proto_msgTypes[1]
   150  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   151  		ms.StoreMessageInfo(mi)
   152  	}
   153  }
   154  
   155  func (x *Event) String() string {
   156  	return protoimpl.X.MessageStringOf(x)
   157  }
   158  
   159  func (*Event) ProtoMessage() {}
   160  
   161  func (x *Event) ProtoReflect() protoreflect.Message {
   162  	mi := &file_watch_proto_msgTypes[1]
   163  	if protoimpl.UnsafeEnabled && x != nil {
   164  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   165  		if ms.LoadMessageInfo() == nil {
   166  			ms.StoreMessageInfo(mi)
   167  		}
   168  		return ms
   169  	}
   170  	return mi.MessageOf(x)
   171  }
   172  
   173  // Deprecated: Use Event.ProtoReflect.Descriptor instead.
   174  func (*Event) Descriptor() ([]byte, []int) {
   175  	return file_watch_proto_rawDescGZIP(), []int{1}
   176  }
   177  
   178  func (x *Event) GetId() string {
   179  	if x != nil {
   180  		return x.Id
   181  	}
   182  	return ""
   183  }
   184  
   185  func (x *Event) GetTime() string {
   186  	if x != nil {
   187  		return x.Time
   188  	}
   189  	return ""
   190  }
   191  
   192  func (x *Event) GetVersion() string {
   193  	if x != nil {
   194  		return x.Version
   195  	}
   196  	return ""
   197  }
   198  
   199  func (x *Event) GetProduct() string {
   200  	if x != nil {
   201  		return x.Product
   202  	}
   203  	return ""
   204  }
   205  
   206  func (x *Event) GetCorrelationId() string {
   207  	if x != nil {
   208  		return x.CorrelationId
   209  	}
   210  	return ""
   211  }
   212  
   213  func (x *Event) GetOrganization() *Organization {
   214  	if x != nil {
   215  		return x.Organization
   216  	}
   217  	return nil
   218  }
   219  
   220  func (x *Event) GetType() Event_Type {
   221  	if x != nil {
   222  		return x.Type
   223  	}
   224  	return Event_CREATED
   225  }
   226  
   227  func (x *Event) GetPayload() *ResourceInstance {
   228  	if x != nil {
   229  		return x.Payload
   230  	}
   231  	return nil
   232  }
   233  
   234  func (x *Event) GetMetadata() *EventMeta {
   235  	if x != nil {
   236  		return x.Metadata
   237  	}
   238  	return nil
   239  }
   240  
   241  type EventMeta struct {
   242  	state         protoimpl.MessageState
   243  	sizeCache     protoimpl.SizeCache
   244  	unknownFields protoimpl.UnknownFields
   245  
   246  	WatchTopicID       string `protobuf:"bytes,1,opt,name=watchTopicID,proto3" json:"watchTopicID,omitempty"`
   247  	WatchTopicSelfLink string `protobuf:"bytes,2,opt,name=watchTopicSelfLink,proto3" json:"watchTopicSelfLink,omitempty"`
   248  	SequenceID         int64  `protobuf:"varint,3,opt,name=sequenceID,proto3" json:"sequenceID,omitempty"`
   249  	Subresource        string `protobuf:"bytes,4,opt,name=subresource,proto3" json:"subresource,omitempty"`
   250  }
   251  
   252  func (x *EventMeta) Reset() {
   253  	*x = EventMeta{}
   254  	if protoimpl.UnsafeEnabled {
   255  		mi := &file_watch_proto_msgTypes[2]
   256  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   257  		ms.StoreMessageInfo(mi)
   258  	}
   259  }
   260  
   261  func (x *EventMeta) String() string {
   262  	return protoimpl.X.MessageStringOf(x)
   263  }
   264  
   265  func (*EventMeta) ProtoMessage() {}
   266  
   267  func (x *EventMeta) ProtoReflect() protoreflect.Message {
   268  	mi := &file_watch_proto_msgTypes[2]
   269  	if protoimpl.UnsafeEnabled && x != nil {
   270  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   271  		if ms.LoadMessageInfo() == nil {
   272  			ms.StoreMessageInfo(mi)
   273  		}
   274  		return ms
   275  	}
   276  	return mi.MessageOf(x)
   277  }
   278  
   279  // Deprecated: Use EventMeta.ProtoReflect.Descriptor instead.
   280  func (*EventMeta) Descriptor() ([]byte, []int) {
   281  	return file_watch_proto_rawDescGZIP(), []int{2}
   282  }
   283  
   284  func (x *EventMeta) GetWatchTopicID() string {
   285  	if x != nil {
   286  		return x.WatchTopicID
   287  	}
   288  	return ""
   289  }
   290  
   291  func (x *EventMeta) GetWatchTopicSelfLink() string {
   292  	if x != nil {
   293  		return x.WatchTopicSelfLink
   294  	}
   295  	return ""
   296  }
   297  
   298  func (x *EventMeta) GetSequenceID() int64 {
   299  	if x != nil {
   300  		return x.SequenceID
   301  	}
   302  	return 0
   303  }
   304  
   305  func (x *EventMeta) GetSubresource() string {
   306  	if x != nil {
   307  		return x.Subresource
   308  	}
   309  	return ""
   310  }
   311  
   312  type Organization struct {
   313  	state         protoimpl.MessageState
   314  	sizeCache     protoimpl.SizeCache
   315  	unknownFields protoimpl.UnknownFields
   316  
   317  	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   318  }
   319  
   320  func (x *Organization) Reset() {
   321  	*x = Organization{}
   322  	if protoimpl.UnsafeEnabled {
   323  		mi := &file_watch_proto_msgTypes[3]
   324  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   325  		ms.StoreMessageInfo(mi)
   326  	}
   327  }
   328  
   329  func (x *Organization) String() string {
   330  	return protoimpl.X.MessageStringOf(x)
   331  }
   332  
   333  func (*Organization) ProtoMessage() {}
   334  
   335  func (x *Organization) ProtoReflect() protoreflect.Message {
   336  	mi := &file_watch_proto_msgTypes[3]
   337  	if protoimpl.UnsafeEnabled && x != nil {
   338  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   339  		if ms.LoadMessageInfo() == nil {
   340  			ms.StoreMessageInfo(mi)
   341  		}
   342  		return ms
   343  	}
   344  	return mi.MessageOf(x)
   345  }
   346  
   347  // Deprecated: Use Organization.ProtoReflect.Descriptor instead.
   348  func (*Organization) Descriptor() ([]byte, []int) {
   349  	return file_watch_proto_rawDescGZIP(), []int{3}
   350  }
   351  
   352  func (x *Organization) GetId() string {
   353  	if x != nil {
   354  		return x.Id
   355  	}
   356  	return ""
   357  }
   358  
   359  var File_watch_proto protoreflect.FileDescriptor
   360  
   361  var file_watch_proto_rawDesc = []byte{
   362  	0x0a, 0x0b, 0x77, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x63,
   363  	0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31,
   364  	0x1a, 0x10, 0x61, 0x70, 0x69, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x70, 0x72, 0x6f,
   365  	0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a,
   366  	0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   367  	0x08, 0x73, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b,
   368  	0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22,
   369  	0xc7, 0x03, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
   370  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d,
   371  	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a,
   372  	0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
   373  	0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75,
   374  	0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63,
   375  	0x74, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   376  	0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x72, 0x72, 0x65, 0x6c,
   377  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e,
   378  	0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
   379  	0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76,
   380  	0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c,
   381  	0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x04,
   382  	0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x63, 0x65, 0x6e,
   383  	0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45,
   384  	0x76, 0x65, 0x6e, 0x74, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12,
   385  	0x47, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b,
   386  	0x32, 0x2d, 0x2e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74,
   387  	0x73, 0x2e, 0x76, 0x31, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x52,
   388  	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,
   389  	0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x38, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61,
   390  	0x64, 0x61, 0x74, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x65, 0x6e,
   391  	0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45,
   392  	0x76, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61,
   393  	0x74, 0x61, 0x22, 0x45, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x43, 0x52,
   394  	0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x50, 0x44, 0x41, 0x54,
   395  	0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10,
   396  	0x02, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x55, 0x42, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45,
   397  	0x55, 0x50, 0x44, 0x41, 0x54, 0x45, 0x44, 0x10, 0x03, 0x22, 0xa1, 0x01, 0x0a, 0x09, 0x45, 0x76,
   398  	0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0c, 0x77, 0x61, 0x74, 0x63, 0x68,
   399  	0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77,
   400  	0x61, 0x74, 0x63, 0x68, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x49, 0x44, 0x12, 0x2e, 0x0a, 0x12, 0x77,
   401  	0x61, 0x74, 0x63, 0x68, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x53, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e,
   402  	0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x77, 0x61, 0x74, 0x63, 0x68, 0x54, 0x6f,
   403  	0x70, 0x69, 0x63, 0x53, 0x65, 0x6c, 0x66, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x1e, 0x0a, 0x0a, 0x73,
   404  	0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52,
   405  	0x0a, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x49, 0x44, 0x12, 0x20, 0x0a, 0x0b, 0x73,
   406  	0x75, 0x62, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
   407  	0x52, 0x0b, 0x73, 0x75, 0x62, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x1e, 0x0a,
   408  	0x0c, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a,
   409  	0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x32, 0x50, 0x0a,
   410  	0x05, 0x77, 0x61, 0x74, 0x63, 0x68, 0x12, 0x47, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72,
   411  	0x69, 0x62, 0x65, 0x12, 0x1a, 0x2e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76,
   412  	0x65, 0x6e, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
   413  	0x18, 0x2e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x73,
   414  	0x2e, 0x76, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42,
   415  	0x18, 0x5a, 0x16, 0x70, 0x6b, 0x67, 0x2f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x6d, 0x61, 0x6e, 0x61,
   416  	0x67, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   417  	0x33,
   418  }
   419  
   420  var (
   421  	file_watch_proto_rawDescOnce sync.Once
   422  	file_watch_proto_rawDescData = file_watch_proto_rawDesc
   423  )
   424  
   425  func file_watch_proto_rawDescGZIP() []byte {
   426  	file_watch_proto_rawDescOnce.Do(func() {
   427  		file_watch_proto_rawDescData = protoimpl.X.CompressGZIP(file_watch_proto_rawDescData)
   428  	})
   429  	return file_watch_proto_rawDescData
   430  }
   431  
   432  var file_watch_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   433  var file_watch_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   434  var file_watch_proto_goTypes = []interface{}{
   435  	(Event_Type)(0),          // 0: central.events.v1.Event.Type
   436  	(*Request)(nil),          // 1: central.events.v1.Request
   437  	(*Event)(nil),            // 2: central.events.v1.Event
   438  	(*EventMeta)(nil),        // 3: central.events.v1.EventMeta
   439  	(*Organization)(nil),     // 4: central.events.v1.Organization
   440  	(*ResourceInstance)(nil), // 5: central.events.v1.datamodel.ResourceInstance
   441  }
   442  var file_watch_proto_depIdxs = []int32{
   443  	4, // 0: central.events.v1.Event.organization:type_name -> central.events.v1.Organization
   444  	0, // 1: central.events.v1.Event.type:type_name -> central.events.v1.Event.Type
   445  	5, // 2: central.events.v1.Event.payload:type_name -> central.events.v1.datamodel.ResourceInstance
   446  	3, // 3: central.events.v1.Event.metadata:type_name -> central.events.v1.EventMeta
   447  	1, // 4: central.events.v1.watch.subscribe:input_type -> central.events.v1.Request
   448  	2, // 5: central.events.v1.watch.subscribe:output_type -> central.events.v1.Event
   449  	5, // [5:6] is the sub-list for method output_type
   450  	4, // [4:5] is the sub-list for method input_type
   451  	4, // [4:4] is the sub-list for extension type_name
   452  	4, // [4:4] is the sub-list for extension extendee
   453  	0, // [0:4] is the sub-list for field type_name
   454  }
   455  
   456  func init() { file_watch_proto_init() }
   457  func file_watch_proto_init() {
   458  	if File_watch_proto != nil {
   459  		return
   460  	}
   461  	file_apicentral_proto_init()
   462  	if !protoimpl.UnsafeEnabled {
   463  		file_watch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   464  			switch v := v.(*Request); i {
   465  			case 0:
   466  				return &v.state
   467  			case 1:
   468  				return &v.sizeCache
   469  			case 2:
   470  				return &v.unknownFields
   471  			default:
   472  				return nil
   473  			}
   474  		}
   475  		file_watch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   476  			switch v := v.(*Event); i {
   477  			case 0:
   478  				return &v.state
   479  			case 1:
   480  				return &v.sizeCache
   481  			case 2:
   482  				return &v.unknownFields
   483  			default:
   484  				return nil
   485  			}
   486  		}
   487  		file_watch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   488  			switch v := v.(*EventMeta); i {
   489  			case 0:
   490  				return &v.state
   491  			case 1:
   492  				return &v.sizeCache
   493  			case 2:
   494  				return &v.unknownFields
   495  			default:
   496  				return nil
   497  			}
   498  		}
   499  		file_watch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   500  			switch v := v.(*Organization); i {
   501  			case 0:
   502  				return &v.state
   503  			case 1:
   504  				return &v.sizeCache
   505  			case 2:
   506  				return &v.unknownFields
   507  			default:
   508  				return nil
   509  			}
   510  		}
   511  	}
   512  	type x struct{}
   513  	out := protoimpl.TypeBuilder{
   514  		File: protoimpl.DescBuilder{
   515  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   516  			RawDescriptor: file_watch_proto_rawDesc,
   517  			NumEnums:      1,
   518  			NumMessages:   4,
   519  			NumExtensions: 0,
   520  			NumServices:   1,
   521  		},
   522  		GoTypes:           file_watch_proto_goTypes,
   523  		DependencyIndexes: file_watch_proto_depIdxs,
   524  		EnumInfos:         file_watch_proto_enumTypes,
   525  		MessageInfos:      file_watch_proto_msgTypes,
   526  	}.Build()
   527  	File_watch_proto = out.File
   528  	file_watch_proto_rawDesc = nil
   529  	file_watch_proto_goTypes = nil
   530  	file_watch_proto_depIdxs = nil
   531  }