| // Copyright 2022 The ChromiumOS Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.27.1 |
| // protoc v3.17.1 |
| // source: chromite/api/copybot.proto |
| |
| package api |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| ) |
| |
| 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) |
| ) |
| |
| // How should CopyBot beahve when it encounters a merge conflict? |
| type RunCopybotRequest_MergeConflictBehavior int32 |
| |
| const ( |
| // Use the default behavior (skip). Subject to change later. |
| RunCopybotRequest_MERGE_CONFLICT_BEHAVIOR_UNSPECIFIED RunCopybotRequest_MergeConflictBehavior = 0 |
| // Skip the commit that merge conflicted and upload anyway. The |
| // job will exit with failure status. |
| RunCopybotRequest_MERGE_CONFLICT_BEHAVIOR_SKIP RunCopybotRequest_MergeConflictBehavior = 1 |
| // Fail the job immediately. Do not upload. |
| RunCopybotRequest_MERGE_CONFLICT_BEHAVIOR_FAIL RunCopybotRequest_MergeConflictBehavior = 2 |
| ) |
| |
| // Enum value maps for RunCopybotRequest_MergeConflictBehavior. |
| var ( |
| RunCopybotRequest_MergeConflictBehavior_name = map[int32]string{ |
| 0: "MERGE_CONFLICT_BEHAVIOR_UNSPECIFIED", |
| 1: "MERGE_CONFLICT_BEHAVIOR_SKIP", |
| 2: "MERGE_CONFLICT_BEHAVIOR_FAIL", |
| } |
| RunCopybotRequest_MergeConflictBehavior_value = map[string]int32{ |
| "MERGE_CONFLICT_BEHAVIOR_UNSPECIFIED": 0, |
| "MERGE_CONFLICT_BEHAVIOR_SKIP": 1, |
| "MERGE_CONFLICT_BEHAVIOR_FAIL": 2, |
| } |
| ) |
| |
| func (x RunCopybotRequest_MergeConflictBehavior) Enum() *RunCopybotRequest_MergeConflictBehavior { |
| p := new(RunCopybotRequest_MergeConflictBehavior) |
| *p = x |
| return p |
| } |
| |
| func (x RunCopybotRequest_MergeConflictBehavior) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (RunCopybotRequest_MergeConflictBehavior) Descriptor() protoreflect.EnumDescriptor { |
| return file_chromite_api_copybot_proto_enumTypes[0].Descriptor() |
| } |
| |
| func (RunCopybotRequest_MergeConflictBehavior) Type() protoreflect.EnumType { |
| return &file_chromite_api_copybot_proto_enumTypes[0] |
| } |
| |
| func (x RunCopybotRequest_MergeConflictBehavior) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use RunCopybotRequest_MergeConflictBehavior.Descriptor instead. |
| func (RunCopybotRequest_MergeConflictBehavior) EnumDescriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| // If CopyBot failed, why did it? Note: you should first check the |
| // exit status of the Build API endpoint. If the exit status is |
| // zero, CopyBot ran successfully and this reason should not be |
| // checked. If the exit status is non-zero, you can check this |
| // field for the failure reason. |
| type RunCopybotResponse_FailureReason int32 |
| |
| const ( |
| // Failed for a reason not listed below. |
| RunCopybotResponse_FAILURE_UNKNOWN RunCopybotResponse_FailureReason = 0 |
| // Failed to fetch the upstream Git repo. |
| RunCopybotResponse_FAILURE_UPSTREAM_FETCH_ERROR RunCopybotResponse_FailureReason = 1 |
| // Failed to fetch the downstream Git repo. |
| RunCopybotResponse_FAILURE_DOWNSTREAM_FETCH_ERROR RunCopybotResponse_FailureReason = 2 |
| // Failed to push commits to Gerrit. |
| RunCopybotResponse_FAILURE_DOWNSTREAM_PUSH_ERROR RunCopybotResponse_FailureReason = 3 |
| // Failed due to merge conflict(s). |
| RunCopybotResponse_FAILURE_MERGE_CONFLITS RunCopybotResponse_FailureReason = 4 |
| ) |
| |
| // Enum value maps for RunCopybotResponse_FailureReason. |
| var ( |
| RunCopybotResponse_FailureReason_name = map[int32]string{ |
| 0: "FAILURE_UNKNOWN", |
| 1: "FAILURE_UPSTREAM_FETCH_ERROR", |
| 2: "FAILURE_DOWNSTREAM_FETCH_ERROR", |
| 3: "FAILURE_DOWNSTREAM_PUSH_ERROR", |
| 4: "FAILURE_MERGE_CONFLITS", |
| } |
| RunCopybotResponse_FailureReason_value = map[string]int32{ |
| "FAILURE_UNKNOWN": 0, |
| "FAILURE_UPSTREAM_FETCH_ERROR": 1, |
| "FAILURE_DOWNSTREAM_FETCH_ERROR": 2, |
| "FAILURE_DOWNSTREAM_PUSH_ERROR": 3, |
| "FAILURE_MERGE_CONFLITS": 4, |
| } |
| ) |
| |
| func (x RunCopybotResponse_FailureReason) Enum() *RunCopybotResponse_FailureReason { |
| p := new(RunCopybotResponse_FailureReason) |
| *p = x |
| return p |
| } |
| |
| func (x RunCopybotResponse_FailureReason) String() string { |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| } |
| |
| func (RunCopybotResponse_FailureReason) Descriptor() protoreflect.EnumDescriptor { |
| return file_chromite_api_copybot_proto_enumTypes[1].Descriptor() |
| } |
| |
| func (RunCopybotResponse_FailureReason) Type() protoreflect.EnumType { |
| return &file_chromite_api_copybot_proto_enumTypes[1] |
| } |
| |
| func (x RunCopybotResponse_FailureReason) Number() protoreflect.EnumNumber { |
| return protoreflect.EnumNumber(x) |
| } |
| |
| // Deprecated: Use RunCopybotResponse_FailureReason.Descriptor instead. |
| func (RunCopybotResponse_FailureReason) EnumDescriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{1, 0} |
| } |
| |
| // The request to run CopyBot. |
| type RunCopybotRequest struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The upstream repo to copy from. |
| Upstream *RunCopybotRequest_Repo `protobuf:"bytes,1,opt,name=upstream,proto3" json:"upstream,omitempty"` |
| // The downstream GoB to upload to. |
| Downstream *RunCopybotRequest_Repo `protobuf:"bytes,2,opt,name=downstream,proto3" json:"downstream,omitempty"` |
| // The topic to use for tracking dowstreaming (e.g., "zephyr-downstream"). |
| Topic string `protobuf:"bytes,3,opt,name=topic,proto3" json:"topic,omitempty"` |
| Labels []*RunCopybotRequest_GerritLabel `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty"` |
| // Any reviewers to add while uploading to Gerrit. |
| Reviewers []*RunCopybotRequest_GerritUser `protobuf:"bytes,5,rep,name=reviewers,proto3" json:"reviewers,omitempty"` |
| // Any CCs to add while uploading to Gerrit. |
| Ccs []*RunCopybotRequest_GerritUser `protobuf:"bytes,6,rep,name=ccs,proto3" json:"ccs,omitempty"` |
| // String to prepend the subject of the commit message with |
| // (e.g., "UPSTREAM: "). |
| PrependSubject string `protobuf:"bytes,7,opt,name=prepend_subject,json=prependSubject,proto3" json:"prepend_subject,omitempty"` |
| MergeConflictBehavior RunCopybotRequest_MergeConflictBehavior `protobuf:"varint,8,opt,name=merge_conflict_behavior,json=mergeConflictBehavior,proto3,enum=chromite.api.RunCopybotRequest_MergeConflictBehavior" json:"merge_conflict_behavior,omitempty"` |
| ExcludeFilePatterns []*RunCopybotRequest_Pattern `protobuf:"bytes,9,rep,name=exclude_file_patterns,json=excludeFilePatterns,proto3" json:"exclude_file_patterns,omitempty"` |
| KeepPseudoheaders []*RunCopybotRequest_Pseudoheader `protobuf:"bytes,10,rep,name=keep_pseudoheaders,json=keepPseudoheaders,proto3" json:"keep_pseudoheaders,omitempty"` |
| // Should CopyBot add a "Signed-off-by" pseudoheader, even though a |
| // signature from a robot means nothing? Generally, you should only |
| // to set this to true if you plan to have CopyBot interact with |
| // another bot that wants this pseudoheader (e.g., Sean Paul Bot). |
| AddSignedOffBy bool `protobuf:"varint,11,opt,name=add_signed_off_by,json=addSignedOffBy,proto3" json:"add_signed_off_by,omitempty"` |
| // If true, CopyBot executes a dry run and will not push any commits |
| // to the downstream repo(s). |
| DryRun bool `protobuf:"varint,12,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"` |
| PushOptions []*RunCopybotRequest_PushOption `protobuf:"bytes,13,rep,name=push_options,json=pushOptions,proto3" json:"push_options,omitempty"` |
| Hashtags []*RunCopybotRequest_Hashtag `protobuf:"bytes,14,rep,name=hashtags,proto3" json:"hashtags,omitempty"` |
| // The upstream limit of CLs to evaluate. |
| UpstreamLimit uint32 `protobuf:"varint,15,opt,name=upstream_limit,json=upstreamLimit,proto3" json:"upstream_limit,omitempty"` |
| // The downstream limit of CLs to evaluate. |
| DownstreamLimit uint32 `protobuf:"varint,16,opt,name=downstream_limit,json=downstreamLimit,proto3" json:"downstream_limit,omitempty"` |
| IncludePaths []*RunCopybotRequest_IncludePath `protobuf:"bytes,17,rep,name=include_paths,json=includePaths,proto3" json:"include_paths,omitempty"` |
| } |
| |
| func (x *RunCopybotRequest) Reset() { |
| *x = RunCopybotRequest{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotRequest) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotRequest) ProtoMessage() {} |
| |
| func (x *RunCopybotRequest) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_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 RunCopybotRequest.ProtoReflect.Descriptor instead. |
| func (*RunCopybotRequest) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *RunCopybotRequest) GetUpstream() *RunCopybotRequest_Repo { |
| if x != nil { |
| return x.Upstream |
| } |
| return nil |
| } |
| |
| func (x *RunCopybotRequest) GetDownstream() *RunCopybotRequest_Repo { |
| if x != nil { |
| return x.Downstream |
| } |
| return nil |
| } |
| |
| func (x *RunCopybotRequest) GetTopic() string { |
| if x != nil { |
| return x.Topic |
| } |
| return "" |
| } |
| |
| func (x *RunCopybotRequest) GetLabels() []*RunCopybotRequest_GerritLabel { |
| if x != nil { |
| return x.Labels |
| } |
| return nil |
| } |
| |
| func (x *RunCopybotRequest) GetReviewers() []*RunCopybotRequest_GerritUser { |
| if x != nil { |
| return x.Reviewers |
| } |
| return nil |
| } |
| |
| func (x *RunCopybotRequest) GetCcs() []*RunCopybotRequest_GerritUser { |
| if x != nil { |
| return x.Ccs |
| } |
| return nil |
| } |
| |
| func (x *RunCopybotRequest) GetPrependSubject() string { |
| if x != nil { |
| return x.PrependSubject |
| } |
| return "" |
| } |
| |
| func (x *RunCopybotRequest) GetMergeConflictBehavior() RunCopybotRequest_MergeConflictBehavior { |
| if x != nil { |
| return x.MergeConflictBehavior |
| } |
| return RunCopybotRequest_MERGE_CONFLICT_BEHAVIOR_UNSPECIFIED |
| } |
| |
| func (x *RunCopybotRequest) GetExcludeFilePatterns() []*RunCopybotRequest_Pattern { |
| if x != nil { |
| return x.ExcludeFilePatterns |
| } |
| return nil |
| } |
| |
| func (x *RunCopybotRequest) GetKeepPseudoheaders() []*RunCopybotRequest_Pseudoheader { |
| if x != nil { |
| return x.KeepPseudoheaders |
| } |
| return nil |
| } |
| |
| func (x *RunCopybotRequest) GetAddSignedOffBy() bool { |
| if x != nil { |
| return x.AddSignedOffBy |
| } |
| return false |
| } |
| |
| func (x *RunCopybotRequest) GetDryRun() bool { |
| if x != nil { |
| return x.DryRun |
| } |
| return false |
| } |
| |
| func (x *RunCopybotRequest) GetPushOptions() []*RunCopybotRequest_PushOption { |
| if x != nil { |
| return x.PushOptions |
| } |
| return nil |
| } |
| |
| func (x *RunCopybotRequest) GetHashtags() []*RunCopybotRequest_Hashtag { |
| if x != nil { |
| return x.Hashtags |
| } |
| return nil |
| } |
| |
| func (x *RunCopybotRequest) GetUpstreamLimit() uint32 { |
| if x != nil { |
| return x.UpstreamLimit |
| } |
| return 0 |
| } |
| |
| func (x *RunCopybotRequest) GetDownstreamLimit() uint32 { |
| if x != nil { |
| return x.DownstreamLimit |
| } |
| return 0 |
| } |
| |
| func (x *RunCopybotRequest) GetIncludePaths() []*RunCopybotRequest_IncludePath { |
| if x != nil { |
| return x.IncludePaths |
| } |
| return nil |
| } |
| |
| // The result of CopyBot being run. |
| type RunCopybotResponse struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| FailureReason RunCopybotResponse_FailureReason `protobuf:"varint,1,opt,name=failure_reason,json=failureReason,proto3,enum=chromite.api.RunCopybotResponse_FailureReason" json:"failure_reason,omitempty"` |
| MergeConflicts []*RunCopybotResponse_MergeConflictCommit `protobuf:"bytes,2,rep,name=merge_conflicts,json=mergeConflicts,proto3" json:"merge_conflicts,omitempty"` |
| } |
| |
| func (x *RunCopybotResponse) Reset() { |
| *x = RunCopybotResponse{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotResponse) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotResponse) ProtoMessage() {} |
| |
| func (x *RunCopybotResponse) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_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 RunCopybotResponse.ProtoReflect.Descriptor instead. |
| func (*RunCopybotResponse) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{1} |
| } |
| |
| func (x *RunCopybotResponse) GetFailureReason() RunCopybotResponse_FailureReason { |
| if x != nil { |
| return x.FailureReason |
| } |
| return RunCopybotResponse_FAILURE_UNKNOWN |
| } |
| |
| func (x *RunCopybotResponse) GetMergeConflicts() []*RunCopybotResponse_MergeConflictCommit { |
| if x != nil { |
| return x.MergeConflicts |
| } |
| return nil |
| } |
| |
| type RunCopybotRequest_Repo struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| // The URL (e.g., "https://github.com/zephyrproject-rtos/zephyr"). |
| Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` |
| // The branch (e.g., "main"). |
| Branch string `protobuf:"bytes,2,opt,name=branch,proto3" json:"branch,omitempty"` |
| // The subtree (e.g., "soc/x86"). |
| Subtree string `protobuf:"bytes,3,opt,name=subtree,proto3" json:"subtree,omitempty"` |
| } |
| |
| func (x *RunCopybotRequest_Repo) Reset() { |
| *x = RunCopybotRequest_Repo{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[2] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotRequest_Repo) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotRequest_Repo) ProtoMessage() {} |
| |
| func (x *RunCopybotRequest_Repo) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_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 RunCopybotRequest_Repo.ProtoReflect.Descriptor instead. |
| func (*RunCopybotRequest_Repo) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| func (x *RunCopybotRequest_Repo) GetUrl() string { |
| if x != nil { |
| return x.Url |
| } |
| return "" |
| } |
| |
| func (x *RunCopybotRequest_Repo) GetBranch() string { |
| if x != nil { |
| return x.Branch |
| } |
| return "" |
| } |
| |
| func (x *RunCopybotRequest_Repo) GetSubtree() string { |
| if x != nil { |
| return x.Subtree |
| } |
| return "" |
| } |
| |
| // A username or email of a gerrit account. |
| type RunCopybotRequest_GerritUser struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` |
| } |
| |
| func (x *RunCopybotRequest_GerritUser) Reset() { |
| *x = RunCopybotRequest_GerritUser{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[3] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotRequest_GerritUser) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotRequest_GerritUser) ProtoMessage() {} |
| |
| func (x *RunCopybotRequest_GerritUser) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_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 RunCopybotRequest_GerritUser.ProtoReflect.Descriptor instead. |
| func (*RunCopybotRequest_GerritUser) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{0, 1} |
| } |
| |
| func (x *RunCopybotRequest_GerritUser) GetUser() string { |
| if x != nil { |
| return x.User |
| } |
| return "" |
| } |
| |
| // Any labels to set while uploading (e.g., "Verified+1"). |
| type RunCopybotRequest_GerritLabel struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` |
| } |
| |
| func (x *RunCopybotRequest_GerritLabel) Reset() { |
| *x = RunCopybotRequest_GerritLabel{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[4] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotRequest_GerritLabel) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotRequest_GerritLabel) ProtoMessage() {} |
| |
| func (x *RunCopybotRequest_GerritLabel) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_proto_msgTypes[4] |
| 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 RunCopybotRequest_GerritLabel.ProtoReflect.Descriptor instead. |
| func (*RunCopybotRequest_GerritLabel) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{0, 2} |
| } |
| |
| func (x *RunCopybotRequest_GerritLabel) GetLabel() string { |
| if x != nil { |
| return x.Label |
| } |
| return "" |
| } |
| |
| // A list of paths which should not be copied. Interpreted as a |
| // Python regex. |
| type RunCopybotRequest_Pattern struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"` |
| } |
| |
| func (x *RunCopybotRequest_Pattern) Reset() { |
| *x = RunCopybotRequest_Pattern{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[5] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotRequest_Pattern) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotRequest_Pattern) ProtoMessage() {} |
| |
| func (x *RunCopybotRequest_Pattern) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_proto_msgTypes[5] |
| 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 RunCopybotRequest_Pattern.ProtoReflect.Descriptor instead. |
| func (*RunCopybotRequest_Pattern) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{0, 3} |
| } |
| |
| func (x *RunCopybotRequest_Pattern) GetPattern() string { |
| if x != nil { |
| return x.Pattern |
| } |
| return "" |
| } |
| |
| // A list of pseudoheaders which should be preserved (and not |
| // prefixed with "Original-"). |
| type RunCopybotRequest_Pseudoheader struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| } |
| |
| func (x *RunCopybotRequest_Pseudoheader) Reset() { |
| *x = RunCopybotRequest_Pseudoheader{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[6] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotRequest_Pseudoheader) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotRequest_Pseudoheader) ProtoMessage() {} |
| |
| func (x *RunCopybotRequest_Pseudoheader) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_proto_msgTypes[6] |
| 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 RunCopybotRequest_Pseudoheader.ProtoReflect.Descriptor instead. |
| func (*RunCopybotRequest_Pseudoheader) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{0, 4} |
| } |
| |
| func (x *RunCopybotRequest_Pseudoheader) GetName() string { |
| if x != nil { |
| return x.Name |
| } |
| return "" |
| } |
| |
| // Allows specifying push options to be passed along when pushing commits to |
| // the downstream repo. |
| type RunCopybotRequest_PushOption struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Opt string `protobuf:"bytes,1,opt,name=opt,proto3" json:"opt,omitempty"` |
| } |
| |
| func (x *RunCopybotRequest_PushOption) Reset() { |
| *x = RunCopybotRequest_PushOption{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[7] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotRequest_PushOption) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotRequest_PushOption) ProtoMessage() {} |
| |
| func (x *RunCopybotRequest_PushOption) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_proto_msgTypes[7] |
| 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 RunCopybotRequest_PushOption.ProtoReflect.Descriptor instead. |
| func (*RunCopybotRequest_PushOption) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{0, 5} |
| } |
| |
| func (x *RunCopybotRequest_PushOption) GetOpt() string { |
| if x != nil { |
| return x.Opt |
| } |
| return "" |
| } |
| |
| // A list of hashtags which should be applied to the copied CLs. |
| type RunCopybotRequest_Hashtag struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Hashtag string `protobuf:"bytes,1,opt,name=hashtag,proto3" json:"hashtag,omitempty"` |
| } |
| |
| func (x *RunCopybotRequest_Hashtag) Reset() { |
| *x = RunCopybotRequest_Hashtag{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[8] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotRequest_Hashtag) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotRequest_Hashtag) ProtoMessage() {} |
| |
| func (x *RunCopybotRequest_Hashtag) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_proto_msgTypes[8] |
| 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 RunCopybotRequest_Hashtag.ProtoReflect.Descriptor instead. |
| func (*RunCopybotRequest_Hashtag) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{0, 6} |
| } |
| |
| func (x *RunCopybotRequest_Hashtag) GetHashtag() string { |
| if x != nil { |
| return x.Hashtag |
| } |
| return "" |
| } |
| |
| // A list of full file paths to include in the downstream path. |
| type RunCopybotRequest_IncludePath struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` |
| } |
| |
| func (x *RunCopybotRequest_IncludePath) Reset() { |
| *x = RunCopybotRequest_IncludePath{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[9] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotRequest_IncludePath) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotRequest_IncludePath) ProtoMessage() {} |
| |
| func (x *RunCopybotRequest_IncludePath) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_proto_msgTypes[9] |
| 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 RunCopybotRequest_IncludePath.ProtoReflect.Descriptor instead. |
| func (*RunCopybotRequest_IncludePath) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{0, 7} |
| } |
| |
| func (x *RunCopybotRequest_IncludePath) GetPath() string { |
| if x != nil { |
| return x.Path |
| } |
| return "" |
| } |
| |
| // If there were merge conflicts, a list of the upstream commit |
| // hashes which conflicted. |
| type RunCopybotResponse_MergeConflictCommit struct { |
| state protoimpl.MessageState |
| sizeCache protoimpl.SizeCache |
| unknownFields protoimpl.UnknownFields |
| |
| Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` |
| } |
| |
| func (x *RunCopybotResponse_MergeConflictCommit) Reset() { |
| *x = RunCopybotResponse_MergeConflictCommit{} |
| if protoimpl.UnsafeEnabled { |
| mi := &file_chromite_api_copybot_proto_msgTypes[10] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| } |
| |
| func (x *RunCopybotResponse_MergeConflictCommit) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*RunCopybotResponse_MergeConflictCommit) ProtoMessage() {} |
| |
| func (x *RunCopybotResponse_MergeConflictCommit) ProtoReflect() protoreflect.Message { |
| mi := &file_chromite_api_copybot_proto_msgTypes[10] |
| 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 RunCopybotResponse_MergeConflictCommit.ProtoReflect.Descriptor instead. |
| func (*RunCopybotResponse_MergeConflictCommit) Descriptor() ([]byte, []int) { |
| return file_chromite_api_copybot_proto_rawDescGZIP(), []int{1, 0} |
| } |
| |
| func (x *RunCopybotResponse_MergeConflictCommit) GetHash() string { |
| if x != nil { |
| return x.Hash |
| } |
| return "" |
| } |
| |
| var File_chromite_api_copybot_proto protoreflect.FileDescriptor |
| |
| var file_chromite_api_copybot_proto_rawDesc = []byte{ |
| 0x0a, 0x1a, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, |
| 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x63, 0x68, |
| 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x1a, 0x1c, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x61, |
| 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x97, 0x0c, 0x0a, 0x11, 0x52, 0x75, 0x6e, |
| 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, |
| 0x0a, 0x08, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, |
| 0x32, 0x24, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, |
| 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x08, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, |
| 0x12, 0x44, 0x0a, 0x0a, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x02, |
| 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, |
| 0x61, 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, |
| 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x52, 0x0a, 0x64, 0x6f, 0x77, 0x6e, |
| 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x18, |
| 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x43, 0x0a, 0x06, |
| 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, |
| 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x65, |
| 0x72, 0x72, 0x69, 0x74, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, |
| 0x73, 0x12, 0x48, 0x0a, 0x09, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x65, 0x72, 0x73, 0x18, 0x05, |
| 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, |
| 0x61, 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, |
| 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x55, 0x73, 0x65, 0x72, |
| 0x52, 0x09, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x65, 0x72, 0x73, 0x12, 0x3c, 0x0a, 0x03, 0x63, |
| 0x63, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, |
| 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, |
| 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, |
| 0x55, 0x73, 0x65, 0x72, 0x52, 0x03, 0x63, 0x63, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x70, 0x72, 0x65, |
| 0x70, 0x65, 0x6e, 0x64, 0x5f, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x07, 0x20, 0x01, |
| 0x28, 0x09, 0x52, 0x0e, 0x70, 0x72, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x53, 0x75, 0x62, 0x6a, 0x65, |
| 0x63, 0x74, 0x12, 0x6d, 0x0a, 0x17, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, |
| 0x6c, 0x69, 0x63, 0x74, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x18, 0x08, 0x20, |
| 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, |
| 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, |
| 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, |
| 0x63, 0x74, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x52, 0x15, 0x6d, 0x65, 0x72, 0x67, |
| 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x42, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, |
| 0x72, 0x12, 0x5b, 0x0a, 0x15, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x66, 0x69, 0x6c, |
| 0x65, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, |
| 0x32, 0x27, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, |
| 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 0x74, 0x2e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x52, 0x13, 0x65, 0x78, 0x63, 0x6c, 0x75, |
| 0x64, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x12, 0x5b, |
| 0x0a, 0x12, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x70, 0x73, 0x65, 0x75, 0x64, 0x6f, 0x68, 0x65, 0x61, |
| 0x64, 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x63, 0x68, 0x72, |
| 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, |
| 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x73, 0x65, 0x75, |
| 0x64, 0x6f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x11, 0x6b, 0x65, 0x65, 0x70, 0x50, 0x73, |
| 0x65, 0x75, 0x64, 0x6f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x29, 0x0a, 0x11, 0x61, |
| 0x64, 0x64, 0x5f, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x5f, 0x62, 0x79, |
| 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x61, 0x64, 0x64, 0x53, 0x69, 0x67, 0x6e, 0x65, |
| 0x64, 0x4f, 0x66, 0x66, 0x42, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, |
| 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x12, |
| 0x4d, 0x0a, 0x0c, 0x70, 0x75, 0x73, 0x68, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, |
| 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, |
| 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, |
| 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x50, 0x75, 0x73, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, |
| 0x6e, 0x52, 0x0b, 0x70, 0x75, 0x73, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x43, |
| 0x0a, 0x08, 0x68, 0x61, 0x73, 0x68, 0x74, 0x61, 0x67, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, |
| 0x32, 0x27, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, |
| 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, |
| 0x74, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x74, 0x61, 0x67, 0x52, 0x08, 0x68, 0x61, 0x73, 0x68, 0x74, |
| 0x61, 0x67, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x70, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, |
| 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0d, 0x75, 0x70, 0x73, |
| 0x74, 0x72, 0x65, 0x61, 0x6d, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x29, 0x0a, 0x10, 0x64, 0x6f, |
| 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x10, |
| 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x64, 0x6f, 0x77, 0x6e, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, |
| 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, |
| 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, |
| 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x49, 0x6e, |
| 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x61, 0x74, 0x68, 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, |
| 0x64, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x1a, 0x4a, 0x0a, 0x04, 0x52, 0x65, 0x70, 0x6f, 0x12, |
| 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, |
| 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 0x09, 0x52, 0x06, 0x62, 0x72, 0x61, 0x6e, 0x63, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x62, |
| 0x74, 0x72, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x62, 0x74, |
| 0x72, 0x65, 0x65, 0x1a, 0x20, 0x0a, 0x0a, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x55, 0x73, 0x65, |
| 0x72, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x04, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x23, 0x0a, 0x0b, 0x47, 0x65, 0x72, 0x72, 0x69, 0x74, 0x4c, |
| 0x61, 0x62, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, |
| 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x1a, 0x23, 0x0a, 0x07, 0x50, 0x61, |
| 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, |
| 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x1a, |
| 0x22, 0x0a, 0x0c, 0x50, 0x73, 0x65, 0x75, 0x64, 0x6f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, |
| 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, |
| 0x61, 0x6d, 0x65, 0x1a, 0x1e, 0x0a, 0x0a, 0x50, 0x75, 0x73, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, |
| 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6f, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, |
| 0x6f, 0x70, 0x74, 0x1a, 0x23, 0x0a, 0x07, 0x48, 0x61, 0x73, 0x68, 0x74, 0x61, 0x67, 0x12, 0x18, |
| 0x0a, 0x07, 0x68, 0x61, 0x73, 0x68, 0x74, 0x61, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, |
| 0x07, 0x68, 0x61, 0x73, 0x68, 0x74, 0x61, 0x67, 0x1a, 0x21, 0x0a, 0x0b, 0x49, 0x6e, 0x63, 0x6c, |
| 0x75, 0x64, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, |
| 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x84, 0x01, 0x0a, 0x15, |
| 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x42, 0x65, 0x68, |
| 0x61, 0x76, 0x69, 0x6f, 0x72, 0x12, 0x27, 0x0a, 0x23, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x5f, 0x43, |
| 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, 0x5f, 0x42, 0x45, 0x48, 0x41, 0x56, 0x49, 0x4f, 0x52, |
| 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, |
| 0x0a, 0x1c, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, 0x43, 0x54, |
| 0x5f, 0x42, 0x45, 0x48, 0x41, 0x56, 0x49, 0x4f, 0x52, 0x5f, 0x53, 0x4b, 0x49, 0x50, 0x10, 0x01, |
| 0x12, 0x20, 0x0a, 0x1c, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x46, 0x4c, 0x49, |
| 0x43, 0x54, 0x5f, 0x42, 0x45, 0x48, 0x41, 0x56, 0x49, 0x4f, 0x52, 0x5f, 0x46, 0x41, 0x49, 0x4c, |
| 0x10, 0x02, 0x22, 0xa1, 0x03, 0x0a, 0x12, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, |
| 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x0e, 0x66, 0x61, 0x69, |
| 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 0x0e, 0x32, 0x2e, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, |
| 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, |
| 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, |
| 0x6e, 0x52, 0x0d, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, |
| 0x12, 0x5d, 0x0a, 0x0f, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, |
| 0x63, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, |
| 0x62, 0x6f, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x4d, 0x65, 0x72, 0x67, |
| 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x52, |
| 0x0e, 0x6d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x73, 0x1a, |
| 0x29, 0x0a, 0x13, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, |
| 0x43, 0x6f, 0x6d, 0x6d, 0x69, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x01, |
| 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x61, 0x73, 0x68, 0x22, 0xa9, 0x01, 0x0a, 0x0d, 0x46, |
| 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x13, 0x0a, 0x0f, |
| 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, |
| 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x55, 0x50, 0x53, |
| 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x46, 0x45, 0x54, 0x43, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, |
| 0x52, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x44, |
| 0x4f, 0x57, 0x4e, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x46, 0x45, 0x54, 0x43, 0x48, 0x5f, |
| 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x46, 0x41, 0x49, 0x4c, 0x55, |
| 0x52, 0x45, 0x5f, 0x44, 0x4f, 0x57, 0x4e, 0x53, 0x54, 0x52, 0x45, 0x41, 0x4d, 0x5f, 0x50, 0x55, |
| 0x53, 0x48, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x41, |
| 0x49, 0x4c, 0x55, 0x52, 0x45, 0x5f, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x46, |
| 0x4c, 0x49, 0x54, 0x53, 0x10, 0x04, 0x32, 0x70, 0x0a, 0x0e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, |
| 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4f, 0x0a, 0x0a, 0x52, 0x75, 0x6e, 0x43, |
| 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x12, 0x1f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, |
| 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, |
| 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, |
| 0x74, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x52, 0x75, 0x6e, 0x43, 0x6f, 0x70, 0x79, 0x62, 0x6f, |
| 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x1a, 0x0d, 0xc2, 0xed, 0x1a, 0x09, 0x0a, |
| 0x07, 0x63, 0x6f, 0x70, 0x79, 0x62, 0x6f, 0x74, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x2e, 0x63, |
| 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x63, 0x68, 0x72, 0x6f, |
| 0x6d, 0x69, 0x75, 0x6d, 0x6f, 0x73, 0x2f, 0x69, 0x6e, 0x66, 0x72, 0x61, 0x2f, 0x70, 0x72, 0x6f, |
| 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x74, 0x65, 0x2f, 0x61, |
| 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| } |
| |
| var ( |
| file_chromite_api_copybot_proto_rawDescOnce sync.Once |
| file_chromite_api_copybot_proto_rawDescData = file_chromite_api_copybot_proto_rawDesc |
| ) |
| |
| func file_chromite_api_copybot_proto_rawDescGZIP() []byte { |
| file_chromite_api_copybot_proto_rawDescOnce.Do(func() { |
| file_chromite_api_copybot_proto_rawDescData = protoimpl.X.CompressGZIP(file_chromite_api_copybot_proto_rawDescData) |
| }) |
| return file_chromite_api_copybot_proto_rawDescData |
| } |
| |
| var file_chromite_api_copybot_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
| var file_chromite_api_copybot_proto_msgTypes = make([]protoimpl.MessageInfo, 11) |
| var file_chromite_api_copybot_proto_goTypes = []interface{}{ |
| (RunCopybotRequest_MergeConflictBehavior)(0), // 0: chromite.api.RunCopybotRequest.MergeConflictBehavior |
| (RunCopybotResponse_FailureReason)(0), // 1: chromite.api.RunCopybotResponse.FailureReason |
| (*RunCopybotRequest)(nil), // 2: chromite.api.RunCopybotRequest |
| (*RunCopybotResponse)(nil), // 3: chromite.api.RunCopybotResponse |
| (*RunCopybotRequest_Repo)(nil), // 4: chromite.api.RunCopybotRequest.Repo |
| (*RunCopybotRequest_GerritUser)(nil), // 5: chromite.api.RunCopybotRequest.GerritUser |
| (*RunCopybotRequest_GerritLabel)(nil), // 6: chromite.api.RunCopybotRequest.GerritLabel |
| (*RunCopybotRequest_Pattern)(nil), // 7: chromite.api.RunCopybotRequest.Pattern |
| (*RunCopybotRequest_Pseudoheader)(nil), // 8: chromite.api.RunCopybotRequest.Pseudoheader |
| (*RunCopybotRequest_PushOption)(nil), // 9: chromite.api.RunCopybotRequest.PushOption |
| (*RunCopybotRequest_Hashtag)(nil), // 10: chromite.api.RunCopybotRequest.Hashtag |
| (*RunCopybotRequest_IncludePath)(nil), // 11: chromite.api.RunCopybotRequest.IncludePath |
| (*RunCopybotResponse_MergeConflictCommit)(nil), // 12: chromite.api.RunCopybotResponse.MergeConflictCommit |
| } |
| var file_chromite_api_copybot_proto_depIdxs = []int32{ |
| 4, // 0: chromite.api.RunCopybotRequest.upstream:type_name -> chromite.api.RunCopybotRequest.Repo |
| 4, // 1: chromite.api.RunCopybotRequest.downstream:type_name -> chromite.api.RunCopybotRequest.Repo |
| 6, // 2: chromite.api.RunCopybotRequest.labels:type_name -> chromite.api.RunCopybotRequest.GerritLabel |
| 5, // 3: chromite.api.RunCopybotRequest.reviewers:type_name -> chromite.api.RunCopybotRequest.GerritUser |
| 5, // 4: chromite.api.RunCopybotRequest.ccs:type_name -> chromite.api.RunCopybotRequest.GerritUser |
| 0, // 5: chromite.api.RunCopybotRequest.merge_conflict_behavior:type_name -> chromite.api.RunCopybotRequest.MergeConflictBehavior |
| 7, // 6: chromite.api.RunCopybotRequest.exclude_file_patterns:type_name -> chromite.api.RunCopybotRequest.Pattern |
| 8, // 7: chromite.api.RunCopybotRequest.keep_pseudoheaders:type_name -> chromite.api.RunCopybotRequest.Pseudoheader |
| 9, // 8: chromite.api.RunCopybotRequest.push_options:type_name -> chromite.api.RunCopybotRequest.PushOption |
| 10, // 9: chromite.api.RunCopybotRequest.hashtags:type_name -> chromite.api.RunCopybotRequest.Hashtag |
| 11, // 10: chromite.api.RunCopybotRequest.include_paths:type_name -> chromite.api.RunCopybotRequest.IncludePath |
| 1, // 11: chromite.api.RunCopybotResponse.failure_reason:type_name -> chromite.api.RunCopybotResponse.FailureReason |
| 12, // 12: chromite.api.RunCopybotResponse.merge_conflicts:type_name -> chromite.api.RunCopybotResponse.MergeConflictCommit |
| 2, // 13: chromite.api.CopybotService.RunCopybot:input_type -> chromite.api.RunCopybotRequest |
| 3, // 14: chromite.api.CopybotService.RunCopybot:output_type -> chromite.api.RunCopybotResponse |
| 14, // [14:15] is the sub-list for method output_type |
| 13, // [13:14] is the sub-list for method input_type |
| 13, // [13:13] is the sub-list for extension type_name |
| 13, // [13:13] is the sub-list for extension extendee |
| 0, // [0:13] is the sub-list for field type_name |
| } |
| |
| func init() { file_chromite_api_copybot_proto_init() } |
| func file_chromite_api_copybot_proto_init() { |
| if File_chromite_api_copybot_proto != nil { |
| return |
| } |
| file_chromite_api_build_api_proto_init() |
| if !protoimpl.UnsafeEnabled { |
| file_chromite_api_copybot_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotRequest); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_copybot_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotResponse); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_copybot_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotRequest_Repo); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_copybot_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotRequest_GerritUser); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_copybot_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotRequest_GerritLabel); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_copybot_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotRequest_Pattern); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_copybot_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotRequest_Pseudoheader); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_copybot_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotRequest_PushOption); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_copybot_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotRequest_Hashtag); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_copybot_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotRequest_IncludePath); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| file_chromite_api_copybot_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| switch v := v.(*RunCopybotResponse_MergeConflictCommit); i { |
| case 0: |
| return &v.state |
| case 1: |
| return &v.sizeCache |
| case 2: |
| return &v.unknownFields |
| default: |
| return nil |
| } |
| } |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: file_chromite_api_copybot_proto_rawDesc, |
| NumEnums: 2, |
| NumMessages: 11, |
| NumExtensions: 0, |
| NumServices: 1, |
| }, |
| GoTypes: file_chromite_api_copybot_proto_goTypes, |
| DependencyIndexes: file_chromite_api_copybot_proto_depIdxs, |
| EnumInfos: file_chromite_api_copybot_proto_enumTypes, |
| MessageInfos: file_chromite_api_copybot_proto_msgTypes, |
| }.Build() |
| File_chromite_api_copybot_proto = out.File |
| file_chromite_api_copybot_proto_rawDesc = nil |
| file_chromite_api_copybot_proto_goTypes = nil |
| file_chromite_api_copybot_proto_depIdxs = nil |
| } |