diff --git a/backend/protos/xyz/block/ftl/v1/language/language.pb.go b/backend/protos/xyz/block/ftl/v1/language/language.pb.go index c38480dc3f..c24992cfec 100644 --- a/backend/protos/xyz/block/ftl/v1/language/language.pb.go +++ b/backend/protos/xyz/block/ftl/v1/language/language.pb.go @@ -121,7 +121,7 @@ func (x Error_ErrorLevel) Number() protoreflect.EnumNumber { // Deprecated: Use Error_ErrorLevel.Descriptor instead. func (Error_ErrorLevel) EnumDescriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{11, 0} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{13, 0} } type Metadata struct { @@ -468,6 +468,124 @@ func (*CreateModuleResponse) Descriptor() ([]byte, []int) { return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{5} } +type ModuleConfigDefaultsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` +} + +func (x *ModuleConfigDefaultsRequest) Reset() { + *x = ModuleConfigDefaultsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ModuleConfigDefaultsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ModuleConfigDefaultsRequest) ProtoMessage() {} + +func (x *ModuleConfigDefaultsRequest) ProtoReflect() protoreflect.Message { + mi := &file_xyz_block_ftl_v1_language_language_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 ModuleConfigDefaultsRequest.ProtoReflect.Descriptor instead. +func (*ModuleConfigDefaultsRequest) Descriptor() ([]byte, []int) { + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{6} +} + +func (x *ModuleConfigDefaultsRequest) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + +type ModuleConfigDefaultsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + DeployDir string `protobuf:"bytes,1,opt,name=DeployDir,proto3" json:"DeployDir,omitempty"` + Build *string `protobuf:"bytes,2,opt,name=build,proto3,oneof" json:"build,omitempty"` + GeneratedSchemaDir *string `protobuf:"bytes,3,opt,name=GeneratedSchemaDir,proto3,oneof" json:"GeneratedSchemaDir,omitempty"` + Watch []string `protobuf:"bytes,4,rep,name=Watch,proto3" json:"Watch,omitempty"` +} + +func (x *ModuleConfigDefaultsResponse) Reset() { + *x = ModuleConfigDefaultsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ModuleConfigDefaultsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ModuleConfigDefaultsResponse) ProtoMessage() {} + +func (x *ModuleConfigDefaultsResponse) ProtoReflect() protoreflect.Message { + mi := &file_xyz_block_ftl_v1_language_language_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 ModuleConfigDefaultsResponse.ProtoReflect.Descriptor instead. +func (*ModuleConfigDefaultsResponse) Descriptor() ([]byte, []int) { + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{7} +} + +func (x *ModuleConfigDefaultsResponse) GetDeployDir() string { + if x != nil { + return x.DeployDir + } + return "" +} + +func (x *ModuleConfigDefaultsResponse) GetBuild() string { + if x != nil && x.Build != nil { + return *x.Build + } + return "" +} + +func (x *ModuleConfigDefaultsResponse) GetGeneratedSchemaDir() string { + if x != nil && x.GeneratedSchemaDir != nil { + return *x.GeneratedSchemaDir + } + return "" +} + +func (x *ModuleConfigDefaultsResponse) GetWatch() []string { + if x != nil { + return x.Watch + } + return nil +} + type DependenciesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -480,7 +598,7 @@ type DependenciesRequest struct { func (x *DependenciesRequest) Reset() { *x = DependenciesRequest{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[6] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -493,7 +611,7 @@ func (x *DependenciesRequest) String() string { func (*DependenciesRequest) ProtoMessage() {} func (x *DependenciesRequest) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[6] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -506,7 +624,7 @@ func (x *DependenciesRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DependenciesRequest.ProtoReflect.Descriptor instead. func (*DependenciesRequest) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{6} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{8} } func (x *DependenciesRequest) GetPath() string { @@ -534,7 +652,7 @@ type DependenciesResponse struct { func (x *DependenciesResponse) Reset() { *x = DependenciesResponse{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[7] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -547,7 +665,7 @@ func (x *DependenciesResponse) String() string { func (*DependenciesResponse) ProtoMessage() {} func (x *DependenciesResponse) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[7] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -560,7 +678,7 @@ func (x *DependenciesResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use DependenciesResponse.ProtoReflect.Descriptor instead. func (*DependenciesResponse) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{7} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{9} } func (x *DependenciesResponse) GetModules() []string { @@ -582,7 +700,7 @@ type DependencyUpdate struct { func (x *DependencyUpdate) Reset() { *x = DependencyUpdate{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[8] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -595,7 +713,7 @@ func (x *DependencyUpdate) String() string { func (*DependencyUpdate) ProtoMessage() {} func (x *DependencyUpdate) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[8] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -608,7 +726,7 @@ func (x *DependencyUpdate) ProtoReflect() protoreflect.Message { // Deprecated: Use DependencyUpdate.ProtoReflect.Descriptor instead. func (*DependencyUpdate) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{8} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{10} } func (x *DependencyUpdate) GetModules() []string { @@ -633,7 +751,7 @@ type BuildContextUpdatedRequest struct { func (x *BuildContextUpdatedRequest) Reset() { *x = BuildContextUpdatedRequest{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[9] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -646,7 +764,7 @@ func (x *BuildContextUpdatedRequest) String() string { func (*BuildContextUpdatedRequest) ProtoMessage() {} func (x *BuildContextUpdatedRequest) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[9] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -659,7 +777,7 @@ func (x *BuildContextUpdatedRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BuildContextUpdatedRequest.ProtoReflect.Descriptor instead. func (*BuildContextUpdatedRequest) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{9} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{11} } func (x *BuildContextUpdatedRequest) GetBuildRequestId() string { @@ -692,7 +810,7 @@ type BuildContextUpdatedResponse struct { func (x *BuildContextUpdatedResponse) Reset() { *x = BuildContextUpdatedResponse{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[10] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -705,7 +823,7 @@ func (x *BuildContextUpdatedResponse) String() string { func (*BuildContextUpdatedResponse) ProtoMessage() {} func (x *BuildContextUpdatedResponse) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[10] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -718,7 +836,7 @@ func (x *BuildContextUpdatedResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use BuildContextUpdatedResponse.ProtoReflect.Descriptor instead. func (*BuildContextUpdatedResponse) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{10} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{12} } type Error struct { @@ -735,7 +853,7 @@ type Error struct { func (x *Error) Reset() { *x = Error{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[11] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -748,7 +866,7 @@ func (x *Error) String() string { func (*Error) ProtoMessage() {} func (x *Error) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[11] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -761,7 +879,7 @@ func (x *Error) ProtoReflect() protoreflect.Message { // Deprecated: Use Error.ProtoReflect.Descriptor instead. func (*Error) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{11} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{13} } func (x *Error) GetMsg() string { @@ -803,7 +921,7 @@ type ErrorList struct { func (x *ErrorList) Reset() { *x = ErrorList{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[12] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -816,7 +934,7 @@ func (x *ErrorList) String() string { func (*ErrorList) ProtoMessage() {} func (x *ErrorList) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[12] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -829,7 +947,7 @@ func (x *ErrorList) ProtoReflect() protoreflect.Message { // Deprecated: Use ErrorList.ProtoReflect.Descriptor instead. func (*ErrorList) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{12} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{14} } func (x *ErrorList) GetErrors() []*Error { @@ -861,7 +979,7 @@ type BuildRequest struct { func (x *BuildRequest) Reset() { *x = BuildRequest{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[13] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -874,7 +992,7 @@ func (x *BuildRequest) String() string { func (*BuildRequest) ProtoMessage() {} func (x *BuildRequest) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[13] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -887,7 +1005,7 @@ func (x *BuildRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use BuildRequest.ProtoReflect.Descriptor instead. func (*BuildRequest) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{13} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{15} } func (x *BuildRequest) GetBuildRequestId() string { @@ -941,7 +1059,7 @@ type AutoRebuildStarted struct { func (x *AutoRebuildStarted) Reset() { *x = AutoRebuildStarted{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[14] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -954,7 +1072,7 @@ func (x *AutoRebuildStarted) String() string { func (*AutoRebuildStarted) ProtoMessage() {} func (x *AutoRebuildStarted) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[14] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -967,7 +1085,7 @@ func (x *AutoRebuildStarted) ProtoReflect() protoreflect.Message { // Deprecated: Use AutoRebuildStarted.ProtoReflect.Descriptor instead. func (*AutoRebuildStarted) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{14} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{16} } // Response to a build request. @@ -989,7 +1107,7 @@ type BuildResult struct { func (x *BuildResult) Reset() { *x = BuildResult{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[15] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1002,7 +1120,7 @@ func (x *BuildResult) String() string { func (*BuildResult) ProtoMessage() {} func (x *BuildResult) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[15] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1015,7 +1133,7 @@ func (x *BuildResult) ProtoReflect() protoreflect.Message { // Deprecated: Use BuildResult.ProtoReflect.Descriptor instead. func (*BuildResult) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{15} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{17} } func (x *BuildResult) GetBuildRequestId() string { @@ -1059,7 +1177,7 @@ type LogMessage struct { func (x *LogMessage) Reset() { *x = LogMessage{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[16] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1072,7 +1190,7 @@ func (x *LogMessage) String() string { func (*LogMessage) ProtoMessage() {} func (x *LogMessage) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[16] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1085,7 +1203,7 @@ func (x *LogMessage) ProtoReflect() protoreflect.Message { // Deprecated: Use LogMessage.ProtoReflect.Descriptor instead. func (*LogMessage) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{16} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{18} } func (x *LogMessage) GetMessage() string { @@ -1120,7 +1238,7 @@ type BuildEvent struct { func (x *BuildEvent) Reset() { *x = BuildEvent{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[17] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1133,7 +1251,7 @@ func (x *BuildEvent) String() string { func (*BuildEvent) ProtoMessage() {} func (x *BuildEvent) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[17] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1146,7 +1264,7 @@ func (x *BuildEvent) ProtoReflect() protoreflect.Message { // Deprecated: Use BuildEvent.ProtoReflect.Descriptor instead. func (*BuildEvent) Descriptor() ([]byte, []int) { - return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{17} + return file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP(), []int{19} } func (m *BuildEvent) GetEvent() isBuildEvent_Event { @@ -1229,7 +1347,7 @@ type GetCreateModuleFlagsResponse_Flag struct { func (x *GetCreateModuleFlagsResponse_Flag) Reset() { *x = GetCreateModuleFlagsResponse_Flag{} if protoimpl.UnsafeEnabled { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[18] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1242,7 +1360,7 @@ func (x *GetCreateModuleFlagsResponse_Flag) String() string { func (*GetCreateModuleFlagsResponse_Flag) ProtoMessage() {} func (x *GetCreateModuleFlagsResponse_Flag) ProtoReflect() protoreflect.Message { - mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[18] + mi := &file_xyz_block_ftl_v1_language_language_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1365,168 +1483,192 @@ var file_xyz_block_ftl_v1_language_language_proto_rawDesc = []byte{ 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x05, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x6a, 0x0a, 0x13, 0x44, 0x65, 0x70, 0x65, - 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, - 0x61, 0x74, 0x68, 0x12, 0x3f, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, - 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, - 0x64, 0x61, 0x74, 0x61, 0x22, 0x30, 0x0a, 0x14, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, - 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0x2c, 0x0a, 0x10, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, - 0x65, 0x6e, 0x63, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, - 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x64, - 0x75, 0x6c, 0x65, 0x73, 0x22, 0xe0, 0x01, 0x0a, 0x1a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x75, 0x69, - 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x08, 0x6d, - 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x31, 0x0a, 0x1b, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0xc3, 0x01, 0x0a, 0x1c, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x66, 0x61, + 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1c, 0x0a, 0x09, + 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x44, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x09, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x44, 0x69, 0x72, 0x12, 0x19, 0x0a, 0x05, 0x62, 0x75, + 0x69, 0x6c, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x88, 0x01, 0x01, 0x12, 0x33, 0x0a, 0x12, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x69, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x01, 0x52, 0x12, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x44, 0x69, 0x72, 0x88, 0x01, 0x01, 0x12, 0x14, 0x0a, 0x05, 0x57, 0x61, + 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x57, 0x61, 0x74, 0x63, 0x68, + 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x42, 0x15, 0x0a, 0x13, 0x5f, 0x47, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x69, + 0x72, 0x22, 0x6a, 0x0a, 0x13, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, + 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x3f, 0x0a, 0x08, + 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, + 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x30, 0x0a, + 0x14, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, + 0x2c, 0x0a, 0x10, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x22, 0xe0, 0x01, + 0x0a, 0x1a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, + 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x49, 0x64, 0x12, 0x44, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, + 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x78, 0x79, 0x7a, + 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x48, 0x01, 0x52, 0x06, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x22, 0x1d, 0x0a, 0x1b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0xdc, 0x01, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x33, 0x0a, 0x03, 0x70, + 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x70, 0x6f, 0x73, + 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x41, + 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, + 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, + 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, + 0x6c, 0x22, 0x2b, 0x0a, 0x0a, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, + 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x41, 0x52, + 0x4e, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x02, 0x22, 0x45, + 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x79, + 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, + 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, 0x65, + 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0xfd, 0x01, 0x0a, 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, + 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, + 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, + 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x61, + 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x77, 0x61, 0x74, 0x63, 0x68, 0x12, 0x3f, 0x0a, 0x08, 0x6d, + 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, - 0x74, 0x61, 0x48, 0x00, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x88, 0x01, - 0x01, 0x12, 0x3c, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1f, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, - 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x48, 0x01, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x88, 0x01, 0x01, 0x42, - 0x0b, 0x0a, 0x09, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0x09, 0x0a, 0x07, - 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x1d, 0x0a, 0x1b, 0x42, 0x75, 0x69, 0x6c, 0x64, - 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0xdc, 0x01, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, - 0x73, 0x67, 0x12, 0x33, 0x0a, 0x03, 0x70, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x21, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, - 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x64, 0x43, 0x6f, - 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x43, - 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x41, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, - 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x65, 0x76, 0x65, - 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x2b, 0x0a, 0x0a, 0x45, 0x72, 0x72, 0x6f, - 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x00, - 0x12, 0x08, 0x0a, 0x04, 0x57, 0x41, 0x52, 0x4e, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x10, 0x02, 0x22, 0x45, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x69, - 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, - 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0xfd, 0x01, 0x0a, - 0x0c, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, - 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, - 0x77, 0x61, 0x74, 0x63, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x77, 0x61, 0x74, - 0x63, 0x68, 0x12, 0x3f, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, - 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, - 0x61, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, - 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x14, 0x0a, 0x12, - 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x65, 0x64, 0x22, 0xec, 0x01, 0x0a, 0x0b, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x2b, 0x0a, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x75, - 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, - 0x3c, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x1f, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, - 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, - 0x48, 0x01, 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, - 0x06, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, - 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x12, 0x3c, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, - 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, - 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x06, 0x65, 0x72, 0x72, - 0x6f, 0x72, 0x73, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x22, 0x61, 0x0a, 0x0a, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, - 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x39, 0x0a, 0x05, 0x6c, 0x65, 0x76, - 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, - 0x75, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, - 0x65, 0x76, 0x65, 0x6c, 0x22, 0xeb, 0x02, 0x0a, 0x0a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x45, 0x76, - 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x11, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, - 0x79, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, + 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x37, 0x0a, 0x06, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x78, + 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x22, 0x14, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x22, 0xec, 0x01, 0x0a, 0x0b, + 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2b, 0x0a, 0x0e, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x3c, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, + 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x48, 0x01, 0x52, 0x06, 0x6d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, + 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x12, 0x3c, + 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, - 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, - 0x64, 0x65, 0x6e, 0x63, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x64, - 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, - 0x61, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, - 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, + 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x42, 0x11, 0x0a, 0x0f, + 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x42, + 0x09, 0x0a, 0x07, 0x5f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x22, 0x61, 0x0a, 0x0a, 0x4c, 0x6f, + 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x39, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x23, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, + 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x6f, + 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0xeb, 0x02, + 0x0a, 0x0a, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x5a, 0x0a, 0x11, + 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, + 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x48, 0x00, 0x52, 0x10, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, + 0x63, 0x79, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x61, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x6f, + 0x5f, 0x72, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, + 0x67, 0x65, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, + 0x61, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x12, 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x12, 0x4b, 0x0a, 0x0c, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x26, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, + 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x75, + 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x75, 0x69, + 0x6c, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x48, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 0x5f, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, + 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, + 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x6c, 0x6f, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2a, 0x34, 0x0a, 0x08, 0x4c, + 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x09, 0x0a, 0x05, 0x44, 0x45, 0x42, 0x55, 0x47, + 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, + 0x57, 0x41, 0x52, 0x4e, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, + 0x03, 0x32, 0xb8, 0x06, 0x0a, 0x0f, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x53, 0x65, + 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, - 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x52, 0x65, - 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x12, - 0x61, 0x75, 0x74, 0x6f, 0x52, 0x65, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x53, 0x74, 0x61, 0x72, 0x74, - 0x65, 0x64, 0x12, 0x4b, 0x0a, 0x0c, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, - 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, - 0x75, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x48, 0x00, 0x52, 0x0b, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x48, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, - 0x2e, 0x4c, 0x6f, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x0a, 0x6c, - 0x6f, 0x67, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x65, 0x76, 0x65, - 0x6e, 0x74, 0x2a, 0x34, 0x0a, 0x08, 0x4c, 0x6f, 0x67, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x09, - 0x0a, 0x05, 0x44, 0x45, 0x42, 0x55, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, - 0x4f, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x57, 0x41, 0x52, 0x4e, 0x10, 0x02, 0x12, 0x09, 0x0a, - 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x32, 0xae, 0x05, 0x0a, 0x0f, 0x4c, 0x61, 0x6e, - 0x67, 0x75, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x04, - 0x50, 0x69, 0x6e, 0x67, 0x12, 0x1d, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, - 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, 0x01, 0x12, 0x87, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x6c, 0x61, 0x67, - 0x73, 0x12, 0x36, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, - 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, - 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x6c, 0x61, - 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x78, 0x79, 0x7a, 0x2e, + 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x78, + 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, + 0x50, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x03, 0x90, 0x02, + 0x01, 0x12, 0x87, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x36, 0x2e, 0x78, 0x79, 0x7a, + 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, + 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x37, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, + 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x47, + 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x6c, + 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x0c, 0x43, + 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x12, 0x2e, 0x2e, 0x78, 0x79, + 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, + 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x78, 0x79, + 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, + 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x87, 0x01, 0x0a, + 0x14, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x66, + 0x61, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x36, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, + 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, + 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, + 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x37, 0x2e, + 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, + 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x73, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, + 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2e, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, - 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x6f, 0x0a, 0x0c, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, - 0x6c, 0x65, 0x12, 0x2e, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, - 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, - 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x72, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, - 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x2e, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, - 0x67, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, - 0x67, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x13, 0x42, 0x75, 0x69, 0x6c, - 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x35, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, - 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, - 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, - 0x67, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, - 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x59, - 0x0a, 0x05, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x27, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, - 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, - 0x61, 0x67, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x25, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, - 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x75, 0x69, - 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x30, 0x01, 0x42, 0x52, 0x50, 0x01, 0x5a, 0x4e, 0x67, - 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x42, 0x44, 0x35, 0x34, 0x35, - 0x36, 0x36, 0x39, 0x37, 0x35, 0x2f, 0x66, 0x74, 0x6c, 0x2f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, - 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x78, 0x79, 0x7a, 0x2f, 0x62, 0x6c, 0x6f, - 0x63, 0x6b, 0x2f, 0x66, 0x74, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, - 0x67, 0x65, 0x3b, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2f, 0x2e, 0x78, 0x79, 0x7a, 0x2e, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, + 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, + 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x13, 0x42, + 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x12, 0x35, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, + 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x42, + 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, + 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x78, 0x79, 0x7a, 0x2e, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, + 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x6f, 0x6e, 0x74, 0x65, + 0x78, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x59, 0x0a, 0x05, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x12, 0x27, 0x2e, 0x78, 0x79, 0x7a, + 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, + 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x78, 0x79, 0x7a, 0x2e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2e, + 0x66, 0x74, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2e, + 0x42, 0x75, 0x69, 0x6c, 0x64, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x30, 0x01, 0x42, 0x52, 0x50, 0x01, + 0x5a, 0x4e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x42, 0x44, + 0x35, 0x34, 0x35, 0x36, 0x36, 0x39, 0x37, 0x35, 0x2f, 0x66, 0x74, 0x6c, 0x2f, 0x62, 0x61, 0x63, + 0x6b, 0x65, 0x6e, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x78, 0x79, 0x7a, 0x2f, + 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x2f, 0x66, 0x74, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x61, 0x6e, + 0x67, 0x75, 0x61, 0x67, 0x65, 0x3b, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x70, 0x62, + 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1542,7 +1684,7 @@ func file_xyz_block_ftl_v1_language_language_proto_rawDescGZIP() []byte { } var file_xyz_block_ftl_v1_language_language_proto_enumTypes = make([]protoimpl.EnumInfo, 2) -var file_xyz_block_ftl_v1_language_language_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_xyz_block_ftl_v1_language_language_proto_msgTypes = make([]protoimpl.MessageInfo, 21) var file_xyz_block_ftl_v1_language_language_proto_goTypes = []any{ (LogLevel)(0), // 0: xyz.block.ftl.v1.language.LogLevel (Error_ErrorLevel)(0), // 1: xyz.block.ftl.v1.language.Error.ErrorLevel @@ -1552,60 +1694,64 @@ var file_xyz_block_ftl_v1_language_language_proto_goTypes = []any{ (*GetCreateModuleFlagsResponse)(nil), // 5: xyz.block.ftl.v1.language.GetCreateModuleFlagsResponse (*CreateModuleRequest)(nil), // 6: xyz.block.ftl.v1.language.CreateModuleRequest (*CreateModuleResponse)(nil), // 7: xyz.block.ftl.v1.language.CreateModuleResponse - (*DependenciesRequest)(nil), // 8: xyz.block.ftl.v1.language.DependenciesRequest - (*DependenciesResponse)(nil), // 9: xyz.block.ftl.v1.language.DependenciesResponse - (*DependencyUpdate)(nil), // 10: xyz.block.ftl.v1.language.DependencyUpdate - (*BuildContextUpdatedRequest)(nil), // 11: xyz.block.ftl.v1.language.BuildContextUpdatedRequest - (*BuildContextUpdatedResponse)(nil), // 12: xyz.block.ftl.v1.language.BuildContextUpdatedResponse - (*Error)(nil), // 13: xyz.block.ftl.v1.language.Error - (*ErrorList)(nil), // 14: xyz.block.ftl.v1.language.ErrorList - (*BuildRequest)(nil), // 15: xyz.block.ftl.v1.language.BuildRequest - (*AutoRebuildStarted)(nil), // 16: xyz.block.ftl.v1.language.AutoRebuildStarted - (*BuildResult)(nil), // 17: xyz.block.ftl.v1.language.BuildResult - (*LogMessage)(nil), // 18: xyz.block.ftl.v1.language.LogMessage - (*BuildEvent)(nil), // 19: xyz.block.ftl.v1.language.BuildEvent - (*GetCreateModuleFlagsResponse_Flag)(nil), // 20: xyz.block.ftl.v1.language.GetCreateModuleFlagsResponse.Flag - (*anypb.Any)(nil), // 21: google.protobuf.Any - (*schema.Schema)(nil), // 22: xyz.block.ftl.v1.schema.Schema - (*schema.Position)(nil), // 23: xyz.block.ftl.v1.schema.Position - (*schema.Module)(nil), // 24: xyz.block.ftl.v1.schema.Module - (*v1.PingRequest)(nil), // 25: xyz.block.ftl.v1.PingRequest - (*v1.PingResponse)(nil), // 26: xyz.block.ftl.v1.PingResponse + (*ModuleConfigDefaultsRequest)(nil), // 8: xyz.block.ftl.v1.language.ModuleConfigDefaultsRequest + (*ModuleConfigDefaultsResponse)(nil), // 9: xyz.block.ftl.v1.language.ModuleConfigDefaultsResponse + (*DependenciesRequest)(nil), // 10: xyz.block.ftl.v1.language.DependenciesRequest + (*DependenciesResponse)(nil), // 11: xyz.block.ftl.v1.language.DependenciesResponse + (*DependencyUpdate)(nil), // 12: xyz.block.ftl.v1.language.DependencyUpdate + (*BuildContextUpdatedRequest)(nil), // 13: xyz.block.ftl.v1.language.BuildContextUpdatedRequest + (*BuildContextUpdatedResponse)(nil), // 14: xyz.block.ftl.v1.language.BuildContextUpdatedResponse + (*Error)(nil), // 15: xyz.block.ftl.v1.language.Error + (*ErrorList)(nil), // 16: xyz.block.ftl.v1.language.ErrorList + (*BuildRequest)(nil), // 17: xyz.block.ftl.v1.language.BuildRequest + (*AutoRebuildStarted)(nil), // 18: xyz.block.ftl.v1.language.AutoRebuildStarted + (*BuildResult)(nil), // 19: xyz.block.ftl.v1.language.BuildResult + (*LogMessage)(nil), // 20: xyz.block.ftl.v1.language.LogMessage + (*BuildEvent)(nil), // 21: xyz.block.ftl.v1.language.BuildEvent + (*GetCreateModuleFlagsResponse_Flag)(nil), // 22: xyz.block.ftl.v1.language.GetCreateModuleFlagsResponse.Flag + (*anypb.Any)(nil), // 23: google.protobuf.Any + (*schema.Schema)(nil), // 24: xyz.block.ftl.v1.schema.Schema + (*schema.Position)(nil), // 25: xyz.block.ftl.v1.schema.Position + (*schema.Module)(nil), // 26: xyz.block.ftl.v1.schema.Module + (*v1.PingRequest)(nil), // 27: xyz.block.ftl.v1.PingRequest + (*v1.PingResponse)(nil), // 28: xyz.block.ftl.v1.PingResponse } var file_xyz_block_ftl_v1_language_language_proto_depIdxs = []int32{ - 21, // 0: xyz.block.ftl.v1.language.Metadata.LanguageMetadata:type_name -> google.protobuf.Any - 20, // 1: xyz.block.ftl.v1.language.GetCreateModuleFlagsResponse.flags:type_name -> xyz.block.ftl.v1.language.GetCreateModuleFlagsResponse.Flag + 23, // 0: xyz.block.ftl.v1.language.Metadata.LanguageMetadata:type_name -> google.protobuf.Any + 22, // 1: xyz.block.ftl.v1.language.GetCreateModuleFlagsResponse.flags:type_name -> xyz.block.ftl.v1.language.GetCreateModuleFlagsResponse.Flag 3, // 2: xyz.block.ftl.v1.language.CreateModuleRequest.projectConfig:type_name -> xyz.block.ftl.v1.language.ProjectConfig - 21, // 3: xyz.block.ftl.v1.language.CreateModuleRequest.Flags:type_name -> google.protobuf.Any + 23, // 3: xyz.block.ftl.v1.language.CreateModuleRequest.Flags:type_name -> google.protobuf.Any 2, // 4: xyz.block.ftl.v1.language.DependenciesRequest.metadata:type_name -> xyz.block.ftl.v1.language.Metadata 2, // 5: xyz.block.ftl.v1.language.BuildContextUpdatedRequest.metadata:type_name -> xyz.block.ftl.v1.language.Metadata - 22, // 6: xyz.block.ftl.v1.language.BuildContextUpdatedRequest.schema:type_name -> xyz.block.ftl.v1.schema.Schema - 23, // 7: xyz.block.ftl.v1.language.Error.pos:type_name -> xyz.block.ftl.v1.schema.Position + 24, // 6: xyz.block.ftl.v1.language.BuildContextUpdatedRequest.schema:type_name -> xyz.block.ftl.v1.schema.Schema + 25, // 7: xyz.block.ftl.v1.language.Error.pos:type_name -> xyz.block.ftl.v1.schema.Position 1, // 8: xyz.block.ftl.v1.language.Error.level:type_name -> xyz.block.ftl.v1.language.Error.ErrorLevel - 13, // 9: xyz.block.ftl.v1.language.ErrorList.errors:type_name -> xyz.block.ftl.v1.language.Error + 15, // 9: xyz.block.ftl.v1.language.ErrorList.errors:type_name -> xyz.block.ftl.v1.language.Error 2, // 10: xyz.block.ftl.v1.language.BuildRequest.metadata:type_name -> xyz.block.ftl.v1.language.Metadata - 22, // 11: xyz.block.ftl.v1.language.BuildRequest.schema:type_name -> xyz.block.ftl.v1.schema.Schema - 24, // 12: xyz.block.ftl.v1.language.BuildResult.module:type_name -> xyz.block.ftl.v1.schema.Module - 14, // 13: xyz.block.ftl.v1.language.BuildResult.errors:type_name -> xyz.block.ftl.v1.language.ErrorList + 24, // 11: xyz.block.ftl.v1.language.BuildRequest.schema:type_name -> xyz.block.ftl.v1.schema.Schema + 26, // 12: xyz.block.ftl.v1.language.BuildResult.module:type_name -> xyz.block.ftl.v1.schema.Module + 16, // 13: xyz.block.ftl.v1.language.BuildResult.errors:type_name -> xyz.block.ftl.v1.language.ErrorList 0, // 14: xyz.block.ftl.v1.language.LogMessage.level:type_name -> xyz.block.ftl.v1.language.LogLevel - 10, // 15: xyz.block.ftl.v1.language.BuildEvent.dependency_update:type_name -> xyz.block.ftl.v1.language.DependencyUpdate - 16, // 16: xyz.block.ftl.v1.language.BuildEvent.auto_rebuild_started:type_name -> xyz.block.ftl.v1.language.AutoRebuildStarted - 17, // 17: xyz.block.ftl.v1.language.BuildEvent.build_result:type_name -> xyz.block.ftl.v1.language.BuildResult - 18, // 18: xyz.block.ftl.v1.language.BuildEvent.log_message:type_name -> xyz.block.ftl.v1.language.LogMessage - 25, // 19: xyz.block.ftl.v1.language.LanguageService.Ping:input_type -> xyz.block.ftl.v1.PingRequest + 12, // 15: xyz.block.ftl.v1.language.BuildEvent.dependency_update:type_name -> xyz.block.ftl.v1.language.DependencyUpdate + 18, // 16: xyz.block.ftl.v1.language.BuildEvent.auto_rebuild_started:type_name -> xyz.block.ftl.v1.language.AutoRebuildStarted + 19, // 17: xyz.block.ftl.v1.language.BuildEvent.build_result:type_name -> xyz.block.ftl.v1.language.BuildResult + 20, // 18: xyz.block.ftl.v1.language.BuildEvent.log_message:type_name -> xyz.block.ftl.v1.language.LogMessage + 27, // 19: xyz.block.ftl.v1.language.LanguageService.Ping:input_type -> xyz.block.ftl.v1.PingRequest 4, // 20: xyz.block.ftl.v1.language.LanguageService.GetCreateModuleFlags:input_type -> xyz.block.ftl.v1.language.GetCreateModuleFlagsRequest 6, // 21: xyz.block.ftl.v1.language.LanguageService.CreateModule:input_type -> xyz.block.ftl.v1.language.CreateModuleRequest - 8, // 22: xyz.block.ftl.v1.language.LanguageService.GetDependencies:input_type -> xyz.block.ftl.v1.language.DependenciesRequest - 11, // 23: xyz.block.ftl.v1.language.LanguageService.BuildContextUpdated:input_type -> xyz.block.ftl.v1.language.BuildContextUpdatedRequest - 15, // 24: xyz.block.ftl.v1.language.LanguageService.Build:input_type -> xyz.block.ftl.v1.language.BuildRequest - 26, // 25: xyz.block.ftl.v1.language.LanguageService.Ping:output_type -> xyz.block.ftl.v1.PingResponse - 5, // 26: xyz.block.ftl.v1.language.LanguageService.GetCreateModuleFlags:output_type -> xyz.block.ftl.v1.language.GetCreateModuleFlagsResponse - 7, // 27: xyz.block.ftl.v1.language.LanguageService.CreateModule:output_type -> xyz.block.ftl.v1.language.CreateModuleResponse - 9, // 28: xyz.block.ftl.v1.language.LanguageService.GetDependencies:output_type -> xyz.block.ftl.v1.language.DependenciesResponse - 12, // 29: xyz.block.ftl.v1.language.LanguageService.BuildContextUpdated:output_type -> xyz.block.ftl.v1.language.BuildContextUpdatedResponse - 19, // 30: xyz.block.ftl.v1.language.LanguageService.Build:output_type -> xyz.block.ftl.v1.language.BuildEvent - 25, // [25:31] is the sub-list for method output_type - 19, // [19:25] is the sub-list for method input_type + 8, // 22: xyz.block.ftl.v1.language.LanguageService.ModuleConfigDefaults:input_type -> xyz.block.ftl.v1.language.ModuleConfigDefaultsRequest + 10, // 23: xyz.block.ftl.v1.language.LanguageService.GetDependencies:input_type -> xyz.block.ftl.v1.language.DependenciesRequest + 13, // 24: xyz.block.ftl.v1.language.LanguageService.BuildContextUpdated:input_type -> xyz.block.ftl.v1.language.BuildContextUpdatedRequest + 17, // 25: xyz.block.ftl.v1.language.LanguageService.Build:input_type -> xyz.block.ftl.v1.language.BuildRequest + 28, // 26: xyz.block.ftl.v1.language.LanguageService.Ping:output_type -> xyz.block.ftl.v1.PingResponse + 5, // 27: xyz.block.ftl.v1.language.LanguageService.GetCreateModuleFlags:output_type -> xyz.block.ftl.v1.language.GetCreateModuleFlagsResponse + 7, // 28: xyz.block.ftl.v1.language.LanguageService.CreateModule:output_type -> xyz.block.ftl.v1.language.CreateModuleResponse + 9, // 29: xyz.block.ftl.v1.language.LanguageService.ModuleConfigDefaults:output_type -> xyz.block.ftl.v1.language.ModuleConfigDefaultsResponse + 11, // 30: xyz.block.ftl.v1.language.LanguageService.GetDependencies:output_type -> xyz.block.ftl.v1.language.DependenciesResponse + 14, // 31: xyz.block.ftl.v1.language.LanguageService.BuildContextUpdated:output_type -> xyz.block.ftl.v1.language.BuildContextUpdatedResponse + 21, // 32: xyz.block.ftl.v1.language.LanguageService.Build:output_type -> xyz.block.ftl.v1.language.BuildEvent + 26, // [26:33] is the sub-list for method output_type + 19, // [19:26] is the sub-list for method input_type 19, // [19:19] is the sub-list for extension type_name 19, // [19:19] is the sub-list for extension extendee 0, // [0:19] is the sub-list for field type_name @@ -1690,7 +1836,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[6].Exporter = func(v any, i int) any { - switch v := v.(*DependenciesRequest); i { + switch v := v.(*ModuleConfigDefaultsRequest); i { case 0: return &v.state case 1: @@ -1702,7 +1848,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[7].Exporter = func(v any, i int) any { - switch v := v.(*DependenciesResponse); i { + switch v := v.(*ModuleConfigDefaultsResponse); i { case 0: return &v.state case 1: @@ -1714,7 +1860,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[8].Exporter = func(v any, i int) any { - switch v := v.(*DependencyUpdate); i { + switch v := v.(*DependenciesRequest); i { case 0: return &v.state case 1: @@ -1726,7 +1872,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[9].Exporter = func(v any, i int) any { - switch v := v.(*BuildContextUpdatedRequest); i { + switch v := v.(*DependenciesResponse); i { case 0: return &v.state case 1: @@ -1738,7 +1884,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[10].Exporter = func(v any, i int) any { - switch v := v.(*BuildContextUpdatedResponse); i { + switch v := v.(*DependencyUpdate); i { case 0: return &v.state case 1: @@ -1750,7 +1896,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[11].Exporter = func(v any, i int) any { - switch v := v.(*Error); i { + switch v := v.(*BuildContextUpdatedRequest); i { case 0: return &v.state case 1: @@ -1762,7 +1908,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[12].Exporter = func(v any, i int) any { - switch v := v.(*ErrorList); i { + switch v := v.(*BuildContextUpdatedResponse); i { case 0: return &v.state case 1: @@ -1774,7 +1920,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[13].Exporter = func(v any, i int) any { - switch v := v.(*BuildRequest); i { + switch v := v.(*Error); i { case 0: return &v.state case 1: @@ -1786,7 +1932,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[14].Exporter = func(v any, i int) any { - switch v := v.(*AutoRebuildStarted); i { + switch v := v.(*ErrorList); i { case 0: return &v.state case 1: @@ -1798,7 +1944,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[15].Exporter = func(v any, i int) any { - switch v := v.(*BuildResult); i { + switch v := v.(*BuildRequest); i { case 0: return &v.state case 1: @@ -1810,7 +1956,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[16].Exporter = func(v any, i int) any { - switch v := v.(*LogMessage); i { + switch v := v.(*AutoRebuildStarted); i { case 0: return &v.state case 1: @@ -1822,7 +1968,7 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[17].Exporter = func(v any, i int) any { - switch v := v.(*BuildEvent); i { + switch v := v.(*BuildResult); i { case 0: return &v.state case 1: @@ -1834,6 +1980,30 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } file_xyz_block_ftl_v1_language_language_proto_msgTypes[18].Exporter = func(v any, i int) any { + switch v := v.(*LogMessage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_xyz_block_ftl_v1_language_language_proto_msgTypes[19].Exporter = func(v any, i int) any { + switch v := v.(*BuildEvent); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_xyz_block_ftl_v1_language_language_proto_msgTypes[20].Exporter = func(v any, i int) any { switch v := v.(*GetCreateModuleFlagsResponse_Flag); i { case 0: return &v.state @@ -1846,22 +2016,23 @@ func file_xyz_block_ftl_v1_language_language_proto_init() { } } } - file_xyz_block_ftl_v1_language_language_proto_msgTypes[9].OneofWrappers = []any{} - file_xyz_block_ftl_v1_language_language_proto_msgTypes[15].OneofWrappers = []any{} - file_xyz_block_ftl_v1_language_language_proto_msgTypes[17].OneofWrappers = []any{ + file_xyz_block_ftl_v1_language_language_proto_msgTypes[7].OneofWrappers = []any{} + file_xyz_block_ftl_v1_language_language_proto_msgTypes[11].OneofWrappers = []any{} + file_xyz_block_ftl_v1_language_language_proto_msgTypes[17].OneofWrappers = []any{} + file_xyz_block_ftl_v1_language_language_proto_msgTypes[19].OneofWrappers = []any{ (*BuildEvent_DependencyUpdate)(nil), (*BuildEvent_AutoRebuildStarted)(nil), (*BuildEvent_BuildResult)(nil), (*BuildEvent_LogMessage)(nil), } - file_xyz_block_ftl_v1_language_language_proto_msgTypes[18].OneofWrappers = []any{} + file_xyz_block_ftl_v1_language_language_proto_msgTypes[20].OneofWrappers = []any{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_xyz_block_ftl_v1_language_language_proto_rawDesc, NumEnums: 2, - NumMessages: 19, + NumMessages: 21, NumExtensions: 0, NumServices: 1, }, diff --git a/backend/protos/xyz/block/ftl/v1/language/language.proto b/backend/protos/xyz/block/ftl/v1/language/language.proto index 4462faeb00..8518057351 100644 --- a/backend/protos/xyz/block/ftl/v1/language/language.proto +++ b/backend/protos/xyz/block/ftl/v1/language/language.proto @@ -64,13 +64,12 @@ message ModuleConfigDefaultsRequest { message ModuleConfigDefaultsResponse { string DeployDir = 1; - optional string build = 2; + optional string build = 2; optional string GeneratedSchemaDir = 3; repeated string Watch = 4; // TODO: remove... - // repeatedDeploy []string - // string Errors string - + // repeatedDeploy []string + // string Errors string } message DependenciesRequest { diff --git a/backend/protos/xyz/block/ftl/v1/language/languagepbconnect/language.connect.go b/backend/protos/xyz/block/ftl/v1/language/languagepbconnect/language.connect.go index 3a12e790f1..ac0932ef29 100644 --- a/backend/protos/xyz/block/ftl/v1/language/languagepbconnect/language.connect.go +++ b/backend/protos/xyz/block/ftl/v1/language/languagepbconnect/language.connect.go @@ -42,6 +42,9 @@ const ( // LanguageServiceCreateModuleProcedure is the fully-qualified name of the LanguageService's // CreateModule RPC. LanguageServiceCreateModuleProcedure = "/xyz.block.ftl.v1.language.LanguageService/CreateModule" + // LanguageServiceModuleConfigDefaultsProcedure is the fully-qualified name of the LanguageService's + // ModuleConfigDefaults RPC. + LanguageServiceModuleConfigDefaultsProcedure = "/xyz.block.ftl.v1.language.LanguageService/ModuleConfigDefaults" // LanguageServiceGetDependenciesProcedure is the fully-qualified name of the LanguageService's // GetDependencies RPC. LanguageServiceGetDependenciesProcedure = "/xyz.block.ftl.v1.language.LanguageService/GetDependencies" @@ -60,6 +63,7 @@ type LanguageServiceClient interface { GetCreateModuleFlags(context.Context, *connect.Request[language.GetCreateModuleFlagsRequest]) (*connect.Response[language.GetCreateModuleFlagsResponse], error) // Generates files for a new empty module with the requested name CreateModule(context.Context, *connect.Request[language.CreateModuleRequest]) (*connect.Response[language.CreateModuleResponse], error) + ModuleConfigDefaults(context.Context, *connect.Request[language.ModuleConfigDefaultsRequest]) (*connect.Response[language.ModuleConfigDefaultsResponse], error) // Extract dependencies for a module GetDependencies(context.Context, *connect.Request[language.DependenciesRequest]) (*connect.Response[language.DependenciesResponse], error) BuildContextUpdated(context.Context, *connect.Request[language.BuildContextUpdatedRequest]) (*connect.Response[language.BuildContextUpdatedResponse], error) @@ -95,6 +99,11 @@ func NewLanguageServiceClient(httpClient connect.HTTPClient, baseURL string, opt baseURL+LanguageServiceCreateModuleProcedure, opts..., ), + moduleConfigDefaults: connect.NewClient[language.ModuleConfigDefaultsRequest, language.ModuleConfigDefaultsResponse]( + httpClient, + baseURL+LanguageServiceModuleConfigDefaultsProcedure, + opts..., + ), getDependencies: connect.NewClient[language.DependenciesRequest, language.DependenciesResponse]( httpClient, baseURL+LanguageServiceGetDependenciesProcedure, @@ -118,6 +127,7 @@ type languageServiceClient struct { ping *connect.Client[v1.PingRequest, v1.PingResponse] getCreateModuleFlags *connect.Client[language.GetCreateModuleFlagsRequest, language.GetCreateModuleFlagsResponse] createModule *connect.Client[language.CreateModuleRequest, language.CreateModuleResponse] + moduleConfigDefaults *connect.Client[language.ModuleConfigDefaultsRequest, language.ModuleConfigDefaultsResponse] getDependencies *connect.Client[language.DependenciesRequest, language.DependenciesResponse] buildContextUpdated *connect.Client[language.BuildContextUpdatedRequest, language.BuildContextUpdatedResponse] build *connect.Client[language.BuildRequest, language.BuildEvent] @@ -138,6 +148,11 @@ func (c *languageServiceClient) CreateModule(ctx context.Context, req *connect.R return c.createModule.CallUnary(ctx, req) } +// ModuleConfigDefaults calls xyz.block.ftl.v1.language.LanguageService.ModuleConfigDefaults. +func (c *languageServiceClient) ModuleConfigDefaults(ctx context.Context, req *connect.Request[language.ModuleConfigDefaultsRequest]) (*connect.Response[language.ModuleConfigDefaultsResponse], error) { + return c.moduleConfigDefaults.CallUnary(ctx, req) +} + // GetDependencies calls xyz.block.ftl.v1.language.LanguageService.GetDependencies. func (c *languageServiceClient) GetDependencies(ctx context.Context, req *connect.Request[language.DependenciesRequest]) (*connect.Response[language.DependenciesResponse], error) { return c.getDependencies.CallUnary(ctx, req) @@ -162,6 +177,7 @@ type LanguageServiceHandler interface { GetCreateModuleFlags(context.Context, *connect.Request[language.GetCreateModuleFlagsRequest]) (*connect.Response[language.GetCreateModuleFlagsResponse], error) // Generates files for a new empty module with the requested name CreateModule(context.Context, *connect.Request[language.CreateModuleRequest]) (*connect.Response[language.CreateModuleResponse], error) + ModuleConfigDefaults(context.Context, *connect.Request[language.ModuleConfigDefaultsRequest]) (*connect.Response[language.ModuleConfigDefaultsResponse], error) // Extract dependencies for a module GetDependencies(context.Context, *connect.Request[language.DependenciesRequest]) (*connect.Response[language.DependenciesResponse], error) BuildContextUpdated(context.Context, *connect.Request[language.BuildContextUpdatedRequest]) (*connect.Response[language.BuildContextUpdatedResponse], error) @@ -193,6 +209,11 @@ func NewLanguageServiceHandler(svc LanguageServiceHandler, opts ...connect.Handl svc.CreateModule, opts..., ) + languageServiceModuleConfigDefaultsHandler := connect.NewUnaryHandler( + LanguageServiceModuleConfigDefaultsProcedure, + svc.ModuleConfigDefaults, + opts..., + ) languageServiceGetDependenciesHandler := connect.NewUnaryHandler( LanguageServiceGetDependenciesProcedure, svc.GetDependencies, @@ -216,6 +237,8 @@ func NewLanguageServiceHandler(svc LanguageServiceHandler, opts ...connect.Handl languageServiceGetCreateModuleFlagsHandler.ServeHTTP(w, r) case LanguageServiceCreateModuleProcedure: languageServiceCreateModuleHandler.ServeHTTP(w, r) + case LanguageServiceModuleConfigDefaultsProcedure: + languageServiceModuleConfigDefaultsHandler.ServeHTTP(w, r) case LanguageServiceGetDependenciesProcedure: languageServiceGetDependenciesHandler.ServeHTTP(w, r) case LanguageServiceBuildContextUpdatedProcedure: @@ -243,6 +266,10 @@ func (UnimplementedLanguageServiceHandler) CreateModule(context.Context, *connec return nil, connect.NewError(connect.CodeUnimplemented, errors.New("xyz.block.ftl.v1.language.LanguageService.CreateModule is not implemented")) } +func (UnimplementedLanguageServiceHandler) ModuleConfigDefaults(context.Context, *connect.Request[language.ModuleConfigDefaultsRequest]) (*connect.Response[language.ModuleConfigDefaultsResponse], error) { + return nil, connect.NewError(connect.CodeUnimplemented, errors.New("xyz.block.ftl.v1.language.LanguageService.ModuleConfigDefaults is not implemented")) +} + func (UnimplementedLanguageServiceHandler) GetDependencies(context.Context, *connect.Request[language.DependenciesRequest]) (*connect.Response[language.DependenciesResponse], error) { return nil, connect.NewError(connect.CodeUnimplemented, errors.New("xyz.block.ftl.v1.language.LanguageService.GetDependencies is not implemented")) } diff --git a/frontend/console/src/protos/xyz/block/ftl/v1/language/language_connect.ts b/frontend/console/src/protos/xyz/block/ftl/v1/language/language_connect.ts index 5861e8e6f2..30f69a287b 100644 --- a/frontend/console/src/protos/xyz/block/ftl/v1/language/language_connect.ts +++ b/frontend/console/src/protos/xyz/block/ftl/v1/language/language_connect.ts @@ -5,7 +5,7 @@ import { PingRequest, PingResponse } from "../ftl_pb.js"; import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf"; -import { BuildContextUpdatedRequest, BuildContextUpdatedResponse, BuildEvent, BuildRequest, CreateModuleRequest, CreateModuleResponse, DependenciesRequest, DependenciesResponse, GetCreateModuleFlagsRequest, GetCreateModuleFlagsResponse } from "./language_pb.js"; +import { BuildContextUpdatedRequest, BuildContextUpdatedResponse, BuildEvent, BuildRequest, CreateModuleRequest, CreateModuleResponse, DependenciesRequest, DependenciesResponse, GetCreateModuleFlagsRequest, GetCreateModuleFlagsResponse, ModuleConfigDefaultsRequest, ModuleConfigDefaultsResponse } from "./language_pb.js"; /** * LanguageService allows a plugin to add support for a programming language. @@ -49,6 +49,15 @@ export const LanguageService = { O: CreateModuleResponse, kind: MethodKind.Unary, }, + /** + * @generated from rpc xyz.block.ftl.v1.language.LanguageService.ModuleConfigDefaults + */ + moduleConfigDefaults: { + name: "ModuleConfigDefaults", + I: ModuleConfigDefaultsRequest, + O: ModuleConfigDefaultsResponse, + kind: MethodKind.Unary, + }, /** * Extract dependencies for a module * diff --git a/frontend/console/src/protos/xyz/block/ftl/v1/language/language_pb.ts b/frontend/console/src/protos/xyz/block/ftl/v1/language/language_pb.ts index 849978eb16..279e8a64ae 100644 --- a/frontend/console/src/protos/xyz/block/ftl/v1/language/language_pb.ts +++ b/frontend/console/src/protos/xyz/block/ftl/v1/language/language_pb.ts @@ -385,6 +385,102 @@ export class CreateModuleResponse extends Message { } } +/** + * @generated from message xyz.block.ftl.v1.language.ModuleConfigDefaultsRequest + */ +export class ModuleConfigDefaultsRequest extends Message { + /** + * @generated from field: string path = 1; + */ + path = ""; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "xyz.block.ftl.v1.language.ModuleConfigDefaultsRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "path", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ModuleConfigDefaultsRequest { + return new ModuleConfigDefaultsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ModuleConfigDefaultsRequest { + return new ModuleConfigDefaultsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ModuleConfigDefaultsRequest { + return new ModuleConfigDefaultsRequest().fromJsonString(jsonString, options); + } + + static equals(a: ModuleConfigDefaultsRequest | PlainMessage | undefined, b: ModuleConfigDefaultsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ModuleConfigDefaultsRequest, a, b); + } +} + +/** + * @generated from message xyz.block.ftl.v1.language.ModuleConfigDefaultsResponse + */ +export class ModuleConfigDefaultsResponse extends Message { + /** + * @generated from field: string DeployDir = 1; + */ + DeployDir = ""; + + /** + * @generated from field: optional string build = 2; + */ + build?: string; + + /** + * @generated from field: optional string GeneratedSchemaDir = 3; + */ + GeneratedSchemaDir?: string; + + /** + * TODO: remove... + * repeatedDeploy []string + * string Errors string + * + * @generated from field: repeated string Watch = 4; + */ + Watch: string[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "xyz.block.ftl.v1.language.ModuleConfigDefaultsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "DeployDir", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "build", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 3, name: "GeneratedSchemaDir", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 4, name: "Watch", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ModuleConfigDefaultsResponse { + return new ModuleConfigDefaultsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ModuleConfigDefaultsResponse { + return new ModuleConfigDefaultsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ModuleConfigDefaultsResponse { + return new ModuleConfigDefaultsResponse().fromJsonString(jsonString, options); + } + + static equals(a: ModuleConfigDefaultsResponse | PlainMessage | undefined, b: ModuleConfigDefaultsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ModuleConfigDefaultsResponse, a, b); + } +} + /** * @generated from message xyz.block.ftl.v1.language.DependenciesRequest */