// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.34.2 // protoc (unknown) // source: falin.proto package gen import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type GenerateImageRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"` Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` Seed int64 `protobuf:"varint,3,opt,name=seed,proto3" json:"seed,omitempty"` NumImages int32 `protobuf:"varint,4,opt,name=num_images,json=numImages,proto3" json:"num_images,omitempty"` EnableSafetyChecker bool `protobuf:"varint,5,opt,name=enable_safety_checker,json=enableSafetyChecker,proto3" json:"enable_safety_checker,omitempty"` } func (x *GenerateImageRequest) Reset() { *x = GenerateImageRequest{} if protoimpl.UnsafeEnabled { mi := &file_falin_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GenerateImageRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GenerateImageRequest) ProtoMessage() {} func (x *GenerateImageRequest) ProtoReflect() protoreflect.Message { mi := &file_falin_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 GenerateImageRequest.ProtoReflect.Descriptor instead. func (*GenerateImageRequest) Descriptor() ([]byte, []int) { return file_falin_proto_rawDescGZIP(), []int{0} } func (x *GenerateImageRequest) GetPrompt() string { if x != nil { return x.Prompt } return "" } func (x *GenerateImageRequest) GetModel() string { if x != nil { return x.Model } return "" } func (x *GenerateImageRequest) GetSeed() int64 { if x != nil { return x.Seed } return 0 } func (x *GenerateImageRequest) GetNumImages() int32 { if x != nil { return x.NumImages } return 0 } func (x *GenerateImageRequest) GetEnableSafetyChecker() bool { if x != nil { return x.EnableSafetyChecker } return false } type ImageOutput struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Width int32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Height int32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` ContentType string `protobuf:"bytes,4,opt,name=content_type,json=contentType,proto3" json:"content_type,omitempty"` } func (x *ImageOutput) Reset() { *x = ImageOutput{} if protoimpl.UnsafeEnabled { mi := &file_falin_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ImageOutput) String() string { return protoimpl.X.MessageStringOf(x) } func (*ImageOutput) ProtoMessage() {} func (x *ImageOutput) ProtoReflect() protoreflect.Message { mi := &file_falin_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 ImageOutput.ProtoReflect.Descriptor instead. func (*ImageOutput) Descriptor() ([]byte, []int) { return file_falin_proto_rawDescGZIP(), []int{1} } func (x *ImageOutput) GetUrl() string { if x != nil { return x.Url } return "" } func (x *ImageOutput) GetWidth() int32 { if x != nil { return x.Width } return 0 } func (x *ImageOutput) GetHeight() int32 { if x != nil { return x.Height } return 0 } func (x *ImageOutput) GetContentType() string { if x != nil { return x.ContentType } return "" } type GenerateImageResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Images []*ImageOutput `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"` Prompt string `protobuf:"bytes,2,opt,name=prompt,proto3" json:"prompt,omitempty"` } func (x *GenerateImageResponse) Reset() { *x = GenerateImageResponse{} if protoimpl.UnsafeEnabled { mi := &file_falin_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GenerateImageResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GenerateImageResponse) ProtoMessage() {} func (x *GenerateImageResponse) ProtoReflect() protoreflect.Message { mi := &file_falin_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 GenerateImageResponse.ProtoReflect.Descriptor instead. func (*GenerateImageResponse) Descriptor() ([]byte, []int) { return file_falin_proto_rawDescGZIP(), []int{2} } func (x *GenerateImageResponse) GetImages() []*ImageOutput { if x != nil { return x.Images } return nil } func (x *GenerateImageResponse) GetPrompt() string { if x != nil { return x.Prompt } return "" } var File_falin_proto protoreflect.FileDescriptor var file_falin_proto_rawDesc = []byte{ 0x0a, 0x0b, 0x66, 0x61, 0x6c, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x66, 0x61, 0x6c, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x22, 0xab, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x65, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x65, 0x65, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6e, 0x75, 0x6d, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x73, 0x61, 0x66, 0x65, 0x74, 0x79, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x61, 0x66, 0x65, 0x74, 0x79, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x22, 0x70, 0x0a, 0x0b, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x75, 0x0a, 0x15, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x44, 0x0a, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x66, 0x61, 0x6c, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x52, 0x06, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x32, 0x91, 0x01, 0x0a, 0x0c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x80, 0x01, 0x0a, 0x0d, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x35, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x66, 0x61, 0x6c, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2e, 0x78, 0x2e, 0x66, 0x61, 0x6c, 0x69, 0x6e, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2a, 0x5a, 0x28, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x2e, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x2f, 0x78, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x6f, 0x73, 0x65, 0x72, 0x62, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x66, 0x61, 0x6c, 0x69, 0x6e, 0x2f, 0x67, 0x65, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_falin_proto_rawDescOnce sync.Once file_falin_proto_rawDescData = file_falin_proto_rawDesc ) func file_falin_proto_rawDescGZIP() []byte { file_falin_proto_rawDescOnce.Do(func() { file_falin_proto_rawDescData = protoimpl.X.CompressGZIP(file_falin_proto_rawDescData) }) return file_falin_proto_rawDescData } var file_falin_proto_msgTypes = make([]protoimpl.MessageInfo, 3) var file_falin_proto_goTypes = []any{ (*GenerateImageRequest)(nil), // 0: within.website.x.falin.v1alpha1.GenerateImageRequest (*ImageOutput)(nil), // 1: within.website.x.falin.v1alpha1.ImageOutput (*GenerateImageResponse)(nil), // 2: within.website.x.falin.v1alpha1.GenerateImageResponse } var file_falin_proto_depIdxs = []int32{ 1, // 0: within.website.x.falin.v1alpha1.GenerateImageResponse.images:type_name -> within.website.x.falin.v1alpha1.ImageOutput 0, // 1: within.website.x.falin.v1alpha1.ImageService.GenerateImage:input_type -> within.website.x.falin.v1alpha1.GenerateImageRequest 2, // 2: within.website.x.falin.v1alpha1.ImageService.GenerateImage:output_type -> within.website.x.falin.v1alpha1.GenerateImageResponse 2, // [2:3] is the sub-list for method output_type 1, // [1:2] is the sub-list for method input_type 1, // [1:1] is the sub-list for extension type_name 1, // [1:1] is the sub-list for extension extendee 0, // [0:1] is the sub-list for field type_name } func init() { file_falin_proto_init() } func file_falin_proto_init() { if File_falin_proto != nil { return } if !protoimpl.UnsafeEnabled { file_falin_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*GenerateImageRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_falin_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ImageOutput); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_falin_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*GenerateImageResponse); 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_falin_proto_rawDesc, NumEnums: 0, NumMessages: 3, NumExtensions: 0, NumServices: 1, }, GoTypes: file_falin_proto_goTypes, DependencyIndexes: file_falin_proto_depIdxs, MessageInfos: file_falin_proto_msgTypes, }.Build() File_falin_proto = out.File file_falin_proto_rawDesc = nil file_falin_proto_goTypes = nil file_falin_proto_depIdxs = nil }