mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
* 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>
539 lines
19 KiB
Go
539 lines
19 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: subassembly.proto
|
|
|
|
package api
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
type SubassemblyPhase int32
|
|
|
|
const (
|
|
SubassemblyPhase_SUBASSEMBLY_PHASE_UNSPECIFIED SubassemblyPhase = 0
|
|
SubassemblyPhase_SUBASSEMBLY_PHASE_CREATING SubassemblyPhase = 1
|
|
SubassemblyPhase_SUBASSEMBLY_PHASE_AVAILABLE SubassemblyPhase = 2
|
|
SubassemblyPhase_SUBASSEMBLY_PHASE_UNAVAILABLE SubassemblyPhase = 3
|
|
)
|
|
|
|
// Enum value maps for SubassemblyPhase.
|
|
var (
|
|
SubassemblyPhase_name = map[int32]string{
|
|
0: "SUBASSEMBLY_PHASE_UNSPECIFIED",
|
|
1: "SUBASSEMBLY_PHASE_CREATING",
|
|
2: "SUBASSEMBLY_PHASE_AVAILABLE",
|
|
3: "SUBASSEMBLY_PHASE_UNAVAILABLE",
|
|
}
|
|
SubassemblyPhase_value = map[string]int32{
|
|
"SUBASSEMBLY_PHASE_UNSPECIFIED": 0,
|
|
"SUBASSEMBLY_PHASE_CREATING": 1,
|
|
"SUBASSEMBLY_PHASE_AVAILABLE": 2,
|
|
"SUBASSEMBLY_PHASE_UNAVAILABLE": 3,
|
|
}
|
|
)
|
|
|
|
func (x SubassemblyPhase) Enum() *SubassemblyPhase {
|
|
p := new(SubassemblyPhase)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SubassemblyPhase) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (SubassemblyPhase) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_subassembly_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (SubassemblyPhase) Type() protoreflect.EnumType {
|
|
return &file_subassembly_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x SubassemblyPhase) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use SubassemblyPhase.Descriptor instead.
|
|
func (SubassemblyPhase) EnumDescriptor() ([]byte, []int) {
|
|
return file_subassembly_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type CreateSubassemblyRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OciReference string `protobuf:"bytes,1,opt,name=oci_reference,json=ociReference,proto3" json:"oci_reference,omitempty"`
|
|
}
|
|
|
|
func (x *CreateSubassemblyRequest) Reset() {
|
|
*x = CreateSubassemblyRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_subassembly_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateSubassemblyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSubassemblyRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateSubassemblyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_subassembly_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 CreateSubassemblyRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateSubassemblyRequest) Descriptor() ([]byte, []int) {
|
|
return file_subassembly_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CreateSubassemblyRequest) GetOciReference() string {
|
|
if x != nil {
|
|
return x.OciReference
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateSubassemblyResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Status *SubassemblyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
}
|
|
|
|
func (x *CreateSubassemblyResponse) Reset() {
|
|
*x = CreateSubassemblyResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_subassembly_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateSubassemblyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateSubassemblyResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateSubassemblyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_subassembly_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 CreateSubassemblyResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateSubassemblyResponse) Descriptor() ([]byte, []int) {
|
|
return file_subassembly_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CreateSubassemblyResponse) GetStatus() *SubassemblyStatus {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetSubassemblyRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OciReference string `protobuf:"bytes,1,opt,name=oci_reference,json=ociReference,proto3" json:"oci_reference,omitempty"`
|
|
}
|
|
|
|
func (x *GetSubassemblyRequest) Reset() {
|
|
*x = GetSubassemblyRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_subassembly_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetSubassemblyRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSubassemblyRequest) ProtoMessage() {}
|
|
|
|
func (x *GetSubassemblyRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_subassembly_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 GetSubassemblyRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetSubassemblyRequest) Descriptor() ([]byte, []int) {
|
|
return file_subassembly_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GetSubassemblyRequest) GetOciReference() string {
|
|
if x != nil {
|
|
return x.OciReference
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetSubassemblyResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Status *SubassemblyStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
|
|
}
|
|
|
|
func (x *GetSubassemblyResponse) Reset() {
|
|
*x = GetSubassemblyResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_subassembly_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetSubassemblyResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetSubassemblyResponse) ProtoMessage() {}
|
|
|
|
func (x *GetSubassemblyResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_subassembly_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 GetSubassemblyResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetSubassemblyResponse) Descriptor() ([]byte, []int) {
|
|
return file_subassembly_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetSubassemblyResponse) GetStatus() *SubassemblyStatus {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SubassemblyStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// phase describes the state of the subassembly.
|
|
Phase SubassemblyPhase `protobuf:"varint,1,opt,name=phase,proto3,enum=builder.SubassemblyPhase" json:"phase,omitempty"`
|
|
// message details the subassembly's state
|
|
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
|
|
// digest is the digest of the subassembly file
|
|
// Expect this field to only be present when the phase is "available".
|
|
Digest string `protobuf:"bytes,3,opt,name=digest,proto3" json:"digest,omitempty"`
|
|
// URL is a URL from which the subassembly can be downloaded.
|
|
// Expect this field to only be present when the phase is "available".
|
|
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
|
|
// manifest describes the requirements of the subassembly
|
|
// Expect this field to only be present when the phase is "available".
|
|
Manifest []byte `protobuf:"bytes,5,opt,name=manifest,proto3" json:"manifest,omitempty"`
|
|
}
|
|
|
|
func (x *SubassemblyStatus) Reset() {
|
|
*x = SubassemblyStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_subassembly_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *SubassemblyStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SubassemblyStatus) ProtoMessage() {}
|
|
|
|
func (x *SubassemblyStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_subassembly_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 SubassemblyStatus.ProtoReflect.Descriptor instead.
|
|
func (*SubassemblyStatus) Descriptor() ([]byte, []int) {
|
|
return file_subassembly_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *SubassemblyStatus) GetPhase() SubassemblyPhase {
|
|
if x != nil {
|
|
return x.Phase
|
|
}
|
|
return SubassemblyPhase_SUBASSEMBLY_PHASE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *SubassemblyStatus) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubassemblyStatus) GetDigest() string {
|
|
if x != nil {
|
|
return x.Digest
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubassemblyStatus) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SubassemblyStatus) GetManifest() []byte {
|
|
if x != nil {
|
|
return x.Manifest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_subassembly_proto protoreflect.FileDescriptor
|
|
|
|
var file_subassembly_proto_rawDesc = []byte{
|
|
0x0a, 0x11, 0x73, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x2e, 0x70, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x12, 0x07, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x22, 0x3f, 0x0a, 0x18,
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c,
|
|
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x63, 0x69, 0x5f,
|
|
0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0c, 0x6f, 0x63, 0x69, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x4f, 0x0a,
|
|
0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62,
|
|
0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x74,
|
|
0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x75, 0x69,
|
|
0x6c, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79,
|
|
0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3c,
|
|
0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x63, 0x69, 0x5f, 0x72,
|
|
0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
|
|
0x6f, 0x63, 0x69, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22, 0x4c, 0x0a, 0x16,
|
|
0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72,
|
|
0x2e, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74,
|
|
0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x11, 0x53,
|
|
0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
0x12, 0x2f, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
|
|
0x19, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73,
|
|
0x65, 0x6d, 0x62, 0x6c, 0x79, 0x50, 0x68, 0x61, 0x73, 0x65, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73,
|
|
0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x64,
|
|
0x69, 0x67, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x69, 0x67,
|
|
0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
|
0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x6d, 0x61, 0x6e, 0x69, 0x66, 0x65, 0x73,
|
|
0x74, 0x2a, 0x99, 0x01, 0x0a, 0x10, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c,
|
|
0x79, 0x50, 0x68, 0x61, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x55, 0x42, 0x41, 0x53, 0x53,
|
|
0x45, 0x4d, 0x42, 0x4c, 0x59, 0x5f, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50,
|
|
0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x53, 0x55, 0x42,
|
|
0x41, 0x53, 0x53, 0x45, 0x4d, 0x42, 0x4c, 0x59, 0x5f, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f, 0x43,
|
|
0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x55, 0x42,
|
|
0x41, 0x53, 0x53, 0x45, 0x4d, 0x42, 0x4c, 0x59, 0x5f, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f, 0x41,
|
|
0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x21, 0x0a, 0x1d, 0x53, 0x55,
|
|
0x42, 0x41, 0x53, 0x53, 0x45, 0x4d, 0x42, 0x4c, 0x59, 0x5f, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f,
|
|
0x55, 0x4e, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x32, 0xc7, 0x01,
|
|
0x0a, 0x12, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x53, 0x65, 0x72,
|
|
0x76, 0x69, 0x63, 0x65, 0x12, 0x5c, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75,
|
|
0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x12, 0x21, 0x2e, 0x62, 0x75, 0x69, 0x6c,
|
|
0x64, 0x65, 0x72, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73,
|
|
0x65, 0x6d, 0x62, 0x6c, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x62,
|
|
0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62,
|
|
0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x22, 0x00, 0x12, 0x53, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65,
|
|
0x6d, 0x62, 0x6c, 0x79, 0x12, 0x1e, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x47,
|
|
0x65, 0x74, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x65, 0x72, 0x2e, 0x47,
|
|
0x65, 0x74, 0x53, 0x75, 0x62, 0x61, 0x73, 0x73, 0x65, 0x6d, 0x62, 0x6c, 0x79, 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_subassembly_proto_rawDescOnce sync.Once
|
|
file_subassembly_proto_rawDescData = file_subassembly_proto_rawDesc
|
|
)
|
|
|
|
func file_subassembly_proto_rawDescGZIP() []byte {
|
|
file_subassembly_proto_rawDescOnce.Do(func() {
|
|
file_subassembly_proto_rawDescData = protoimpl.X.CompressGZIP(file_subassembly_proto_rawDescData)
|
|
})
|
|
return file_subassembly_proto_rawDescData
|
|
}
|
|
|
|
var file_subassembly_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
|
|
var file_subassembly_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
|
|
var file_subassembly_proto_goTypes = []interface{}{
|
|
(SubassemblyPhase)(0), // 0: builder.SubassemblyPhase
|
|
(*CreateSubassemblyRequest)(nil), // 1: builder.CreateSubassemblyRequest
|
|
(*CreateSubassemblyResponse)(nil), // 2: builder.CreateSubassemblyResponse
|
|
(*GetSubassemblyRequest)(nil), // 3: builder.GetSubassemblyRequest
|
|
(*GetSubassemblyResponse)(nil), // 4: builder.GetSubassemblyResponse
|
|
(*SubassemblyStatus)(nil), // 5: builder.SubassemblyStatus
|
|
}
|
|
var file_subassembly_proto_depIdxs = []int32{
|
|
5, // 0: builder.CreateSubassemblyResponse.status:type_name -> builder.SubassemblyStatus
|
|
5, // 1: builder.GetSubassemblyResponse.status:type_name -> builder.SubassemblyStatus
|
|
0, // 2: builder.SubassemblyStatus.phase:type_name -> builder.SubassemblyPhase
|
|
1, // 3: builder.SubassemblyService.CreateSubassembly:input_type -> builder.CreateSubassemblyRequest
|
|
3, // 4: builder.SubassemblyService.GetSubassembly:input_type -> builder.GetSubassemblyRequest
|
|
2, // 5: builder.SubassemblyService.CreateSubassembly:output_type -> builder.CreateSubassemblyResponse
|
|
4, // 6: builder.SubassemblyService.GetSubassembly:output_type -> builder.GetSubassemblyResponse
|
|
5, // [5:7] is the sub-list for method output_type
|
|
3, // [3:5] is the sub-list for method input_type
|
|
3, // [3:3] is the sub-list for extension type_name
|
|
3, // [3:3] is the sub-list for extension extendee
|
|
0, // [0:3] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_subassembly_proto_init() }
|
|
func file_subassembly_proto_init() {
|
|
if File_subassembly_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_subassembly_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateSubassemblyRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_subassembly_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateSubassemblyResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_subassembly_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetSubassemblyRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_subassembly_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetSubassemblyResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_subassembly_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*SubassemblyStatus); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_subassembly_proto_rawDesc,
|
|
NumEnums: 1,
|
|
NumMessages: 5,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_subassembly_proto_goTypes,
|
|
DependencyIndexes: file_subassembly_proto_depIdxs,
|
|
EnumInfos: file_subassembly_proto_enumTypes,
|
|
MessageInfos: file_subassembly_proto_msgTypes,
|
|
}.Build()
|
|
File_subassembly_proto = out.File
|
|
file_subassembly_proto_rawDesc = nil
|
|
file_subassembly_proto_goTypes = nil
|
|
file_subassembly_proto_depIdxs = nil
|
|
}
|