gitpod/components/public-api/go/v1/prebuilds.pb.go
2022-05-03 13:00:18 +05:30

1030 lines
37 KiB
Go

// Copyright (c) 2022 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.0
// protoc v3.20.0
// source: gitpod/v1/prebuilds.proto
package v1
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 PrebuildStatus_Phase int32
const (
PrebuildStatus_PHASE_UNSPECIFIED PrebuildStatus_Phase = 0
PrebuildStatus_PHASE_PENDING PrebuildStatus_Phase = 1
PrebuildStatus_PHASE_RUNNING PrebuildStatus_Phase = 2
PrebuildStatus_PHASE_DONE PrebuildStatus_Phase = 3
)
// Enum value maps for PrebuildStatus_Phase.
var (
PrebuildStatus_Phase_name = map[int32]string{
0: "PHASE_UNSPECIFIED",
1: "PHASE_PENDING",
2: "PHASE_RUNNING",
3: "PHASE_DONE",
}
PrebuildStatus_Phase_value = map[string]int32{
"PHASE_UNSPECIFIED": 0,
"PHASE_PENDING": 1,
"PHASE_RUNNING": 2,
"PHASE_DONE": 3,
}
)
func (x PrebuildStatus_Phase) Enum() *PrebuildStatus_Phase {
p := new(PrebuildStatus_Phase)
*p = x
return p
}
func (x PrebuildStatus_Phase) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PrebuildStatus_Phase) Descriptor() protoreflect.EnumDescriptor {
return file_gitpod_v1_prebuilds_proto_enumTypes[0].Descriptor()
}
func (PrebuildStatus_Phase) Type() protoreflect.EnumType {
return &file_gitpod_v1_prebuilds_proto_enumTypes[0]
}
func (x PrebuildStatus_Phase) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use PrebuildStatus_Phase.Descriptor instead.
func (PrebuildStatus_Phase) EnumDescriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{10, 0}
}
type PrebuildStatus_Result int32
const (
PrebuildStatus_RESULT_UNSPECIFIED PrebuildStatus_Result = 0
PrebuildStatus_RESULT_SUCCESS PrebuildStatus_Result = 1
PrebuildStatus_RESULT_USER_CANCELED PrebuildStatus_Result = 2
PrebuildStatus_RESULT_SYSTEM_FAILURE PrebuildStatus_Result = 3
PrebuildStatus_RESULT_TASK_FAILURE PrebuildStatus_Result = 4
)
// Enum value maps for PrebuildStatus_Result.
var (
PrebuildStatus_Result_name = map[int32]string{
0: "RESULT_UNSPECIFIED",
1: "RESULT_SUCCESS",
2: "RESULT_USER_CANCELED",
3: "RESULT_SYSTEM_FAILURE",
4: "RESULT_TASK_FAILURE",
}
PrebuildStatus_Result_value = map[string]int32{
"RESULT_UNSPECIFIED": 0,
"RESULT_SUCCESS": 1,
"RESULT_USER_CANCELED": 2,
"RESULT_SYSTEM_FAILURE": 3,
"RESULT_TASK_FAILURE": 4,
}
)
func (x PrebuildStatus_Result) Enum() *PrebuildStatus_Result {
p := new(PrebuildStatus_Result)
*p = x
return p
}
func (x PrebuildStatus_Result) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (PrebuildStatus_Result) Descriptor() protoreflect.EnumDescriptor {
return file_gitpod_v1_prebuilds_proto_enumTypes[1].Descriptor()
}
func (PrebuildStatus_Result) Type() protoreflect.EnumType {
return &file_gitpod_v1_prebuilds_proto_enumTypes[1]
}
func (x PrebuildStatus_Result) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use PrebuildStatus_Result.Descriptor instead.
func (PrebuildStatus_Result) EnumDescriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{10, 1}
}
type GetPrebuildRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PrebuildId string `protobuf:"bytes,1,opt,name=prebuild_id,json=prebuildId,proto3" json:"prebuild_id,omitempty"`
}
func (x *GetPrebuildRequest) Reset() {
*x = GetPrebuildRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetPrebuildRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetPrebuildRequest) ProtoMessage() {}
func (x *GetPrebuildRequest) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 GetPrebuildRequest.ProtoReflect.Descriptor instead.
func (*GetPrebuildRequest) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{0}
}
func (x *GetPrebuildRequest) GetPrebuildId() string {
if x != nil {
return x.PrebuildId
}
return ""
}
type GetPrebuildResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Prebuild *Prebuild `protobuf:"bytes,1,opt,name=prebuild,proto3" json:"prebuild,omitempty"`
}
func (x *GetPrebuildResponse) Reset() {
*x = GetPrebuildResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetPrebuildResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetPrebuildResponse) ProtoMessage() {}
func (x *GetPrebuildResponse) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 GetPrebuildResponse.ProtoReflect.Descriptor instead.
func (*GetPrebuildResponse) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{1}
}
func (x *GetPrebuildResponse) GetPrebuild() *Prebuild {
if x != nil {
return x.Prebuild
}
return nil
}
type GetRunningPrebuildRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ContextUrl string `protobuf:"bytes,1,opt,name=context_url,json=contextUrl,proto3" json:"context_url,omitempty"`
}
func (x *GetRunningPrebuildRequest) Reset() {
*x = GetRunningPrebuildRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetRunningPrebuildRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetRunningPrebuildRequest) ProtoMessage() {}
func (x *GetRunningPrebuildRequest) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 GetRunningPrebuildRequest.ProtoReflect.Descriptor instead.
func (*GetRunningPrebuildRequest) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{2}
}
func (x *GetRunningPrebuildRequest) GetContextUrl() string {
if x != nil {
return x.ContextUrl
}
return ""
}
type GetRunningPrebuildResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Prebuild *Prebuild `protobuf:"bytes,1,opt,name=prebuild,proto3" json:"prebuild,omitempty"`
}
func (x *GetRunningPrebuildResponse) Reset() {
*x = GetRunningPrebuildResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetRunningPrebuildResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetRunningPrebuildResponse) ProtoMessage() {}
func (x *GetRunningPrebuildResponse) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 GetRunningPrebuildResponse.ProtoReflect.Descriptor instead.
func (*GetRunningPrebuildResponse) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{3}
}
func (x *GetRunningPrebuildResponse) GetPrebuild() *Prebuild {
if x != nil {
return x.Prebuild
}
return nil
}
type ListenToPrebuildStatusRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PrebuildId string `protobuf:"bytes,1,opt,name=prebuild_id,json=prebuildId,proto3" json:"prebuild_id,omitempty"`
}
func (x *ListenToPrebuildStatusRequest) Reset() {
*x = ListenToPrebuildStatusRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListenToPrebuildStatusRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListenToPrebuildStatusRequest) ProtoMessage() {}
func (x *ListenToPrebuildStatusRequest) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 ListenToPrebuildStatusRequest.ProtoReflect.Descriptor instead.
func (*ListenToPrebuildStatusRequest) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{4}
}
func (x *ListenToPrebuildStatusRequest) GetPrebuildId() string {
if x != nil {
return x.PrebuildId
}
return ""
}
type ListenToPrebuildStatusResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Status *PrebuildStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
}
func (x *ListenToPrebuildStatusResponse) Reset() {
*x = ListenToPrebuildStatusResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListenToPrebuildStatusResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListenToPrebuildStatusResponse) ProtoMessage() {}
func (x *ListenToPrebuildStatusResponse) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 ListenToPrebuildStatusResponse.ProtoReflect.Descriptor instead.
func (*ListenToPrebuildStatusResponse) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{5}
}
func (x *ListenToPrebuildStatusResponse) GetStatus() *PrebuildStatus {
if x != nil {
return x.Status
}
return nil
}
type ListenToPrebuildLogsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PrebuildId string `protobuf:"bytes,1,opt,name=prebuild_id,json=prebuildId,proto3" json:"prebuild_id,omitempty"`
}
func (x *ListenToPrebuildLogsRequest) Reset() {
*x = ListenToPrebuildLogsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListenToPrebuildLogsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListenToPrebuildLogsRequest) ProtoMessage() {}
func (x *ListenToPrebuildLogsRequest) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 ListenToPrebuildLogsRequest.ProtoReflect.Descriptor instead.
func (*ListenToPrebuildLogsRequest) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{6}
}
func (x *ListenToPrebuildLogsRequest) GetPrebuildId() string {
if x != nil {
return x.PrebuildId
}
return ""
}
type ListenToPrebuildLogsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Line string `protobuf:"bytes,1,opt,name=line,proto3" json:"line,omitempty"`
}
func (x *ListenToPrebuildLogsResponse) Reset() {
*x = ListenToPrebuildLogsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListenToPrebuildLogsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListenToPrebuildLogsResponse) ProtoMessage() {}
func (x *ListenToPrebuildLogsResponse) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 ListenToPrebuildLogsResponse.ProtoReflect.Descriptor instead.
func (*ListenToPrebuildLogsResponse) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{7}
}
func (x *ListenToPrebuildLogsResponse) GetLine() string {
if x != nil {
return x.Line
}
return ""
}
// Prebuild describes a prebuild
type Prebuild struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PrebuildId string `protobuf:"bytes,1,opt,name=prebuild_id,json=prebuildId,proto3" json:"prebuild_id,omitempty"`
Spec *PrebuildSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
Status *PrebuildStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
}
func (x *Prebuild) Reset() {
*x = Prebuild{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Prebuild) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Prebuild) ProtoMessage() {}
func (x *Prebuild) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 Prebuild.ProtoReflect.Descriptor instead.
func (*Prebuild) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{8}
}
func (x *Prebuild) GetPrebuildId() string {
if x != nil {
return x.PrebuildId
}
return ""
}
func (x *Prebuild) GetSpec() *PrebuildSpec {
if x != nil {
return x.Spec
}
return nil
}
func (x *Prebuild) GetStatus() *PrebuildStatus {
if x != nil {
return x.Status
}
return nil
}
// PrebuildSpec specifies the prebuild input.
type PrebuildSpec struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Context *WorkspaceContext `protobuf:"bytes,1,opt,name=context,proto3" json:"context,omitempty"`
// Incremental prebuilds are based on other prebuilds. If this field is true,
// expect the context detail to point to another prebuild.
Incremental bool `protobuf:"varint,2,opt,name=incremental,proto3" json:"incremental,omitempty"`
}
func (x *PrebuildSpec) Reset() {
*x = PrebuildSpec{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PrebuildSpec) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PrebuildSpec) ProtoMessage() {}
func (x *PrebuildSpec) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 PrebuildSpec.ProtoReflect.Descriptor instead.
func (*PrebuildSpec) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{9}
}
func (x *PrebuildSpec) GetContext() *WorkspaceContext {
if x != nil {
return x.Context
}
return nil
}
func (x *PrebuildSpec) GetIncremental() bool {
if x != nil {
return x.Incremental
}
return false
}
// PrebuildStatus describes the prebuild status.
type PrebuildStatus struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Phase is the prebuild phase we're in
Phase PrebuildStatus_Phase `protobuf:"varint,1,opt,name=phase,proto3,enum=gitpod.v1.PrebuildStatus_Phase" json:"phase,omitempty"`
// Result indicates what result the prebuild produced, i.e. if it ran
// successfully or failed for some reason. If phase != done, this field
// will have RESULT_UNSPECIFIED as value.
Result PrebuildStatus_Result `protobuf:"varint,2,opt,name=result,proto3,enum=gitpod.v1.PrebuildStatus_Result" json:"result,omitempty"`
// result_message contains a human readable message describing the prebuild
// result. E.g. if teh result is SYSTEM_FAILURE, the message describes what
// that failure was.
ResultMessage string `protobuf:"bytes,3,opt,name=result_message,json=resultMessage,proto3" json:"result_message,omitempty"`
}
func (x *PrebuildStatus) Reset() {
*x = PrebuildStatus{}
if protoimpl.UnsafeEnabled {
mi := &file_gitpod_v1_prebuilds_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PrebuildStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PrebuildStatus) ProtoMessage() {}
func (x *PrebuildStatus) ProtoReflect() protoreflect.Message {
mi := &file_gitpod_v1_prebuilds_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 PrebuildStatus.ProtoReflect.Descriptor instead.
func (*PrebuildStatus) Descriptor() ([]byte, []int) {
return file_gitpod_v1_prebuilds_proto_rawDescGZIP(), []int{10}
}
func (x *PrebuildStatus) GetPhase() PrebuildStatus_Phase {
if x != nil {
return x.Phase
}
return PrebuildStatus_PHASE_UNSPECIFIED
}
func (x *PrebuildStatus) GetResult() PrebuildStatus_Result {
if x != nil {
return x.Result
}
return PrebuildStatus_RESULT_UNSPECIFIED
}
func (x *PrebuildStatus) GetResultMessage() string {
if x != nil {
return x.ResultMessage
}
return ""
}
var File_gitpod_v1_prebuilds_proto protoreflect.FileDescriptor
var file_gitpod_v1_prebuilds_proto_rawDesc = []byte{
0x0a, 0x19, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x72, 0x65, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x67, 0x69, 0x74,
0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x1a, 0x1a, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2f, 0x76,
0x31, 0x2f, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x22, 0x35, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c,
0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70,
0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x46, 0x0a, 0x13, 0x47, 0x65, 0x74,
0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x2f, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50,
0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c,
0x64, 0x22, 0x3c, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x50,
0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f,
0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x72, 0x6c, 0x22,
0x4d, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65,
0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a,
0x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x13, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x52, 0x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x22, 0x40,
0x0a, 0x1d, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69,
0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64,
0x22, 0x53, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x50, 0x72, 0x65, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x12, 0x31, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50,
0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73,
0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x3e, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54,
0x6f, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64,
0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x62, 0x75,
0x69, 0x6c, 0x64, 0x49, 0x64, 0x22, 0x32, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54,
0x6f, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x8b, 0x01, 0x0a, 0x08, 0x50, 0x72,
0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69,
0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x65,
0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x2b, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18,
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76,
0x31, 0x2e, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04,
0x73, 0x70, 0x65, 0x63, 0x12, 0x31, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
0x2e, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x67, 0x0a, 0x0c, 0x50, 0x72, 0x65, 0x62, 0x75,
0x69, 0x6c, 0x64, 0x53, 0x70, 0x65, 0x63, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f,
0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x20,
0x0a, 0x0b, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x18, 0x02, 0x20,
0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c,
0x22, 0x83, 0x03, 0x0a, 0x0e, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61,
0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50,
0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x50, 0x68,
0x61, 0x73, 0x65, 0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x06, 0x72, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x20, 0x2e, 0x67, 0x69, 0x74,
0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53,
0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x52, 0x06, 0x72, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x6d,
0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x54, 0x0a, 0x05, 0x50,
0x68, 0x61, 0x73, 0x65, 0x12, 0x15, 0x0a, 0x11, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f, 0x55, 0x4e,
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x50,
0x48, 0x41, 0x53, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x11,
0x0a, 0x0d, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10,
0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f, 0x44, 0x4f, 0x4e, 0x45, 0x10,
0x03, 0x22, 0x82, 0x01, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x12,
0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x53,
0x55, 0x43, 0x43, 0x45, 0x53, 0x53, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x52, 0x45, 0x53, 0x55,
0x4c, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45, 0x44,
0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x53, 0x59, 0x53,
0x54, 0x45, 0x4d, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x55, 0x52, 0x45, 0x10, 0x03, 0x12, 0x17, 0x0a,
0x13, 0x52, 0x45, 0x53, 0x55, 0x4c, 0x54, 0x5f, 0x54, 0x41, 0x53, 0x4b, 0x5f, 0x46, 0x41, 0x49,
0x4c, 0x55, 0x52, 0x45, 0x10, 0x04, 0x32, 0xa7, 0x03, 0x0a, 0x10, 0x50, 0x72, 0x65, 0x62, 0x75,
0x69, 0x6c, 0x64, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4e, 0x0a, 0x0b, 0x47,
0x65, 0x74, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x1d, 0x2e, 0x67, 0x69, 0x74,
0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69,
0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x69, 0x74, 0x70,
0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c,
0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x12, 0x47,
0x65, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c,
0x64, 0x12, 0x24, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x72,
0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x71, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x50, 0x72, 0x65, 0x62,
0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x69, 0x74,
0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x50,
0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c,
0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
0x00, 0x30, 0x01, 0x12, 0x6b, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x50,
0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x12, 0x26, 0x2e, 0x67, 0x69,
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f,
0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75,
0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64,
0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01,
0x42, 0x2b, 0x5a, 0x29, 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,
0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_gitpod_v1_prebuilds_proto_rawDescOnce sync.Once
file_gitpod_v1_prebuilds_proto_rawDescData = file_gitpod_v1_prebuilds_proto_rawDesc
)
func file_gitpod_v1_prebuilds_proto_rawDescGZIP() []byte {
file_gitpod_v1_prebuilds_proto_rawDescOnce.Do(func() {
file_gitpod_v1_prebuilds_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_v1_prebuilds_proto_rawDescData)
})
return file_gitpod_v1_prebuilds_proto_rawDescData
}
var file_gitpod_v1_prebuilds_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_gitpod_v1_prebuilds_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_gitpod_v1_prebuilds_proto_goTypes = []interface{}{
(PrebuildStatus_Phase)(0), // 0: gitpod.v1.PrebuildStatus.Phase
(PrebuildStatus_Result)(0), // 1: gitpod.v1.PrebuildStatus.Result
(*GetPrebuildRequest)(nil), // 2: gitpod.v1.GetPrebuildRequest
(*GetPrebuildResponse)(nil), // 3: gitpod.v1.GetPrebuildResponse
(*GetRunningPrebuildRequest)(nil), // 4: gitpod.v1.GetRunningPrebuildRequest
(*GetRunningPrebuildResponse)(nil), // 5: gitpod.v1.GetRunningPrebuildResponse
(*ListenToPrebuildStatusRequest)(nil), // 6: gitpod.v1.ListenToPrebuildStatusRequest
(*ListenToPrebuildStatusResponse)(nil), // 7: gitpod.v1.ListenToPrebuildStatusResponse
(*ListenToPrebuildLogsRequest)(nil), // 8: gitpod.v1.ListenToPrebuildLogsRequest
(*ListenToPrebuildLogsResponse)(nil), // 9: gitpod.v1.ListenToPrebuildLogsResponse
(*Prebuild)(nil), // 10: gitpod.v1.Prebuild
(*PrebuildSpec)(nil), // 11: gitpod.v1.PrebuildSpec
(*PrebuildStatus)(nil), // 12: gitpod.v1.PrebuildStatus
(*WorkspaceContext)(nil), // 13: gitpod.v1.WorkspaceContext
}
var file_gitpod_v1_prebuilds_proto_depIdxs = []int32{
10, // 0: gitpod.v1.GetPrebuildResponse.prebuild:type_name -> gitpod.v1.Prebuild
10, // 1: gitpod.v1.GetRunningPrebuildResponse.prebuild:type_name -> gitpod.v1.Prebuild
12, // 2: gitpod.v1.ListenToPrebuildStatusResponse.status:type_name -> gitpod.v1.PrebuildStatus
11, // 3: gitpod.v1.Prebuild.spec:type_name -> gitpod.v1.PrebuildSpec
12, // 4: gitpod.v1.Prebuild.status:type_name -> gitpod.v1.PrebuildStatus
13, // 5: gitpod.v1.PrebuildSpec.context:type_name -> gitpod.v1.WorkspaceContext
0, // 6: gitpod.v1.PrebuildStatus.phase:type_name -> gitpod.v1.PrebuildStatus.Phase
1, // 7: gitpod.v1.PrebuildStatus.result:type_name -> gitpod.v1.PrebuildStatus.Result
2, // 8: gitpod.v1.PrebuildsService.GetPrebuild:input_type -> gitpod.v1.GetPrebuildRequest
4, // 9: gitpod.v1.PrebuildsService.GetRunningPrebuild:input_type -> gitpod.v1.GetRunningPrebuildRequest
6, // 10: gitpod.v1.PrebuildsService.ListenToPrebuildStatus:input_type -> gitpod.v1.ListenToPrebuildStatusRequest
8, // 11: gitpod.v1.PrebuildsService.ListenToPrebuildLogs:input_type -> gitpod.v1.ListenToPrebuildLogsRequest
3, // 12: gitpod.v1.PrebuildsService.GetPrebuild:output_type -> gitpod.v1.GetPrebuildResponse
5, // 13: gitpod.v1.PrebuildsService.GetRunningPrebuild:output_type -> gitpod.v1.GetRunningPrebuildResponse
7, // 14: gitpod.v1.PrebuildsService.ListenToPrebuildStatus:output_type -> gitpod.v1.ListenToPrebuildStatusResponse
9, // 15: gitpod.v1.PrebuildsService.ListenToPrebuildLogs:output_type -> gitpod.v1.ListenToPrebuildLogsResponse
12, // [12:16] is the sub-list for method output_type
8, // [8:12] is the sub-list for method input_type
8, // [8:8] is the sub-list for extension type_name
8, // [8:8] is the sub-list for extension extendee
0, // [0:8] is the sub-list for field type_name
}
func init() { file_gitpod_v1_prebuilds_proto_init() }
func file_gitpod_v1_prebuilds_proto_init() {
if File_gitpod_v1_prebuilds_proto != nil {
return
}
file_gitpod_v1_workspaces_proto_init()
if !protoimpl.UnsafeEnabled {
file_gitpod_v1_prebuilds_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetPrebuildRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_prebuilds_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetPrebuildResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_prebuilds_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetRunningPrebuildRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_prebuilds_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetRunningPrebuildResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_prebuilds_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListenToPrebuildStatusRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_prebuilds_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListenToPrebuildStatusResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_prebuilds_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListenToPrebuildLogsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_prebuilds_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListenToPrebuildLogsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_prebuilds_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Prebuild); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_prebuilds_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PrebuildSpec); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_gitpod_v1_prebuilds_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PrebuildStatus); 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_gitpod_v1_prebuilds_proto_rawDesc,
NumEnums: 2,
NumMessages: 11,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_gitpod_v1_prebuilds_proto_goTypes,
DependencyIndexes: file_gitpod_v1_prebuilds_proto_depIdxs,
EnumInfos: file_gitpod_v1_prebuilds_proto_enumTypes,
MessageInfos: file_gitpod_v1_prebuilds_proto_msgTypes,
}.Build()
File_gitpod_v1_prebuilds_proto = out.File
file_gitpod_v1_prebuilds_proto_rawDesc = nil
file_gitpod_v1_prebuilds_proto_goTypes = nil
file_gitpod_v1_prebuilds_proto_depIdxs = nil
}