Pudong b2592b14cc
[image-build] refactor image build (#19474)
* add experimental config for set baseImageRepo and workspaceImageRepo

* use crane speed up build workpace image layer

* refactor image build logic

* Indicate when BuildStarted fails

* Revert "Indicate when BuildStarted fails"

This reverts commit 11f36f1b76164a3777d27430dd35aacb322fe2f4.

* Apply suggestions from code review

Co-authored-by: Kyle Brennan <kyle@gitpod.io>

* update readme

* remove warn

---------

Co-authored-by: Kyle Brennan <kyle@gitpod.io>
2024-03-28 13:54:37 +01:00

1719 lines
59 KiB
Go

// Copyright (c) 2024 Gitpod GmbH. All rights reserved.
// Licensed under the GNU Affero General Public License (AGPL).
// See License.AGPL.txt in the project root for license information.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v3.20.1
// source: imgbuilder.proto
package api
import (
api "github.com/gitpod-io/gitpod/content-service/api"
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)
)
type BuildStatus int32
const (
BuildStatus_unknown BuildStatus = 0
BuildStatus_running BuildStatus = 1
BuildStatus_done_success BuildStatus = 2
BuildStatus_done_failure BuildStatus = 3
)
// Enum value maps for BuildStatus.
var (
BuildStatus_name = map[int32]string{
0: "unknown",
1: "running",
2: "done_success",
3: "done_failure",
}
BuildStatus_value = map[string]int32{
"unknown": 0,
"running": 1,
"done_success": 2,
"done_failure": 3,
}
)
func (x BuildStatus) Enum() *BuildStatus {
p := new(BuildStatus)
*p = x
return p
}
func (x BuildStatus) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (BuildStatus) Descriptor() protoreflect.EnumDescriptor {
return file_imgbuilder_proto_enumTypes[0].Descriptor()
}
func (BuildStatus) Type() protoreflect.EnumType {
return &file_imgbuilder_proto_enumTypes[0]
}
func (x BuildStatus) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use BuildStatus.Descriptor instead.
func (BuildStatus) EnumDescriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{0}
}
type BuildSource struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to From:
//
// *BuildSource_Ref
// *BuildSource_File
From isBuildSource_From `protobuf_oneof:"from"`
}
func (x *BuildSource) Reset() {
*x = BuildSource{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildSource) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildSource) ProtoMessage() {}
func (x *BuildSource) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 BuildSource.ProtoReflect.Descriptor instead.
func (*BuildSource) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{0}
}
func (m *BuildSource) GetFrom() isBuildSource_From {
if m != nil {
return m.From
}
return nil
}
func (x *BuildSource) GetRef() *BuildSourceReference {
if x, ok := x.GetFrom().(*BuildSource_Ref); ok {
return x.Ref
}
return nil
}
func (x *BuildSource) GetFile() *BuildSourceDockerfile {
if x, ok := x.GetFrom().(*BuildSource_File); ok {
return x.File
}
return nil
}
type isBuildSource_From interface {
isBuildSource_From()
}
type BuildSource_Ref struct {
Ref *BuildSourceReference `protobuf:"bytes,1,opt,name=ref,proto3,oneof"`
}
type BuildSource_File struct {
File *BuildSourceDockerfile `protobuf:"bytes,2,opt,name=file,proto3,oneof"`
}
func (*BuildSource_Ref) isBuildSource_From() {}
func (*BuildSource_File) isBuildSource_From() {}
type BuildSourceReference struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
}
func (x *BuildSourceReference) Reset() {
*x = BuildSourceReference{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildSourceReference) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildSourceReference) ProtoMessage() {}
func (x *BuildSourceReference) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 BuildSourceReference.ProtoReflect.Descriptor instead.
func (*BuildSourceReference) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{1}
}
func (x *BuildSourceReference) GetRef() string {
if x != nil {
return x.Ref
}
return ""
}
type BuildSourceDockerfile struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Source *api.WorkspaceInitializer `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
DockerfileVersion string `protobuf:"bytes,2,opt,name=dockerfile_version,json=dockerfileVersion,proto3" json:"dockerfile_version,omitempty"`
DockerfilePath string `protobuf:"bytes,3,opt,name=dockerfile_path,json=dockerfilePath,proto3" json:"dockerfile_path,omitempty"`
ContextPath string `protobuf:"bytes,4,opt,name=context_path,json=contextPath,proto3" json:"context_path,omitempty"`
}
func (x *BuildSourceDockerfile) Reset() {
*x = BuildSourceDockerfile{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildSourceDockerfile) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildSourceDockerfile) ProtoMessage() {}
func (x *BuildSourceDockerfile) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 BuildSourceDockerfile.ProtoReflect.Descriptor instead.
func (*BuildSourceDockerfile) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{2}
}
func (x *BuildSourceDockerfile) GetSource() *api.WorkspaceInitializer {
if x != nil {
return x.Source
}
return nil
}
func (x *BuildSourceDockerfile) GetDockerfileVersion() string {
if x != nil {
return x.DockerfileVersion
}
return ""
}
func (x *BuildSourceDockerfile) GetDockerfilePath() string {
if x != nil {
return x.DockerfilePath
}
return ""
}
func (x *BuildSourceDockerfile) GetContextPath() string {
if x != nil {
return x.ContextPath
}
return ""
}
type ResolveBaseImageRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
Auth *BuildRegistryAuth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
}
func (x *ResolveBaseImageRequest) Reset() {
*x = ResolveBaseImageRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResolveBaseImageRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResolveBaseImageRequest) ProtoMessage() {}
func (x *ResolveBaseImageRequest) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 ResolveBaseImageRequest.ProtoReflect.Descriptor instead.
func (*ResolveBaseImageRequest) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{3}
}
func (x *ResolveBaseImageRequest) GetRef() string {
if x != nil {
return x.Ref
}
return ""
}
func (x *ResolveBaseImageRequest) GetAuth() *BuildRegistryAuth {
if x != nil {
return x.Auth
}
return nil
}
type ResolveBaseImageResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
}
func (x *ResolveBaseImageResponse) Reset() {
*x = ResolveBaseImageResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResolveBaseImageResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResolveBaseImageResponse) ProtoMessage() {}
func (x *ResolveBaseImageResponse) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 ResolveBaseImageResponse.ProtoReflect.Descriptor instead.
func (*ResolveBaseImageResponse) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{4}
}
func (x *ResolveBaseImageResponse) GetRef() string {
if x != nil {
return x.Ref
}
return ""
}
type ResolveWorkspaceImageRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Source *BuildSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
Auth *BuildRegistryAuth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
}
func (x *ResolveWorkspaceImageRequest) Reset() {
*x = ResolveWorkspaceImageRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResolveWorkspaceImageRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResolveWorkspaceImageRequest) ProtoMessage() {}
func (x *ResolveWorkspaceImageRequest) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 ResolveWorkspaceImageRequest.ProtoReflect.Descriptor instead.
func (*ResolveWorkspaceImageRequest) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{5}
}
func (x *ResolveWorkspaceImageRequest) GetSource() *BuildSource {
if x != nil {
return x.Source
}
return nil
}
func (x *ResolveWorkspaceImageRequest) GetAuth() *BuildRegistryAuth {
if x != nil {
return x.Auth
}
return nil
}
type ResolveWorkspaceImageResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
BaseRef string `protobuf:"bytes,3,opt,name=base_ref,json=baseRef,proto3" json:"base_ref,omitempty"`
Status BuildStatus `protobuf:"varint,2,opt,name=status,proto3,enum=builder.BuildStatus" json:"status,omitempty"`
}
func (x *ResolveWorkspaceImageResponse) Reset() {
*x = ResolveWorkspaceImageResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ResolveWorkspaceImageResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ResolveWorkspaceImageResponse) ProtoMessage() {}
func (x *ResolveWorkspaceImageResponse) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 ResolveWorkspaceImageResponse.ProtoReflect.Descriptor instead.
func (*ResolveWorkspaceImageResponse) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{6}
}
func (x *ResolveWorkspaceImageResponse) GetRef() string {
if x != nil {
return x.Ref
}
return ""
}
func (x *ResolveWorkspaceImageResponse) GetBaseRef() string {
if x != nil {
return x.BaseRef
}
return ""
}
func (x *ResolveWorkspaceImageResponse) GetStatus() BuildStatus {
if x != nil {
return x.Status
}
return BuildStatus_unknown
}
type BuildRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Source *BuildSource `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
Auth *BuildRegistryAuth `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
ForceRebuild bool `protobuf:"varint,3,opt,name=force_rebuild,json=forceRebuild,proto3" json:"force_rebuild,omitempty"`
TriggeredBy string `protobuf:"bytes,4,opt,name=triggered_by,json=triggeredBy,proto3" json:"triggered_by,omitempty"`
SupervisorRef string `protobuf:"bytes,5,opt,name=supervisor_ref,json=supervisorRef,proto3" json:"supervisor_ref,omitempty"`
BaseImageNameResolved string `protobuf:"bytes,6,opt,name=base_image_name_resolved,json=baseImageNameResolved,proto3" json:"base_image_name_resolved,omitempty"`
}
func (x *BuildRequest) Reset() {
*x = BuildRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildRequest) ProtoMessage() {}
func (x *BuildRequest) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 BuildRequest.ProtoReflect.Descriptor instead.
func (*BuildRequest) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{7}
}
func (x *BuildRequest) GetSource() *BuildSource {
if x != nil {
return x.Source
}
return nil
}
func (x *BuildRequest) GetAuth() *BuildRegistryAuth {
if x != nil {
return x.Auth
}
return nil
}
func (x *BuildRequest) GetForceRebuild() bool {
if x != nil {
return x.ForceRebuild
}
return false
}
func (x *BuildRequest) GetTriggeredBy() string {
if x != nil {
return x.TriggeredBy
}
return ""
}
func (x *BuildRequest) GetSupervisorRef() string {
if x != nil {
return x.SupervisorRef
}
return ""
}
func (x *BuildRequest) GetBaseImageNameResolved() string {
if x != nil {
return x.BaseImageNameResolved
}
return ""
}
type BuildRegistryAuth struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Mode:
//
// *BuildRegistryAuth_Total
// *BuildRegistryAuth_Selective
Mode isBuildRegistryAuth_Mode `protobuf_oneof:"mode"`
Additional map[string]string `protobuf:"bytes,3,rep,name=additional,proto3" json:"additional,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *BuildRegistryAuth) Reset() {
*x = BuildRegistryAuth{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildRegistryAuth) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildRegistryAuth) ProtoMessage() {}
func (x *BuildRegistryAuth) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 BuildRegistryAuth.ProtoReflect.Descriptor instead.
func (*BuildRegistryAuth) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{8}
}
func (m *BuildRegistryAuth) GetMode() isBuildRegistryAuth_Mode {
if m != nil {
return m.Mode
}
return nil
}
func (x *BuildRegistryAuth) GetTotal() *BuildRegistryAuthTotal {
if x, ok := x.GetMode().(*BuildRegistryAuth_Total); ok {
return x.Total
}
return nil
}
func (x *BuildRegistryAuth) GetSelective() *BuildRegistryAuthSelective {
if x, ok := x.GetMode().(*BuildRegistryAuth_Selective); ok {
return x.Selective
}
return nil
}
func (x *BuildRegistryAuth) GetAdditional() map[string]string {
if x != nil {
return x.Additional
}
return nil
}
type isBuildRegistryAuth_Mode interface {
isBuildRegistryAuth_Mode()
}
type BuildRegistryAuth_Total struct {
Total *BuildRegistryAuthTotal `protobuf:"bytes,1,opt,name=total,proto3,oneof"`
}
type BuildRegistryAuth_Selective struct {
Selective *BuildRegistryAuthSelective `protobuf:"bytes,2,opt,name=selective,proto3,oneof"`
}
func (*BuildRegistryAuth_Total) isBuildRegistryAuth_Mode() {}
func (*BuildRegistryAuth_Selective) isBuildRegistryAuth_Mode() {}
type BuildRegistryAuthTotal struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AllowAll bool `protobuf:"varint,1,opt,name=allow_all,json=allowAll,proto3" json:"allow_all,omitempty"`
}
func (x *BuildRegistryAuthTotal) Reset() {
*x = BuildRegistryAuthTotal{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildRegistryAuthTotal) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildRegistryAuthTotal) ProtoMessage() {}
func (x *BuildRegistryAuthTotal) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 BuildRegistryAuthTotal.ProtoReflect.Descriptor instead.
func (*BuildRegistryAuthTotal) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{9}
}
func (x *BuildRegistryAuthTotal) GetAllowAll() bool {
if x != nil {
return x.AllowAll
}
return false
}
type BuildRegistryAuthSelective struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
AllowBaserep bool `protobuf:"varint,1,opt,name=allow_baserep,json=allowBaserep,proto3" json:"allow_baserep,omitempty"`
AllowWorkspacerep bool `protobuf:"varint,2,opt,name=allow_workspacerep,json=allowWorkspacerep,proto3" json:"allow_workspacerep,omitempty"`
AnyOf []string `protobuf:"bytes,3,rep,name=any_of,json=anyOf,proto3" json:"any_of,omitempty"`
}
func (x *BuildRegistryAuthSelective) Reset() {
*x = BuildRegistryAuthSelective{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildRegistryAuthSelective) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildRegistryAuthSelective) ProtoMessage() {}
func (x *BuildRegistryAuthSelective) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 BuildRegistryAuthSelective.ProtoReflect.Descriptor instead.
func (*BuildRegistryAuthSelective) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{10}
}
func (x *BuildRegistryAuthSelective) GetAllowBaserep() bool {
if x != nil {
return x.AllowBaserep
}
return false
}
func (x *BuildRegistryAuthSelective) GetAllowWorkspacerep() bool {
if x != nil {
return x.AllowWorkspacerep
}
return false
}
func (x *BuildRegistryAuthSelective) GetAnyOf() []string {
if x != nil {
return x.AnyOf
}
return nil
}
type BuildResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// deprecated(cw): expect this field to go away in a future version.
//
// it's redundant with the build info.
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
BaseRef string `protobuf:"bytes,4,opt,name=base_ref,json=baseRef,proto3" json:"base_ref,omitempty"`
// deprecated(cw): expect this field to go away in a future version.
//
// it's redundant with the build info.
Status BuildStatus `protobuf:"varint,2,opt,name=status,proto3,enum=builder.BuildStatus" json:"status,omitempty"`
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
Info *BuildInfo `protobuf:"bytes,5,opt,name=info,proto3" json:"info,omitempty"`
}
func (x *BuildResponse) Reset() {
*x = BuildResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildResponse) ProtoMessage() {}
func (x *BuildResponse) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_proto_msgTypes[11]
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 BuildResponse.ProtoReflect.Descriptor instead.
func (*BuildResponse) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{11}
}
func (x *BuildResponse) GetRef() string {
if x != nil {
return x.Ref
}
return ""
}
func (x *BuildResponse) GetBaseRef() string {
if x != nil {
return x.BaseRef
}
return ""
}
func (x *BuildResponse) GetStatus() BuildStatus {
if x != nil {
return x.Status
}
return BuildStatus_unknown
}
func (x *BuildResponse) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *BuildResponse) GetInfo() *BuildInfo {
if x != nil {
return x.Info
}
return nil
}
type LogsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
BuildRef string `protobuf:"bytes,1,opt,name=build_ref,json=buildRef,proto3" json:"build_ref,omitempty"`
Censored bool `protobuf:"varint,2,opt,name=censored,proto3" json:"censored,omitempty"`
BuildId string `protobuf:"bytes,3,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
}
func (x *LogsRequest) Reset() {
*x = LogsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LogsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LogsRequest) ProtoMessage() {}
func (x *LogsRequest) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_proto_msgTypes[12]
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 LogsRequest.ProtoReflect.Descriptor instead.
func (*LogsRequest) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{12}
}
func (x *LogsRequest) GetBuildRef() string {
if x != nil {
return x.BuildRef
}
return ""
}
func (x *LogsRequest) GetCensored() bool {
if x != nil {
return x.Censored
}
return false
}
func (x *LogsRequest) GetBuildId() string {
if x != nil {
return x.BuildId
}
return ""
}
type LogsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
}
func (x *LogsResponse) Reset() {
*x = LogsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LogsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LogsResponse) ProtoMessage() {}
func (x *LogsResponse) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_proto_msgTypes[13]
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 LogsResponse.ProtoReflect.Descriptor instead.
func (*LogsResponse) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{13}
}
func (x *LogsResponse) GetContent() []byte {
if x != nil {
return x.Content
}
return nil
}
type ListBuildsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ListBuildsRequest) Reset() {
*x = ListBuildsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListBuildsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListBuildsRequest) ProtoMessage() {}
func (x *ListBuildsRequest) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_proto_msgTypes[14]
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 ListBuildsRequest.ProtoReflect.Descriptor instead.
func (*ListBuildsRequest) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{14}
}
type ListBuildsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Builds []*BuildInfo `protobuf:"bytes,1,rep,name=builds,proto3" json:"builds,omitempty"`
}
func (x *ListBuildsResponse) Reset() {
*x = ListBuildsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListBuildsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListBuildsResponse) ProtoMessage() {}
func (x *ListBuildsResponse) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_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 ListBuildsResponse.ProtoReflect.Descriptor instead.
func (*ListBuildsResponse) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{15}
}
func (x *ListBuildsResponse) GetBuilds() []*BuildInfo {
if x != nil {
return x.Builds
}
return nil
}
type BuildInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Ref string `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
BaseRef string `protobuf:"bytes,4,opt,name=base_ref,json=baseRef,proto3" json:"base_ref,omitempty"`
Status BuildStatus `protobuf:"varint,2,opt,name=status,proto3,enum=builder.BuildStatus" json:"status,omitempty"`
StartedAt int64 `protobuf:"varint,3,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
BuildId string `protobuf:"bytes,5,opt,name=build_id,json=buildId,proto3" json:"build_id,omitempty"`
LogInfo *LogInfo `protobuf:"bytes,6,opt,name=log_info,json=logInfo,proto3" json:"log_info,omitempty"`
}
func (x *BuildInfo) Reset() {
*x = BuildInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuildInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuildInfo) ProtoMessage() {}
func (x *BuildInfo) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_proto_msgTypes[16]
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 BuildInfo.ProtoReflect.Descriptor instead.
func (*BuildInfo) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{16}
}
func (x *BuildInfo) GetRef() string {
if x != nil {
return x.Ref
}
return ""
}
func (x *BuildInfo) GetBaseRef() string {
if x != nil {
return x.BaseRef
}
return ""
}
func (x *BuildInfo) GetStatus() BuildStatus {
if x != nil {
return x.Status
}
return BuildStatus_unknown
}
func (x *BuildInfo) GetStartedAt() int64 {
if x != nil {
return x.StartedAt
}
return 0
}
func (x *BuildInfo) GetBuildId() string {
if x != nil {
return x.BuildId
}
return ""
}
func (x *BuildInfo) GetLogInfo() *LogInfo {
if x != nil {
return x.LogInfo
}
return nil
}
type LogInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
Headers map[string]string `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *LogInfo) Reset() {
*x = LogInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_imgbuilder_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *LogInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*LogInfo) ProtoMessage() {}
func (x *LogInfo) ProtoReflect() protoreflect.Message {
mi := &file_imgbuilder_proto_msgTypes[17]
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 LogInfo.ProtoReflect.Descriptor instead.
func (*LogInfo) Descriptor() ([]byte, []int) {
return file_imgbuilder_proto_rawDescGZIP(), []int{17}
}
func (x *LogInfo) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *LogInfo) GetHeaders() map[string]string {
if x != nil {
return x.Headers
}
return nil
}
var File_imgbuilder_proto protoreflect.FileDescriptor
var file_imgbuilder_proto_rawDesc = []byte{
0x0a, 0x10, 0x69, 0x6d, 0x67, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x12, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x1a, 0x25, 0x63, 0x6f, 0x6e,
0x74, 0x65, 0x6e, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x61, 0x70, 0x69,
0x2f, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x22, 0x7e, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63,
0x65, 0x12, 0x31, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x48, 0x00, 0x52,
0x03, 0x72, 0x65, 0x66, 0x12, 0x34, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69,
0x6c, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x66, 0x69,
0x6c, 0x65, 0x48, 0x00, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x66, 0x72,
0x6f, 0x6d, 0x22, 0x28, 0x0a, 0x14, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63,
0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65,
0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0xd0, 0x01, 0x0a,
0x15, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x6f, 0x63, 0x6b,
0x65, 0x72, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
0x65, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x72, 0x52, 0x06, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x66, 0x69,
0x6c, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
0x52, 0x11, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x66, 0x69, 0x6c, 0x65, 0x56, 0x65, 0x72, 0x73,
0x69, 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x6f, 0x63, 0x6b, 0x65, 0x72, 0x66, 0x69, 0x6c,
0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x64, 0x6f,
0x63, 0x6b, 0x65, 0x72, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c,
0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x50, 0x61, 0x74, 0x68, 0x22,
0x5b, 0x0a, 0x17, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x42, 0x61, 0x73, 0x65, 0x49, 0x6d,
0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65,
0x66, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x2e, 0x0a, 0x04,
0x61, 0x75, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x75, 0x69,
0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x2c, 0x0a, 0x18,
0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x42, 0x61, 0x73, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18,
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x22, 0x7c, 0x0a, 0x1c, 0x52, 0x65,
0x73, 0x6f, 0x6c, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6d,
0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x75, 0x69,
0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65,
0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72,
0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x75,
0x74, 0x68, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x7a, 0x0a, 0x1d, 0x52, 0x65, 0x73, 0x6f,
0x6c, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67,
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x19, 0x0a, 0x08, 0x62,
0x61, 0x73, 0x65, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62,
0x61, 0x73, 0x65, 0x52, 0x65, 0x66, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72,
0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74,
0x61, 0x74, 0x75, 0x73, 0x22, 0x94, 0x02, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18,
0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e,
0x42, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69, 0x6c,
0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x52, 0x04, 0x61,
0x75, 0x74, 0x68, 0x12, 0x23, 0x0a, 0x0d, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x72, 0x65, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x66, 0x6f, 0x72, 0x63,
0x65, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x69, 0x67,
0x67, 0x65, 0x72, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
0x74, 0x72, 0x69, 0x67, 0x67, 0x65, 0x72, 0x65, 0x64, 0x42, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x73,
0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x05, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x75, 0x70, 0x65, 0x72, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x52,
0x65, 0x66, 0x12, 0x37, 0x0a, 0x18, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65,
0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x18, 0x06,
0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x62, 0x61, 0x73, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4e,
0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x64, 0x22, 0xa4, 0x02, 0x0a, 0x11,
0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x75, 0x74,
0x68, 0x12, 0x37, 0x0a, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x1f, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64,
0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x54, 0x6f, 0x74, 0x61,
0x6c, 0x48, 0x00, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x43, 0x0a, 0x09, 0x73, 0x65,
0x6c, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e,
0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x67,
0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69,
0x76, 0x65, 0x48, 0x00, 0x52, 0x09, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12,
0x4a, 0x0a, 0x0a, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x18, 0x03, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75,
0x69, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x2e,
0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
0x0a, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x1a, 0x3d, 0x0a, 0x0f, 0x41,
0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 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, 0x42, 0x06, 0x0a, 0x04, 0x6d, 0x6f,
0x64, 0x65, 0x22, 0x35, 0x0a, 0x16, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73,
0x74, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x12, 0x1b, 0x0a, 0x09,
0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
0x08, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x41, 0x6c, 0x6c, 0x22, 0x87, 0x01, 0x0a, 0x1a, 0x42, 0x75,
0x69, 0x6c, 0x64, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x41, 0x75, 0x74, 0x68, 0x53,
0x65, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x6c, 0x6c, 0x6f,
0x77, 0x5f, 0x62, 0x61, 0x73, 0x65, 0x72, 0x65, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
0x0c, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x42, 0x61, 0x73, 0x65, 0x72, 0x65, 0x70, 0x12, 0x2d, 0x0a,
0x12, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
0x72, 0x65, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x61, 0x6c, 0x6c, 0x6f, 0x77,
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x72, 0x65, 0x70, 0x12, 0x15, 0x0a, 0x06,
0x61, 0x6e, 0x79, 0x5f, 0x6f, 0x66, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6e,
0x79, 0x4f, 0x66, 0x22, 0xac, 0x01, 0x0a, 0x0d, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 0x5f,
0x72, 0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, 0x52,
0x65, 0x66, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x14, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69,
0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x69, 0x6e,
0x66, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64,
0x65, 0x72, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e,
0x66, 0x6f, 0x22, 0x61, 0x0a, 0x0b, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x66, 0x12, 0x1a,
0x0a, 0x08, 0x63, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
0x52, 0x08, 0x63, 0x65, 0x6e, 0x73, 0x6f, 0x72, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x75,
0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x75,
0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x28, 0x0a, 0x0c, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22,
0x13, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x22, 0x40, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x69, 0x6c,
0x64, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x62, 0x75,
0x69, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x75, 0x69,
0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06,
0x62, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x22, 0xcd, 0x01, 0x0a, 0x09, 0x42, 0x75, 0x69, 0x6c, 0x64,
0x49, 0x6e, 0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72,
0x65, 0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x73, 0x65, 0x52, 0x65,
0x66, 0x12, 0x2c, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
0x0e, 0x32, 0x14, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69, 0x6c,
0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20,
0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x19,
0x0a, 0x08, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x08, 0x6c, 0x6f, 0x67,
0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x75,
0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x07, 0x6c,
0x6f, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x90, 0x01, 0x0a, 0x07, 0x4c, 0x6f, 0x67, 0x49, 0x6e,
0x66, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x03, 0x75, 0x72, 0x6c, 0x12, 0x37, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18,
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e,
0x4c, 0x6f, 0x67, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x1a, 0x3a, 0x0a,
0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 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, 0x2a, 0x4b, 0x0a, 0x0b, 0x42, 0x75, 0x69,
0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x75, 0x6e, 0x6b, 0x6e,
0x6f, 0x77, 0x6e, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x64, 0x6f, 0x6e, 0x65, 0x5f, 0x73, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x10, 0x02, 0x12, 0x10, 0x0a, 0x0c, 0x64, 0x6f, 0x6e, 0x65, 0x5f, 0x66, 0x61, 0x69,
0x6c, 0x75, 0x72, 0x65, 0x10, 0x03, 0x32, 0x91, 0x03, 0x0a, 0x0c, 0x49, 0x6d, 0x61, 0x67, 0x65,
0x42, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x59, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x6f, 0x6c,
0x76, 0x65, 0x42, 0x61, 0x73, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x20, 0x2e, 0x62, 0x75,
0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x42, 0x61, 0x73,
0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x42,
0x61, 0x73, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x68, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x57, 0x6f, 0x72,
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x25, 0x2e, 0x62, 0x75,
0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x57, 0x6f, 0x72,
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
0x73, 0x74, 0x1a, 0x26, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x73,
0x6f, 0x6c, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6d, 0x61,
0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3a, 0x0a, 0x05,
0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x15, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e,
0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x37, 0x0a, 0x04, 0x4c, 0x6f, 0x67, 0x73,
0x12, 0x14, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72,
0x2e, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30,
0x01, 0x12, 0x47, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73, 0x12,
0x1a, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75,
0x69, 0x6c, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x62, 0x75,
0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x73,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2f, 0x5a, 0x2d, 0x67, 0x69,
0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2d,
0x69, 0x6f, 0x2f, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2d,
0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_imgbuilder_proto_rawDescOnce sync.Once
file_imgbuilder_proto_rawDescData = file_imgbuilder_proto_rawDesc
)
func file_imgbuilder_proto_rawDescGZIP() []byte {
file_imgbuilder_proto_rawDescOnce.Do(func() {
file_imgbuilder_proto_rawDescData = protoimpl.X.CompressGZIP(file_imgbuilder_proto_rawDescData)
})
return file_imgbuilder_proto_rawDescData
}
var file_imgbuilder_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_imgbuilder_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
var file_imgbuilder_proto_goTypes = []interface{}{
(BuildStatus)(0), // 0: builder.BuildStatus
(*BuildSource)(nil), // 1: builder.BuildSource
(*BuildSourceReference)(nil), // 2: builder.BuildSourceReference
(*BuildSourceDockerfile)(nil), // 3: builder.BuildSourceDockerfile
(*ResolveBaseImageRequest)(nil), // 4: builder.ResolveBaseImageRequest
(*ResolveBaseImageResponse)(nil), // 5: builder.ResolveBaseImageResponse
(*ResolveWorkspaceImageRequest)(nil), // 6: builder.ResolveWorkspaceImageRequest
(*ResolveWorkspaceImageResponse)(nil), // 7: builder.ResolveWorkspaceImageResponse
(*BuildRequest)(nil), // 8: builder.BuildRequest
(*BuildRegistryAuth)(nil), // 9: builder.BuildRegistryAuth
(*BuildRegistryAuthTotal)(nil), // 10: builder.BuildRegistryAuthTotal
(*BuildRegistryAuthSelective)(nil), // 11: builder.BuildRegistryAuthSelective
(*BuildResponse)(nil), // 12: builder.BuildResponse
(*LogsRequest)(nil), // 13: builder.LogsRequest
(*LogsResponse)(nil), // 14: builder.LogsResponse
(*ListBuildsRequest)(nil), // 15: builder.ListBuildsRequest
(*ListBuildsResponse)(nil), // 16: builder.ListBuildsResponse
(*BuildInfo)(nil), // 17: builder.BuildInfo
(*LogInfo)(nil), // 18: builder.LogInfo
nil, // 19: builder.BuildRegistryAuth.AdditionalEntry
nil, // 20: builder.LogInfo.HeadersEntry
(*api.WorkspaceInitializer)(nil), // 21: contentservice.WorkspaceInitializer
}
var file_imgbuilder_proto_depIdxs = []int32{
2, // 0: builder.BuildSource.ref:type_name -> builder.BuildSourceReference
3, // 1: builder.BuildSource.file:type_name -> builder.BuildSourceDockerfile
21, // 2: builder.BuildSourceDockerfile.source:type_name -> contentservice.WorkspaceInitializer
9, // 3: builder.ResolveBaseImageRequest.auth:type_name -> builder.BuildRegistryAuth
1, // 4: builder.ResolveWorkspaceImageRequest.source:type_name -> builder.BuildSource
9, // 5: builder.ResolveWorkspaceImageRequest.auth:type_name -> builder.BuildRegistryAuth
0, // 6: builder.ResolveWorkspaceImageResponse.status:type_name -> builder.BuildStatus
1, // 7: builder.BuildRequest.source:type_name -> builder.BuildSource
9, // 8: builder.BuildRequest.auth:type_name -> builder.BuildRegistryAuth
10, // 9: builder.BuildRegistryAuth.total:type_name -> builder.BuildRegistryAuthTotal
11, // 10: builder.BuildRegistryAuth.selective:type_name -> builder.BuildRegistryAuthSelective
19, // 11: builder.BuildRegistryAuth.additional:type_name -> builder.BuildRegistryAuth.AdditionalEntry
0, // 12: builder.BuildResponse.status:type_name -> builder.BuildStatus
17, // 13: builder.BuildResponse.info:type_name -> builder.BuildInfo
17, // 14: builder.ListBuildsResponse.builds:type_name -> builder.BuildInfo
0, // 15: builder.BuildInfo.status:type_name -> builder.BuildStatus
18, // 16: builder.BuildInfo.log_info:type_name -> builder.LogInfo
20, // 17: builder.LogInfo.headers:type_name -> builder.LogInfo.HeadersEntry
4, // 18: builder.ImageBuilder.ResolveBaseImage:input_type -> builder.ResolveBaseImageRequest
6, // 19: builder.ImageBuilder.ResolveWorkspaceImage:input_type -> builder.ResolveWorkspaceImageRequest
8, // 20: builder.ImageBuilder.Build:input_type -> builder.BuildRequest
13, // 21: builder.ImageBuilder.Logs:input_type -> builder.LogsRequest
15, // 22: builder.ImageBuilder.ListBuilds:input_type -> builder.ListBuildsRequest
5, // 23: builder.ImageBuilder.ResolveBaseImage:output_type -> builder.ResolveBaseImageResponse
7, // 24: builder.ImageBuilder.ResolveWorkspaceImage:output_type -> builder.ResolveWorkspaceImageResponse
12, // 25: builder.ImageBuilder.Build:output_type -> builder.BuildResponse
14, // 26: builder.ImageBuilder.Logs:output_type -> builder.LogsResponse
16, // 27: builder.ImageBuilder.ListBuilds:output_type -> builder.ListBuildsResponse
23, // [23:28] is the sub-list for method output_type
18, // [18:23] is the sub-list for method input_type
18, // [18:18] is the sub-list for extension type_name
18, // [18:18] is the sub-list for extension extendee
0, // [0:18] is the sub-list for field type_name
}
func init() { file_imgbuilder_proto_init() }
func file_imgbuilder_proto_init() {
if File_imgbuilder_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_imgbuilder_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildSource); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildSourceReference); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildSourceDockerfile); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResolveBaseImageRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResolveBaseImageResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResolveWorkspaceImageRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ResolveWorkspaceImageResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildRegistryAuth); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildRegistryAuthTotal); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildRegistryAuthSelective); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LogsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LogsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListBuildsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListBuildsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*BuildInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_imgbuilder_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*LogInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_imgbuilder_proto_msgTypes[0].OneofWrappers = []interface{}{
(*BuildSource_Ref)(nil),
(*BuildSource_File)(nil),
}
file_imgbuilder_proto_msgTypes[8].OneofWrappers = []interface{}{
(*BuildRegistryAuth_Total)(nil),
(*BuildRegistryAuth_Selective)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_imgbuilder_proto_rawDesc,
NumEnums: 1,
NumMessages: 20,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_imgbuilder_proto_goTypes,
DependencyIndexes: file_imgbuilder_proto_depIdxs,
EnumInfos: file_imgbuilder_proto_enumTypes,
MessageInfos: file_imgbuilder_proto_msgTypes,
}.Build()
File_imgbuilder_proto = out.File
file_imgbuilder_proto_rawDesc = nil
file_imgbuilder_proto_goTypes = nil
file_imgbuilder_proto_depIdxs = nil
}