mirror of
https://github.com/gitpod-io/gitpod.git
synced 2025-12-08 17:36:30 +00:00
2710 lines
105 KiB
Go
2710 lines
105 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/workspaces.proto
|
|
|
|
package v1
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
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)
|
|
)
|
|
|
|
// Admission level describes who can access a workspace instance and its ports.
|
|
type AdmissionLevel int32
|
|
|
|
const (
|
|
AdmissionLevel_ADMISSION_LEVEL_UNSPECIFIED AdmissionLevel = 0
|
|
// ADMISSION_LEVEL_OWNER_ONLY means the workspace can only be accessed using the owner token
|
|
AdmissionLevel_ADMISSION_LEVEL_OWNER_ONLY AdmissionLevel = 1
|
|
// ADMISSION_LEVEL_EVERYONE means the workspace (including ports) can be accessed by everyone.
|
|
AdmissionLevel_ADMISSION_LEVEL_EVERYONE AdmissionLevel = 2
|
|
)
|
|
|
|
// Enum value maps for AdmissionLevel.
|
|
var (
|
|
AdmissionLevel_name = map[int32]string{
|
|
0: "ADMISSION_LEVEL_UNSPECIFIED",
|
|
1: "ADMISSION_LEVEL_OWNER_ONLY",
|
|
2: "ADMISSION_LEVEL_EVERYONE",
|
|
}
|
|
AdmissionLevel_value = map[string]int32{
|
|
"ADMISSION_LEVEL_UNSPECIFIED": 0,
|
|
"ADMISSION_LEVEL_OWNER_ONLY": 1,
|
|
"ADMISSION_LEVEL_EVERYONE": 2,
|
|
}
|
|
)
|
|
|
|
func (x AdmissionLevel) Enum() *AdmissionLevel {
|
|
p := new(AdmissionLevel)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x AdmissionLevel) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (AdmissionLevel) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_gitpod_v1_workspaces_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (AdmissionLevel) Type() protoreflect.EnumType {
|
|
return &file_gitpod_v1_workspaces_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x AdmissionLevel) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use AdmissionLevel.Descriptor instead.
|
|
func (AdmissionLevel) EnumDescriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
// Phase is a simple, high-level summary of where the workspace instance is in its lifecycle.
|
|
// The phase is not intended to be a comprehensive rollup of observations of the workspace state,
|
|
// nor is it intended to be a comprehensive state machine.
|
|
// (based on https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase)
|
|
type WorkspaceInstanceStatus_Phase int32
|
|
|
|
const (
|
|
// Unknown indicates an issue within the workspace manager in that it cannot determine the actual phase of
|
|
// a workspace. This phase is usually accompanied by an error.
|
|
WorkspaceInstanceStatus_PHASE_UNSPECIFIED WorkspaceInstanceStatus_Phase = 0
|
|
// ImageBuild indicates that there's an image build running for this workspace.
|
|
WorkspaceInstanceStatus_PHASE_IMAGEBUILD WorkspaceInstanceStatus_Phase = 1
|
|
// Pending means the workspace does not yet consume resources in the cluster, but rather is looking for
|
|
// some space within the cluster. If for example the cluster needs to scale up to accomodate the
|
|
// workspace, the workspace will be in Pending state until that happened.
|
|
WorkspaceInstanceStatus_PHASE_PENDING WorkspaceInstanceStatus_Phase = 2
|
|
// Creating means the workspace is currently being created. That includes downloading the images required
|
|
// to run the workspace over the network. The time spent in this phase varies widely and depends on the current
|
|
// network speed, image size and cache states.
|
|
WorkspaceInstanceStatus_PHASE_CREATING WorkspaceInstanceStatus_Phase = 3
|
|
// Initializing is the phase in which the workspace is executing the appropriate workspace initializer (e.g. Git
|
|
// clone or backup download). After this phase one can expect the workspace to either be Running or Failed.
|
|
WorkspaceInstanceStatus_PHASE_INITIALIZING WorkspaceInstanceStatus_Phase = 4
|
|
// Running means the workspace is able to actively perform work, either by serving a user through Theia,
|
|
// or as a headless workspace.
|
|
WorkspaceInstanceStatus_PHASE_RUNNING WorkspaceInstanceStatus_Phase = 5
|
|
// Interrupted is an exceptional state where the container should be running but is temporarily unavailable.
|
|
// When in this state, we expect it to become running or stopping anytime soon.
|
|
WorkspaceInstanceStatus_PHASE_INTERRUPTED WorkspaceInstanceStatus_Phase = 6
|
|
// Stopping means that the workspace is currently shutting down. It could go to stopped every moment.
|
|
WorkspaceInstanceStatus_PHASE_STOPPING WorkspaceInstanceStatus_Phase = 7
|
|
// Stopped means the workspace ended regularly because it was shut down.
|
|
WorkspaceInstanceStatus_PHASE_STOPPED WorkspaceInstanceStatus_Phase = 8
|
|
)
|
|
|
|
// Enum value maps for WorkspaceInstanceStatus_Phase.
|
|
var (
|
|
WorkspaceInstanceStatus_Phase_name = map[int32]string{
|
|
0: "PHASE_UNSPECIFIED",
|
|
1: "PHASE_IMAGEBUILD",
|
|
2: "PHASE_PENDING",
|
|
3: "PHASE_CREATING",
|
|
4: "PHASE_INITIALIZING",
|
|
5: "PHASE_RUNNING",
|
|
6: "PHASE_INTERRUPTED",
|
|
7: "PHASE_STOPPING",
|
|
8: "PHASE_STOPPED",
|
|
}
|
|
WorkspaceInstanceStatus_Phase_value = map[string]int32{
|
|
"PHASE_UNSPECIFIED": 0,
|
|
"PHASE_IMAGEBUILD": 1,
|
|
"PHASE_PENDING": 2,
|
|
"PHASE_CREATING": 3,
|
|
"PHASE_INITIALIZING": 4,
|
|
"PHASE_RUNNING": 5,
|
|
"PHASE_INTERRUPTED": 6,
|
|
"PHASE_STOPPING": 7,
|
|
"PHASE_STOPPED": 8,
|
|
}
|
|
)
|
|
|
|
func (x WorkspaceInstanceStatus_Phase) Enum() *WorkspaceInstanceStatus_Phase {
|
|
p := new(WorkspaceInstanceStatus_Phase)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x WorkspaceInstanceStatus_Phase) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (WorkspaceInstanceStatus_Phase) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_gitpod_v1_workspaces_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (WorkspaceInstanceStatus_Phase) Type() protoreflect.EnumType {
|
|
return &file_gitpod_v1_workspaces_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x WorkspaceInstanceStatus_Phase) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use WorkspaceInstanceStatus_Phase.Descriptor instead.
|
|
func (WorkspaceInstanceStatus_Phase) EnumDescriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{23, 0}
|
|
}
|
|
|
|
type ListWorkspacesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Pagination *Pagination `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
|
|
FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
|
|
}
|
|
|
|
func (x *ListWorkspacesRequest) Reset() {
|
|
*x = ListWorkspacesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListWorkspacesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListWorkspacesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListWorkspacesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 ListWorkspacesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListWorkspacesRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ListWorkspacesRequest) GetPagination() *Pagination {
|
|
if x != nil {
|
|
return x.Pagination
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListWorkspacesRequest) GetFieldMask() *fieldmaskpb.FieldMask {
|
|
if x != nil {
|
|
return x.FieldMask
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListWorkspacesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
|
|
Result []*ListWorkspacesResponse_WorkspaceAndInstance `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty"`
|
|
}
|
|
|
|
func (x *ListWorkspacesResponse) Reset() {
|
|
*x = ListWorkspacesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListWorkspacesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListWorkspacesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListWorkspacesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 ListWorkspacesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListWorkspacesResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ListWorkspacesResponse) GetNextPageToken() string {
|
|
if x != nil {
|
|
return x.NextPageToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListWorkspacesResponse) GetResult() []*ListWorkspacesResponse_WorkspaceAndInstance {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetWorkspaceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetWorkspaceRequest) Reset() {
|
|
*x = GetWorkspaceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetWorkspaceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetWorkspaceRequest) ProtoMessage() {}
|
|
|
|
func (x *GetWorkspaceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 GetWorkspaceRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetWorkspaceRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *GetWorkspaceRequest) GetWorkspaceId() string {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetWorkspaceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Result *Workspace `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
|
|
}
|
|
|
|
func (x *GetWorkspaceResponse) Reset() {
|
|
*x = GetWorkspaceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetWorkspaceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetWorkspaceResponse) ProtoMessage() {}
|
|
|
|
func (x *GetWorkspaceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 GetWorkspaceResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetWorkspaceResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetWorkspaceResponse) GetResult() *Workspace {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetOwnerTokenRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetOwnerTokenRequest) Reset() {
|
|
*x = GetOwnerTokenRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetOwnerTokenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOwnerTokenRequest) ProtoMessage() {}
|
|
|
|
func (x *GetOwnerTokenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 GetOwnerTokenRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetOwnerTokenRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetOwnerTokenRequest) GetWorkspaceId() string {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetOwnerTokenResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
|
|
}
|
|
|
|
func (x *GetOwnerTokenResponse) Reset() {
|
|
*x = GetOwnerTokenResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetOwnerTokenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetOwnerTokenResponse) ProtoMessage() {}
|
|
|
|
func (x *GetOwnerTokenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 GetOwnerTokenResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetOwnerTokenResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetOwnerTokenResponse) GetToken() string {
|
|
if x != nil {
|
|
return x.Token
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type CreateAndStartWorkspaceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IdempotencyToken string `protobuf:"bytes,1,opt,name=idempotency_token,json=idempotencyToken,proto3" json:"idempotency_token,omitempty"`
|
|
// Types that are assignable to Source:
|
|
// *CreateAndStartWorkspaceRequest_ContextUrl
|
|
// *CreateAndStartWorkspaceRequest_PrebuildId
|
|
Source isCreateAndStartWorkspaceRequest_Source `protobuf_oneof:"source"`
|
|
StartSpec *StartWorkspaceSpec `protobuf:"bytes,5,opt,name=start_spec,json=startSpec,proto3" json:"start_spec,omitempty"`
|
|
}
|
|
|
|
func (x *CreateAndStartWorkspaceRequest) Reset() {
|
|
*x = CreateAndStartWorkspaceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateAndStartWorkspaceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateAndStartWorkspaceRequest) ProtoMessage() {}
|
|
|
|
func (x *CreateAndStartWorkspaceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 CreateAndStartWorkspaceRequest.ProtoReflect.Descriptor instead.
|
|
func (*CreateAndStartWorkspaceRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *CreateAndStartWorkspaceRequest) GetIdempotencyToken() string {
|
|
if x != nil {
|
|
return x.IdempotencyToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *CreateAndStartWorkspaceRequest) GetSource() isCreateAndStartWorkspaceRequest_Source {
|
|
if m != nil {
|
|
return m.Source
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CreateAndStartWorkspaceRequest) GetContextUrl() string {
|
|
if x, ok := x.GetSource().(*CreateAndStartWorkspaceRequest_ContextUrl); ok {
|
|
return x.ContextUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAndStartWorkspaceRequest) GetPrebuildId() string {
|
|
if x, ok := x.GetSource().(*CreateAndStartWorkspaceRequest_PrebuildId); ok {
|
|
return x.PrebuildId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CreateAndStartWorkspaceRequest) GetStartSpec() *StartWorkspaceSpec {
|
|
if x != nil {
|
|
return x.StartSpec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isCreateAndStartWorkspaceRequest_Source interface {
|
|
isCreateAndStartWorkspaceRequest_Source()
|
|
}
|
|
|
|
type CreateAndStartWorkspaceRequest_ContextUrl struct {
|
|
ContextUrl string `protobuf:"bytes,2,opt,name=context_url,json=contextUrl,proto3,oneof"`
|
|
}
|
|
|
|
type CreateAndStartWorkspaceRequest_PrebuildId struct {
|
|
PrebuildId string `protobuf:"bytes,3,opt,name=prebuild_id,json=prebuildId,proto3,oneof"`
|
|
}
|
|
|
|
func (*CreateAndStartWorkspaceRequest_ContextUrl) isCreateAndStartWorkspaceRequest_Source() {}
|
|
|
|
func (*CreateAndStartWorkspaceRequest_PrebuildId) isCreateAndStartWorkspaceRequest_Source() {}
|
|
|
|
type CreateAndStartWorkspaceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
}
|
|
|
|
func (x *CreateAndStartWorkspaceResponse) Reset() {
|
|
*x = CreateAndStartWorkspaceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CreateAndStartWorkspaceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CreateAndStartWorkspaceResponse) ProtoMessage() {}
|
|
|
|
func (x *CreateAndStartWorkspaceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 CreateAndStartWorkspaceResponse.ProtoReflect.Descriptor instead.
|
|
func (*CreateAndStartWorkspaceResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *CreateAndStartWorkspaceResponse) GetWorkspaceId() string {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StartWorkspaceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IdempotencyToken string `protobuf:"bytes,1,opt,name=idempotency_token,json=idempotencyToken,proto3" json:"idempotency_token,omitempty"`
|
|
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
Spec *StartWorkspaceSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
|
|
}
|
|
|
|
func (x *StartWorkspaceRequest) Reset() {
|
|
*x = StartWorkspaceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StartWorkspaceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartWorkspaceRequest) ProtoMessage() {}
|
|
|
|
func (x *StartWorkspaceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 StartWorkspaceRequest.ProtoReflect.Descriptor instead.
|
|
func (*StartWorkspaceRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *StartWorkspaceRequest) GetIdempotencyToken() string {
|
|
if x != nil {
|
|
return x.IdempotencyToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartWorkspaceRequest) GetWorkspaceId() string {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartWorkspaceRequest) GetSpec() *StartWorkspaceSpec {
|
|
if x != nil {
|
|
return x.Spec
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type StartWorkspaceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
|
|
WorkspaceUrl string `protobuf:"bytes,2,opt,name=workspace_url,json=workspaceUrl,proto3" json:"workspace_url,omitempty"`
|
|
}
|
|
|
|
func (x *StartWorkspaceResponse) Reset() {
|
|
*x = StartWorkspaceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StartWorkspaceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartWorkspaceResponse) ProtoMessage() {}
|
|
|
|
func (x *StartWorkspaceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 StartWorkspaceResponse.ProtoReflect.Descriptor instead.
|
|
func (*StartWorkspaceResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *StartWorkspaceResponse) GetInstanceId() string {
|
|
if x != nil {
|
|
return x.InstanceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StartWorkspaceResponse) GetWorkspaceUrl() string {
|
|
if x != nil {
|
|
return x.WorkspaceUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetActiveWorkspaceInstanceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetActiveWorkspaceInstanceRequest) Reset() {
|
|
*x = GetActiveWorkspaceInstanceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetActiveWorkspaceInstanceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetActiveWorkspaceInstanceRequest) ProtoMessage() {}
|
|
|
|
func (x *GetActiveWorkspaceInstanceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 GetActiveWorkspaceInstanceRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetActiveWorkspaceInstanceRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *GetActiveWorkspaceInstanceRequest) GetWorkspaceId() string {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetActiveWorkspaceInstanceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Instance *WorkspaceInstance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
|
|
}
|
|
|
|
func (x *GetActiveWorkspaceInstanceResponse) Reset() {
|
|
*x = GetActiveWorkspaceInstanceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetActiveWorkspaceInstanceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetActiveWorkspaceInstanceResponse) ProtoMessage() {}
|
|
|
|
func (x *GetActiveWorkspaceInstanceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 GetActiveWorkspaceInstanceResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetActiveWorkspaceInstanceResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *GetActiveWorkspaceInstanceResponse) GetInstance() *WorkspaceInstance {
|
|
if x != nil {
|
|
return x.Instance
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetWorkspaceInstanceOwnerTokenRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
|
|
}
|
|
|
|
func (x *GetWorkspaceInstanceOwnerTokenRequest) Reset() {
|
|
*x = GetWorkspaceInstanceOwnerTokenRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetWorkspaceInstanceOwnerTokenRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetWorkspaceInstanceOwnerTokenRequest) ProtoMessage() {}
|
|
|
|
func (x *GetWorkspaceInstanceOwnerTokenRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 GetWorkspaceInstanceOwnerTokenRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetWorkspaceInstanceOwnerTokenRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *GetWorkspaceInstanceOwnerTokenRequest) GetInstanceId() string {
|
|
if x != nil {
|
|
return x.InstanceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type GetWorkspaceInstanceOwnerTokenResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
OwnerToken string `protobuf:"bytes,1,opt,name=owner_token,json=ownerToken,proto3" json:"owner_token,omitempty"`
|
|
}
|
|
|
|
func (x *GetWorkspaceInstanceOwnerTokenResponse) Reset() {
|
|
*x = GetWorkspaceInstanceOwnerTokenResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *GetWorkspaceInstanceOwnerTokenResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetWorkspaceInstanceOwnerTokenResponse) ProtoMessage() {}
|
|
|
|
func (x *GetWorkspaceInstanceOwnerTokenResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 GetWorkspaceInstanceOwnerTokenResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetWorkspaceInstanceOwnerTokenResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *GetWorkspaceInstanceOwnerTokenResponse) GetOwnerToken() string {
|
|
if x != nil {
|
|
return x.OwnerToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListenToWorkspaceInstanceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
|
|
}
|
|
|
|
func (x *ListenToWorkspaceInstanceRequest) Reset() {
|
|
*x = ListenToWorkspaceInstanceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListenToWorkspaceInstanceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListenToWorkspaceInstanceRequest) ProtoMessage() {}
|
|
|
|
func (x *ListenToWorkspaceInstanceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 ListenToWorkspaceInstanceRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListenToWorkspaceInstanceRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *ListenToWorkspaceInstanceRequest) GetInstanceId() string {
|
|
if x != nil {
|
|
return x.InstanceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListenToWorkspaceInstanceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
InstanceStatus *WorkspaceInstanceStatus `protobuf:"bytes,1,opt,name=instance_status,json=instanceStatus,proto3" json:"instance_status,omitempty"`
|
|
}
|
|
|
|
func (x *ListenToWorkspaceInstanceResponse) Reset() {
|
|
*x = ListenToWorkspaceInstanceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[15]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListenToWorkspaceInstanceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListenToWorkspaceInstanceResponse) ProtoMessage() {}
|
|
|
|
func (x *ListenToWorkspaceInstanceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 ListenToWorkspaceInstanceResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListenToWorkspaceInstanceResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{15}
|
|
}
|
|
|
|
func (x *ListenToWorkspaceInstanceResponse) GetInstanceStatus() *WorkspaceInstanceStatus {
|
|
if x != nil {
|
|
return x.InstanceStatus
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListenToImageBuildLogsRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
|
|
}
|
|
|
|
func (x *ListenToImageBuildLogsRequest) Reset() {
|
|
*x = ListenToImageBuildLogsRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[16]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListenToImageBuildLogsRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListenToImageBuildLogsRequest) ProtoMessage() {}
|
|
|
|
func (x *ListenToImageBuildLogsRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 ListenToImageBuildLogsRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListenToImageBuildLogsRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{16}
|
|
}
|
|
|
|
func (x *ListenToImageBuildLogsRequest) GetInstanceId() string {
|
|
if x != nil {
|
|
return x.InstanceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListenToImageBuildLogsResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Line string `protobuf:"bytes,1,opt,name=line,proto3" json:"line,omitempty"`
|
|
}
|
|
|
|
func (x *ListenToImageBuildLogsResponse) Reset() {
|
|
*x = ListenToImageBuildLogsResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[17]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListenToImageBuildLogsResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListenToImageBuildLogsResponse) ProtoMessage() {}
|
|
|
|
func (x *ListenToImageBuildLogsResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_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 ListenToImageBuildLogsResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListenToImageBuildLogsResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{17}
|
|
}
|
|
|
|
func (x *ListenToImageBuildLogsResponse) GetLine() string {
|
|
if x != nil {
|
|
return x.Line
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StopWorkspaceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
IdempotencyToken string `protobuf:"bytes,1,opt,name=idempotency_token,json=idempotencyToken,proto3" json:"idempotency_token,omitempty"`
|
|
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
}
|
|
|
|
func (x *StopWorkspaceRequest) Reset() {
|
|
*x = StopWorkspaceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[18]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StopWorkspaceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StopWorkspaceRequest) ProtoMessage() {}
|
|
|
|
func (x *StopWorkspaceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[18]
|
|
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 StopWorkspaceRequest.ProtoReflect.Descriptor instead.
|
|
func (*StopWorkspaceRequest) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{18}
|
|
}
|
|
|
|
func (x *StopWorkspaceRequest) GetIdempotencyToken() string {
|
|
if x != nil {
|
|
return x.IdempotencyToken
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *StopWorkspaceRequest) GetWorkspaceId() string {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type StopWorkspaceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *StopWorkspaceResponse) Reset() {
|
|
*x = StopWorkspaceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[19]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StopWorkspaceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StopWorkspaceResponse) ProtoMessage() {}
|
|
|
|
func (x *StopWorkspaceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[19]
|
|
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 StopWorkspaceResponse.ProtoReflect.Descriptor instead.
|
|
func (*StopWorkspaceResponse) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{19}
|
|
}
|
|
|
|
// Workspace describes a single workspace
|
|
type Workspace struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// workspace_id is the ID of the workspace
|
|
WorkspaceId string `protobuf:"bytes,1,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
// owner_id is the ID of the user who created this workspace
|
|
OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`
|
|
// project_id is the ID of the project which this workspace belongs to
|
|
ProjectId string `protobuf:"bytes,3,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
|
|
// context reports the original context the workspace was created from
|
|
Context *WorkspaceContext `protobuf:"bytes,4,opt,name=context,proto3" json:"context,omitempty"`
|
|
// description is a human readable description of the workspace
|
|
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
|
|
}
|
|
|
|
func (x *Workspace) Reset() {
|
|
*x = Workspace{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[20]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Workspace) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Workspace) ProtoMessage() {}
|
|
|
|
func (x *Workspace) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[20]
|
|
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 Workspace.ProtoReflect.Descriptor instead.
|
|
func (*Workspace) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{20}
|
|
}
|
|
|
|
func (x *Workspace) GetWorkspaceId() string {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Workspace) GetOwnerId() string {
|
|
if x != nil {
|
|
return x.OwnerId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Workspace) GetProjectId() string {
|
|
if x != nil {
|
|
return x.ProjectId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Workspace) GetContext() *WorkspaceContext {
|
|
if x != nil {
|
|
return x.Context
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Workspace) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// WorkspaceContext describes the context a workspace was created from
|
|
type WorkspaceContext struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// All workspace context originates from a URL - this is the context URL
|
|
// which led to the creation of a workspace.
|
|
ContextUrl string `protobuf:"bytes,1,opt,name=context_url,json=contextUrl,proto3" json:"context_url,omitempty"`
|
|
// Types that are assignable to Details:
|
|
// *WorkspaceContext_Git_
|
|
// *WorkspaceContext_Prebuild_
|
|
// *WorkspaceContext_Snapshot_
|
|
Details isWorkspaceContext_Details `protobuf_oneof:"details"`
|
|
}
|
|
|
|
func (x *WorkspaceContext) Reset() {
|
|
*x = WorkspaceContext{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[21]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceContext) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceContext) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceContext) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[21]
|
|
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 WorkspaceContext.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceContext) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{21}
|
|
}
|
|
|
|
func (x *WorkspaceContext) GetContextUrl() string {
|
|
if x != nil {
|
|
return x.ContextUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *WorkspaceContext) GetDetails() isWorkspaceContext_Details {
|
|
if m != nil {
|
|
return m.Details
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceContext) GetGit() *WorkspaceContext_Git {
|
|
if x, ok := x.GetDetails().(*WorkspaceContext_Git_); ok {
|
|
return x.Git
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceContext) GetPrebuild() *WorkspaceContext_Prebuild {
|
|
if x, ok := x.GetDetails().(*WorkspaceContext_Prebuild_); ok {
|
|
return x.Prebuild
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceContext) GetSnapshot() *WorkspaceContext_Snapshot {
|
|
if x, ok := x.GetDetails().(*WorkspaceContext_Snapshot_); ok {
|
|
return x.Snapshot
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type isWorkspaceContext_Details interface {
|
|
isWorkspaceContext_Details()
|
|
}
|
|
|
|
type WorkspaceContext_Git_ struct {
|
|
Git *WorkspaceContext_Git `protobuf:"bytes,2,opt,name=git,proto3,oneof"`
|
|
}
|
|
|
|
type WorkspaceContext_Prebuild_ struct {
|
|
Prebuild *WorkspaceContext_Prebuild `protobuf:"bytes,3,opt,name=prebuild,proto3,oneof"`
|
|
}
|
|
|
|
type WorkspaceContext_Snapshot_ struct {
|
|
Snapshot *WorkspaceContext_Snapshot `protobuf:"bytes,4,opt,name=snapshot,proto3,oneof"`
|
|
}
|
|
|
|
func (*WorkspaceContext_Git_) isWorkspaceContext_Details() {}
|
|
|
|
func (*WorkspaceContext_Prebuild_) isWorkspaceContext_Details() {}
|
|
|
|
func (*WorkspaceContext_Snapshot_) isWorkspaceContext_Details() {}
|
|
|
|
// WorkspaceInstance describes a single workspace instance
|
|
type WorkspaceInstance struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// Instance ID is the unique identifier of the workspace instance
|
|
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
|
|
// Worksapce ID is the unique identifier of the workspace this instance belongs to
|
|
WorkspaceId string `protobuf:"bytes,2,opt,name=workspace_id,json=workspaceId,proto3" json:"workspace_id,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
Status *WorkspaceInstanceStatus `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceInstance) Reset() {
|
|
*x = WorkspaceInstance{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[22]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceInstance) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceInstance) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceInstance) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[22]
|
|
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 WorkspaceInstance.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceInstance) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{22}
|
|
}
|
|
|
|
func (x *WorkspaceInstance) GetInstanceId() string {
|
|
if x != nil {
|
|
return x.InstanceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceInstance) GetWorkspaceId() string {
|
|
if x != nil {
|
|
return x.WorkspaceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceInstance) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceInstance) GetStatus() *WorkspaceInstanceStatus {
|
|
if x != nil {
|
|
return x.Status
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// WorkspaceStatus describes a workspace status
|
|
type WorkspaceInstanceStatus struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// version of the status update. Workspace instances themselves are unversioned,
|
|
// but their statuus has different versions.
|
|
// The value of this field has no semantic meaning (e.g. don't interpret it as
|
|
// as a timestemp), but it can be used to impose a partial order.
|
|
// If a.status_version < b.status_version then a was the status before b.
|
|
StatusVersion uint64 `protobuf:"varint,1,opt,name=status_version,json=statusVersion,proto3" json:"status_version,omitempty"`
|
|
// the phase of a workspace is a simple, high-level summary of where the workspace instance is in its lifecycle
|
|
Phase WorkspaceInstanceStatus_Phase `protobuf:"varint,2,opt,name=phase,proto3,enum=gitpod.v1.WorkspaceInstanceStatus_Phase" json:"phase,omitempty"`
|
|
// conditions detail the current state of the workspace instance
|
|
Conditions *WorkspaceInstanceStatus_Conditions `protobuf:"bytes,3,opt,name=conditions,proto3" json:"conditions,omitempty"`
|
|
// message is an optional human-readable message detailing the current phase
|
|
Message string `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
|
|
// URL contains the endpoint at which the workspace instance is available
|
|
Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
|
|
// Admission describes who can access a workspace instance and its ports.
|
|
Admission AdmissionLevel `protobuf:"varint,6,opt,name=admission,proto3,enum=gitpod.v1.AdmissionLevel" json:"admission,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus) Reset() {
|
|
*x = WorkspaceInstanceStatus{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[23]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceInstanceStatus) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceInstanceStatus) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[23]
|
|
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 WorkspaceInstanceStatus.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceInstanceStatus) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{23}
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus) GetStatusVersion() uint64 {
|
|
if x != nil {
|
|
return x.StatusVersion
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus) GetPhase() WorkspaceInstanceStatus_Phase {
|
|
if x != nil {
|
|
return x.Phase
|
|
}
|
|
return WorkspaceInstanceStatus_PHASE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus) GetConditions() *WorkspaceInstanceStatus_Conditions {
|
|
if x != nil {
|
|
return x.Conditions
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus) GetMessage() string {
|
|
if x != nil {
|
|
return x.Message
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus) GetUrl() string {
|
|
if x != nil {
|
|
return x.Url
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus) GetAdmission() AdmissionLevel {
|
|
if x != nil {
|
|
return x.Admission
|
|
}
|
|
return AdmissionLevel_ADMISSION_LEVEL_UNSPECIFIED
|
|
}
|
|
|
|
// StartWorkspaceSpec influences the workspace start
|
|
type StartWorkspaceSpec struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *StartWorkspaceSpec) Reset() {
|
|
*x = StartWorkspaceSpec{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[24]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *StartWorkspaceSpec) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*StartWorkspaceSpec) ProtoMessage() {}
|
|
|
|
func (x *StartWorkspaceSpec) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[24]
|
|
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 StartWorkspaceSpec.ProtoReflect.Descriptor instead.
|
|
func (*StartWorkspaceSpec) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{24}
|
|
}
|
|
|
|
type ListWorkspacesResponse_WorkspaceAndInstance struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Result *Workspace `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
|
|
LastActiveInstances *WorkspaceInstance `protobuf:"bytes,2,opt,name=last_active_instances,json=lastActiveInstances,proto3" json:"last_active_instances,omitempty"`
|
|
}
|
|
|
|
func (x *ListWorkspacesResponse_WorkspaceAndInstance) Reset() {
|
|
*x = ListWorkspacesResponse_WorkspaceAndInstance{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[25]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListWorkspacesResponse_WorkspaceAndInstance) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListWorkspacesResponse_WorkspaceAndInstance) ProtoMessage() {}
|
|
|
|
func (x *ListWorkspacesResponse_WorkspaceAndInstance) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[25]
|
|
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 ListWorkspacesResponse_WorkspaceAndInstance.ProtoReflect.Descriptor instead.
|
|
func (*ListWorkspacesResponse_WorkspaceAndInstance) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
func (x *ListWorkspacesResponse_WorkspaceAndInstance) GetResult() *Workspace {
|
|
if x != nil {
|
|
return x.Result
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListWorkspacesResponse_WorkspaceAndInstance) GetLastActiveInstances() *WorkspaceInstance {
|
|
if x != nil {
|
|
return x.LastActiveInstances
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// Explicit Git context
|
|
type WorkspaceContext_Git struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
NormalizedContextUrl string `protobuf:"bytes,1,opt,name=normalized_context_url,json=normalizedContextUrl,proto3" json:"normalized_context_url,omitempty"`
|
|
Commit string `protobuf:"bytes,2,opt,name=commit,proto3" json:"commit,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceContext_Git) Reset() {
|
|
*x = WorkspaceContext_Git{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[26]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceContext_Git) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceContext_Git) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceContext_Git) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[26]
|
|
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 WorkspaceContext_Git.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceContext_Git) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{21, 0}
|
|
}
|
|
|
|
func (x *WorkspaceContext_Git) GetNormalizedContextUrl() string {
|
|
if x != nil {
|
|
return x.NormalizedContextUrl
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceContext_Git) GetCommit() string {
|
|
if x != nil {
|
|
return x.Commit
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Workspace was created from a prebuild
|
|
type WorkspaceContext_Prebuild struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// original_context is the Git context which lead to the selection
|
|
// of a prebuild.
|
|
OriginalContext *WorkspaceContext_Git `protobuf:"bytes,1,opt,name=original_context,json=originalContext,proto3" json:"original_context,omitempty"`
|
|
// prebuild_id is the ID of the prebuild which was used to create this workspace
|
|
PrebuildId string `protobuf:"bytes,2,opt,name=prebuild_id,json=prebuildId,proto3" json:"prebuild_id,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceContext_Prebuild) Reset() {
|
|
*x = WorkspaceContext_Prebuild{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[27]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceContext_Prebuild) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceContext_Prebuild) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceContext_Prebuild) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[27]
|
|
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 WorkspaceContext_Prebuild.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceContext_Prebuild) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{21, 1}
|
|
}
|
|
|
|
func (x *WorkspaceContext_Prebuild) GetOriginalContext() *WorkspaceContext_Git {
|
|
if x != nil {
|
|
return x.OriginalContext
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceContext_Prebuild) GetPrebuildId() string {
|
|
if x != nil {
|
|
return x.PrebuildId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Snapshot context points to the snapshot which the workspace was created from
|
|
type WorkspaceContext_Snapshot struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
SnapshotId string `protobuf:"bytes,1,opt,name=snapshot_id,json=snapshotId,proto3" json:"snapshot_id,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceContext_Snapshot) Reset() {
|
|
*x = WorkspaceContext_Snapshot{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[28]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceContext_Snapshot) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceContext_Snapshot) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceContext_Snapshot) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[28]
|
|
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 WorkspaceContext_Snapshot.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceContext_Snapshot) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{21, 2}
|
|
}
|
|
|
|
func (x *WorkspaceContext_Snapshot) GetSnapshotId() string {
|
|
if x != nil {
|
|
return x.SnapshotId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
// Conditions gives more detailed information as to the state of the workspace. Which condition actually
|
|
// has a value depends on the phase the workspace is in.
|
|
type WorkspaceInstanceStatus_Conditions struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
// failed contains the reason the workspace failed to operate. If this field is empty, the workspace has not failed.
|
|
// This field is filled exclusively when caused by system errors.
|
|
Failed string `protobuf:"bytes,1,opt,name=failed,proto3" json:"failed,omitempty"`
|
|
// timeout contains the reason the workspace has timed out. If this field is empty, the workspace has not timed out.
|
|
Timeout string `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
|
|
// first_user_activity is the time when MarkActive was first called on the workspace
|
|
FirstUserActivity *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=first_user_activity,json=firstUserActivity,proto3" json:"first_user_activity,omitempty"`
|
|
// stopped_by_request is true if the workspace was stopped using a StopWorkspace call
|
|
StoppedByRequest *bool `protobuf:"varint,11,opt,name=stopped_by_request,json=stoppedByRequest,proto3,oneof" json:"stopped_by_request,omitempty"`
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus_Conditions) Reset() {
|
|
*x = WorkspaceInstanceStatus_Conditions{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[29]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus_Conditions) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*WorkspaceInstanceStatus_Conditions) ProtoMessage() {}
|
|
|
|
func (x *WorkspaceInstanceStatus_Conditions) ProtoReflect() protoreflect.Message {
|
|
mi := &file_gitpod_v1_workspaces_proto_msgTypes[29]
|
|
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 WorkspaceInstanceStatus_Conditions.ProtoReflect.Descriptor instead.
|
|
func (*WorkspaceInstanceStatus_Conditions) Descriptor() ([]byte, []int) {
|
|
return file_gitpod_v1_workspaces_proto_rawDescGZIP(), []int{23, 0}
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus_Conditions) GetFailed() string {
|
|
if x != nil {
|
|
return x.Failed
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus_Conditions) GetTimeout() string {
|
|
if x != nil {
|
|
return x.Timeout
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus_Conditions) GetFirstUserActivity() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.FirstUserActivity
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *WorkspaceInstanceStatus_Conditions) GetStoppedByRequest() bool {
|
|
if x != nil && x.StoppedByRequest != nil {
|
|
return *x.StoppedByRequest
|
|
}
|
|
return false
|
|
}
|
|
|
|
var File_gitpod_v1_workspaces_proto protoreflect.FileDescriptor
|
|
|
|
var file_gitpod_v1_workspaces_proto_rawDesc = []byte{
|
|
0x0a, 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, 0x12, 0x09, 0x67, 0x69,
|
|
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
|
|
0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
|
|
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
|
|
0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x69, 0x74, 0x70,
|
|
0x6f, 0x64, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x89, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x73, 0x74, 0x57,
|
|
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x12, 0x35, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x50, 0x61, 0x67, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x70, 0x61, 0x67,
|
|
0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64,
|
|
0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69,
|
|
0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61,
|
|
0x73, 0x6b, 0x22, 0xa9, 0x02, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x26, 0x0a,
|
|
0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65,
|
|
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x4e, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18,
|
|
0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x06, 0x72,
|
|
0x65, 0x73, 0x75, 0x6c, 0x74, 0x1a, 0x96, 0x01, 0x0a, 0x14, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
|
0x61, 0x63, 0x65, 0x41, 0x6e, 0x64, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2c,
|
|
0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
|
|
0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x50, 0x0a, 0x15,
|
|
0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74,
|
|
0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69,
|
|
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
|
0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x13, 0x6c, 0x61, 0x73, 0x74, 0x41,
|
|
0x63, 0x74, 0x69, 0x76, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0x38,
|
|
0x0a, 0x13, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65,
|
|
0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72,
|
|
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x44, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x57,
|
|
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x2c, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
|
|
0x32, 0x14, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72,
|
|
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x39,
|
|
0x0a, 0x14, 0x47, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
|
0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f,
|
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x2d, 0x0a, 0x15, 0x47, 0x65, 0x74,
|
|
0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xdb, 0x01, 0x0a, 0x1e, 0x43, 0x72, 0x65,
|
|
0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x69,
|
|
0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65,
|
|
0x6e, 0x63, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74,
|
|
0x65, 0x78, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
|
|
0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x21, 0x0a, 0x0b, 0x70,
|
|
0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
|
|
0x48, 0x00, 0x52, 0x0a, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x12, 0x3c,
|
|
0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x73, 0x70, 0x65, 0x63, 0x18, 0x05, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53,
|
|
0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65,
|
|
0x63, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x53, 0x70, 0x65, 0x63, 0x42, 0x08, 0x0a, 0x06,
|
|
0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x44, 0x0a, 0x1f, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
|
|
0x41, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
|
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72,
|
|
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x9a, 0x01, 0x0a,
|
|
0x15, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f,
|
|
0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
|
|
0x09, 0x52, 0x10, 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x54, 0x6f,
|
|
0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
|
|
0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53,
|
|
0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x22, 0x5e, 0x0a, 0x16, 0x53, 0x74, 0x61,
|
|
0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f,
|
|
0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e,
|
|
0x63, 0x65, 0x49, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
|
0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x77, 0x6f, 0x72,
|
|
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x46, 0x0a, 0x21, 0x47, 0x65, 0x74,
|
|
0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49,
|
|
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x21,
|
|
0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49,
|
|
0x64, 0x22, 0x5e, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x6f,
|
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61,
|
|
0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x69, 0x74, 0x70,
|
|
0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49,
|
|
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63,
|
|
0x65, 0x22, 0x48, 0x0a, 0x25, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
|
0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x6f,
|
|
0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e,
|
|
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x22, 0x49, 0x0a, 0x26, 0x47,
|
|
0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
0x6e, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73,
|
|
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x74,
|
|
0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6f, 0x77, 0x6e, 0x65,
|
|
0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x43, 0x0a, 0x20, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e,
|
|
0x54, 0x6f, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e,
|
|
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x22, 0x70, 0x0a, 0x21, 0x4c,
|
|
0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
|
|
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x12, 0x4b, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x74, 0x61,
|
|
0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x70,
|
|
0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49,
|
|
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0e, 0x69,
|
|
0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x40, 0x0a,
|
|
0x1d, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x75,
|
|
0x69, 0x6c, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f,
|
|
0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x22,
|
|
0x34, 0x0a, 0x1e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x49, 0x6d, 0x61, 0x67, 0x65,
|
|
0x42, 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, 0x66, 0x0a, 0x14, 0x53, 0x74, 0x6f, 0x70, 0x57, 0x6f, 0x72,
|
|
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a,
|
|
0x11, 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x74, 0x6f, 0x6b,
|
|
0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x69, 0x64, 0x65, 0x6d, 0x70, 0x6f,
|
|
0x74, 0x65, 0x6e, 0x63, 0x79, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f,
|
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x17, 0x0a,
|
|
0x15, 0x53, 0x74, 0x6f, 0x70, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xc1, 0x01, 0x0a, 0x09, 0x57, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
|
0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b,
|
|
0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72,
|
|
0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72,
|
|
0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64,
|
|
0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49,
|
|
0x64, 0x12, 0x35, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x04, 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, 0x64, 0x65, 0x73, 0x63,
|
|
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
|
|
0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf6, 0x03, 0x0a, 0x10, 0x57,
|
|
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 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,
|
|
0x12, 0x33, 0x0a, 0x03, 0x67, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 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, 0x2e, 0x47, 0x69, 0x74, 0x48, 0x00,
|
|
0x52, 0x03, 0x67, 0x69, 0x74, 0x12, 0x42, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c,
|
|
0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 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, 0x2e, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x48, 0x00, 0x52,
|
|
0x08, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x42, 0x0a, 0x08, 0x73, 0x6e, 0x61,
|
|
0x70, 0x73, 0x68, 0x6f, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 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, 0x2e, 0x53, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f,
|
|
0x74, 0x48, 0x00, 0x52, 0x08, 0x73, 0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x1a, 0x53, 0x0a,
|
|
0x03, 0x47, 0x69, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a,
|
|
0x65, 0x64, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64,
|
|
0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x72, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f,
|
|
0x6d, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x63, 0x6f, 0x6d, 0x6d,
|
|
0x69, 0x74, 0x1a, 0x77, 0x0a, 0x08, 0x50, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x4a,
|
|
0x0a, 0x10, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
|
|
0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 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, 0x2e, 0x47, 0x69, 0x74, 0x52, 0x0f, 0x6f, 0x72, 0x69, 0x67, 0x69,
|
|
0x6e, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x72,
|
|
0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
|
|
0x0a, 0x70, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x49, 0x64, 0x1a, 0x2b, 0x0a, 0x08, 0x53,
|
|
0x6e, 0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6e, 0x61, 0x70, 0x73,
|
|
0x68, 0x6f, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6e,
|
|
0x61, 0x70, 0x73, 0x68, 0x6f, 0x74, 0x49, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x64, 0x65, 0x74, 0x61,
|
|
0x69, 0x6c, 0x73, 0x22, 0xce, 0x01, 0x0a, 0x11, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
|
0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73,
|
|
0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
|
|
0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x77, 0x6f,
|
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x0b, 0x77, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x39, 0x0a,
|
|
0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28,
|
|
0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x63,
|
|
0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x3a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
|
|
0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
|
|
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e,
|
|
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74,
|
|
0x61, 0x74, 0x75, 0x73, 0x22, 0xd2, 0x05, 0x0a, 0x17, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
0x12, 0x25, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69,
|
|
0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73,
|
|
0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3e, 0x0a, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74,
|
|
0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x50, 0x68, 0x61, 0x73, 0x65,
|
|
0x52, 0x05, 0x70, 0x68, 0x61, 0x73, 0x65, 0x12, 0x4d, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x64, 0x69,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x69,
|
|
0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
|
0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e,
|
|
0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x64,
|
|
0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
|
|
0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
|
|
0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75,
|
|
0x72, 0x6c, 0x12, 0x37, 0x0a, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18,
|
|
0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c,
|
|
0x52, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xd4, 0x01, 0x0a, 0x0a,
|
|
0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x61,
|
|
0x69, 0x6c, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x61, 0x69, 0x6c,
|
|
0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x02, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x4a, 0x0a, 0x13,
|
|
0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x76,
|
|
0x69, 0x74, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
|
|
0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
|
|
0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x11, 0x66, 0x69, 0x72, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72,
|
|
0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x31, 0x0a, 0x12, 0x73, 0x74, 0x6f, 0x70,
|
|
0x70, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x0b,
|
|
0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x10, 0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x42,
|
|
0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x88, 0x01, 0x01, 0x42, 0x15, 0x0a, 0x13, 0x5f,
|
|
0x73, 0x74, 0x6f, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65,
|
|
0x73, 0x74, 0x22, 0xc4, 0x01, 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, 0x14, 0x0a, 0x10, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f, 0x49, 0x4d, 0x41,
|
|
0x47, 0x45, 0x42, 0x55, 0x49, 0x4c, 0x44, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x48, 0x41,
|
|
0x53, 0x45, 0x5f, 0x50, 0x45, 0x4e, 0x44, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e,
|
|
0x50, 0x48, 0x41, 0x53, 0x45, 0x5f, 0x43, 0x52, 0x45, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x10, 0x03,
|
|
0x12, 0x16, 0x0a, 0x12, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x49, 0x41,
|
|
0x4c, 0x49, 0x5a, 0x49, 0x4e, 0x47, 0x10, 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x48, 0x41, 0x53,
|
|
0x45, 0x5f, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x15, 0x0a, 0x11, 0x50,
|
|
0x48, 0x41, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x52, 0x55, 0x50, 0x54, 0x45, 0x44,
|
|
0x10, 0x06, 0x12, 0x12, 0x0a, 0x0e, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f, 0x53, 0x54, 0x4f, 0x50,
|
|
0x50, 0x49, 0x4e, 0x47, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, 0x50, 0x48, 0x41, 0x53, 0x45, 0x5f,
|
|
0x53, 0x54, 0x4f, 0x50, 0x50, 0x45, 0x44, 0x10, 0x08, 0x22, 0x14, 0x0a, 0x12, 0x53, 0x74, 0x61,
|
|
0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x53, 0x70, 0x65, 0x63, 0x2a,
|
|
0x6f, 0x0a, 0x0e, 0x41, 0x64, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65,
|
|
0x6c, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x44, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x4c,
|
|
0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
|
|
0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x44, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f,
|
|
0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4f, 0x57, 0x4e, 0x45, 0x52, 0x5f, 0x4f, 0x4e, 0x4c, 0x59,
|
|
0x10, 0x01, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x44, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f,
|
|
0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x45, 0x56, 0x45, 0x52, 0x59, 0x4f, 0x4e, 0x45, 0x10, 0x02,
|
|
0x32, 0xb0, 0x08, 0x0a, 0x11, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x53,
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f,
|
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x73, 0x12, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f,
|
|
0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74,
|
|
0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
|
|
0x51, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12,
|
|
0x1e, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57,
|
|
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
|
|
0x1f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57,
|
|
0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x22, 0x00, 0x12, 0x54, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x6f,
|
|
0x6b, 0x65, 0x6e, 0x12, 0x1f, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x47, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71,
|
|
0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31,
|
|
0x2e, 0x47, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65,
|
|
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x72, 0x0a, 0x17, 0x43, 0x72, 0x65, 0x61,
|
|
0x74, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
|
0x61, 0x63, 0x65, 0x12, 0x29, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f,
|
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a,
|
|
0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
|
|
0x65, 0x41, 0x6e, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e,
|
|
0x53, 0x74, 0x61, 0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x20,
|
|
0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74,
|
|
0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x1a, 0x21, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61,
|
|
0x72, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f,
|
|
0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7b, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69,
|
|
0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61,
|
|
0x6e, 0x63, 0x65, 0x12, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e,
|
|
0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61,
|
|
0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
|
|
0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65,
|
|
0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
|
|
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70,
|
|
0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72,
|
|
0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x30, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76,
|
|
0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e,
|
|
0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
|
|
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64,
|
|
0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65,
|
|
0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x54, 0x6f, 0x6b,
|
|
0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x7a, 0x0a, 0x19,
|
|
0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63,
|
|
0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x2b, 0x2e, 0x67, 0x69, 0x74, 0x70,
|
|
0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x57, 0x6f,
|
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52,
|
|
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e,
|
|
0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x57, 0x6f, 0x72, 0x6b, 0x73,
|
|
0x70, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70,
|
|
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74,
|
|
0x65, 0x6e, 0x54, 0x6f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x6f,
|
|
0x67, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
|
|
0x69, 0x73, 0x74, 0x65, 0x6e, 0x54, 0x6f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x75, 0x69, 0x6c,
|
|
0x64, 0x4c, 0x6f, 0x67, 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, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x4c, 0x6f, 0x67, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x30, 0x01, 0x12, 0x56, 0x0a, 0x0d, 0x53,
|
|
0x74, 0x6f, 0x70, 0x57, 0x6f, 0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x12, 0x1f, 0x2e, 0x67,
|
|
0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x57, 0x6f, 0x72,
|
|
0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e,
|
|
0x67, 0x69, 0x74, 0x70, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x57, 0x6f,
|
|
0x72, 0x6b, 0x73, 0x70, 0x61, 0x63, 0x65, 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_workspaces_proto_rawDescOnce sync.Once
|
|
file_gitpod_v1_workspaces_proto_rawDescData = file_gitpod_v1_workspaces_proto_rawDesc
|
|
)
|
|
|
|
func file_gitpod_v1_workspaces_proto_rawDescGZIP() []byte {
|
|
file_gitpod_v1_workspaces_proto_rawDescOnce.Do(func() {
|
|
file_gitpod_v1_workspaces_proto_rawDescData = protoimpl.X.CompressGZIP(file_gitpod_v1_workspaces_proto_rawDescData)
|
|
})
|
|
return file_gitpod_v1_workspaces_proto_rawDescData
|
|
}
|
|
|
|
var file_gitpod_v1_workspaces_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_gitpod_v1_workspaces_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
|
|
var file_gitpod_v1_workspaces_proto_goTypes = []interface{}{
|
|
(AdmissionLevel)(0), // 0: gitpod.v1.AdmissionLevel
|
|
(WorkspaceInstanceStatus_Phase)(0), // 1: gitpod.v1.WorkspaceInstanceStatus.Phase
|
|
(*ListWorkspacesRequest)(nil), // 2: gitpod.v1.ListWorkspacesRequest
|
|
(*ListWorkspacesResponse)(nil), // 3: gitpod.v1.ListWorkspacesResponse
|
|
(*GetWorkspaceRequest)(nil), // 4: gitpod.v1.GetWorkspaceRequest
|
|
(*GetWorkspaceResponse)(nil), // 5: gitpod.v1.GetWorkspaceResponse
|
|
(*GetOwnerTokenRequest)(nil), // 6: gitpod.v1.GetOwnerTokenRequest
|
|
(*GetOwnerTokenResponse)(nil), // 7: gitpod.v1.GetOwnerTokenResponse
|
|
(*CreateAndStartWorkspaceRequest)(nil), // 8: gitpod.v1.CreateAndStartWorkspaceRequest
|
|
(*CreateAndStartWorkspaceResponse)(nil), // 9: gitpod.v1.CreateAndStartWorkspaceResponse
|
|
(*StartWorkspaceRequest)(nil), // 10: gitpod.v1.StartWorkspaceRequest
|
|
(*StartWorkspaceResponse)(nil), // 11: gitpod.v1.StartWorkspaceResponse
|
|
(*GetActiveWorkspaceInstanceRequest)(nil), // 12: gitpod.v1.GetActiveWorkspaceInstanceRequest
|
|
(*GetActiveWorkspaceInstanceResponse)(nil), // 13: gitpod.v1.GetActiveWorkspaceInstanceResponse
|
|
(*GetWorkspaceInstanceOwnerTokenRequest)(nil), // 14: gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest
|
|
(*GetWorkspaceInstanceOwnerTokenResponse)(nil), // 15: gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse
|
|
(*ListenToWorkspaceInstanceRequest)(nil), // 16: gitpod.v1.ListenToWorkspaceInstanceRequest
|
|
(*ListenToWorkspaceInstanceResponse)(nil), // 17: gitpod.v1.ListenToWorkspaceInstanceResponse
|
|
(*ListenToImageBuildLogsRequest)(nil), // 18: gitpod.v1.ListenToImageBuildLogsRequest
|
|
(*ListenToImageBuildLogsResponse)(nil), // 19: gitpod.v1.ListenToImageBuildLogsResponse
|
|
(*StopWorkspaceRequest)(nil), // 20: gitpod.v1.StopWorkspaceRequest
|
|
(*StopWorkspaceResponse)(nil), // 21: gitpod.v1.StopWorkspaceResponse
|
|
(*Workspace)(nil), // 22: gitpod.v1.Workspace
|
|
(*WorkspaceContext)(nil), // 23: gitpod.v1.WorkspaceContext
|
|
(*WorkspaceInstance)(nil), // 24: gitpod.v1.WorkspaceInstance
|
|
(*WorkspaceInstanceStatus)(nil), // 25: gitpod.v1.WorkspaceInstanceStatus
|
|
(*StartWorkspaceSpec)(nil), // 26: gitpod.v1.StartWorkspaceSpec
|
|
(*ListWorkspacesResponse_WorkspaceAndInstance)(nil), // 27: gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance
|
|
(*WorkspaceContext_Git)(nil), // 28: gitpod.v1.WorkspaceContext.Git
|
|
(*WorkspaceContext_Prebuild)(nil), // 29: gitpod.v1.WorkspaceContext.Prebuild
|
|
(*WorkspaceContext_Snapshot)(nil), // 30: gitpod.v1.WorkspaceContext.Snapshot
|
|
(*WorkspaceInstanceStatus_Conditions)(nil), // 31: gitpod.v1.WorkspaceInstanceStatus.Conditions
|
|
(*Pagination)(nil), // 32: gitpod.v1.Pagination
|
|
(*fieldmaskpb.FieldMask)(nil), // 33: google.protobuf.FieldMask
|
|
(*timestamppb.Timestamp)(nil), // 34: google.protobuf.Timestamp
|
|
}
|
|
var file_gitpod_v1_workspaces_proto_depIdxs = []int32{
|
|
32, // 0: gitpod.v1.ListWorkspacesRequest.pagination:type_name -> gitpod.v1.Pagination
|
|
33, // 1: gitpod.v1.ListWorkspacesRequest.field_mask:type_name -> google.protobuf.FieldMask
|
|
27, // 2: gitpod.v1.ListWorkspacesResponse.result:type_name -> gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance
|
|
22, // 3: gitpod.v1.GetWorkspaceResponse.result:type_name -> gitpod.v1.Workspace
|
|
26, // 4: gitpod.v1.CreateAndStartWorkspaceRequest.start_spec:type_name -> gitpod.v1.StartWorkspaceSpec
|
|
26, // 5: gitpod.v1.StartWorkspaceRequest.spec:type_name -> gitpod.v1.StartWorkspaceSpec
|
|
24, // 6: gitpod.v1.GetActiveWorkspaceInstanceResponse.instance:type_name -> gitpod.v1.WorkspaceInstance
|
|
25, // 7: gitpod.v1.ListenToWorkspaceInstanceResponse.instance_status:type_name -> gitpod.v1.WorkspaceInstanceStatus
|
|
23, // 8: gitpod.v1.Workspace.context:type_name -> gitpod.v1.WorkspaceContext
|
|
28, // 9: gitpod.v1.WorkspaceContext.git:type_name -> gitpod.v1.WorkspaceContext.Git
|
|
29, // 10: gitpod.v1.WorkspaceContext.prebuild:type_name -> gitpod.v1.WorkspaceContext.Prebuild
|
|
30, // 11: gitpod.v1.WorkspaceContext.snapshot:type_name -> gitpod.v1.WorkspaceContext.Snapshot
|
|
34, // 12: gitpod.v1.WorkspaceInstance.created_at:type_name -> google.protobuf.Timestamp
|
|
25, // 13: gitpod.v1.WorkspaceInstance.status:type_name -> gitpod.v1.WorkspaceInstanceStatus
|
|
1, // 14: gitpod.v1.WorkspaceInstanceStatus.phase:type_name -> gitpod.v1.WorkspaceInstanceStatus.Phase
|
|
31, // 15: gitpod.v1.WorkspaceInstanceStatus.conditions:type_name -> gitpod.v1.WorkspaceInstanceStatus.Conditions
|
|
0, // 16: gitpod.v1.WorkspaceInstanceStatus.admission:type_name -> gitpod.v1.AdmissionLevel
|
|
22, // 17: gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance.result:type_name -> gitpod.v1.Workspace
|
|
24, // 18: gitpod.v1.ListWorkspacesResponse.WorkspaceAndInstance.last_active_instances:type_name -> gitpod.v1.WorkspaceInstance
|
|
28, // 19: gitpod.v1.WorkspaceContext.Prebuild.original_context:type_name -> gitpod.v1.WorkspaceContext.Git
|
|
34, // 20: gitpod.v1.WorkspaceInstanceStatus.Conditions.first_user_activity:type_name -> google.protobuf.Timestamp
|
|
2, // 21: gitpod.v1.WorkspacesService.ListWorkspaces:input_type -> gitpod.v1.ListWorkspacesRequest
|
|
4, // 22: gitpod.v1.WorkspacesService.GetWorkspace:input_type -> gitpod.v1.GetWorkspaceRequest
|
|
6, // 23: gitpod.v1.WorkspacesService.GetOwnerToken:input_type -> gitpod.v1.GetOwnerTokenRequest
|
|
8, // 24: gitpod.v1.WorkspacesService.CreateAndStartWorkspace:input_type -> gitpod.v1.CreateAndStartWorkspaceRequest
|
|
10, // 25: gitpod.v1.WorkspacesService.StartWorkspace:input_type -> gitpod.v1.StartWorkspaceRequest
|
|
12, // 26: gitpod.v1.WorkspacesService.GetActiveWorkspaceInstance:input_type -> gitpod.v1.GetActiveWorkspaceInstanceRequest
|
|
14, // 27: gitpod.v1.WorkspacesService.GetWorkspaceInstanceOwnerToken:input_type -> gitpod.v1.GetWorkspaceInstanceOwnerTokenRequest
|
|
16, // 28: gitpod.v1.WorkspacesService.ListenToWorkspaceInstance:input_type -> gitpod.v1.ListenToWorkspaceInstanceRequest
|
|
18, // 29: gitpod.v1.WorkspacesService.ListenToImageBuildLogs:input_type -> gitpod.v1.ListenToImageBuildLogsRequest
|
|
20, // 30: gitpod.v1.WorkspacesService.StopWorkspace:input_type -> gitpod.v1.StopWorkspaceRequest
|
|
3, // 31: gitpod.v1.WorkspacesService.ListWorkspaces:output_type -> gitpod.v1.ListWorkspacesResponse
|
|
5, // 32: gitpod.v1.WorkspacesService.GetWorkspace:output_type -> gitpod.v1.GetWorkspaceResponse
|
|
7, // 33: gitpod.v1.WorkspacesService.GetOwnerToken:output_type -> gitpod.v1.GetOwnerTokenResponse
|
|
9, // 34: gitpod.v1.WorkspacesService.CreateAndStartWorkspace:output_type -> gitpod.v1.CreateAndStartWorkspaceResponse
|
|
11, // 35: gitpod.v1.WorkspacesService.StartWorkspace:output_type -> gitpod.v1.StartWorkspaceResponse
|
|
13, // 36: gitpod.v1.WorkspacesService.GetActiveWorkspaceInstance:output_type -> gitpod.v1.GetActiveWorkspaceInstanceResponse
|
|
15, // 37: gitpod.v1.WorkspacesService.GetWorkspaceInstanceOwnerToken:output_type -> gitpod.v1.GetWorkspaceInstanceOwnerTokenResponse
|
|
17, // 38: gitpod.v1.WorkspacesService.ListenToWorkspaceInstance:output_type -> gitpod.v1.ListenToWorkspaceInstanceResponse
|
|
19, // 39: gitpod.v1.WorkspacesService.ListenToImageBuildLogs:output_type -> gitpod.v1.ListenToImageBuildLogsResponse
|
|
21, // 40: gitpod.v1.WorkspacesService.StopWorkspace:output_type -> gitpod.v1.StopWorkspaceResponse
|
|
31, // [31:41] is the sub-list for method output_type
|
|
21, // [21:31] is the sub-list for method input_type
|
|
21, // [21:21] is the sub-list for extension type_name
|
|
21, // [21:21] is the sub-list for extension extendee
|
|
0, // [0:21] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_gitpod_v1_workspaces_proto_init() }
|
|
func file_gitpod_v1_workspaces_proto_init() {
|
|
if File_gitpod_v1_workspaces_proto != nil {
|
|
return
|
|
}
|
|
file_gitpod_v1_pagination_proto_init()
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_gitpod_v1_workspaces_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListWorkspacesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListWorkspacesResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetWorkspaceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetWorkspaceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetOwnerTokenRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetOwnerTokenResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateAndStartWorkspaceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CreateAndStartWorkspaceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StartWorkspaceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StartWorkspaceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetActiveWorkspaceInstanceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetActiveWorkspaceInstanceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetWorkspaceInstanceOwnerTokenRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*GetWorkspaceInstanceOwnerTokenResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListenToWorkspaceInstanceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListenToWorkspaceInstanceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListenToImageBuildLogsRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListenToImageBuildLogsResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StopWorkspaceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StopWorkspaceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Workspace); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceContext); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceInstance); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceInstanceStatus); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*StartWorkspaceSpec); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListWorkspacesResponse_WorkspaceAndInstance); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceContext_Git); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceContext_Prebuild); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceContext_Snapshot); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*WorkspaceInstanceStatus_Conditions); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[6].OneofWrappers = []interface{}{
|
|
(*CreateAndStartWorkspaceRequest_ContextUrl)(nil),
|
|
(*CreateAndStartWorkspaceRequest_PrebuildId)(nil),
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[21].OneofWrappers = []interface{}{
|
|
(*WorkspaceContext_Git_)(nil),
|
|
(*WorkspaceContext_Prebuild_)(nil),
|
|
(*WorkspaceContext_Snapshot_)(nil),
|
|
}
|
|
file_gitpod_v1_workspaces_proto_msgTypes[29].OneofWrappers = []interface{}{}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_gitpod_v1_workspaces_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 30,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_gitpod_v1_workspaces_proto_goTypes,
|
|
DependencyIndexes: file_gitpod_v1_workspaces_proto_depIdxs,
|
|
EnumInfos: file_gitpod_v1_workspaces_proto_enumTypes,
|
|
MessageInfos: file_gitpod_v1_workspaces_proto_msgTypes,
|
|
}.Build()
|
|
File_gitpod_v1_workspaces_proto = out.File
|
|
file_gitpod_v1_workspaces_proto_rawDesc = nil
|
|
file_gitpod_v1_workspaces_proto_goTypes = nil
|
|
file_gitpod_v1_workspaces_proto_depIdxs = nil
|
|
}
|