2023-03-19 21:42:21 +00:00
|
|
|
// Copyright 2021 Woodpecker Authors
|
|
|
|
// Copyright 2011 Drone.IO Inc.
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
|
2021-09-29 00:10:09 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// versions:
|
2024-07-13 08:41:35 +00:00
|
|
|
// protoc-gen-go v1.34.1
|
2024-09-16 21:30:31 +00:00
|
|
|
// protoc v4.25.4
|
2021-09-29 00:10:09 +00:00
|
|
|
// source: woodpecker.proto
|
|
|
|
|
|
|
|
package proto
|
|
|
|
|
|
|
|
import (
|
2023-03-19 19:24:43 +00:00
|
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
2023-03-19 21:42:21 +00:00
|
|
|
reflect "reflect"
|
|
|
|
sync "sync"
|
2021-09-29 00:10:09 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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)
|
|
|
|
)
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
type StepState struct {
|
2021-09-29 00:10:09 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2024-01-09 14:39:09 +00:00
|
|
|
StepUuid string `protobuf:"bytes,1,opt,name=step_uuid,json=stepUuid,proto3" json:"step_uuid,omitempty"`
|
2024-07-01 09:20:55 +00:00
|
|
|
Started int64 `protobuf:"varint,2,opt,name=started,proto3" json:"started,omitempty"`
|
|
|
|
Finished int64 `protobuf:"varint,3,opt,name=finished,proto3" json:"finished,omitempty"`
|
|
|
|
Exited bool `protobuf:"varint,4,opt,name=exited,proto3" json:"exited,omitempty"`
|
|
|
|
ExitCode int32 `protobuf:"varint,5,opt,name=exit_code,json=exitCode,proto3" json:"exit_code,omitempty"`
|
2021-09-29 00:10:09 +00:00
|
|
|
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *StepState) Reset() {
|
|
|
|
*x = StepState{}
|
2021-09-29 00:10:09 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2023-05-31 16:03:03 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[0]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *StepState) String() string {
|
2021-09-29 00:10:09 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (*StepState) ProtoMessage() {}
|
2021-09-29 00:10:09 +00:00
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *StepState) ProtoReflect() protoreflect.Message {
|
2023-05-31 16:03:03 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[0]
|
2021-09-29 00:10:09 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
// Deprecated: Use StepState.ProtoReflect.Descriptor instead.
|
|
|
|
func (*StepState) Descriptor() ([]byte, []int) {
|
2023-05-31 16:03:03 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{0}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *StepState) GetStepUuid() string {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
2024-01-09 14:39:09 +00:00
|
|
|
return x.StepUuid
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *StepState) GetStarted() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Started
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *StepState) GetFinished() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Finished
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *StepState) GetExited() bool {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Exited
|
|
|
|
}
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *StepState) GetExitCode() int32 {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.ExitCode
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *StepState) GetError() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Error
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type WorkflowState struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Started int64 `protobuf:"varint,4,opt,name=started,proto3" json:"started,omitempty"`
|
|
|
|
Finished int64 `protobuf:"varint,5,opt,name=finished,proto3" json:"finished,omitempty"`
|
|
|
|
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WorkflowState) Reset() {
|
|
|
|
*x = WorkflowState{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_woodpecker_proto_msgTypes[1]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WorkflowState) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*WorkflowState) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *WorkflowState) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_woodpecker_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 WorkflowState.ProtoReflect.Descriptor instead.
|
|
|
|
func (*WorkflowState) Descriptor() ([]byte, []int) {
|
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{1}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WorkflowState) GetStarted() int64 {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Started
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *WorkflowState) GetFinished() int64 {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Finished
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *WorkflowState) GetError() string {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Error
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-06-06 07:52:08 +00:00
|
|
|
type LogEntry struct {
|
2021-09-29 00:10:09 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-06-06 07:52:08 +00:00
|
|
|
StepUuid string `protobuf:"bytes,1,opt,name=step_uuid,json=stepUuid,proto3" json:"step_uuid,omitempty"`
|
|
|
|
Time int64 `protobuf:"varint,2,opt,name=time,proto3" json:"time,omitempty"`
|
|
|
|
Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
|
|
|
|
Type int32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"` // 0 = stdout, 1 = stderr, 2 = exit-code, 3 = metadata, 4 = progress
|
2024-06-13 15:18:32 +00:00
|
|
|
Data []byte `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"`
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
2023-06-06 07:52:08 +00:00
|
|
|
func (x *LogEntry) Reset() {
|
|
|
|
*x = LogEntry{}
|
2021-09-29 00:10:09 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[2]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-06-06 07:52:08 +00:00
|
|
|
func (x *LogEntry) String() string {
|
2021-09-29 00:10:09 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-06-06 07:52:08 +00:00
|
|
|
func (*LogEntry) ProtoMessage() {}
|
2021-09-29 00:10:09 +00:00
|
|
|
|
2023-06-06 07:52:08 +00:00
|
|
|
func (x *LogEntry) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[2]
|
2021-09-29 00:10:09 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-06-06 07:52:08 +00:00
|
|
|
// Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LogEntry) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{2}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
2023-06-06 07:52:08 +00:00
|
|
|
func (x *LogEntry) GetStepUuid() string {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
2023-06-06 07:52:08 +00:00
|
|
|
return x.StepUuid
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-06-06 07:52:08 +00:00
|
|
|
func (x *LogEntry) GetTime() int64 {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Time
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-06-06 07:52:08 +00:00
|
|
|
func (x *LogEntry) GetLine() int32 {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
2023-06-06 07:52:08 +00:00
|
|
|
return x.Line
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *LogEntry) GetType() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.Type
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2024-06-13 15:18:32 +00:00
|
|
|
func (x *LogEntry) GetData() []byte {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
2023-06-06 07:52:08 +00:00
|
|
|
return x.Data
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
2024-06-13 15:18:32 +00:00
|
|
|
return nil
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type Filter struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Labels map[string]string `protobuf:"bytes,1,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Filter) Reset() {
|
|
|
|
*x = Filter{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[3]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Filter) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Filter) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Filter) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[3]
|
2021-09-29 00:10:09 +00:00
|
|
|
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 Filter.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Filter) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{3}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Filter) GetLabels() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Labels
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
type Workflow struct {
|
2021-09-29 00:10:09 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
Timeout int64 `protobuf:"varint,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
|
|
|
|
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
func (x *Workflow) Reset() {
|
|
|
|
*x = Workflow{}
|
2021-09-29 00:10:09 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[4]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
func (x *Workflow) String() string {
|
2021-09-29 00:10:09 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
func (*Workflow) ProtoMessage() {}
|
2021-09-29 00:10:09 +00:00
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
func (x *Workflow) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[4]
|
2021-09-29 00:10:09 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
// Deprecated: Use Workflow.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Workflow) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{4}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
func (x *Workflow) GetId() string {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
func (x *Workflow) GetTimeout() int64 {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Timeout
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
func (x *Workflow) GetPayload() []byte {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Payload
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type NextRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Filter *Filter `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NextRequest) Reset() {
|
|
|
|
*x = NextRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[5]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NextRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*NextRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *NextRequest) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[5]
|
2021-09-29 00:10:09 +00:00
|
|
|
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 NextRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NextRequest) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{5}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NextRequest) GetFilter() *Filter {
|
|
|
|
if x != nil {
|
|
|
|
return x.Filter
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type InitRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
State *WorkflowState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitRequest) Reset() {
|
|
|
|
*x = InitRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[6]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*InitRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *InitRequest) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[6]
|
2021-09-29 00:10:09 +00:00
|
|
|
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 InitRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*InitRequest) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{6}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *InitRequest) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *InitRequest) GetState() *WorkflowState {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.State
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type WaitRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WaitRequest) Reset() {
|
|
|
|
*x = WaitRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[7]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WaitRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*WaitRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *WaitRequest) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[7]
|
2021-09-29 00:10:09 +00:00
|
|
|
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 WaitRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*WaitRequest) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{7}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *WaitRequest) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type DoneRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
State *WorkflowState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DoneRequest) Reset() {
|
|
|
|
*x = DoneRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[8]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DoneRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*DoneRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *DoneRequest) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[8]
|
2021-09-29 00:10:09 +00:00
|
|
|
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 DoneRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*DoneRequest) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{8}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *DoneRequest) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *DoneRequest) GetState() *WorkflowState {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.State
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type ExtendRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ExtendRequest) Reset() {
|
|
|
|
*x = ExtendRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[9]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ExtendRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*ExtendRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ExtendRequest) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[9]
|
2021-09-29 00:10:09 +00:00
|
|
|
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 ExtendRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ExtendRequest) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{9}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ExtendRequest) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type UpdateRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
|
|
State *StepState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateRequest) Reset() {
|
|
|
|
*x = UpdateRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[10]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*UpdateRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *UpdateRequest) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[10]
|
2021-09-29 00:10:09 +00:00
|
|
|
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 UpdateRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*UpdateRequest) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{10}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *UpdateRequest) GetId() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Id
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-07-01 09:20:55 +00:00
|
|
|
func (x *UpdateRequest) GetState() *StepState {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.State
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type LogRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2024-09-18 14:29:56 +00:00
|
|
|
LogEntries []*LogEntry `protobuf:"bytes,1,rep,name=logEntries,proto3" json:"logEntries,omitempty"`
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *LogRequest) Reset() {
|
|
|
|
*x = LogRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[11]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *LogRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*LogRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *LogRequest) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[11]
|
2021-09-29 00:10:09 +00:00
|
|
|
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 LogRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*LogRequest) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{11}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
2024-09-18 14:29:56 +00:00
|
|
|
func (x *LogRequest) GetLogEntries() []*LogEntry {
|
2021-09-29 00:10:09 +00:00
|
|
|
if x != nil {
|
2024-09-18 14:29:56 +00:00
|
|
|
return x.LogEntries
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type Empty struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Empty) Reset() {
|
|
|
|
*x = Empty{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[12]
|
2021-09-29 00:10:09 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *Empty) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*Empty) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *Empty) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[12]
|
2021-09-29 00:10:09 +00:00
|
|
|
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 Empty.ProtoReflect.Descriptor instead.
|
|
|
|
func (*Empty) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{12}
|
2023-01-28 13:13:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ReportHealthRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ReportHealthRequest) Reset() {
|
|
|
|
*x = ReportHealthRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[13]
|
2023-01-28 13:13:04 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ReportHealthRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*ReportHealthRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *ReportHealthRequest) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[13]
|
2023-01-28 13:13:04 +00:00
|
|
|
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 ReportHealthRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*ReportHealthRequest) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{13}
|
2023-01-28 13:13:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *ReportHealthRequest) GetStatus() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.Status
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
type AgentInfo struct {
|
2023-01-28 13:13:04 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"`
|
|
|
|
Capacity int32 `protobuf:"varint,2,opt,name=capacity,proto3" json:"capacity,omitempty"`
|
|
|
|
Backend string `protobuf:"bytes,3,opt,name=backend,proto3" json:"backend,omitempty"`
|
|
|
|
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
|
|
|
CustomLabels map[string]string `protobuf:"bytes,5,rep,name=customLabels,proto3" json:"customLabels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
|
2023-01-28 13:13:04 +00:00
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
func (x *AgentInfo) Reset() {
|
|
|
|
*x = AgentInfo{}
|
2023-01-28 13:13:04 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[14]
|
2023-01-28 13:13:04 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
func (x *AgentInfo) String() string {
|
2023-01-28 13:13:04 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
func (*AgentInfo) ProtoMessage() {}
|
2023-01-28 13:13:04 +00:00
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
func (x *AgentInfo) ProtoReflect() protoreflect.Message {
|
2024-07-01 09:20:55 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[14]
|
2023-01-28 13:13:04 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
// Deprecated: Use AgentInfo.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AgentInfo) Descriptor() ([]byte, []int) {
|
2024-07-01 09:20:55 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{14}
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
func (x *AgentInfo) GetPlatform() string {
|
2023-01-28 13:13:04 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Platform
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
func (x *AgentInfo) GetCapacity() int32 {
|
2023-01-28 13:13:04 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Capacity
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
func (x *AgentInfo) GetBackend() string {
|
2023-01-28 13:13:04 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Backend
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
func (x *AgentInfo) GetVersion() string {
|
2023-01-28 13:13:04 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Version
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
func (x *AgentInfo) GetCustomLabels() map[string]string {
|
|
|
|
if x != nil {
|
|
|
|
return x.CustomLabels
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type RegisterAgentRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Info *AgentInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterAgentRequest) Reset() {
|
|
|
|
*x = RegisterAgentRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
|
|
|
mi := &file_woodpecker_proto_msgTypes[15]
|
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterAgentRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*RegisterAgentRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RegisterAgentRequest) ProtoReflect() protoreflect.Message {
|
|
|
|
mi := &file_woodpecker_proto_msgTypes[15]
|
|
|
|
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 RegisterAgentRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RegisterAgentRequest) Descriptor() ([]byte, []int) {
|
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{15}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterAgentRequest) GetInfo() *AgentInfo {
|
|
|
|
if x != nil {
|
|
|
|
return x.Info
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-03-19 21:42:21 +00:00
|
|
|
type VersionResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
GrpcVersion int32 `protobuf:"varint,1,opt,name=grpc_version,json=grpcVersion,proto3" json:"grpc_version,omitempty"`
|
|
|
|
ServerVersion string `protobuf:"bytes,2,opt,name=server_version,json=serverVersion,proto3" json:"server_version,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *VersionResponse) Reset() {
|
|
|
|
*x = VersionResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-10-06 15:13:41 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[16]
|
2023-03-19 21:42:21 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *VersionResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*VersionResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *VersionResponse) ProtoReflect() protoreflect.Message {
|
2024-10-06 15:13:41 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[16]
|
2023-03-19 21:42:21 +00:00
|
|
|
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 VersionResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*VersionResponse) Descriptor() ([]byte, []int) {
|
2024-10-06 15:13:41 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{16}
|
2023-03-19 21:42:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *VersionResponse) GetGrpcVersion() int32 {
|
|
|
|
if x != nil {
|
|
|
|
return x.GrpcVersion
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *VersionResponse) GetServerVersion() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.ServerVersion
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
type NextResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
Workflow *Workflow `protobuf:"bytes,1,opt,name=workflow,proto3" json:"workflow,omitempty"`
|
2023-03-19 21:42:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NextResponse) Reset() {
|
|
|
|
*x = NextResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-10-06 15:13:41 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[17]
|
2023-03-19 21:42:21 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *NextResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*NextResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *NextResponse) ProtoReflect() protoreflect.Message {
|
2024-10-06 15:13:41 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[17]
|
2023-03-19 21:42:21 +00:00
|
|
|
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 NextResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*NextResponse) Descriptor() ([]byte, []int) {
|
2024-10-06 15:13:41 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{17}
|
2023-03-19 21:42:21 +00:00
|
|
|
}
|
|
|
|
|
2023-08-28 16:00:52 +00:00
|
|
|
func (x *NextResponse) GetWorkflow() *Workflow {
|
2023-03-19 21:42:21 +00:00
|
|
|
if x != nil {
|
2023-08-28 16:00:52 +00:00
|
|
|
return x.Workflow
|
2023-03-19 21:42:21 +00:00
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-01-28 13:13:04 +00:00
|
|
|
type RegisterAgentResponse struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
AgentId int64 `protobuf:"varint,1,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterAgentResponse) Reset() {
|
|
|
|
*x = RegisterAgentResponse{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-10-06 15:13:41 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[18]
|
2023-01-28 13:13:04 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterAgentResponse) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*RegisterAgentResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *RegisterAgentResponse) ProtoReflect() protoreflect.Message {
|
2024-10-06 15:13:41 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[18]
|
2023-01-28 13:13:04 +00:00
|
|
|
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 RegisterAgentResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*RegisterAgentResponse) Descriptor() ([]byte, []int) {
|
2024-10-06 15:13:41 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{18}
|
2023-01-28 13:13:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *RegisterAgentResponse) GetAgentId() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.AgentId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type AuthRequest struct {
|
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
AgentToken string `protobuf:"bytes,1,opt,name=agent_token,json=agentToken,proto3" json:"agent_token,omitempty"`
|
|
|
|
AgentId int64 `protobuf:"varint,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthRequest) Reset() {
|
|
|
|
*x = AuthRequest{}
|
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-10-06 15:13:41 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[19]
|
2023-01-28 13:13:04 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthRequest) String() string {
|
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
|
|
|
func (*AuthRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (x *AuthRequest) ProtoReflect() protoreflect.Message {
|
2024-10-06 15:13:41 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[19]
|
2023-01-28 13:13:04 +00:00
|
|
|
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 AuthRequest.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AuthRequest) Descriptor() ([]byte, []int) {
|
2024-10-06 15:13:41 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{19}
|
2023-01-28 13:13:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthRequest) GetAgentToken() string {
|
|
|
|
if x != nil {
|
|
|
|
return x.AgentToken
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (x *AuthRequest) GetAgentId() int64 {
|
|
|
|
if x != nil {
|
|
|
|
return x.AgentId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-03-19 21:42:21 +00:00
|
|
|
type AuthResponse struct {
|
2023-01-28 13:13:04 +00:00
|
|
|
state protoimpl.MessageState
|
|
|
|
sizeCache protoimpl.SizeCache
|
|
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
|
|
|
|
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
|
|
AgentId int64 `protobuf:"varint,2,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
|
|
|
|
AccessToken string `protobuf:"bytes,3,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-03-19 21:42:21 +00:00
|
|
|
func (x *AuthResponse) Reset() {
|
|
|
|
*x = AuthResponse{}
|
2023-01-28 13:13:04 +00:00
|
|
|
if protoimpl.UnsafeEnabled {
|
2024-10-06 15:13:41 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[20]
|
2023-01-28 13:13:04 +00:00
|
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
|
|
ms.StoreMessageInfo(mi)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-19 21:42:21 +00:00
|
|
|
func (x *AuthResponse) String() string {
|
2023-01-28 13:13:04 +00:00
|
|
|
return protoimpl.X.MessageStringOf(x)
|
|
|
|
}
|
|
|
|
|
2023-03-19 21:42:21 +00:00
|
|
|
func (*AuthResponse) ProtoMessage() {}
|
2023-01-28 13:13:04 +00:00
|
|
|
|
2023-03-19 21:42:21 +00:00
|
|
|
func (x *AuthResponse) ProtoReflect() protoreflect.Message {
|
2024-10-06 15:13:41 +00:00
|
|
|
mi := &file_woodpecker_proto_msgTypes[20]
|
2023-01-28 13:13:04 +00:00
|
|
|
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)
|
|
|
|
}
|
|
|
|
|
2023-03-19 21:42:21 +00:00
|
|
|
// Deprecated: Use AuthResponse.ProtoReflect.Descriptor instead.
|
|
|
|
func (*AuthResponse) Descriptor() ([]byte, []int) {
|
2024-10-06 15:13:41 +00:00
|
|
|
return file_woodpecker_proto_rawDescGZIP(), []int{20}
|
2023-01-28 13:13:04 +00:00
|
|
|
}
|
|
|
|
|
2023-03-19 21:42:21 +00:00
|
|
|
func (x *AuthResponse) GetStatus() string {
|
2023-01-28 13:13:04 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.Status
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2023-03-19 21:42:21 +00:00
|
|
|
func (x *AuthResponse) GetAgentId() int64 {
|
2023-01-28 13:13:04 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.AgentId
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2023-03-19 21:42:21 +00:00
|
|
|
func (x *AuthResponse) GetAccessToken() string {
|
2023-01-28 13:13:04 +00:00
|
|
|
if x != nil {
|
|
|
|
return x.AccessToken
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2021-09-29 00:10:09 +00:00
|
|
|
var File_woodpecker_proto protoreflect.FileDescriptor
|
|
|
|
|
|
|
|
var file_woodpecker_proto_rawDesc = []byte{
|
|
|
|
0x0a, 0x10, 0x77, 0x6f, 0x6f, 0x64, 0x70, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
|
2024-07-01 09:20:55 +00:00
|
|
|
0x74, 0x6f, 0x12, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x01, 0x0a, 0x09, 0x53, 0x74,
|
|
|
|
0x65, 0x70, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x74, 0x65, 0x70, 0x5f,
|
|
|
|
0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x74, 0x65, 0x70,
|
|
|
|
0x55, 0x75, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18,
|
|
|
|
0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x1a,
|
|
|
|
0x0a, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
0x52, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x78,
|
|
|
|
0x69, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x65, 0x78, 0x69, 0x74,
|
|
|
|
0x65, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x78, 0x69, 0x74, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x65, 0x78, 0x69, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12,
|
|
|
|
0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
|
|
|
|
0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x5b, 0x0a, 0x0d, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f,
|
|
|
|
0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65,
|
|
|
|
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64,
|
|
|
|
0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01,
|
|
|
|
0x28, 0x03, 0x52, 0x08, 0x66, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05,
|
|
|
|
0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72,
|
|
|
|
0x6f, 0x72, 0x22, 0x77, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x1b,
|
|
|
|
0x0a, 0x09, 0x73, 0x74, 0x65, 0x70, 0x5f, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
|
|
0x09, 0x52, 0x08, 0x73, 0x74, 0x65, 0x70, 0x55, 0x75, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74,
|
|
|
|
0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12,
|
|
|
|
0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c,
|
|
|
|
0x69, 0x6e, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
|
|
|
|
0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18,
|
|
|
|
0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x76, 0x0a, 0x06, 0x46,
|
|
|
|
0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x31, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18,
|
|
|
|
0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69,
|
|
|
|
0x6c, 0x74, 0x65, 0x72, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
|
|
|
|
0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65,
|
|
|
|
0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
|
|
|
|
0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
|
|
|
|
0x02, 0x38, 0x01, 0x22, 0x4e, 0x0a, 0x08, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x12,
|
2024-01-09 14:39:09 +00:00
|
|
|
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
|
2024-07-01 09:20:55 +00:00
|
|
|
0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79,
|
|
|
|
0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c,
|
|
|
|
0x6f, 0x61, 0x64, 0x22, 0x34, 0x0a, 0x0b, 0x4e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x12, 0x25, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65,
|
|
|
|
0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x49, 0x0a, 0x0b, 0x49, 0x6e, 0x69,
|
|
|
|
0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
|
|
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74,
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
|
|
0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73,
|
|
|
|
0x74, 0x61, 0x74, 0x65, 0x22, 0x1d, 0x0a, 0x0b, 0x57, 0x61, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75,
|
|
|
|
0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x02, 0x69, 0x64, 0x22, 0x49, 0x0a, 0x0b, 0x44, 0x6f, 0x6e, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
|
|
|
|
0x69, 0x64, 0x12, 0x2a, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
|
|
|
|
0x0b, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c,
|
|
|
|
0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x1f,
|
|
|
|
0x0a, 0x0d, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
|
|
|
|
0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22,
|
|
|
|
0x47, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64,
|
|
|
|
0x12, 0x26, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x65, 0x70, 0x53, 0x74, 0x61, 0x74,
|
2024-09-18 14:29:56 +00:00
|
|
|
0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x3d, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x52,
|
|
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x0a, 0x6c, 0x6f, 0x67, 0x45, 0x6e, 0x74,
|
|
|
|
0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x72, 0x6f,
|
|
|
|
0x74, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x6c, 0x6f, 0x67,
|
|
|
|
0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
|
|
0x22, 0x2d, 0x0a, 0x13, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68,
|
|
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
|
|
|
0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22,
|
2024-10-06 15:13:41 +00:00
|
|
|
0x80, 0x02, 0x0a, 0x09, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a,
|
|
|
|
0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
|
|
0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x70,
|
|
|
|
0x61, 0x63, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x63, 0x61, 0x70,
|
|
|
|
0x61, 0x63, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64,
|
|
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12,
|
|
|
|
0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
|
|
0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0c, 0x63, 0x75, 0x73,
|
|
|
|
0x74, 0x6f, 0x6d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
|
|
|
|
0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66,
|
|
|
|
0x6f, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e,
|
|
|
|
0x74, 0x72, 0x79, 0x52, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4c, 0x61, 0x62, 0x65, 0x6c,
|
|
|
|
0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4c, 0x61, 0x62, 0x65, 0x6c,
|
|
|
|
0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20,
|
|
|
|
0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
|
|
|
|
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02,
|
|
|
|
0x38, 0x01, 0x22, 0x3c, 0x0a, 0x14, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67,
|
|
|
|
0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x69, 0x6e,
|
|
|
|
0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x2e, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f,
|
|
|
|
0x22, 0x5b, 0x0a, 0x0f, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73,
|
|
|
|
0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x67, 0x72, 0x70, 0x63, 0x56,
|
|
|
|
0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72,
|
|
|
|
0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
|
|
|
|
0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3b, 0x0a,
|
|
|
|
0x0c, 0x4e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a,
|
|
|
|
0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
|
|
|
|
0x0f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77,
|
|
|
|
0x52, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x66, 0x6c, 0x6f, 0x77, 0x22, 0x32, 0x0a, 0x15, 0x52, 0x65,
|
|
|
|
0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
|
|
0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18,
|
|
|
|
0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x49,
|
|
|
|
0x0a, 0x0b, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a,
|
|
|
|
0x0b, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x0a, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x19,
|
|
|
|
0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
|
|
|
|
0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x22, 0x64, 0x0a, 0x0c, 0x41, 0x75, 0x74,
|
|
|
|
0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61,
|
|
|
|
0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
|
|
|
|
0x73, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
|
|
|
|
0x01, 0x28, 0x03, 0x52, 0x07, 0x61, 0x67, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c,
|
|
|
|
0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01,
|
|
|
|
0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32,
|
|
|
|
0xbb, 0x04, 0x0a, 0x0a, 0x57, 0x6f, 0x6f, 0x64, 0x70, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x12, 0x31,
|
|
|
|
0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
|
|
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
|
|
|
|
0x00, 0x12, 0x31, 0x0a, 0x04, 0x4e, 0x65, 0x78, 0x74, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
|
|
|
0x6f, 0x2e, 0x4e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4e, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
|
|
0x73, 0x65, 0x22, 0x00, 0x12, 0x2a, 0x0a, 0x04, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x12, 0x2e, 0x70,
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
2024-07-01 09:20:55 +00:00
|
|
|
0x1a, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00,
|
2024-10-06 15:13:41 +00:00
|
|
|
0x12, 0x2a, 0x0a, 0x04, 0x57, 0x61, 0x69, 0x74, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x2e, 0x57, 0x61, 0x69, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x70,
|
|
|
|
0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x2a, 0x0a, 0x04,
|
|
|
|
0x44, 0x6f, 0x6e, 0x65, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x44, 0x6f, 0x6e,
|
|
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x06, 0x45, 0x78, 0x74, 0x65,
|
|
|
|
0x6e, 0x64, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e,
|
|
|
|
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x2e, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61,
|
|
|
|
0x74, 0x65, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
|
|
|
|
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
|
|
0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x28, 0x0a, 0x03, 0x4c, 0x6f, 0x67, 0x12,
|
|
|
|
0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x6f, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65,
|
|
|
|
0x73, 0x74, 0x1a, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79,
|
|
|
|
0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0d, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67,
|
|
|
|
0x65, 0x6e, 0x74, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69,
|
|
|
|
0x73, 0x74, 0x65, 0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
|
|
0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65,
|
|
|
|
0x72, 0x41, 0x67, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
|
|
|
|
0x12, 0x2f, 0x0a, 0x0f, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x41, 0x67,
|
|
|
|
0x65, 0x6e, 0x74, 0x12, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x70, 0x74,
|
|
|
|
0x79, 0x1a, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
|
|
|
|
0x00, 0x12, 0x3a, 0x0a, 0x0c, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x65, 0x61, 0x6c, 0x74,
|
|
|
|
0x68, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
|
|
|
|
0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x0c, 0x2e,
|
|
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x32, 0x43, 0x0a,
|
|
|
|
0x0e, 0x57, 0x6f, 0x6f, 0x64, 0x70, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x41, 0x75, 0x74, 0x68, 0x12,
|
|
|
|
0x31, 0x0a, 0x04, 0x41, 0x75, 0x74, 0x68, 0x12, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
|
|
|
|
0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x13, 0x2e, 0x70, 0x72,
|
|
|
|
0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
|
|
0x22, 0x00, 0x42, 0x37, 0x5a, 0x35, 0x67, 0x6f, 0x2e, 0x77, 0x6f, 0x6f, 0x64, 0x70, 0x65, 0x63,
|
|
|
|
0x6b, 0x65, 0x72, 0x2d, 0x63, 0x69, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x77, 0x6f, 0x6f, 0x64, 0x70,
|
|
|
|
0x65, 0x63, 0x6b, 0x65, 0x72, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x69, 0x70, 0x65, 0x6c, 0x69, 0x6e,
|
|
|
|
0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
|
|
0x74, 0x6f, 0x33,
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var (
|
|
|
|
file_woodpecker_proto_rawDescOnce sync.Once
|
|
|
|
file_woodpecker_proto_rawDescData = file_woodpecker_proto_rawDesc
|
|
|
|
)
|
|
|
|
|
|
|
|
func file_woodpecker_proto_rawDescGZIP() []byte {
|
|
|
|
file_woodpecker_proto_rawDescOnce.Do(func() {
|
|
|
|
file_woodpecker_proto_rawDescData = protoimpl.X.CompressGZIP(file_woodpecker_proto_rawDescData)
|
|
|
|
})
|
|
|
|
return file_woodpecker_proto_rawDescData
|
|
|
|
}
|
|
|
|
|
2024-10-06 15:13:41 +00:00
|
|
|
var file_woodpecker_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
|
2024-07-13 08:41:35 +00:00
|
|
|
var file_woodpecker_proto_goTypes = []interface{}{
|
2024-07-01 09:20:55 +00:00
|
|
|
(*StepState)(nil), // 0: proto.StepState
|
|
|
|
(*WorkflowState)(nil), // 1: proto.WorkflowState
|
|
|
|
(*LogEntry)(nil), // 2: proto.LogEntry
|
|
|
|
(*Filter)(nil), // 3: proto.Filter
|
|
|
|
(*Workflow)(nil), // 4: proto.Workflow
|
|
|
|
(*NextRequest)(nil), // 5: proto.NextRequest
|
|
|
|
(*InitRequest)(nil), // 6: proto.InitRequest
|
|
|
|
(*WaitRequest)(nil), // 7: proto.WaitRequest
|
|
|
|
(*DoneRequest)(nil), // 8: proto.DoneRequest
|
|
|
|
(*ExtendRequest)(nil), // 9: proto.ExtendRequest
|
|
|
|
(*UpdateRequest)(nil), // 10: proto.UpdateRequest
|
|
|
|
(*LogRequest)(nil), // 11: proto.LogRequest
|
|
|
|
(*Empty)(nil), // 12: proto.Empty
|
|
|
|
(*ReportHealthRequest)(nil), // 13: proto.ReportHealthRequest
|
2024-10-06 15:13:41 +00:00
|
|
|
(*AgentInfo)(nil), // 14: proto.AgentInfo
|
|
|
|
(*RegisterAgentRequest)(nil), // 15: proto.RegisterAgentRequest
|
|
|
|
(*VersionResponse)(nil), // 16: proto.VersionResponse
|
|
|
|
(*NextResponse)(nil), // 17: proto.NextResponse
|
|
|
|
(*RegisterAgentResponse)(nil), // 18: proto.RegisterAgentResponse
|
|
|
|
(*AuthRequest)(nil), // 19: proto.AuthRequest
|
|
|
|
(*AuthResponse)(nil), // 20: proto.AuthResponse
|
|
|
|
nil, // 21: proto.Filter.LabelsEntry
|
|
|
|
nil, // 22: proto.AgentInfo.CustomLabelsEntry
|
2023-03-19 21:42:21 +00:00
|
|
|
}
|
2021-09-29 00:10:09 +00:00
|
|
|
var file_woodpecker_proto_depIdxs = []int32{
|
2024-10-06 15:13:41 +00:00
|
|
|
21, // 0: proto.Filter.labels:type_name -> proto.Filter.LabelsEntry
|
2024-07-01 09:20:55 +00:00
|
|
|
3, // 1: proto.NextRequest.filter:type_name -> proto.Filter
|
|
|
|
1, // 2: proto.InitRequest.state:type_name -> proto.WorkflowState
|
|
|
|
1, // 3: proto.DoneRequest.state:type_name -> proto.WorkflowState
|
|
|
|
0, // 4: proto.UpdateRequest.state:type_name -> proto.StepState
|
2024-09-18 14:29:56 +00:00
|
|
|
2, // 5: proto.LogRequest.logEntries:type_name -> proto.LogEntry
|
2024-10-06 15:13:41 +00:00
|
|
|
22, // 6: proto.AgentInfo.customLabels:type_name -> proto.AgentInfo.CustomLabelsEntry
|
|
|
|
14, // 7: proto.RegisterAgentRequest.info:type_name -> proto.AgentInfo
|
|
|
|
4, // 8: proto.NextResponse.workflow:type_name -> proto.Workflow
|
|
|
|
12, // 9: proto.Woodpecker.Version:input_type -> proto.Empty
|
|
|
|
5, // 10: proto.Woodpecker.Next:input_type -> proto.NextRequest
|
|
|
|
6, // 11: proto.Woodpecker.Init:input_type -> proto.InitRequest
|
|
|
|
7, // 12: proto.Woodpecker.Wait:input_type -> proto.WaitRequest
|
|
|
|
8, // 13: proto.Woodpecker.Done:input_type -> proto.DoneRequest
|
|
|
|
9, // 14: proto.Woodpecker.Extend:input_type -> proto.ExtendRequest
|
|
|
|
10, // 15: proto.Woodpecker.Update:input_type -> proto.UpdateRequest
|
|
|
|
11, // 16: proto.Woodpecker.Log:input_type -> proto.LogRequest
|
|
|
|
15, // 17: proto.Woodpecker.RegisterAgent:input_type -> proto.RegisterAgentRequest
|
|
|
|
12, // 18: proto.Woodpecker.UnregisterAgent:input_type -> proto.Empty
|
|
|
|
13, // 19: proto.Woodpecker.ReportHealth:input_type -> proto.ReportHealthRequest
|
|
|
|
19, // 20: proto.WoodpeckerAuth.Auth:input_type -> proto.AuthRequest
|
|
|
|
16, // 21: proto.Woodpecker.Version:output_type -> proto.VersionResponse
|
|
|
|
17, // 22: proto.Woodpecker.Next:output_type -> proto.NextResponse
|
|
|
|
12, // 23: proto.Woodpecker.Init:output_type -> proto.Empty
|
|
|
|
12, // 24: proto.Woodpecker.Wait:output_type -> proto.Empty
|
|
|
|
12, // 25: proto.Woodpecker.Done:output_type -> proto.Empty
|
|
|
|
12, // 26: proto.Woodpecker.Extend:output_type -> proto.Empty
|
|
|
|
12, // 27: proto.Woodpecker.Update:output_type -> proto.Empty
|
|
|
|
12, // 28: proto.Woodpecker.Log:output_type -> proto.Empty
|
|
|
|
18, // 29: proto.Woodpecker.RegisterAgent:output_type -> proto.RegisterAgentResponse
|
|
|
|
12, // 30: proto.Woodpecker.UnregisterAgent:output_type -> proto.Empty
|
|
|
|
12, // 31: proto.Woodpecker.ReportHealth:output_type -> proto.Empty
|
|
|
|
20, // 32: proto.WoodpeckerAuth.Auth:output_type -> proto.AuthResponse
|
|
|
|
21, // [21:33] is the sub-list for method output_type
|
|
|
|
9, // [9:21] is the sub-list for method input_type
|
|
|
|
9, // [9:9] is the sub-list for extension type_name
|
|
|
|
9, // [9:9] is the sub-list for extension extendee
|
|
|
|
0, // [0:9] is the sub-list for field type_name
|
2021-09-29 00:10:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
func init() { file_woodpecker_proto_init() }
|
|
|
|
func file_woodpecker_proto_init() {
|
|
|
|
if File_woodpecker_proto != nil {
|
|
|
|
return
|
|
|
|
}
|
|
|
|
if !protoimpl.UnsafeEnabled {
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*StepState); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*WorkflowState); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*LogEntry); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*Filter); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*Workflow); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*NextRequest); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*InitRequest); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*WaitRequest); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*DoneRequest); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*ExtendRequest); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*UpdateRequest); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*LogRequest); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*Empty); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
2024-07-01 09:20:55 +00:00
|
|
|
switch v := v.(*ReportHealthRequest); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
2024-10-06 15:13:41 +00:00
|
|
|
switch v := v.(*AgentInfo); i {
|
2023-01-28 13:13:04 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
2024-10-06 15:13:41 +00:00
|
|
|
switch v := v.(*RegisterAgentRequest); i {
|
2023-01-28 13:13:04 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
2024-10-06 15:13:41 +00:00
|
|
|
switch v := v.(*VersionResponse); i {
|
2023-01-28 13:13:04 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
2024-10-06 15:13:41 +00:00
|
|
|
switch v := v.(*NextResponse); i {
|
2023-03-19 21:42:21 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
2024-10-06 15:13:41 +00:00
|
|
|
switch v := v.(*RegisterAgentResponse); i {
|
2024-07-01 09:20:55 +00:00
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
2024-07-13 08:41:35 +00:00
|
|
|
file_woodpecker_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
2024-10-06 15:13:41 +00:00
|
|
|
switch v := v.(*AuthRequest); i {
|
|
|
|
case 0:
|
|
|
|
return &v.state
|
|
|
|
case 1:
|
|
|
|
return &v.sizeCache
|
|
|
|
case 2:
|
|
|
|
return &v.unknownFields
|
|
|
|
default:
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
}
|
|
|
|
file_woodpecker_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
2023-03-19 21:42:21 +00:00
|
|
|
switch v := v.(*AuthResponse); i {
|
2021-09-29 00:10:09 +00:00
|
|
|
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_woodpecker_proto_rawDesc,
|
2023-01-28 13:13:04 +00:00
|
|
|
NumEnums: 0,
|
2024-10-06 15:13:41 +00:00
|
|
|
NumMessages: 23,
|
2021-09-29 00:10:09 +00:00
|
|
|
NumExtensions: 0,
|
|
|
|
NumServices: 2,
|
|
|
|
},
|
|
|
|
GoTypes: file_woodpecker_proto_goTypes,
|
|
|
|
DependencyIndexes: file_woodpecker_proto_depIdxs,
|
|
|
|
MessageInfos: file_woodpecker_proto_msgTypes,
|
|
|
|
}.Build()
|
|
|
|
File_woodpecker_proto = out.File
|
|
|
|
file_woodpecker_proto_rawDesc = nil
|
|
|
|
file_woodpecker_proto_goTypes = nil
|
|
|
|
file_woodpecker_proto_depIdxs = nil
|
|
|
|
}
|