| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.28.1 |
| // protoc (unknown) |
| // source: webhook/v1alpha1/event.proto |
| |
| package webhookv1alpha1 |
| |
| import ( |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| |
| timestamppb "google.golang.org/protobuf/types/known/timestamppb" |
| ) |
| |
| import ( |
| v1alpha1 "github.com/apache/dubbo-kubernetes/pkg/bufman/gen/proto/go/registry/v1alpha1" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| // EventRequest is the request payload that will be sent to the customer |
| // that is subscribed to webhook events in the BSR. |
| type EventRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The webhook event that was triggered. This event is the same one that is |
| // registered when creating a webhook in the BSR. |
| Event v1alpha1.WebhookEvent `protobuf:"varint,1,opt,name=event,proto3,enum=bufman.dubbo.apache.org.registry.v1alpha1.WebhookEvent" json:"event,omitempty"` |
| // The event payload of the event was triggered. |
| Payload *EventPayload `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` |
| } |
| |
| func (x *EventRequest) Reset() { |
| *x = EventRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_webhook_v1alpha1_event_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *EventRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*EventRequest) ProtoMessage() {} |
| |
| func (x *EventRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_webhook_v1alpha1_event_proto_msgTypes[0] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use EventRequest.ProtoReflect.Descriptor instead. |
| func (*EventRequest) Descriptor() ([]byte, []int) { |
| return file_webhook_v1alpha1_event_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *EventRequest) GetEvent() v1alpha1.WebhookEvent { |
| if x != nil { |
| return x.Event |
| } |
| return v1alpha1.WebhookEvent(0) |
| } |
| |
| func (x *EventRequest) GetPayload() *EventPayload { |
| if x != nil { |
| return x.Payload |
| } |
| return nil |
| } |
| |
| // EventPayload contains the actual event payload for all possible |
| // webhook event types. |
| type EventPayload struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // Types that are assignable to Payload: |
| // |
| // *EventPayload_RepositoryPush |
| Payload isEventPayload_Payload `protobuf_oneof:"payload"` |
| } |
| |
| func (x *EventPayload) Reset() { |
| *x = EventPayload{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_webhook_v1alpha1_event_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *EventPayload) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*EventPayload) ProtoMessage() {} |
| |
| func (x *EventPayload) ProtoReflect() protoreflect.Message { |
| mi := &file_webhook_v1alpha1_event_proto_msgTypes[1] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use EventPayload.ProtoReflect.Descriptor instead. |
| func (*EventPayload) Descriptor() ([]byte, []int) { |
| return file_webhook_v1alpha1_event_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (m *EventPayload) GetPayload() isEventPayload_Payload { |
| if m != nil { |
| return m.Payload |
| } |
| return nil |
| } |
| |
| func (x *EventPayload) GetRepositoryPush() *RepositoryPushEvent { |
| if x, ok := x.GetPayload().(*EventPayload_RepositoryPush); ok { |
| return x.RepositoryPush |
| } |
| return nil |
| } |
| |
| type isEventPayload_Payload interface { |
| isEventPayload_Payload() |
| } |
| |
| type EventPayload_RepositoryPush struct { |
| RepositoryPush *RepositoryPushEvent `protobuf:"bytes,1,opt,name=repository_push,json=repositoryPush,proto3,oneof"` |
| } |
| |
| func (*EventPayload_RepositoryPush) isEventPayload_Payload() {} |
| |
| // EventResponse is the empty response payload from the customer to Buf. |
| type EventResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| } |
| |
| func (x *EventResponse) Reset() { |
| *x = EventResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_webhook_v1alpha1_event_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *EventResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*EventResponse) ProtoMessage() {} |
| |
| func (x *EventResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_webhook_v1alpha1_event_proto_msgTypes[2] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use EventResponse.ProtoReflect.Descriptor instead. |
| func (*EventResponse) Descriptor() ([]byte, []int) { |
| return file_webhook_v1alpha1_event_proto_rawDescGZIP(), []int{2} |
| } |
| |
| // Payload for the event WEBHOOK_EVENT_REPOSITORY_PUSH. |
| type RepositoryPushEvent struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The timestamp of the commit push. |
| EventTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=event_time,json=eventTime,proto3" json:"event_time,omitempty"` |
| // The repository commit that was pushed. |
| RepositoryCommit *v1alpha1.RepositoryCommit `protobuf:"bytes,2,opt,name=repository_commit,json=repositoryCommit,proto3" json:"repository_commit,omitempty"` |
| // The repository that was pushed. |
| Repository *v1alpha1.Repository `protobuf:"bytes,3,opt,name=repository,proto3" json:"repository,omitempty"` |
| } |
| |
| func (x *RepositoryPushEvent) Reset() { |
| *x = RepositoryPushEvent{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_webhook_v1alpha1_event_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RepositoryPushEvent) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RepositoryPushEvent) ProtoMessage() {} |
| |
| func (x *RepositoryPushEvent) ProtoReflect() protoreflect.Message { |
| mi := &file_webhook_v1alpha1_event_proto_msgTypes[3] |
| if protoimpl.UnsafeEnabled && x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use RepositoryPushEvent.ProtoReflect.Descriptor instead. |
| func (*RepositoryPushEvent) Descriptor() ([]byte, []int) { |
| return file_webhook_v1alpha1_event_proto_rawDescGZIP(), []int{3} |
| } |
| |
| func (x *RepositoryPushEvent) GetEventTime() *timestamppb.Timestamp { |
| if x != nil { |
| return x.EventTime |
| } |
| return nil |
| } |
| |
| func (x *RepositoryPushEvent) GetRepositoryCommit() *v1alpha1.RepositoryCommit { |
| if x != nil { |
| return x.RepositoryCommit |
| } |
| return nil |
| } |
| |
| func (x *RepositoryPushEvent) GetRepository() *v1alpha1.Repository { |
| if x != nil { |
| return x.Repository |
| } |
| return nil |
| } |
| |
| var File_webhook_v1alpha1_event_proto protoreflect.FileDescriptor |
| |
| var file_webhook_v1alpha1_event_proto_rawDesc = []byte{ |
| 0x0a, 0x1c, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, |
| 0x61, 0x31, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, |
| 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x61, 0x70, 0x61, |
| 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, |
| 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x1a, 0x22, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, |
| 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x72, 0x65, 0x70, 0x6f, |
| 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x29, 0x72, 0x65, |
| 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, |
| 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, |
| 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, |
| 0x79, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, |
| 0x6f, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, |
| 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x0c, 0x45, 0x76, |
| 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, 0x05, 0x65, 0x76, |
| 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x6d, |
| 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, |
| 0x6f, 0x72, 0x67, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, |
| 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x45, 0x76, 0x65, |
| 0x6e, 0x74, 0x52, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x07, 0x70, 0x61, 0x79, |
| 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x62, 0x75, 0x66, |
| 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, |
| 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x76, 0x31, 0x61, |
| 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, |
| 0x61, 0x64, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x83, 0x01, 0x0a, 0x0c, |
| 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x68, 0x0a, 0x0f, |
| 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x5f, 0x70, 0x75, 0x73, 0x68, 0x18, |
| 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, |
| 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, |
| 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, |
| 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x50, 0x75, 0x73, 0x68, 0x45, |
| 0x76, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, |
| 0x72, 0x79, 0x50, 0x75, 0x73, 0x68, 0x42, 0x09, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, |
| 0x64, 0x22, 0x0f, 0x0a, 0x0d, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, |
| 0x73, 0x65, 0x22, 0x91, 0x02, 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, |
| 0x79, 0x50, 0x75, 0x73, 0x68, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x76, |
| 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, |
| 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, |
| 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x76, 0x65, 0x6e, |
| 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x68, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, |
| 0x6f, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, |
| 0x32, 0x3b, 0x2e, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, |
| 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x73, |
| 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x70, |
| 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, 0x10, 0x72, |
| 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, |
| 0x55, 0x0a, 0x0a, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x18, 0x03, 0x20, |
| 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, |
| 0x62, 0x6f, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x72, 0x65, |
| 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, |
| 0x52, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x72, 0x65, 0x70, 0x6f, |
| 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x32, 0x88, 0x01, 0x0a, 0x0c, 0x45, 0x76, 0x65, 0x6e, 0x74, |
| 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 0x0a, 0x05, 0x45, 0x76, 0x65, 0x6e, 0x74, |
| 0x12, 0x36, 0x2e, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, |
| 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, 0x67, 0x2e, 0x77, 0x65, 0x62, 0x68, 0x6f, |
| 0x6f, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, |
| 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x62, 0x75, 0x66, 0x6d, 0x61, |
| 0x6e, 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, |
| 0x72, 0x67, 0x2e, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, |
| 0x68, 0x61, 0x31, 0x2e, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, |
| 0x65, 0x42, 0xde, 0x02, 0x0a, 0x2c, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, |
| 0x2e, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x61, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x6f, 0x72, |
| 0x67, 0x2e, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, |
| 0x61, 0x31, 0x42, 0x0a, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, |
| 0x5a, 0x5b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x70, 0x61, |
| 0x63, 0x68, 0x65, 0x2f, 0x64, 0x75, 0x62, 0x62, 0x6f, 0x2d, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, |
| 0x65, 0x74, 0x65, 0x73, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x62, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2f, |
| 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x77, 0x65, 0x62, |
| 0x68, 0x6f, 0x6f, 0x6b, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x3b, 0x77, 0x65, |
| 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xa2, 0x02, 0x05, |
| 0x42, 0x44, 0x41, 0x4f, 0x57, 0xaa, 0x02, 0x28, 0x42, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x2e, 0x44, |
| 0x75, 0x62, 0x62, 0x6f, 0x2e, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x2e, 0x4f, 0x72, 0x67, 0x2e, |
| 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, |
| 0xca, 0x02, 0x28, 0x42, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x5c, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x5c, |
| 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x5c, 0x4f, 0x72, 0x67, 0x5c, 0x57, 0x65, 0x62, 0x68, 0x6f, |
| 0x6f, 0x6b, 0x5c, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0xe2, 0x02, 0x34, 0x42, 0x75, |
| 0x66, 0x6d, 0x61, 0x6e, 0x5c, 0x44, 0x75, 0x62, 0x62, 0x6f, 0x5c, 0x41, 0x70, 0x61, 0x63, 0x68, |
| 0x65, 0x5c, 0x4f, 0x72, 0x67, 0x5c, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x5c, 0x56, 0x31, |
| 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, |
| 0x74, 0x61, 0xea, 0x02, 0x2d, 0x42, 0x75, 0x66, 0x6d, 0x61, 0x6e, 0x3a, 0x3a, 0x44, 0x75, 0x62, |
| 0x62, 0x6f, 0x3a, 0x3a, 0x41, 0x70, 0x61, 0x63, 0x68, 0x65, 0x3a, 0x3a, 0x4f, 0x72, 0x67, 0x3a, |
| 0x3a, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x3a, 0x3a, 0x56, 0x31, 0x61, 0x6c, 0x70, 0x68, |
| 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_webhook_v1alpha1_event_proto_rawDescOnce sync.Once |
| file_webhook_v1alpha1_event_proto_rawDescData = file_webhook_v1alpha1_event_proto_rawDesc |
| ) |
| |
| func file_webhook_v1alpha1_event_proto_rawDescGZIP() []byte { |
| file_webhook_v1alpha1_event_proto_rawDescOnce.Do(func() { |
| file_webhook_v1alpha1_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_webhook_v1alpha1_event_proto_rawDescData) |
| }) |
| return file_webhook_v1alpha1_event_proto_rawDescData |
| } |
| |
| var file_webhook_v1alpha1_event_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| var file_webhook_v1alpha1_event_proto_goTypes = []interface{}{ |
| (*EventRequest)(nil), // 0: bufman.dubbo.apache.org.webhook.v1alpha1.EventRequest |
| (*EventPayload)(nil), // 1: bufman.dubbo.apache.org.webhook.v1alpha1.EventPayload |
| (*EventResponse)(nil), // 2: bufman.dubbo.apache.org.webhook.v1alpha1.EventResponse |
| (*RepositoryPushEvent)(nil), // 3: bufman.dubbo.apache.org.webhook.v1alpha1.RepositoryPushEvent |
| (v1alpha1.WebhookEvent)(0), // 4: bufman.dubbo.apache.org.registry.v1alpha1.WebhookEvent |
| (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp |
| (*v1alpha1.RepositoryCommit)(nil), // 6: bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommit |
| (*v1alpha1.Repository)(nil), // 7: bufman.dubbo.apache.org.registry.v1alpha1.Repository |
| } |
| var file_webhook_v1alpha1_event_proto_depIdxs = []int32{ |
| 4, // 0: bufman.dubbo.apache.org.webhook.v1alpha1.EventRequest.event:type_name -> bufman.dubbo.apache.org.registry.v1alpha1.WebhookEvent |
| 1, // 1: bufman.dubbo.apache.org.webhook.v1alpha1.EventRequest.payload:type_name -> bufman.dubbo.apache.org.webhook.v1alpha1.EventPayload |
| 3, // 2: bufman.dubbo.apache.org.webhook.v1alpha1.EventPayload.repository_push:type_name -> bufman.dubbo.apache.org.webhook.v1alpha1.RepositoryPushEvent |
| 5, // 3: bufman.dubbo.apache.org.webhook.v1alpha1.RepositoryPushEvent.event_time:type_name -> google.protobuf.Timestamp |
| 6, // 4: bufman.dubbo.apache.org.webhook.v1alpha1.RepositoryPushEvent.repository_commit:type_name -> bufman.dubbo.apache.org.registry.v1alpha1.RepositoryCommit |
| 7, // 5: bufman.dubbo.apache.org.webhook.v1alpha1.RepositoryPushEvent.repository:type_name -> bufman.dubbo.apache.org.registry.v1alpha1.Repository |
| 0, // 6: bufman.dubbo.apache.org.webhook.v1alpha1.EventService.Event:input_type -> bufman.dubbo.apache.org.webhook.v1alpha1.EventRequest |
| 2, // 7: bufman.dubbo.apache.org.webhook.v1alpha1.EventService.Event:output_type -> bufman.dubbo.apache.org.webhook.v1alpha1.EventResponse |
| 7, // [7:8] is the sub-list for method output_type |
| 6, // [6:7] is the sub-list for method input_type |
| 6, // [6:6] is the sub-list for extension type_name |
| 6, // [6:6] is the sub-list for extension extendee |
| 0, // [0:6] is the sub-list for field type_name |
| } |
| |
| func init() { file_webhook_v1alpha1_event_proto_init() } |
| func file_webhook_v1alpha1_event_proto_init() { |
| if File_webhook_v1alpha1_event_proto != nil { |
| return |
| } |
| if !protoimpl.UnsafeEnabled { |
| file_webhook_v1alpha1_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*EventRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_webhook_v1alpha1_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*EventPayload); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_webhook_v1alpha1_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*EventResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_webhook_v1alpha1_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RepositoryPushEvent); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| file_webhook_v1alpha1_event_proto_msgTypes[1].OneofWrappers = []interface{}{ |
| (*EventPayload_RepositoryPush)(nil), |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_webhook_v1alpha1_event_proto_rawDesc, |
| NumEnums: 0, |
| NumMessages: 4, |
| NumExtensions: 0, |
| NumServices: 1, |
| }, |
| GoTypes: file_webhook_v1alpha1_event_proto_goTypes, |
| DependencyIndexes: file_webhook_v1alpha1_event_proto_depIdxs, |
| MessageInfos: file_webhook_v1alpha1_event_proto_msgTypes, |
| }.Build() |
| File_webhook_v1alpha1_event_proto = out.File |
| file_webhook_v1alpha1_event_proto_rawDesc = nil |
| file_webhook_v1alpha1_event_proto_goTypes = nil |
| file_webhook_v1alpha1_event_proto_depIdxs = nil |
| } |