/// This file has messages for describing environments // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v4.24.4 // source: environments/environments_v1.proto package environments import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" emptypb "google.golang.org/protobuf/types/known/emptypb" 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) ) // * // Helpers and other messages type Provider int32 const ( Provider_PROVIDER_UNSPECIFIED Provider = 0 Provider_PROVIDER_HETZNER Provider = 1 ) // Enum value maps for Provider. var ( Provider_name = map[int32]string{ 0: "PROVIDER_UNSPECIFIED", 1: "PROVIDER_HETZNER", } Provider_value = map[string]int32{ "PROVIDER_UNSPECIFIED": 0, "PROVIDER_HETZNER": 1, } ) func (x Provider) Enum() *Provider { p := new(Provider) *p = x return p } func (x Provider) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Provider) Descriptor() protoreflect.EnumDescriptor { return file_environments_environments_v1_proto_enumTypes[0].Descriptor() } func (Provider) Type() protoreflect.EnumType { return &file_environments_environments_v1_proto_enumTypes[0] } func (x Provider) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Provider.Descriptor instead. func (Provider) EnumDescriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{0} } type ServerType int32 const ( ServerType_SERVER_TYPE_UNSPECIFIED ServerType = 0 ServerType_SERVER_TYPE_STARTER ServerType = 1 ServerType_SERVER_TYPE_REGULAR ServerType = 2 ServerType_SERVER_TYPE_PLUS ServerType = 3 ServerType_SERVER_TYPE_PRO ServerType = 4 ServerType_SERVER_TYPE_CUSTOM ServerType = 5 ) // Enum value maps for ServerType. var ( ServerType_name = map[int32]string{ 0: "SERVER_TYPE_UNSPECIFIED", 1: "SERVER_TYPE_STARTER", 2: "SERVER_TYPE_REGULAR", 3: "SERVER_TYPE_PLUS", 4: "SERVER_TYPE_PRO", 5: "SERVER_TYPE_CUSTOM", } ServerType_value = map[string]int32{ "SERVER_TYPE_UNSPECIFIED": 0, "SERVER_TYPE_STARTER": 1, "SERVER_TYPE_REGULAR": 2, "SERVER_TYPE_PLUS": 3, "SERVER_TYPE_PRO": 4, "SERVER_TYPE_CUSTOM": 5, } ) func (x ServerType) Enum() *ServerType { p := new(ServerType) *p = x return p } func (x ServerType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ServerType) Descriptor() protoreflect.EnumDescriptor { return file_environments_environments_v1_proto_enumTypes[1].Descriptor() } func (ServerType) Type() protoreflect.EnumType { return &file_environments_environments_v1_proto_enumTypes[1] } func (x ServerType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ServerType.Descriptor instead. func (ServerType) EnumDescriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{1} } type Location int32 const ( Location_LOCATION_UNSPECIFIED Location = 0 Location_LOCATION_HETZNER_NUREMBERG Location = 1 Location_LOCATION_HETZNER_FALKENSTEIN Location = 2 Location_LOCATION_HETZNER_HELSINKI Location = 3 Location_LOCATION_HETZNER_HILLSBORO Location = 4 Location_LOCATION_HETZNER_ASHBURN Location = 5 ) // Enum value maps for Location. var ( Location_name = map[int32]string{ 0: "LOCATION_UNSPECIFIED", 1: "LOCATION_HETZNER_NUREMBERG", 2: "LOCATION_HETZNER_FALKENSTEIN", 3: "LOCATION_HETZNER_HELSINKI", 4: "LOCATION_HETZNER_HILLSBORO", 5: "LOCATION_HETZNER_ASHBURN", } Location_value = map[string]int32{ "LOCATION_UNSPECIFIED": 0, "LOCATION_HETZNER_NUREMBERG": 1, "LOCATION_HETZNER_FALKENSTEIN": 2, "LOCATION_HETZNER_HELSINKI": 3, "LOCATION_HETZNER_HILLSBORO": 4, "LOCATION_HETZNER_ASHBURN": 5, } ) func (x Location) Enum() *Location { p := new(Location) *p = x return p } func (x Location) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Location) Descriptor() protoreflect.EnumDescriptor { return file_environments_environments_v1_proto_enumTypes[2].Descriptor() } func (Location) Type() protoreflect.EnumType { return &file_environments_environments_v1_proto_enumTypes[2] } func (x Location) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Location.Descriptor instead. func (Location) EnumDescriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{2} } type Kubernetes int32 const ( Kubernetes_KUBERNETES_UNSPECIFIED Kubernetes = 0 Kubernetes_KUBERNETES_K3S Kubernetes = 1 ) // Enum value maps for Kubernetes. var ( Kubernetes_name = map[int32]string{ 0: "KUBERNETES_UNSPECIFIED", 1: "KUBERNETES_K3S", } Kubernetes_value = map[string]int32{ "KUBERNETES_UNSPECIFIED": 0, "KUBERNETES_K3S": 1, } ) func (x Kubernetes) Enum() *Kubernetes { p := new(Kubernetes) *p = x return p } func (x Kubernetes) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (Kubernetes) Descriptor() protoreflect.EnumDescriptor { return file_environments_environments_v1_proto_enumTypes[3].Descriptor() } func (Kubernetes) Type() protoreflect.EnumType { return &file_environments_environments_v1_proto_enumTypes[3] } func (x Kubernetes) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use Kubernetes.Descriptor instead. func (Kubernetes) EnumDescriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{3} } type OwnerId struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // UUID of a user that is creating an environemnt } func (x *OwnerId) Reset() { *x = OwnerId{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *OwnerId) String() string { return protoimpl.X.MessageStringOf(x) } func (*OwnerId) ProtoMessage() {} func (x *OwnerId) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 OwnerId.ProtoReflect.Descriptor instead. func (*OwnerId) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{0} } func (x *OwnerId) GetUuid() string { if x != nil { return x.Uuid } return "" } type Token struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Token that should be used to create an environment } func (x *Token) Reset() { *x = Token{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Token) String() string { return protoimpl.X.MessageStringOf(x) } func (*Token) ProtoMessage() {} func (x *Token) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 Token.ProtoReflect.Descriptor instead. func (*Token) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{1} } func (x *Token) GetToken() string { if x != nil { return x.Token } return "" } type CreateOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Metadata *EnvironmentMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *EnvironmentSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` OwnerId *OwnerId `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Token *Token `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` } func (x *CreateOptions) Reset() { *x = CreateOptions{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *CreateOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*CreateOptions) ProtoMessage() {} func (x *CreateOptions) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 CreateOptions.ProtoReflect.Descriptor instead. func (*CreateOptions) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{2} } func (x *CreateOptions) GetMetadata() *EnvironmentMetadata { if x != nil { return x.Metadata } return nil } func (x *CreateOptions) GetSpec() *EnvironmentSpec { if x != nil { return x.Spec } return nil } func (x *CreateOptions) GetOwnerId() *OwnerId { if x != nil { return x.OwnerId } return nil } func (x *CreateOptions) GetToken() *Token { if x != nil { return x.Token } return nil } type UpdateOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id *EnvironmentId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Metadata *EnvironmentMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *EnvironmentSpec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` OwnerId *OwnerId `protobuf:"bytes,4,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Token *Token `protobuf:"bytes,5,opt,name=token,proto3" json:"token,omitempty"` } func (x *UpdateOptions) Reset() { *x = UpdateOptions{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateOptions) ProtoMessage() {} func (x *UpdateOptions) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 UpdateOptions.ProtoReflect.Descriptor instead. func (*UpdateOptions) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{3} } func (x *UpdateOptions) GetId() *EnvironmentId { if x != nil { return x.Id } return nil } func (x *UpdateOptions) GetMetadata() *EnvironmentMetadata { if x != nil { return x.Metadata } return nil } func (x *UpdateOptions) GetSpec() *EnvironmentSpec { if x != nil { return x.Spec } return nil } func (x *UpdateOptions) GetOwnerId() *OwnerId { if x != nil { return x.OwnerId } return nil } func (x *UpdateOptions) GetToken() *Token { if x != nil { return x.Token } return nil } type DeleteOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id *EnvironmentId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Metadata *EnvironmentMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` OwnerId *OwnerId `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Token *Token `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` } func (x *DeleteOptions) Reset() { *x = DeleteOptions{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *DeleteOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*DeleteOptions) ProtoMessage() {} func (x *DeleteOptions) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 DeleteOptions.ProtoReflect.Descriptor instead. func (*DeleteOptions) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{4} } func (x *DeleteOptions) GetId() *EnvironmentId { if x != nil { return x.Id } return nil } func (x *DeleteOptions) GetMetadata() *EnvironmentMetadata { if x != nil { return x.Metadata } return nil } func (x *DeleteOptions) GetOwnerId() *OwnerId { if x != nil { return x.OwnerId } return nil } func (x *DeleteOptions) GetToken() *Token { if x != nil { return x.Token } return nil } type GetOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id *EnvironmentId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Metadata *EnvironmentMetadata `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` OwnerId *OwnerId `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Token *Token `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` } func (x *GetOptions) Reset() { *x = GetOptions{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetOptions) ProtoMessage() {} func (x *GetOptions) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 GetOptions.ProtoReflect.Descriptor instead. func (*GetOptions) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{5} } func (x *GetOptions) GetId() *EnvironmentId { if x != nil { return x.Id } return nil } func (x *GetOptions) GetMetadata() *EnvironmentMetadata { if x != nil { return x.Metadata } return nil } func (x *GetOptions) GetOwnerId() *OwnerId { if x != nil { return x.OwnerId } return nil } func (x *GetOptions) GetToken() *Token { if x != nil { return x.Token } return nil } type ListOptions struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Metadata *EnvironmentMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` SearchString string `protobuf:"bytes,2,opt,name=search_string,json=searchString,proto3" json:"search_string,omitempty"` OwnerId *OwnerId `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Token *Token `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"` } func (x *ListOptions) Reset() { *x = ListOptions{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListOptions) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListOptions) ProtoMessage() {} func (x *ListOptions) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 ListOptions.ProtoReflect.Descriptor instead. func (*ListOptions) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{6} } func (x *ListOptions) GetMetadata() *EnvironmentMetadata { if x != nil { return x.Metadata } return nil } func (x *ListOptions) GetSearchString() string { if x != nil { return x.SearchString } return "" } func (x *ListOptions) GetOwnerId() *OwnerId { if x != nil { return x.OwnerId } return nil } func (x *ListOptions) GetToken() *Token { if x != nil { return x.Token } return nil } type EnvironmentId struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` } func (x *EnvironmentId) Reset() { *x = EnvironmentId{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EnvironmentId) String() string { return protoimpl.X.MessageStringOf(x) } func (*EnvironmentId) ProtoMessage() {} func (x *EnvironmentId) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 EnvironmentId.ProtoReflect.Descriptor instead. func (*EnvironmentId) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{7} } func (x *EnvironmentId) GetUuid() string { if x != nil { return x.Uuid } return "" } type EnvironmentMetadata struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A name of the environment Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` } func (x *EnvironmentMetadata) Reset() { *x = EnvironmentMetadata{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EnvironmentMetadata) String() string { return protoimpl.X.MessageStringOf(x) } func (*EnvironmentMetadata) ProtoMessage() {} func (x *EnvironmentMetadata) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 EnvironmentMetadata.ProtoReflect.Descriptor instead. func (*EnvironmentMetadata) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{8} } func (x *EnvironmentMetadata) GetName() string { if x != nil { return x.Name } return "" } func (x *EnvironmentMetadata) GetDescription() string { if x != nil { return x.Description } return "" } type EnvironmentSpec struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Provider Provider `protobuf:"varint,1,opt,name=provider,proto3,enum=environments.Provider" json:"provider,omitempty"` // Provide Kubernetes Kubernetes `protobuf:"varint,2,opt,name=kubernetes,proto3,enum=environments.Kubernetes" json:"kubernetes,omitempty"` ServerType ServerType `protobuf:"varint,3,opt,name=server_type,json=serverType,proto3,enum=environments.ServerType" json:"server_type,omitempty"` ServerLocation Location `protobuf:"varint,4,opt,name=server_location,json=serverLocation,proto3,enum=environments.Location" json:"server_location,omitempty"` DiskSize int32 `protobuf:"varint,5,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` } func (x *EnvironmentSpec) Reset() { *x = EnvironmentSpec{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EnvironmentSpec) String() string { return protoimpl.X.MessageStringOf(x) } func (*EnvironmentSpec) ProtoMessage() {} func (x *EnvironmentSpec) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 EnvironmentSpec.ProtoReflect.Descriptor instead. func (*EnvironmentSpec) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{9} } func (x *EnvironmentSpec) GetProvider() Provider { if x != nil { return x.Provider } return Provider_PROVIDER_UNSPECIFIED } func (x *EnvironmentSpec) GetKubernetes() Kubernetes { if x != nil { return x.Kubernetes } return Kubernetes_KUBERNETES_UNSPECIFIED } func (x *EnvironmentSpec) GetServerType() ServerType { if x != nil { return x.ServerType } return ServerType_SERVER_TYPE_UNSPECIFIED } func (x *EnvironmentSpec) GetServerLocation() Location { if x != nil { return x.ServerLocation } return Location_LOCATION_UNSPECIFIED } func (x *EnvironmentSpec) GetDiskSize() int32 { if x != nil { return x.DiskSize } return 0 } type EnvironmentFull struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Metadata *EnvironmentMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` Spec *EnvironmentSpec `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"` Id *EnvironmentId `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` } func (x *EnvironmentFull) Reset() { *x = EnvironmentFull{} if protoimpl.UnsafeEnabled { mi := &file_environments_environments_v1_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *EnvironmentFull) String() string { return protoimpl.X.MessageStringOf(x) } func (*EnvironmentFull) ProtoMessage() {} func (x *EnvironmentFull) ProtoReflect() protoreflect.Message { mi := &file_environments_environments_v1_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 EnvironmentFull.ProtoReflect.Descriptor instead. func (*EnvironmentFull) Descriptor() ([]byte, []int) { return file_environments_environments_v1_proto_rawDescGZIP(), []int{10} } func (x *EnvironmentFull) GetMetadata() *EnvironmentMetadata { if x != nil { return x.Metadata } return nil } func (x *EnvironmentFull) GetSpec() *EnvironmentSpec { if x != nil { return x.Spec } return nil } func (x *EnvironmentFull) GetId() *EnvironmentId { if x != nil { return x.Id } return nil } var File_environments_environments_v1_proto protoreflect.FileDescriptor var file_environments_environments_v1_proto_rawDesc = []byte{ 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x5f, 0x76, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1d, 0x0a, 0x07, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0x1d, 0x0a, 0x05, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xde, 0x01, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x30, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8b, 0x02, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x30, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd8, 0x01, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x30, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd5, 0x01, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2b, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x30, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xce, 0x01, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x30, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x12, 0x29, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x23, 0x0a, 0x0d, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x22, 0x4b, 0x0a, 0x13, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x98, 0x02, 0x0a, 0x0f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x12, 0x32, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x38, 0x0a, 0x0a, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x52, 0x0a, 0x6b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x3f, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x53, 0x69, 0x7a, 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x0f, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x12, 0x3d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x31, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x70, 0x65, 0x63, 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x2b, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x52, 0x02, 0x69, 0x64, 0x2a, 0x3a, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x52, 0x4f, 0x56, 0x49, 0x44, 0x45, 0x52, 0x5f, 0x48, 0x45, 0x54, 0x5a, 0x4e, 0x45, 0x52, 0x10, 0x01, 0x2a, 0x9e, 0x01, 0x0a, 0x0a, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x52, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x47, 0x55, 0x4c, 0x41, 0x52, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x4c, 0x55, 0x53, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x45, 0x52, 0x56, 0x45, 0x52, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x43, 0x55, 0x53, 0x54, 0x4f, 0x4d, 0x10, 0x05, 0x2a, 0xc3, 0x01, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x14, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x45, 0x54, 0x5a, 0x4e, 0x45, 0x52, 0x5f, 0x4e, 0x55, 0x52, 0x45, 0x4d, 0x42, 0x45, 0x52, 0x47, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x45, 0x54, 0x5a, 0x4e, 0x45, 0x52, 0x5f, 0x46, 0x41, 0x4c, 0x4b, 0x45, 0x4e, 0x53, 0x54, 0x45, 0x49, 0x4e, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x45, 0x54, 0x5a, 0x4e, 0x45, 0x52, 0x5f, 0x48, 0x45, 0x4c, 0x53, 0x49, 0x4e, 0x4b, 0x49, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x45, 0x54, 0x5a, 0x4e, 0x45, 0x52, 0x5f, 0x48, 0x49, 0x4c, 0x4c, 0x53, 0x42, 0x4f, 0x52, 0x4f, 0x10, 0x04, 0x12, 0x1c, 0x0a, 0x18, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x45, 0x54, 0x5a, 0x4e, 0x45, 0x52, 0x5f, 0x41, 0x53, 0x48, 0x42, 0x55, 0x52, 0x4e, 0x10, 0x05, 0x2a, 0x3c, 0x0a, 0x0a, 0x4b, 0x75, 0x62, 0x65, 0x72, 0x6e, 0x65, 0x74, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x16, 0x4b, 0x55, 0x42, 0x45, 0x52, 0x4e, 0x45, 0x54, 0x45, 0x53, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x4b, 0x55, 0x42, 0x45, 0x52, 0x4e, 0x45, 0x54, 0x45, 0x53, 0x5f, 0x4b, 0x33, 0x53, 0x10, 0x01, 0x32, 0xe7, 0x02, 0x0a, 0x0c, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x46, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1b, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0x40, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x18, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x22, 0x00, 0x12, 0x44, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x19, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x22, 0x00, 0x30, 0x01, 0x42, 0x4a, 0x5a, 0x48, 0x67, 0x69, 0x74, 0x65, 0x61, 0x2e, 0x62, 0x61, 0x64, 0x68, 0x6f, 0x75, 0x73, 0x65, 0x70, 0x6c, 0x61, 0x6e, 0x74, 0x73, 0x2e, 0x6e, 0x65, 0x74, 0x2f, 0x73, 0x6f, 0x66, 0x74, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2f, 0x73, 0x6f, 0x66, 0x74, 0x70, 0x6c, 0x61, 0x79, 0x65, 0x72, 0x2d, 0x67, 0x6f, 0x2d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x65, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_environments_environments_v1_proto_rawDescOnce sync.Once file_environments_environments_v1_proto_rawDescData = file_environments_environments_v1_proto_rawDesc ) func file_environments_environments_v1_proto_rawDescGZIP() []byte { file_environments_environments_v1_proto_rawDescOnce.Do(func() { file_environments_environments_v1_proto_rawDescData = protoimpl.X.CompressGZIP(file_environments_environments_v1_proto_rawDescData) }) return file_environments_environments_v1_proto_rawDescData } var file_environments_environments_v1_proto_enumTypes = make([]protoimpl.EnumInfo, 4) var file_environments_environments_v1_proto_msgTypes = make([]protoimpl.MessageInfo, 11) var file_environments_environments_v1_proto_goTypes = []interface{}{ (Provider)(0), // 0: environments.Provider (ServerType)(0), // 1: environments.ServerType (Location)(0), // 2: environments.Location (Kubernetes)(0), // 3: environments.Kubernetes (*OwnerId)(nil), // 4: environments.OwnerId (*Token)(nil), // 5: environments.Token (*CreateOptions)(nil), // 6: environments.CreateOptions (*UpdateOptions)(nil), // 7: environments.UpdateOptions (*DeleteOptions)(nil), // 8: environments.DeleteOptions (*GetOptions)(nil), // 9: environments.GetOptions (*ListOptions)(nil), // 10: environments.ListOptions (*EnvironmentId)(nil), // 11: environments.EnvironmentId (*EnvironmentMetadata)(nil), // 12: environments.EnvironmentMetadata (*EnvironmentSpec)(nil), // 13: environments.EnvironmentSpec (*EnvironmentFull)(nil), // 14: environments.EnvironmentFull (*emptypb.Empty)(nil), // 15: google.protobuf.Empty } var file_environments_environments_v1_proto_depIdxs = []int32{ 12, // 0: environments.CreateOptions.metadata:type_name -> environments.EnvironmentMetadata 13, // 1: environments.CreateOptions.spec:type_name -> environments.EnvironmentSpec 4, // 2: environments.CreateOptions.owner_id:type_name -> environments.OwnerId 5, // 3: environments.CreateOptions.token:type_name -> environments.Token 11, // 4: environments.UpdateOptions.id:type_name -> environments.EnvironmentId 12, // 5: environments.UpdateOptions.metadata:type_name -> environments.EnvironmentMetadata 13, // 6: environments.UpdateOptions.spec:type_name -> environments.EnvironmentSpec 4, // 7: environments.UpdateOptions.owner_id:type_name -> environments.OwnerId 5, // 8: environments.UpdateOptions.token:type_name -> environments.Token 11, // 9: environments.DeleteOptions.id:type_name -> environments.EnvironmentId 12, // 10: environments.DeleteOptions.metadata:type_name -> environments.EnvironmentMetadata 4, // 11: environments.DeleteOptions.owner_id:type_name -> environments.OwnerId 5, // 12: environments.DeleteOptions.token:type_name -> environments.Token 11, // 13: environments.GetOptions.id:type_name -> environments.EnvironmentId 12, // 14: environments.GetOptions.metadata:type_name -> environments.EnvironmentMetadata 4, // 15: environments.GetOptions.owner_id:type_name -> environments.OwnerId 5, // 16: environments.GetOptions.token:type_name -> environments.Token 12, // 17: environments.ListOptions.metadata:type_name -> environments.EnvironmentMetadata 4, // 18: environments.ListOptions.owner_id:type_name -> environments.OwnerId 5, // 19: environments.ListOptions.token:type_name -> environments.Token 0, // 20: environments.EnvironmentSpec.provider:type_name -> environments.Provider 3, // 21: environments.EnvironmentSpec.kubernetes:type_name -> environments.Kubernetes 1, // 22: environments.EnvironmentSpec.server_type:type_name -> environments.ServerType 2, // 23: environments.EnvironmentSpec.server_location:type_name -> environments.Location 12, // 24: environments.EnvironmentFull.metadata:type_name -> environments.EnvironmentMetadata 13, // 25: environments.EnvironmentFull.spec:type_name -> environments.EnvironmentSpec 11, // 26: environments.EnvironmentFull.id:type_name -> environments.EnvironmentId 6, // 27: environments.Environments.Create:input_type -> environments.CreateOptions 7, // 28: environments.Environments.Update:input_type -> environments.UpdateOptions 8, // 29: environments.Environments.Delete:input_type -> environments.DeleteOptions 9, // 30: environments.Environments.Get:input_type -> environments.GetOptions 10, // 31: environments.Environments.List:input_type -> environments.ListOptions 14, // 32: environments.Environments.Create:output_type -> environments.EnvironmentFull 14, // 33: environments.Environments.Update:output_type -> environments.EnvironmentFull 15, // 34: environments.Environments.Delete:output_type -> google.protobuf.Empty 14, // 35: environments.Environments.Get:output_type -> environments.EnvironmentFull 14, // 36: environments.Environments.List:output_type -> environments.EnvironmentFull 32, // [32:37] is the sub-list for method output_type 27, // [27:32] is the sub-list for method input_type 27, // [27:27] is the sub-list for extension type_name 27, // [27:27] is the sub-list for extension extendee 0, // [0:27] is the sub-list for field type_name } func init() { file_environments_environments_v1_proto_init() } func file_environments_environments_v1_proto_init() { if File_environments_environments_v1_proto != nil { return } if !protoimpl.UnsafeEnabled { file_environments_environments_v1_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*OwnerId); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_environments_environments_v1_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Token); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_environments_environments_v1_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateOptions); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_environments_environments_v1_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateOptions); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_environments_environments_v1_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DeleteOptions); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_environments_environments_v1_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetOptions); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_environments_environments_v1_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListOptions); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_environments_environments_v1_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EnvironmentId); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_environments_environments_v1_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EnvironmentMetadata); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_environments_environments_v1_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EnvironmentSpec); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_environments_environments_v1_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EnvironmentFull); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_environments_environments_v1_proto_rawDesc, NumEnums: 4, NumMessages: 11, NumExtensions: 0, NumServices: 1, }, GoTypes: file_environments_environments_v1_proto_goTypes, DependencyIndexes: file_environments_environments_v1_proto_depIdxs, EnumInfos: file_environments_environments_v1_proto_enumTypes, MessageInfos: file_environments_environments_v1_proto_msgTypes, }.Build() File_environments_environments_v1_proto = out.File file_environments_environments_v1_proto_rawDesc = nil file_environments_environments_v1_proto_goTypes = nil file_environments_environments_v1_proto_depIdxs = nil }