chore: buf generate

This commit is contained in:
steven
2024-07-05 22:58:46 +08:00
parent 270b61c08f
commit 2f18894e1a
21 changed files with 201 additions and 169 deletions

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: api/v1/collection_service.proto
@ -859,7 +859,7 @@ func file_api_v1_collection_service_proto_rawDescGZIP() []byte {
}
var file_api_v1_collection_service_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
var file_api_v1_collection_service_proto_goTypes = []interface{}{
var file_api_v1_collection_service_proto_goTypes = []any{
(*Collection)(nil), // 0: slash.api.v1.Collection
(*ListCollectionsRequest)(nil), // 1: slash.api.v1.ListCollectionsRequest
(*ListCollectionsResponse)(nil), // 2: slash.api.v1.ListCollectionsResponse
@ -915,7 +915,7 @@ func file_api_v1_collection_service_proto_init() {
}
file_api_v1_common_proto_init()
if !protoimpl.UnsafeEnabled {
file_api_v1_collection_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*Collection); i {
case 0:
return &v.state
@ -927,7 +927,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*ListCollectionsRequest); i {
case 0:
return &v.state
@ -939,7 +939,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*ListCollectionsResponse); i {
case 0:
return &v.state
@ -951,7 +951,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*GetCollectionRequest); i {
case 0:
return &v.state
@ -963,7 +963,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*GetCollectionResponse); i {
case 0:
return &v.state
@ -975,7 +975,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*GetCollectionByNameRequest); i {
case 0:
return &v.state
@ -987,7 +987,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*GetCollectionByNameResponse); i {
case 0:
return &v.state
@ -999,7 +999,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
switch v := v.(*CreateCollectionRequest); i {
case 0:
return &v.state
@ -1011,7 +1011,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[8].Exporter = func(v any, i int) any {
switch v := v.(*CreateCollectionResponse); i {
case 0:
return &v.state
@ -1023,7 +1023,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[9].Exporter = func(v any, i int) any {
switch v := v.(*UpdateCollectionRequest); i {
case 0:
return &v.state
@ -1035,7 +1035,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[10].Exporter = func(v any, i int) any {
switch v := v.(*UpdateCollectionResponse); i {
case 0:
return &v.state
@ -1047,7 +1047,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[11].Exporter = func(v any, i int) any {
switch v := v.(*DeleteCollectionRequest); i {
case 0:
return &v.state
@ -1059,7 +1059,7 @@ func file_api_v1_collection_service_proto_init() {
return nil
}
}
file_api_v1_collection_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
file_api_v1_collection_service_proto_msgTypes[12].Exporter = func(v any, i int) any {
switch v := v.(*DeleteCollectionResponse); i {
case 0:
return &v.state