diff --git a/package.json b/package.json index 8131473..7d88081 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "generate-js": "buf generate --template buf.gen.js.yaml --output=./src", "generate-kt": "buf generate --template buf.gen.kt.yaml --output=./src", "generate-py": "buf generate --template buf.gen.py.yaml --output=./src", - "generate-swift": "buf generate --template buf.gen.swift.yaml -output=./src", - "generate": "npm run generate-go && npm run generate-js && npm run generate-kt && npm run generate-py && npm run generate-swift" + "generate-swift": "buf generate --template buf.gen.swift.yaml --output=./src", + "generate": "npm run generate-go && npm run generate-js && npm run generate-py" }, "keywords": [], "author": "", diff --git a/src/proto/finetuning.proto b/src/proto/stability_api/platform/finetuning/finetuning.proto similarity index 100% rename from src/proto/finetuning.proto rename to src/proto/stability_api/platform/finetuning/finetuning.proto diff --git a/src/stability_api/platform/dashboard/v1/dashboard.pb.go b/src/stability_api/platform/dashboard/v1/dashboard.pb.go index 634ef1e..0422600 100644 --- a/src/stability_api/platform/dashboard/v1/dashboard.pb.go +++ b/src/stability_api/platform/dashboard/v1/dashboard.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.31.0 // protoc (unknown) // source: stability_api/platform/dashboard/v1/dashboard.proto diff --git a/src/stability_api/platform/engines/v1/engines.pb.go b/src/stability_api/platform/engines/v1/engines.pb.go index bda1678..1edb27d 100644 --- a/src/stability_api/platform/engines/v1/engines.pb.go +++ b/src/stability_api/platform/engines/v1/engines.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.31.0 // protoc (unknown) // source: stability_api/platform/engines/v1/engines.proto @@ -138,6 +138,7 @@ type EngineInfo struct { Tokenizer EngineTokenizer `protobuf:"varint,5,opt,name=tokenizer,proto3,enum=stabilityai.platformapis.engines.v1.EngineTokenizer" json:"tokenizer,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` + CanFineTune bool `protobuf:"varint,8,opt,name=can_fine_tune,json=canFineTune,proto3" json:"can_fine_tune,omitempty"` } func (x *EngineInfo) Reset() { @@ -221,6 +222,13 @@ func (x *EngineInfo) GetDescription() string { return "" } +func (x *EngineInfo) GetCanFineTune() bool { + if x != nil { + return x.CanFineTune + } + return false +} + type ListEnginesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -315,7 +323,7 @@ var file_stability_api_platform_engines_v1_engines_proto_rawDesc = []byte{ 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x23, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x6e, 0x67, 0x69, - 0x6e, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x22, 0x97, 0x02, 0x0a, 0x0a, 0x45, 0x6e, 0x67, 0x69, 0x6e, + 0x6e, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x22, 0xbb, 0x02, 0x0a, 0x0a, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x72, @@ -333,51 +341,53 @@ var file_stability_api_platform_engines_v1_engines_proto_rawDesc = []byte{ 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x52, 0x0a, 0x07, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, - 0x73, 0x12, 0x47, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x6e, 0x67, - 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x6e, - 0x66, 0x6f, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2a, 0x5a, 0x0a, 0x0a, 0x45, 0x6e, - 0x67, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x45, 0x58, 0x54, - 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x49, 0x43, 0x54, 0x55, 0x52, 0x45, 0x10, 0x01, 0x12, - 0x09, 0x0a, 0x05, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x56, 0x49, - 0x44, 0x45, 0x4f, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x49, 0x46, - 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x0b, 0x0a, 0x07, 0x53, 0x54, 0x4f, - 0x52, 0x41, 0x47, 0x45, 0x10, 0x05, 0x2a, 0x25, 0x0a, 0x0f, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, - 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x50, 0x54, - 0x32, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x49, 0x4c, 0x45, 0x10, 0x01, 0x32, 0x88, 0x01, - 0x0a, 0x0e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, - 0x12, 0x76, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x12, - 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, - 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, - 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x00, 0x42, 0xbe, 0x02, 0x0a, 0x27, 0x63, 0x6f, 0x6d, - 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, - 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x50, 0x72, 0x6f, - 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, - 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x61, 0x69, 0x2f, 0x61, 0x70, - 0x69, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x72, 0x63, - 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2f, - 0x76, 0x31, 0x3b, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, - 0x50, 0x45, 0xaa, 0x02, 0x23, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, - 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x45, 0x6e, - 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x23, 0x53, 0x74, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x5c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x70, 0x69, 0x73, 0x5c, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x5c, 0x56, 0x31, 0xe2, 0x02, - 0x2f, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x5c, 0x50, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, - 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, - 0xea, 0x02, 0x26, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x3a, 0x3a, - 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x45, 0x6e, - 0x67, 0x69, 0x6e, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x12, 0x22, 0x0a, 0x0d, 0x63, 0x61, 0x6e, 0x5f, 0x66, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x75, 0x6e, + 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x63, 0x61, 0x6e, 0x46, 0x69, 0x6e, 0x65, + 0x54, 0x75, 0x6e, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, + 0x6e, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x52, 0x0a, 0x07, 0x45, 0x6e, + 0x67, 0x69, 0x6e, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x67, 0x69, + 0x6e, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2a, 0x5a, + 0x0a, 0x0a, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, + 0x54, 0x45, 0x58, 0x54, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x49, 0x43, 0x54, 0x55, 0x52, + 0x45, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x55, 0x44, 0x49, 0x4f, 0x10, 0x02, 0x12, 0x09, + 0x0a, 0x05, 0x56, 0x49, 0x44, 0x45, 0x4f, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4c, 0x41, + 0x53, 0x53, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x0b, 0x0a, + 0x07, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45, 0x10, 0x05, 0x2a, 0x25, 0x0a, 0x0f, 0x45, 0x6e, + 0x67, 0x69, 0x6e, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x69, 0x7a, 0x65, 0x72, 0x12, 0x08, 0x0a, + 0x04, 0x47, 0x50, 0x54, 0x32, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x49, 0x4c, 0x45, 0x10, + 0x01, 0x32, 0x88, 0x01, 0x0a, 0x0e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x53, 0x65, 0x72, + 0x76, 0x69, 0x63, 0x65, 0x12, 0x76, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, 0x67, 0x69, + 0x6e, 0x65, 0x73, 0x12, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, + 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, + 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x45, 0x6e, + 0x67, 0x69, 0x6e, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, + 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2e, + 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x22, 0x00, 0x42, 0xbe, 0x02, 0x0a, + 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, + 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x65, 0x6e, + 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, + 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x61, + 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, + 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x61, + 0x70, 0x69, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x65, 0x6e, 0x67, 0x69, + 0x6e, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x3b, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x76, 0x31, + 0xa2, 0x02, 0x03, 0x53, 0x50, 0x45, 0xaa, 0x02, 0x23, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x61, 0x69, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x23, 0x53, + 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x5c, 0x50, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x5c, + 0x56, 0x31, 0xe2, 0x02, 0x2f, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, + 0x5c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x45, 0x6e, + 0x67, 0x69, 0x6e, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x26, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x61, 0x69, 0x3a, 0x3a, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, + 0x3a, 0x3a, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x73, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( diff --git a/src/stability_api/platform/engines/v1/engines_pb.d.ts b/src/stability_api/platform/engines/v1/engines_pb.d.ts index 3ca1073..ad394d0 100644 --- a/src/stability_api/platform/engines/v1/engines_pb.d.ts +++ b/src/stability_api/platform/engines/v1/engines_pb.d.ts @@ -99,6 +99,11 @@ export declare class EngineInfo extends Message { */ description: string; + /** + * @generated from field: bool can_fine_tune = 8; + */ + canFineTune: boolean; + constructor(data?: PartialMessage); static readonly runtime: typeof proto3; diff --git a/src/stability_api/platform/engines/v1/engines_pb.js b/src/stability_api/platform/engines/v1/engines_pb.js index 877ebb9..987bf09 100644 --- a/src/stability_api/platform/engines/v1/engines_pb.js +++ b/src/stability_api/platform/engines/v1/engines_pb.js @@ -48,6 +48,7 @@ export const EngineInfo = proto3.makeMessageType( { no: 5, name: "tokenizer", kind: "enum", T: proto3.getEnumType(EngineTokenizer) }, { no: 6, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, { no: 7, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 8, name: "can_fine_tune", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, ], ); diff --git a/src/stability_api/platform/engines/v1/engines_pb2.py b/src/stability_api/platform/engines/v1/engines_pb2.py index b8eb78b..68273d7 100644 --- a/src/stability_api/platform/engines/v1/engines_pb2.py +++ b/src/stability_api/platform/engines/v1/engines_pb2.py @@ -13,7 +13,7 @@ -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/stability_api/platform/engines/v1/engines.proto\x12#stabilityai.platformapis.engines.v1\"\x97\x02\n\nEngineInfo\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12\x14\n\x05ready\x18\x03 \x01(\x08R\x05ready\x12\x43\n\x04type\x18\x04 \x01(\x0e\x32/.stabilityai.platformapis.engines.v1.EngineTypeR\x04type\x12R\n\ttokenizer\x18\x05 \x01(\x0e\x32\x34.stabilityai.platformapis.engines.v1.EngineTokenizerR\ttokenizer\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x07 \x01(\tR\x0b\x64\x65scription\"\x14\n\x12ListEnginesRequest\"R\n\x07\x45ngines\x12G\n\x06\x65ngine\x18\x01 \x03(\x0b\x32/.stabilityai.platformapis.engines.v1.EngineInfoR\x06\x65ngine*Z\n\nEngineType\x12\x08\n\x04TEXT\x10\x00\x12\x0b\n\x07PICTURE\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\x12\t\n\x05VIDEO\x10\x03\x12\x12\n\x0e\x43LASSIFICATION\x10\x04\x12\x0b\n\x07STORAGE\x10\x05*%\n\x0f\x45ngineTokenizer\x12\x08\n\x04GPT2\x10\x00\x12\x08\n\x04PILE\x10\x01\x32\x88\x01\n\x0e\x45nginesService\x12v\n\x0bListEngines\x12\x37.stabilityai.platformapis.engines.v1.ListEnginesRequest\x1a,.stabilityai.platformapis.engines.v1.Engines\"\x00\x42\xc7\x02\n\'com.stabilityai.platformapis.engines.v1B\x0c\x45nginesProtoP\x01Z_github.com/stability-ai/api-interfaces/gen/proto/go/stability_api/platform/engines/v1;enginesv1\xa2\x02\x03SPE\xaa\x02#Stabilityai.Platformapis.Engines.V1\xca\x02#Stabilityai\\Platformapis\\Engines\\V1\xe2\x02/Stabilityai\\Platformapis\\Engines\\V1\\GPBMetadata\xea\x02&Stabilityai::Platformapis::Engines::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/stability_api/platform/engines/v1/engines.proto\x12#stabilityai.platformapis.engines.v1\"\xbb\x02\n\nEngineInfo\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05owner\x18\x02 \x01(\tR\x05owner\x12\x14\n\x05ready\x18\x03 \x01(\x08R\x05ready\x12\x43\n\x04type\x18\x04 \x01(\x0e\x32/.stabilityai.platformapis.engines.v1.EngineTypeR\x04type\x12R\n\ttokenizer\x18\x05 \x01(\x0e\x32\x34.stabilityai.platformapis.engines.v1.EngineTokenizerR\ttokenizer\x12\x12\n\x04name\x18\x06 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x07 \x01(\tR\x0b\x64\x65scription\x12\"\n\rcan_fine_tune\x18\x08 \x01(\x08R\x0b\x63\x61nFineTune\"\x14\n\x12ListEnginesRequest\"R\n\x07\x45ngines\x12G\n\x06\x65ngine\x18\x01 \x03(\x0b\x32/.stabilityai.platformapis.engines.v1.EngineInfoR\x06\x65ngine*Z\n\nEngineType\x12\x08\n\x04TEXT\x10\x00\x12\x0b\n\x07PICTURE\x10\x01\x12\t\n\x05\x41UDIO\x10\x02\x12\t\n\x05VIDEO\x10\x03\x12\x12\n\x0e\x43LASSIFICATION\x10\x04\x12\x0b\n\x07STORAGE\x10\x05*%\n\x0f\x45ngineTokenizer\x12\x08\n\x04GPT2\x10\x00\x12\x08\n\x04PILE\x10\x01\x32\x88\x01\n\x0e\x45nginesService\x12v\n\x0bListEngines\x12\x37.stabilityai.platformapis.engines.v1.ListEnginesRequest\x1a,.stabilityai.platformapis.engines.v1.Engines\"\x00\x42\xc7\x02\n\'com.stabilityai.platformapis.engines.v1B\x0c\x45nginesProtoP\x01Z_github.com/stability-ai/api-interfaces/gen/proto/go/stability_api/platform/engines/v1;enginesv1\xa2\x02\x03SPE\xaa\x02#Stabilityai.Platformapis.Engines.V1\xca\x02#Stabilityai\\Platformapis\\Engines\\V1\xe2\x02/Stabilityai\\Platformapis\\Engines\\V1\\GPBMetadata\xea\x02&Stabilityai::Platformapis::Engines::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -22,16 +22,16 @@ DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'\n\'com.stabilityai.platformapis.engines.v1B\014EnginesProtoP\001Z_github.com/stability-ai/api-interfaces/gen/proto/go/stability_api/platform/engines/v1;enginesv1\242\002\003SPE\252\002#Stabilityai.Platformapis.Engines.V1\312\002#Stabilityai\\Platformapis\\Engines\\V1\342\002/Stabilityai\\Platformapis\\Engines\\V1\\GPBMetadata\352\002&Stabilityai::Platformapis::Engines::V1' - _globals['_ENGINETYPE']._serialized_start=476 - _globals['_ENGINETYPE']._serialized_end=566 - _globals['_ENGINETOKENIZER']._serialized_start=568 - _globals['_ENGINETOKENIZER']._serialized_end=605 + _globals['_ENGINETYPE']._serialized_start=512 + _globals['_ENGINETYPE']._serialized_end=602 + _globals['_ENGINETOKENIZER']._serialized_start=604 + _globals['_ENGINETOKENIZER']._serialized_end=641 _globals['_ENGINEINFO']._serialized_start=89 - _globals['_ENGINEINFO']._serialized_end=368 - _globals['_LISTENGINESREQUEST']._serialized_start=370 - _globals['_LISTENGINESREQUEST']._serialized_end=390 - _globals['_ENGINES']._serialized_start=392 - _globals['_ENGINES']._serialized_end=474 - _globals['_ENGINESSERVICE']._serialized_start=608 - _globals['_ENGINESSERVICE']._serialized_end=744 + _globals['_ENGINEINFO']._serialized_end=404 + _globals['_LISTENGINESREQUEST']._serialized_start=406 + _globals['_LISTENGINESREQUEST']._serialized_end=426 + _globals['_ENGINES']._serialized_start=428 + _globals['_ENGINES']._serialized_end=510 + _globals['_ENGINESSERVICE']._serialized_start=644 + _globals['_ENGINESSERVICE']._serialized_end=780 # @@protoc_insertion_point(module_scope) diff --git a/src/stability_api/platform/engines/v1/engines_pb2.pyi b/src/stability_api/platform/engines/v1/engines_pb2.pyi index d9f5cc0..8e5c76e 100644 --- a/src/stability_api/platform/engines/v1/engines_pb2.pyi +++ b/src/stability_api/platform/engines/v1/engines_pb2.pyi @@ -29,7 +29,7 @@ GPT2: EngineTokenizer PILE: EngineTokenizer class EngineInfo(_message.Message): - __slots__ = ["id", "owner", "ready", "type", "tokenizer", "name", "description"] + __slots__ = ["id", "owner", "ready", "type", "tokenizer", "name", "description", "can_fine_tune"] ID_FIELD_NUMBER: _ClassVar[int] OWNER_FIELD_NUMBER: _ClassVar[int] READY_FIELD_NUMBER: _ClassVar[int] @@ -37,6 +37,7 @@ class EngineInfo(_message.Message): TOKENIZER_FIELD_NUMBER: _ClassVar[int] NAME_FIELD_NUMBER: _ClassVar[int] DESCRIPTION_FIELD_NUMBER: _ClassVar[int] + CAN_FINE_TUNE_FIELD_NUMBER: _ClassVar[int] id: str owner: str ready: bool @@ -44,7 +45,8 @@ class EngineInfo(_message.Message): tokenizer: EngineTokenizer name: str description: str - def __init__(self, id: _Optional[str] = ..., owner: _Optional[str] = ..., ready: bool = ..., type: _Optional[_Union[EngineType, str]] = ..., tokenizer: _Optional[_Union[EngineTokenizer, str]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ... + can_fine_tune: bool + def __init__(self, id: _Optional[str] = ..., owner: _Optional[str] = ..., ready: bool = ..., type: _Optional[_Union[EngineType, str]] = ..., tokenizer: _Optional[_Union[EngineTokenizer, str]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., can_fine_tune: bool = ...) -> None: ... class ListEnginesRequest(_message.Message): __slots__ = [] diff --git a/src/stability_api/platform/finetuning/finetuning.pb.go b/src/stability_api/platform/finetuning/finetuning.pb.go new file mode 100644 index 0000000..ea7a28f --- /dev/null +++ b/src/stability_api/platform/finetuning/finetuning.pb.go @@ -0,0 +1,1340 @@ +// Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.31.0 +// protoc (unknown) +// source: stability_api/platform/finetuning/finetuning.proto + +package finetuning + +import ( + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + structpb "google.golang.org/protobuf/types/known/structpb" + 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 FineTuningMode int32 + +const ( + FineTuningMode_FINE_TUNING_MODE_UNSPECIFIED FineTuningMode = 0 // No mode specified + FineTuningMode_FINE_TUNING_MODE_FACE FineTuningMode = 1 // Fine tuning a face model + FineTuningMode_FINE_TUNING_MODE_STYLE FineTuningMode = 2 // Fine tuning a style model + FineTuningMode_FINE_TUNING_MODE_OBJECT FineTuningMode = 3 // Fine tuning an object model +) + +// Enum value maps for FineTuningMode. +var ( + FineTuningMode_name = map[int32]string{ + 0: "FINE_TUNING_MODE_UNSPECIFIED", + 1: "FINE_TUNING_MODE_FACE", + 2: "FINE_TUNING_MODE_STYLE", + 3: "FINE_TUNING_MODE_OBJECT", + } + FineTuningMode_value = map[string]int32{ + "FINE_TUNING_MODE_UNSPECIFIED": 0, + "FINE_TUNING_MODE_FACE": 1, + "FINE_TUNING_MODE_STYLE": 2, + "FINE_TUNING_MODE_OBJECT": 3, + } +) + +func (x FineTuningMode) Enum() *FineTuningMode { + p := new(FineTuningMode) + *p = x + return p +} + +func (x FineTuningMode) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FineTuningMode) Descriptor() protoreflect.EnumDescriptor { + return file_stability_api_platform_finetuning_finetuning_proto_enumTypes[0].Descriptor() +} + +func (FineTuningMode) Type() protoreflect.EnumType { + return &file_stability_api_platform_finetuning_finetuning_proto_enumTypes[0] +} + +func (x FineTuningMode) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FineTuningMode.Descriptor instead. +func (FineTuningMode) EnumDescriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{0} +} + +type FineTuningStatus int32 + +const ( + FineTuningStatus_FINE_TUNING_STATUS_NOT_STARTED FineTuningStatus = 0 // Model not yet started + FineTuningStatus_FINE_TUNING_STATUS_RUNNING FineTuningStatus = 1 // Model is currently running + FineTuningStatus_FINE_TUNING_STATUS_COMPLETED FineTuningStatus = 2 // Model has completed successfully + FineTuningStatus_FINE_TUNING_STATUS_FAILED FineTuningStatus = 3 // Model has failed + FineTuningStatus_FINE_TUNING_STATUS_SUBMITTED FineTuningStatus = 4 // Model has been submitted +) + +// Enum value maps for FineTuningStatus. +var ( + FineTuningStatus_name = map[int32]string{ + 0: "FINE_TUNING_STATUS_NOT_STARTED", + 1: "FINE_TUNING_STATUS_RUNNING", + 2: "FINE_TUNING_STATUS_COMPLETED", + 3: "FINE_TUNING_STATUS_FAILED", + 4: "FINE_TUNING_STATUS_SUBMITTED", + } + FineTuningStatus_value = map[string]int32{ + "FINE_TUNING_STATUS_NOT_STARTED": 0, + "FINE_TUNING_STATUS_RUNNING": 1, + "FINE_TUNING_STATUS_COMPLETED": 2, + "FINE_TUNING_STATUS_FAILED": 3, + "FINE_TUNING_STATUS_SUBMITTED": 4, + } +) + +func (x FineTuningStatus) Enum() *FineTuningStatus { + p := new(FineTuningStatus) + *p = x + return p +} + +func (x FineTuningStatus) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (FineTuningStatus) Descriptor() protoreflect.EnumDescriptor { + return file_stability_api_platform_finetuning_finetuning_proto_enumTypes[1].Descriptor() +} + +func (FineTuningStatus) Type() protoreflect.EnumType { + return &file_stability_api_platform_finetuning_finetuning_proto_enumTypes[1] +} + +func (x FineTuningStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use FineTuningStatus.Descriptor instead. +func (FineTuningStatus) EnumDescriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{1} +} + +type FineTuningModel struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the model, UUIDv4 + UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // ID of user who created the model + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // a readable model name + Mode *FineTuningMode `protobuf:"varint,4,opt,name=mode,proto3,enum=gooseai.FineTuningMode,oneof" json:"mode,omitempty"` // the mode of the model + ObjectPrompt *string `protobuf:"bytes,5,opt,name=object_prompt,json=objectPrompt,proto3,oneof" json:"object_prompt,omitempty"` // freeform text description of object, should only be set when mode is OBJECT + ProjectId string `protobuf:"bytes,6,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // project ID with assets to be used for fine tuning + Duration float64 `protobuf:"fixed64,7,opt,name=duration,proto3" json:"duration,omitempty"` // duration in seconds for how long the model took to train + Status FineTuningStatus `protobuf:"varint,8,opt,name=status,proto3,enum=gooseai.FineTuningStatus" json:"status,omitempty"` // the current status of the model + EngineId string `protobuf:"bytes,9,opt,name=engine_id,json=engineId,proto3" json:"engine_id,omitempty"` // the engineId of a fine-tuneable Stability model + FailureReason *string `protobuf:"bytes,10,opt,name=failure_reason,json=failureReason,proto3,oneof" json:"failure_reason,omitempty"` // If a model's training failed, this will contain the reason +} + +func (x *FineTuningModel) Reset() { + *x = FineTuningModel{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FineTuningModel) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FineTuningModel) ProtoMessage() {} + +func (x *FineTuningModel) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_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 FineTuningModel.ProtoReflect.Descriptor instead. +func (*FineTuningModel) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{0} +} + +func (x *FineTuningModel) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *FineTuningModel) GetUserId() string { + if x != nil { + return x.UserId + } + return "" +} + +func (x *FineTuningModel) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *FineTuningModel) GetMode() FineTuningMode { + if x != nil && x.Mode != nil { + return *x.Mode + } + return FineTuningMode_FINE_TUNING_MODE_UNSPECIFIED +} + +func (x *FineTuningModel) GetObjectPrompt() string { + if x != nil && x.ObjectPrompt != nil { + return *x.ObjectPrompt + } + return "" +} + +func (x *FineTuningModel) GetProjectId() string { + if x != nil { + return x.ProjectId + } + return "" +} + +func (x *FineTuningModel) GetDuration() float64 { + if x != nil { + return x.Duration + } + return 0 +} + +func (x *FineTuningModel) GetStatus() FineTuningStatus { + if x != nil { + return x.Status + } + return FineTuningStatus_FINE_TUNING_STATUS_NOT_STARTED +} + +func (x *FineTuningModel) GetEngineId() string { + if x != nil { + return x.EngineId + } + return "" +} + +func (x *FineTuningModel) GetFailureReason() string { + if x != nil && x.FailureReason != nil { + return *x.FailureReason + } + return "" +} + +type CreateModelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // a readable model name + Mode *FineTuningMode `protobuf:"varint,2,opt,name=mode,proto3,enum=gooseai.FineTuningMode,oneof" json:"mode,omitempty"` // the mode of the model + ObjectPrompt *string `protobuf:"bytes,3,opt,name=object_prompt,json=objectPrompt,proto3,oneof" json:"object_prompt,omitempty"` // freeform text description of object, should only be set when mode is OBJECT + ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // the project_id with assets to be used for fine tuning + EngineId string `protobuf:"bytes,5,opt,name=engine_id,json=engineId,proto3" json:"engine_id,omitempty"` // the engineId of an fine-tuneable Stability model + Extras *structpb.Struct `protobuf:"bytes,2047,opt,name=extras,proto3,oneof" json:"extras,omitempty"` // for development use +} + +func (x *CreateModelRequest) Reset() { + *x = CreateModelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateModelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateModelRequest) ProtoMessage() {} + +func (x *CreateModelRequest) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_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 CreateModelRequest.ProtoReflect.Descriptor instead. +func (*CreateModelRequest) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{1} +} + +func (x *CreateModelRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *CreateModelRequest) GetMode() FineTuningMode { + if x != nil && x.Mode != nil { + return *x.Mode + } + return FineTuningMode_FINE_TUNING_MODE_UNSPECIFIED +} + +func (x *CreateModelRequest) GetObjectPrompt() string { + if x != nil && x.ObjectPrompt != nil { + return *x.ObjectPrompt + } + return "" +} + +func (x *CreateModelRequest) GetProjectId() string { + if x != nil { + return x.ProjectId + } + return "" +} + +func (x *CreateModelRequest) GetEngineId() string { + if x != nil { + return x.EngineId + } + return "" +} + +func (x *CreateModelRequest) GetExtras() *structpb.Struct { + if x != nil { + return x.Extras + } + return nil +} + +type CreateModelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Model *FineTuningModel `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` +} + +func (x *CreateModelResponse) Reset() { + *x = CreateModelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CreateModelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CreateModelResponse) ProtoMessage() {} + +func (x *CreateModelResponse) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_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 CreateModelResponse.ProtoReflect.Descriptor instead. +func (*CreateModelResponse) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{2} +} + +func (x *CreateModelResponse) GetModel() *FineTuningModel { + if x != nil { + return x.Model + } + return nil +} + +type GetModelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the model +} + +func (x *GetModelRequest) Reset() { + *x = GetModelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetModelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetModelRequest) ProtoMessage() {} + +func (x *GetModelRequest) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead. +func (*GetModelRequest) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{3} +} + +func (x *GetModelRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type GetModelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Model *FineTuningModel `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` +} + +func (x *GetModelResponse) Reset() { + *x = GetModelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetModelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetModelResponse) ProtoMessage() {} + +func (x *GetModelResponse) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetModelResponse.ProtoReflect.Descriptor instead. +func (*GetModelResponse) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{4} +} + +func (x *GetModelResponse) GetModel() *FineTuningModel { + if x != nil { + return x.Model + } + return nil +} + +type UpdateModelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // the id of the model + Name *string `protobuf:"bytes,2,opt,name=name,proto3,oneof" json:"name,omitempty"` // a readable model name + Mode *FineTuningMode `protobuf:"varint,3,opt,name=mode,proto3,enum=gooseai.FineTuningMode,oneof" json:"mode,omitempty"` // the mode of the model + ObjectPrompt *string `protobuf:"bytes,4,opt,name=object_prompt,json=objectPrompt,proto3,oneof" json:"object_prompt,omitempty"` // freeform text description of object, should only be set when mode is OBJECT + EngineId *string `protobuf:"bytes,5,opt,name=engine_id,json=engineId,proto3,oneof" json:"engine_id,omitempty"` // the engineId of an fine-tuneable Stability model +} + +func (x *UpdateModelRequest) Reset() { + *x = UpdateModelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateModelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateModelRequest) ProtoMessage() {} + +func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[5] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use UpdateModelRequest.ProtoReflect.Descriptor instead. +func (*UpdateModelRequest) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{5} +} + +func (x *UpdateModelRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +func (x *UpdateModelRequest) GetName() string { + if x != nil && x.Name != nil { + return *x.Name + } + return "" +} + +func (x *UpdateModelRequest) GetMode() FineTuningMode { + if x != nil && x.Mode != nil { + return *x.Mode + } + return FineTuningMode_FINE_TUNING_MODE_UNSPECIFIED +} + +func (x *UpdateModelRequest) GetObjectPrompt() string { + if x != nil && x.ObjectPrompt != nil { + return *x.ObjectPrompt + } + return "" +} + +func (x *UpdateModelRequest) GetEngineId() string { + if x != nil && x.EngineId != nil { + return *x.EngineId + } + return "" +} + +type UpdateModelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Model *FineTuningModel `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` +} + +func (x *UpdateModelResponse) Reset() { + *x = UpdateModelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *UpdateModelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*UpdateModelResponse) ProtoMessage() {} + +func (x *UpdateModelResponse) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_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 UpdateModelResponse.ProtoReflect.Descriptor instead. +func (*UpdateModelResponse) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{6} +} + +func (x *UpdateModelResponse) GetModel() *FineTuningModel { + if x != nil { + return x.Model + } + return nil +} + +type DeleteModelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the model to delete +} + +func (x *DeleteModelRequest) Reset() { + *x = DeleteModelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteModelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteModelRequest) ProtoMessage() {} + +func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_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 DeleteModelRequest.ProtoReflect.Descriptor instead. +func (*DeleteModelRequest) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{7} +} + +func (x *DeleteModelRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type DeleteModelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Model *FineTuningModel `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` +} + +func (x *DeleteModelResponse) Reset() { + *x = DeleteModelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *DeleteModelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*DeleteModelResponse) ProtoMessage() {} + +func (x *DeleteModelResponse) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[8] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use DeleteModelResponse.ProtoReflect.Descriptor instead. +func (*DeleteModelResponse) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{8} +} + +func (x *DeleteModelResponse) GetModel() *FineTuningModel { + if x != nil { + return x.Model + } + return nil +} + +type ResubmitModelRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of the model to resubmit +} + +func (x *ResubmitModelRequest) Reset() { + *x = ResubmitModelRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResubmitModelRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResubmitModelRequest) ProtoMessage() {} + +func (x *ResubmitModelRequest) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResubmitModelRequest.ProtoReflect.Descriptor instead. +func (*ResubmitModelRequest) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{9} +} + +func (x *ResubmitModelRequest) GetId() string { + if x != nil { + return x.Id + } + return "" +} + +type ResubmitModelResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Model *FineTuningModel `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` +} + +func (x *ResubmitModelResponse) Reset() { + *x = ResubmitModelResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ResubmitModelResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ResubmitModelResponse) ProtoMessage() {} + +func (x *ResubmitModelResponse) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ResubmitModelResponse.ProtoReflect.Descriptor instead. +func (*ResubmitModelResponse) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{10} +} + +func (x *ResubmitModelResponse) GetModel() *FineTuningModel { + if x != nil { + return x.Model + } + return nil +} + +type ListModelsRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Id: + // + // *ListModelsRequest_OrgId + // *ListModelsRequest_UserId + Id isListModelsRequest_Id `protobuf_oneof:"id"` +} + +func (x *ListModelsRequest) Reset() { + *x = ListModelsRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListModelsRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListModelsRequest) ProtoMessage() {} + +func (x *ListModelsRequest) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead. +func (*ListModelsRequest) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{11} +} + +func (m *ListModelsRequest) GetId() isListModelsRequest_Id { + if m != nil { + return m.Id + } + return nil +} + +func (x *ListModelsRequest) GetOrgId() string { + if x, ok := x.GetId().(*ListModelsRequest_OrgId); ok { + return x.OrgId + } + return "" +} + +func (x *ListModelsRequest) GetUserId() string { + if x, ok := x.GetId().(*ListModelsRequest_UserId); ok { + return x.UserId + } + return "" +} + +type isListModelsRequest_Id interface { + isListModelsRequest_Id() +} + +type ListModelsRequest_OrgId struct { + OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3,oneof"` // the organization's ID +} + +type ListModelsRequest_UserId struct { + UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3,oneof"` // or the user's ID +} + +func (*ListModelsRequest_OrgId) isListModelsRequest_Id() {} + +func (*ListModelsRequest_UserId) isListModelsRequest_Id() {} + +type ListModelsResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Models []*FineTuningModel `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"` // the list of models +} + +func (x *ListModelsResponse) Reset() { + *x = ListModelsResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ListModelsResponse) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ListModelsResponse) ProtoMessage() {} + +func (x *ListModelsResponse) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_finetuning_finetuning_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead. +func (*ListModelsResponse) Descriptor() ([]byte, []int) { + return file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP(), []int{12} +} + +func (x *ListModelsResponse) GetModels() []*FineTuningModel { + if x != nil { + return x.Models + } + return nil +} + +var File_stability_api_platform_finetuning_finetuning_proto protoreflect.FileDescriptor + +var file_stability_api_platform_finetuning_finetuning_proto_rawDesc = []byte{ + 0x0a, 0x32, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x61, 0x70, 0x69, 0x2f, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x66, 0x69, 0x6e, 0x65, 0x74, 0x75, 0x6e, + 0x69, 0x6e, 0x67, 0x2f, 0x66, 0x69, 0x6e, 0x65, 0x74, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x1a, 0x1c, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8f, 0x03, 0x0a, 0x0f, + 0x46, 0x69, 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, + 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, + 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x04, + 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, + 0x73, 0x65, 0x61, 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x4d, + 0x6f, 0x64, 0x65, 0x48, 0x00, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x12, 0x28, + 0x0a, 0x0d, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, + 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x46, 0x69, + 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, + 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, + 0x5f, 0x69, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x67, 0x69, 0x6e, + 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x0e, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0d, 0x66, + 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, + 0x07, 0x0a, 0x05, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x6f, 0x62, 0x6a, + 0x65, 0x63, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x66, + 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x22, 0x9d, 0x02, + 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x30, 0x0a, 0x04, 0x6d, 0x6f, 0x64, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x2e, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x48, + 0x00, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, 0x0d, 0x6f, 0x62, + 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x48, 0x01, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x6d, 0x70, + 0x74, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, + 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, 0x64, + 0x12, 0x35, 0x0a, 0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x18, 0xff, 0x0f, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x02, 0x52, 0x06, 0x65, 0x78, + 0x74, 0x72, 0x61, 0x73, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6d, 0x6f, 0x64, 0x65, + 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6d, + 0x70, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x22, 0x45, 0x0a, + 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x46, 0x69, + 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x21, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x42, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x6d, + 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, + 0x73, 0x65, 0x61, 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0xed, 0x01, 0x0a, 0x12, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x48, 0x00, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x30, 0x0a, 0x04, 0x6d, + 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, + 0x64, 0x65, 0x48, 0x01, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x12, 0x28, 0x0a, + 0x0d, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x0c, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, + 0x6f, 0x6d, 0x70, 0x74, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x65, 0x6e, 0x67, 0x69, 0x6e, + 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x08, 0x65, 0x6e, + 0x67, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6e, 0x61, + 0x6d, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x42, 0x10, 0x0a, 0x0e, 0x5f, + 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x42, 0x0c, 0x0a, + 0x0a, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x22, 0x45, 0x0a, 0x13, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x65, + 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, + 0x65, 0x6c, 0x22, 0x24, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x45, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x2e, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x75, 0x6e, + 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, + 0x26, 0x0a, 0x14, 0x52, 0x65, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x22, 0x47, 0x0a, 0x15, 0x52, 0x65, 0x73, 0x75, 0x62, + 0x6d, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x2e, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x75, + 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, + 0x22, 0x4d, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x06, 0x6f, 0x72, 0x67, 0x5f, 0x69, 0x64, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, 0x6f, 0x72, 0x67, 0x49, 0x64, 0x12, 0x19, + 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, + 0x00, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x42, 0x04, 0x0a, 0x02, 0x69, 0x64, 0x22, + 0x46, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, + 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, + 0x46, 0x69, 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, + 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2a, 0x86, 0x01, 0x0a, 0x0e, 0x46, 0x69, 0x6e, 0x65, + 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x1c, 0x46, 0x49, + 0x4e, 0x45, 0x5f, 0x54, 0x55, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, + 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, + 0x46, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x55, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x4f, 0x44, 0x45, + 0x5f, 0x46, 0x41, 0x43, 0x45, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x46, 0x49, 0x4e, 0x45, 0x5f, + 0x54, 0x55, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x54, 0x59, 0x4c, + 0x45, 0x10, 0x02, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x55, 0x4e, 0x49, + 0x4e, 0x47, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x4f, 0x42, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x03, + 0x2a, 0xb9, 0x01, 0x0a, 0x10, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x53, + 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x22, 0x0a, 0x1e, 0x46, 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x55, + 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, + 0x53, 0x54, 0x41, 0x52, 0x54, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1e, 0x0a, 0x1a, 0x46, 0x49, 0x4e, + 0x45, 0x5f, 0x54, 0x55, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, + 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x12, 0x20, 0x0a, 0x1c, 0x46, 0x49, 0x4e, + 0x45, 0x5f, 0x54, 0x55, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, + 0x43, 0x4f, 0x4d, 0x50, 0x4c, 0x45, 0x54, 0x45, 0x44, 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x46, + 0x49, 0x4e, 0x45, 0x5f, 0x54, 0x55, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, + 0x53, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x20, 0x0a, 0x1c, 0x46, 0x49, + 0x4e, 0x45, 0x5f, 0x54, 0x55, 0x4e, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, + 0x5f, 0x53, 0x55, 0x42, 0x4d, 0x49, 0x54, 0x54, 0x45, 0x44, 0x10, 0x04, 0x32, 0xc9, 0x03, 0x0a, + 0x11, 0x46, 0x69, 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, + 0x63, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, + 0x6c, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, + 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3f, 0x0a, 0x08, + 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x18, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, + 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x47, 0x65, 0x74, + 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, + 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x1b, 0x2e, 0x67, + 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, + 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x48, 0x0a, 0x0b, 0x44, 0x65, 0x6c, 0x65, 0x74, + 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, + 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x44, 0x65, + 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x4e, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4d, 0x6f, 0x64, + 0x65, 0x6c, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x52, 0x65, 0x73, + 0x75, 0x62, 0x6d, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x52, 0x65, 0x73, 0x75, + 0x62, 0x6d, 0x69, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, + 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, + 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x67, 0x6f, + 0x6f, 0x73, 0x65, 0x61, 0x69, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0xa8, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, + 0x2e, 0x67, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x42, 0x0f, 0x46, 0x69, 0x6e, 0x65, 0x74, 0x75, + 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4c, 0x67, 0x69, 0x74, + 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x2d, 0x61, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, + 0x63, 0x65, 0x73, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x66, + 0x69, 0x6e, 0x65, 0x74, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0xa2, 0x02, 0x03, 0x47, 0x58, 0x58, 0xaa, + 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0xca, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0xe2, 0x02, 0x13, 0x47, 0x6f, 0x6f, 0x73, 0x65, 0x61, 0x69, 0x5c, 0x47, 0x50, + 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x47, 0x6f, 0x6f, 0x73, + 0x65, 0x61, 0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_stability_api_platform_finetuning_finetuning_proto_rawDescOnce sync.Once + file_stability_api_platform_finetuning_finetuning_proto_rawDescData = file_stability_api_platform_finetuning_finetuning_proto_rawDesc +) + +func file_stability_api_platform_finetuning_finetuning_proto_rawDescGZIP() []byte { + file_stability_api_platform_finetuning_finetuning_proto_rawDescOnce.Do(func() { + file_stability_api_platform_finetuning_finetuning_proto_rawDescData = protoimpl.X.CompressGZIP(file_stability_api_platform_finetuning_finetuning_proto_rawDescData) + }) + return file_stability_api_platform_finetuning_finetuning_proto_rawDescData +} + +var file_stability_api_platform_finetuning_finetuning_proto_enumTypes = make([]protoimpl.EnumInfo, 2) +var file_stability_api_platform_finetuning_finetuning_proto_msgTypes = make([]protoimpl.MessageInfo, 13) +var file_stability_api_platform_finetuning_finetuning_proto_goTypes = []interface{}{ + (FineTuningMode)(0), // 0: gooseai.FineTuningMode + (FineTuningStatus)(0), // 1: gooseai.FineTuningStatus + (*FineTuningModel)(nil), // 2: gooseai.FineTuningModel + (*CreateModelRequest)(nil), // 3: gooseai.CreateModelRequest + (*CreateModelResponse)(nil), // 4: gooseai.CreateModelResponse + (*GetModelRequest)(nil), // 5: gooseai.GetModelRequest + (*GetModelResponse)(nil), // 6: gooseai.GetModelResponse + (*UpdateModelRequest)(nil), // 7: gooseai.UpdateModelRequest + (*UpdateModelResponse)(nil), // 8: gooseai.UpdateModelResponse + (*DeleteModelRequest)(nil), // 9: gooseai.DeleteModelRequest + (*DeleteModelResponse)(nil), // 10: gooseai.DeleteModelResponse + (*ResubmitModelRequest)(nil), // 11: gooseai.ResubmitModelRequest + (*ResubmitModelResponse)(nil), // 12: gooseai.ResubmitModelResponse + (*ListModelsRequest)(nil), // 13: gooseai.ListModelsRequest + (*ListModelsResponse)(nil), // 14: gooseai.ListModelsResponse + (*structpb.Struct)(nil), // 15: google.protobuf.Struct +} +var file_stability_api_platform_finetuning_finetuning_proto_depIdxs = []int32{ + 0, // 0: gooseai.FineTuningModel.mode:type_name -> gooseai.FineTuningMode + 1, // 1: gooseai.FineTuningModel.status:type_name -> gooseai.FineTuningStatus + 0, // 2: gooseai.CreateModelRequest.mode:type_name -> gooseai.FineTuningMode + 15, // 3: gooseai.CreateModelRequest.extras:type_name -> google.protobuf.Struct + 2, // 4: gooseai.CreateModelResponse.model:type_name -> gooseai.FineTuningModel + 2, // 5: gooseai.GetModelResponse.model:type_name -> gooseai.FineTuningModel + 0, // 6: gooseai.UpdateModelRequest.mode:type_name -> gooseai.FineTuningMode + 2, // 7: gooseai.UpdateModelResponse.model:type_name -> gooseai.FineTuningModel + 2, // 8: gooseai.DeleteModelResponse.model:type_name -> gooseai.FineTuningModel + 2, // 9: gooseai.ResubmitModelResponse.model:type_name -> gooseai.FineTuningModel + 2, // 10: gooseai.ListModelsResponse.models:type_name -> gooseai.FineTuningModel + 3, // 11: gooseai.FineTuningService.CreateModel:input_type -> gooseai.CreateModelRequest + 5, // 12: gooseai.FineTuningService.GetModel:input_type -> gooseai.GetModelRequest + 7, // 13: gooseai.FineTuningService.UpdateModel:input_type -> gooseai.UpdateModelRequest + 9, // 14: gooseai.FineTuningService.DeleteModel:input_type -> gooseai.DeleteModelRequest + 11, // 15: gooseai.FineTuningService.ResubmitModel:input_type -> gooseai.ResubmitModelRequest + 13, // 16: gooseai.FineTuningService.ListModels:input_type -> gooseai.ListModelsRequest + 4, // 17: gooseai.FineTuningService.CreateModel:output_type -> gooseai.CreateModelResponse + 6, // 18: gooseai.FineTuningService.GetModel:output_type -> gooseai.GetModelResponse + 8, // 19: gooseai.FineTuningService.UpdateModel:output_type -> gooseai.UpdateModelResponse + 10, // 20: gooseai.FineTuningService.DeleteModel:output_type -> gooseai.DeleteModelResponse + 12, // 21: gooseai.FineTuningService.ResubmitModel:output_type -> gooseai.ResubmitModelResponse + 14, // 22: gooseai.FineTuningService.ListModels:output_type -> gooseai.ListModelsResponse + 17, // [17:23] is the sub-list for method output_type + 11, // [11:17] is the sub-list for method input_type + 11, // [11:11] is the sub-list for extension type_name + 11, // [11:11] is the sub-list for extension extendee + 0, // [0:11] is the sub-list for field type_name +} + +func init() { file_stability_api_platform_finetuning_finetuning_proto_init() } +func file_stability_api_platform_finetuning_finetuning_proto_init() { + if File_stability_api_platform_finetuning_finetuning_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*FineTuningModel); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateModelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CreateModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetModelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateModelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteModelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DeleteModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResubmitModelRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ResubmitModelResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListModelsRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListModelsResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[0].OneofWrappers = []interface{}{} + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[1].OneofWrappers = []interface{}{} + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[5].OneofWrappers = []interface{}{} + file_stability_api_platform_finetuning_finetuning_proto_msgTypes[11].OneofWrappers = []interface{}{ + (*ListModelsRequest_OrgId)(nil), + (*ListModelsRequest_UserId)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_stability_api_platform_finetuning_finetuning_proto_rawDesc, + NumEnums: 2, + NumMessages: 13, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_stability_api_platform_finetuning_finetuning_proto_goTypes, + DependencyIndexes: file_stability_api_platform_finetuning_finetuning_proto_depIdxs, + EnumInfos: file_stability_api_platform_finetuning_finetuning_proto_enumTypes, + MessageInfos: file_stability_api_platform_finetuning_finetuning_proto_msgTypes, + }.Build() + File_stability_api_platform_finetuning_finetuning_proto = out.File + file_stability_api_platform_finetuning_finetuning_proto_rawDesc = nil + file_stability_api_platform_finetuning_finetuning_proto_goTypes = nil + file_stability_api_platform_finetuning_finetuning_proto_depIdxs = nil +} diff --git a/src/stability_api/platform/finetuning/finetuning_connect.d.ts b/src/stability_api/platform/finetuning/finetuning_connect.d.ts new file mode 100644 index 0000000..50034bf --- /dev/null +++ b/src/stability_api/platform/finetuning/finetuning_connect.d.ts @@ -0,0 +1,83 @@ +// @generated by protoc-gen-connect-es v0.8.6 +// @generated from file stability_api/platform/finetuning/finetuning.proto (package gooseai, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { CreateModelRequest, CreateModelResponse, DeleteModelRequest, DeleteModelResponse, GetModelRequest, GetModelResponse, ListModelsRequest, ListModelsResponse, ResubmitModelRequest, ResubmitModelResponse, UpdateModelRequest, UpdateModelResponse } from "./finetuning_pb.js"; +import { MethodKind } from "@bufbuild/protobuf"; + +/** + * @generated from service gooseai.FineTuningService + */ +export declare const FineTuningService: { + readonly typeName: "gooseai.FineTuningService", + readonly methods: { + /** + * Create a new model and begin the fine tuning process + * + * @generated from rpc gooseai.FineTuningService.CreateModel + */ + readonly createModel: { + readonly name: "CreateModel", + readonly I: typeof CreateModelRequest, + readonly O: typeof CreateModelResponse, + readonly kind: MethodKind.Unary, + }, + /** + * Get a FineTuningModel + * + * @generated from rpc gooseai.FineTuningService.GetModel + */ + readonly getModel: { + readonly name: "GetModel", + readonly I: typeof GetModelRequest, + readonly O: typeof GetModelResponse, + readonly kind: MethodKind.Unary, + }, + /** + * Update a FineTuningModel by id + * + * @generated from rpc gooseai.FineTuningService.UpdateModel + */ + readonly updateModel: { + readonly name: "UpdateModel", + readonly I: typeof UpdateModelRequest, + readonly O: typeof UpdateModelResponse, + readonly kind: MethodKind.Unary, + }, + /** + * Delete a fine tuned model + * + * @generated from rpc gooseai.FineTuningService.DeleteModel + */ + readonly deleteModel: { + readonly name: "DeleteModel", + readonly I: typeof DeleteModelRequest, + readonly O: typeof DeleteModelResponse, + readonly kind: MethodKind.Unary, + }, + /** + * Re-run training, does not create a new model + * + * @generated from rpc gooseai.FineTuningService.ResubmitModel + */ + readonly resubmitModel: { + readonly name: "ResubmitModel", + readonly I: typeof ResubmitModelRequest, + readonly O: typeof ResubmitModelResponse, + readonly kind: MethodKind.Unary, + }, + /** + * List all the fine tuned models for an organization or user + * + * @generated from rpc gooseai.FineTuningService.ListModels + */ + readonly listModels: { + readonly name: "ListModels", + readonly I: typeof ListModelsRequest, + readonly O: typeof ListModelsResponse, + readonly kind: MethodKind.Unary, + }, + } +}; + diff --git a/src/stability_api/platform/finetuning/finetuning_connect.js b/src/stability_api/platform/finetuning/finetuning_connect.js new file mode 100644 index 0000000..d59db29 --- /dev/null +++ b/src/stability_api/platform/finetuning/finetuning_connect.js @@ -0,0 +1,83 @@ +// @generated by protoc-gen-connect-es v0.8.6 +// @generated from file stability_api/platform/finetuning/finetuning.proto (package gooseai, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { CreateModelRequest, CreateModelResponse, DeleteModelRequest, DeleteModelResponse, GetModelRequest, GetModelResponse, ListModelsRequest, ListModelsResponse, ResubmitModelRequest, ResubmitModelResponse, UpdateModelRequest, UpdateModelResponse } from "./finetuning_pb.js"; +import { MethodKind } from "@bufbuild/protobuf"; + +/** + * @generated from service gooseai.FineTuningService + */ +export const FineTuningService = { + typeName: "gooseai.FineTuningService", + methods: { + /** + * Create a new model and begin the fine tuning process + * + * @generated from rpc gooseai.FineTuningService.CreateModel + */ + createModel: { + name: "CreateModel", + I: CreateModelRequest, + O: CreateModelResponse, + kind: MethodKind.Unary, + }, + /** + * Get a FineTuningModel + * + * @generated from rpc gooseai.FineTuningService.GetModel + */ + getModel: { + name: "GetModel", + I: GetModelRequest, + O: GetModelResponse, + kind: MethodKind.Unary, + }, + /** + * Update a FineTuningModel by id + * + * @generated from rpc gooseai.FineTuningService.UpdateModel + */ + updateModel: { + name: "UpdateModel", + I: UpdateModelRequest, + O: UpdateModelResponse, + kind: MethodKind.Unary, + }, + /** + * Delete a fine tuned model + * + * @generated from rpc gooseai.FineTuningService.DeleteModel + */ + deleteModel: { + name: "DeleteModel", + I: DeleteModelRequest, + O: DeleteModelResponse, + kind: MethodKind.Unary, + }, + /** + * Re-run training, does not create a new model + * + * @generated from rpc gooseai.FineTuningService.ResubmitModel + */ + resubmitModel: { + name: "ResubmitModel", + I: ResubmitModelRequest, + O: ResubmitModelResponse, + kind: MethodKind.Unary, + }, + /** + * List all the fine tuned models for an organization or user + * + * @generated from rpc gooseai.FineTuningService.ListModels + */ + listModels: { + name: "ListModels", + I: ListModelsRequest, + O: ListModelsResponse, + kind: MethodKind.Unary, + }, + } +}; + diff --git a/src/stability_api/platform/finetuning/finetuning_grpc.pb.go b/src/stability_api/platform/finetuning/finetuning_grpc.pb.go new file mode 100644 index 0000000..78255b6 --- /dev/null +++ b/src/stability_api/platform/finetuning/finetuning_grpc.pb.go @@ -0,0 +1,306 @@ +// Code generated by protoc-gen-go-grpc. DO NOT EDIT. +// versions: +// - protoc-gen-go-grpc v1.3.0 +// - protoc (unknown) +// source: stability_api/platform/finetuning/finetuning.proto + +package finetuning + +import ( + context "context" + grpc "google.golang.org/grpc" + codes "google.golang.org/grpc/codes" + status "google.golang.org/grpc/status" +) + +// This is a compile-time assertion to ensure that this generated file +// is compatible with the grpc package it is being compiled against. +// Requires gRPC-Go v1.32.0 or later. +const _ = grpc.SupportPackageIsVersion7 + +const ( + FineTuningService_CreateModel_FullMethodName = "/gooseai.FineTuningService/CreateModel" + FineTuningService_GetModel_FullMethodName = "/gooseai.FineTuningService/GetModel" + FineTuningService_UpdateModel_FullMethodName = "/gooseai.FineTuningService/UpdateModel" + FineTuningService_DeleteModel_FullMethodName = "/gooseai.FineTuningService/DeleteModel" + FineTuningService_ResubmitModel_FullMethodName = "/gooseai.FineTuningService/ResubmitModel" + FineTuningService_ListModels_FullMethodName = "/gooseai.FineTuningService/ListModels" +) + +// FineTuningServiceClient is the client API for FineTuningService service. +// +// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. +type FineTuningServiceClient interface { + // Create a new model and begin the fine tuning process + CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*CreateModelResponse, error) + // Get a FineTuningModel + GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*GetModelResponse, error) + // Update a FineTuningModel by id + UpdateModel(ctx context.Context, in *UpdateModelRequest, opts ...grpc.CallOption) (*UpdateModelResponse, error) + // Delete a fine tuned model + DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*DeleteModelResponse, error) + // Re-run training, does not create a new model + ResubmitModel(ctx context.Context, in *ResubmitModelRequest, opts ...grpc.CallOption) (*ResubmitModelResponse, error) + // List all the fine tuned models for an organization or user + ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) +} + +type fineTuningServiceClient struct { + cc grpc.ClientConnInterface +} + +func NewFineTuningServiceClient(cc grpc.ClientConnInterface) FineTuningServiceClient { + return &fineTuningServiceClient{cc} +} + +func (c *fineTuningServiceClient) CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*CreateModelResponse, error) { + out := new(CreateModelResponse) + err := c.cc.Invoke(ctx, FineTuningService_CreateModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *fineTuningServiceClient) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*GetModelResponse, error) { + out := new(GetModelResponse) + err := c.cc.Invoke(ctx, FineTuningService_GetModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *fineTuningServiceClient) UpdateModel(ctx context.Context, in *UpdateModelRequest, opts ...grpc.CallOption) (*UpdateModelResponse, error) { + out := new(UpdateModelResponse) + err := c.cc.Invoke(ctx, FineTuningService_UpdateModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *fineTuningServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*DeleteModelResponse, error) { + out := new(DeleteModelResponse) + err := c.cc.Invoke(ctx, FineTuningService_DeleteModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *fineTuningServiceClient) ResubmitModel(ctx context.Context, in *ResubmitModelRequest, opts ...grpc.CallOption) (*ResubmitModelResponse, error) { + out := new(ResubmitModelResponse) + err := c.cc.Invoke(ctx, FineTuningService_ResubmitModel_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +func (c *fineTuningServiceClient) ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) { + out := new(ListModelsResponse) + err := c.cc.Invoke(ctx, FineTuningService_ListModels_FullMethodName, in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + +// FineTuningServiceServer is the server API for FineTuningService service. +// All implementations must embed UnimplementedFineTuningServiceServer +// for forward compatibility +type FineTuningServiceServer interface { + // Create a new model and begin the fine tuning process + CreateModel(context.Context, *CreateModelRequest) (*CreateModelResponse, error) + // Get a FineTuningModel + GetModel(context.Context, *GetModelRequest) (*GetModelResponse, error) + // Update a FineTuningModel by id + UpdateModel(context.Context, *UpdateModelRequest) (*UpdateModelResponse, error) + // Delete a fine tuned model + DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error) + // Re-run training, does not create a new model + ResubmitModel(context.Context, *ResubmitModelRequest) (*ResubmitModelResponse, error) + // List all the fine tuned models for an organization or user + ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) + mustEmbedUnimplementedFineTuningServiceServer() +} + +// UnimplementedFineTuningServiceServer must be embedded to have forward compatible implementations. +type UnimplementedFineTuningServiceServer struct { +} + +func (UnimplementedFineTuningServiceServer) CreateModel(context.Context, *CreateModelRequest) (*CreateModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method CreateModel not implemented") +} +func (UnimplementedFineTuningServiceServer) GetModel(context.Context, *GetModelRequest) (*GetModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetModel not implemented") +} +func (UnimplementedFineTuningServiceServer) UpdateModel(context.Context, *UpdateModelRequest) (*UpdateModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method UpdateModel not implemented") +} +func (UnimplementedFineTuningServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*DeleteModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented") +} +func (UnimplementedFineTuningServiceServer) ResubmitModel(context.Context, *ResubmitModelRequest) (*ResubmitModelResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ResubmitModel not implemented") +} +func (UnimplementedFineTuningServiceServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) { + return nil, status.Errorf(codes.Unimplemented, "method ListModels not implemented") +} +func (UnimplementedFineTuningServiceServer) mustEmbedUnimplementedFineTuningServiceServer() {} + +// UnsafeFineTuningServiceServer may be embedded to opt out of forward compatibility for this service. +// Use of this interface is not recommended, as added methods to FineTuningServiceServer will +// result in compilation errors. +type UnsafeFineTuningServiceServer interface { + mustEmbedUnimplementedFineTuningServiceServer() +} + +func RegisterFineTuningServiceServer(s grpc.ServiceRegistrar, srv FineTuningServiceServer) { + s.RegisterService(&FineTuningService_ServiceDesc, srv) +} + +func _FineTuningService_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(CreateModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FineTuningServiceServer).CreateModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: FineTuningService_CreateModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FineTuningServiceServer).CreateModel(ctx, req.(*CreateModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FineTuningService_GetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FineTuningServiceServer).GetModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: FineTuningService_GetModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FineTuningServiceServer).GetModel(ctx, req.(*GetModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FineTuningService_UpdateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(UpdateModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FineTuningServiceServer).UpdateModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: FineTuningService_UpdateModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FineTuningServiceServer).UpdateModel(ctx, req.(*UpdateModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FineTuningService_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(DeleteModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FineTuningServiceServer).DeleteModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: FineTuningService_DeleteModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FineTuningServiceServer).DeleteModel(ctx, req.(*DeleteModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FineTuningService_ResubmitModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ResubmitModelRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FineTuningServiceServer).ResubmitModel(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: FineTuningService_ResubmitModel_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FineTuningServiceServer).ResubmitModel(ctx, req.(*ResubmitModelRequest)) + } + return interceptor(ctx, in, info, handler) +} + +func _FineTuningService_ListModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(ListModelsRequest) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(FineTuningServiceServer).ListModels(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: FineTuningService_ListModels_FullMethodName, + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(FineTuningServiceServer).ListModels(ctx, req.(*ListModelsRequest)) + } + return interceptor(ctx, in, info, handler) +} + +// FineTuningService_ServiceDesc is the grpc.ServiceDesc for FineTuningService service. +// It's only intended for direct use with grpc.RegisterService, +// and not to be introspected or modified (even as a copy) +var FineTuningService_ServiceDesc = grpc.ServiceDesc{ + ServiceName: "gooseai.FineTuningService", + HandlerType: (*FineTuningServiceServer)(nil), + Methods: []grpc.MethodDesc{ + { + MethodName: "CreateModel", + Handler: _FineTuningService_CreateModel_Handler, + }, + { + MethodName: "GetModel", + Handler: _FineTuningService_GetModel_Handler, + }, + { + MethodName: "UpdateModel", + Handler: _FineTuningService_UpdateModel_Handler, + }, + { + MethodName: "DeleteModel", + Handler: _FineTuningService_DeleteModel_Handler, + }, + { + MethodName: "ResubmitModel", + Handler: _FineTuningService_ResubmitModel_Handler, + }, + { + MethodName: "ListModels", + Handler: _FineTuningService_ListModels_Handler, + }, + }, + Streams: []grpc.StreamDesc{}, + Metadata: "stability_api/platform/finetuning/finetuning.proto", +} diff --git a/src/stability_api/platform/finetuning/finetuning_pb.d.ts b/src/stability_api/platform/finetuning/finetuning_pb.d.ts new file mode 100644 index 0000000..454df9a --- /dev/null +++ b/src/stability_api/platform/finetuning/finetuning_pb.d.ts @@ -0,0 +1,549 @@ +// @generated by protoc-gen-es v1.2.0 +// @generated from file stability_api/platform/finetuning/finetuning.proto (package gooseai, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; + +/** + * @generated from enum gooseai.FineTuningMode + */ +export declare enum FineTuningMode { + /** + * No mode specified + * + * @generated from enum value: FINE_TUNING_MODE_UNSPECIFIED = 0; + */ + UNSPECIFIED = 0, + + /** + * Fine tuning a face model + * + * @generated from enum value: FINE_TUNING_MODE_FACE = 1; + */ + FACE = 1, + + /** + * Fine tuning a style model + * + * @generated from enum value: FINE_TUNING_MODE_STYLE = 2; + */ + STYLE = 2, + + /** + * Fine tuning an object model + * + * @generated from enum value: FINE_TUNING_MODE_OBJECT = 3; + */ + OBJECT = 3, +} + +/** + * @generated from enum gooseai.FineTuningStatus + */ +export declare enum FineTuningStatus { + /** + * Model not yet started + * + * @generated from enum value: FINE_TUNING_STATUS_NOT_STARTED = 0; + */ + NOT_STARTED = 0, + + /** + * Model is currently running + * + * @generated from enum value: FINE_TUNING_STATUS_RUNNING = 1; + */ + RUNNING = 1, + + /** + * Model has completed successfully + * + * @generated from enum value: FINE_TUNING_STATUS_COMPLETED = 2; + */ + COMPLETED = 2, + + /** + * Model has failed + * + * @generated from enum value: FINE_TUNING_STATUS_FAILED = 3; + */ + FAILED = 3, + + /** + * Model has been submitted + * + * @generated from enum value: FINE_TUNING_STATUS_SUBMITTED = 4; + */ + SUBMITTED = 4, +} + +/** + * @generated from message gooseai.FineTuningModel + */ +export declare class FineTuningModel extends Message { + /** + * ID of the model, UUIDv4 + * + * @generated from field: string id = 1; + */ + id: string; + + /** + * ID of user who created the model + * + * @generated from field: string user_id = 2; + */ + userId: string; + + /** + * a readable model name + * + * @generated from field: string name = 3; + */ + name: string; + + /** + * the mode of the model + * + * @generated from field: optional gooseai.FineTuningMode mode = 4; + */ + mode?: FineTuningMode; + + /** + * freeform text description of object, should only be set when mode is OBJECT + * + * @generated from field: optional string object_prompt = 5; + */ + objectPrompt?: string; + + /** + * project ID with assets to be used for fine tuning + * + * @generated from field: string project_id = 6; + */ + projectId: string; + + /** + * duration in seconds for how long the model took to train + * + * @generated from field: double duration = 7; + */ + duration: number; + + /** + * the current status of the model + * + * @generated from field: gooseai.FineTuningStatus status = 8; + */ + status: FineTuningStatus; + + /** + * the engineId of a fine-tuneable Stability model + * + * @generated from field: string engine_id = 9; + */ + engineId: string; + + /** + * If a model's training failed, this will contain the reason + * + * @generated from field: optional string failure_reason = 10; + */ + failureReason?: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.FineTuningModel"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): FineTuningModel; + + static fromJson(jsonValue: JsonValue, options?: Partial): FineTuningModel; + + static fromJsonString(jsonString: string, options?: Partial): FineTuningModel; + + static equals(a: FineTuningModel | PlainMessage | undefined, b: FineTuningModel | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.CreateModelRequest + */ +export declare class CreateModelRequest extends Message { + /** + * a readable model name + * + * @generated from field: string name = 1; + */ + name: string; + + /** + * the mode of the model + * + * @generated from field: optional gooseai.FineTuningMode mode = 2; + */ + mode?: FineTuningMode; + + /** + * freeform text description of object, should only be set when mode is OBJECT + * + * @generated from field: optional string object_prompt = 3; + */ + objectPrompt?: string; + + /** + * the project_id with assets to be used for fine tuning + * + * @generated from field: string project_id = 4; + */ + projectId: string; + + /** + * the engineId of an fine-tuneable Stability model + * + * @generated from field: string engine_id = 5; + */ + engineId: string; + + /** + * for development use + * + * @generated from field: optional google.protobuf.Struct extras = 2047; + */ + extras?: Struct; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.CreateModelRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateModelRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateModelRequest; + + static fromJsonString(jsonString: string, options?: Partial): CreateModelRequest; + + static equals(a: CreateModelRequest | PlainMessage | undefined, b: CreateModelRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.CreateModelResponse + */ +export declare class CreateModelResponse extends Message { + /** + * @generated from field: gooseai.FineTuningModel model = 1; + */ + model?: FineTuningModel; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.CreateModelResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateModelResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateModelResponse; + + static fromJsonString(jsonString: string, options?: Partial): CreateModelResponse; + + static equals(a: CreateModelResponse | PlainMessage | undefined, b: CreateModelResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.GetModelRequest + */ +export declare class GetModelRequest extends Message { + /** + * ID of the model + * + * @generated from field: string id = 1; + */ + id: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.GetModelRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): GetModelRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): GetModelRequest; + + static fromJsonString(jsonString: string, options?: Partial): GetModelRequest; + + static equals(a: GetModelRequest | PlainMessage | undefined, b: GetModelRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.GetModelResponse + */ +export declare class GetModelResponse extends Message { + /** + * @generated from field: gooseai.FineTuningModel model = 1; + */ + model?: FineTuningModel; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.GetModelResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): GetModelResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): GetModelResponse; + + static fromJsonString(jsonString: string, options?: Partial): GetModelResponse; + + static equals(a: GetModelResponse | PlainMessage | undefined, b: GetModelResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.UpdateModelRequest + */ +export declare class UpdateModelRequest extends Message { + /** + * the id of the model + * + * @generated from field: string id = 1; + */ + id: string; + + /** + * a readable model name + * + * @generated from field: optional string name = 2; + */ + name?: string; + + /** + * the mode of the model + * + * @generated from field: optional gooseai.FineTuningMode mode = 3; + */ + mode?: FineTuningMode; + + /** + * freeform text description of object, should only be set when mode is OBJECT + * + * @generated from field: optional string object_prompt = 4; + */ + objectPrompt?: string; + + /** + * the engineId of an fine-tuneable Stability model + * + * @generated from field: optional string engine_id = 5; + */ + engineId?: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.UpdateModelRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateModelRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateModelRequest; + + static fromJsonString(jsonString: string, options?: Partial): UpdateModelRequest; + + static equals(a: UpdateModelRequest | PlainMessage | undefined, b: UpdateModelRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.UpdateModelResponse + */ +export declare class UpdateModelResponse extends Message { + /** + * @generated from field: gooseai.FineTuningModel model = 1; + */ + model?: FineTuningModel; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.UpdateModelResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateModelResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateModelResponse; + + static fromJsonString(jsonString: string, options?: Partial): UpdateModelResponse; + + static equals(a: UpdateModelResponse | PlainMessage | undefined, b: UpdateModelResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.DeleteModelRequest + */ +export declare class DeleteModelRequest extends Message { + /** + * ID of the model to delete + * + * @generated from field: string id = 1; + */ + id: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.DeleteModelRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteModelRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteModelRequest; + + static fromJsonString(jsonString: string, options?: Partial): DeleteModelRequest; + + static equals(a: DeleteModelRequest | PlainMessage | undefined, b: DeleteModelRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.DeleteModelResponse + */ +export declare class DeleteModelResponse extends Message { + /** + * @generated from field: gooseai.FineTuningModel model = 1; + */ + model?: FineTuningModel; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.DeleteModelResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteModelResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteModelResponse; + + static fromJsonString(jsonString: string, options?: Partial): DeleteModelResponse; + + static equals(a: DeleteModelResponse | PlainMessage | undefined, b: DeleteModelResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.ResubmitModelRequest + */ +export declare class ResubmitModelRequest extends Message { + /** + * ID of the model to resubmit + * + * @generated from field: string id = 1; + */ + id: string; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.ResubmitModelRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ResubmitModelRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ResubmitModelRequest; + + static fromJsonString(jsonString: string, options?: Partial): ResubmitModelRequest; + + static equals(a: ResubmitModelRequest | PlainMessage | undefined, b: ResubmitModelRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.ResubmitModelResponse + */ +export declare class ResubmitModelResponse extends Message { + /** + * @generated from field: gooseai.FineTuningModel model = 1; + */ + model?: FineTuningModel; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.ResubmitModelResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ResubmitModelResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ResubmitModelResponse; + + static fromJsonString(jsonString: string, options?: Partial): ResubmitModelResponse; + + static equals(a: ResubmitModelResponse | PlainMessage | undefined, b: ResubmitModelResponse | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.ListModelsRequest + */ +export declare class ListModelsRequest extends Message { + /** + * @generated from oneof gooseai.ListModelsRequest.id + */ + id: { + /** + * the organization's ID + * + * @generated from field: string org_id = 1; + */ + value: string; + case: "orgId"; + } | { + /** + * or the user's ID + * + * @generated from field: string user_id = 2; + */ + value: string; + case: "userId"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.ListModelsRequest"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListModelsRequest; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListModelsRequest; + + static fromJsonString(jsonString: string, options?: Partial): ListModelsRequest; + + static equals(a: ListModelsRequest | PlainMessage | undefined, b: ListModelsRequest | PlainMessage | undefined): boolean; +} + +/** + * @generated from message gooseai.ListModelsResponse + */ +export declare class ListModelsResponse extends Message { + /** + * the list of models + * + * @generated from field: repeated gooseai.FineTuningModel models = 1; + */ + models: FineTuningModel[]; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "gooseai.ListModelsResponse"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): ListModelsResponse; + + static fromJson(jsonValue: JsonValue, options?: Partial): ListModelsResponse; + + static fromJsonString(jsonString: string, options?: Partial): ListModelsResponse; + + static equals(a: ListModelsResponse | PlainMessage | undefined, b: ListModelsResponse | PlainMessage | undefined): boolean; +} + diff --git a/src/stability_api/platform/finetuning/finetuning_pb.js b/src/stability_api/platform/finetuning/finetuning_pb.js new file mode 100644 index 0000000..b82f537 --- /dev/null +++ b/src/stability_api/platform/finetuning/finetuning_pb.js @@ -0,0 +1,183 @@ +// @generated by protoc-gen-es v1.2.0 +// @generated from file stability_api/platform/finetuning/finetuning.proto (package gooseai, syntax proto3) +/* eslint-disable */ +// @ts-nocheck + +import { proto3, Struct } from "@bufbuild/protobuf"; + +/** + * @generated from enum gooseai.FineTuningMode + */ +export const FineTuningMode = proto3.makeEnum( + "gooseai.FineTuningMode", + [ + {no: 0, name: "FINE_TUNING_MODE_UNSPECIFIED", localName: "UNSPECIFIED"}, + {no: 1, name: "FINE_TUNING_MODE_FACE", localName: "FACE"}, + {no: 2, name: "FINE_TUNING_MODE_STYLE", localName: "STYLE"}, + {no: 3, name: "FINE_TUNING_MODE_OBJECT", localName: "OBJECT"}, + ], +); + +/** + * @generated from enum gooseai.FineTuningStatus + */ +export const FineTuningStatus = proto3.makeEnum( + "gooseai.FineTuningStatus", + [ + {no: 0, name: "FINE_TUNING_STATUS_NOT_STARTED", localName: "NOT_STARTED"}, + {no: 1, name: "FINE_TUNING_STATUS_RUNNING", localName: "RUNNING"}, + {no: 2, name: "FINE_TUNING_STATUS_COMPLETED", localName: "COMPLETED"}, + {no: 3, name: "FINE_TUNING_STATUS_FAILED", localName: "FAILED"}, + {no: 4, name: "FINE_TUNING_STATUS_SUBMITTED", localName: "SUBMITTED"}, + ], +); + +/** + * @generated from message gooseai.FineTuningModel + */ +export const FineTuningModel = proto3.makeMessageType( + "gooseai.FineTuningModel", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "mode", kind: "enum", T: proto3.getEnumType(FineTuningMode), opt: true }, + { no: 5, name: "object_prompt", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 6, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 7, name: "duration", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ }, + { no: 8, name: "status", kind: "enum", T: proto3.getEnumType(FineTuningStatus) }, + { no: 9, name: "engine_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 10, name: "failure_reason", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + ], +); + +/** + * @generated from message gooseai.CreateModelRequest + */ +export const CreateModelRequest = proto3.makeMessageType( + "gooseai.CreateModelRequest", + () => [ + { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "mode", kind: "enum", T: proto3.getEnumType(FineTuningMode), opt: true }, + { no: 3, name: "object_prompt", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 4, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "engine_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2047, name: "extras", kind: "message", T: Struct, opt: true }, + ], +); + +/** + * @generated from message gooseai.CreateModelResponse + */ +export const CreateModelResponse = proto3.makeMessageType( + "gooseai.CreateModelResponse", + () => [ + { no: 1, name: "model", kind: "message", T: FineTuningModel }, + ], +); + +/** + * @generated from message gooseai.GetModelRequest + */ +export const GetModelRequest = proto3.makeMessageType( + "gooseai.GetModelRequest", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message gooseai.GetModelResponse + */ +export const GetModelResponse = proto3.makeMessageType( + "gooseai.GetModelResponse", + () => [ + { no: 1, name: "model", kind: "message", T: FineTuningModel }, + ], +); + +/** + * @generated from message gooseai.UpdateModelRequest + */ +export const UpdateModelRequest = proto3.makeMessageType( + "gooseai.UpdateModelRequest", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 3, name: "mode", kind: "enum", T: proto3.getEnumType(FineTuningMode), opt: true }, + { no: 4, name: "object_prompt", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + { no: 5, name: "engine_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true }, + ], +); + +/** + * @generated from message gooseai.UpdateModelResponse + */ +export const UpdateModelResponse = proto3.makeMessageType( + "gooseai.UpdateModelResponse", + () => [ + { no: 1, name: "model", kind: "message", T: FineTuningModel }, + ], +); + +/** + * @generated from message gooseai.DeleteModelRequest + */ +export const DeleteModelRequest = proto3.makeMessageType( + "gooseai.DeleteModelRequest", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message gooseai.DeleteModelResponse + */ +export const DeleteModelResponse = proto3.makeMessageType( + "gooseai.DeleteModelResponse", + () => [ + { no: 1, name: "model", kind: "message", T: FineTuningModel }, + ], +); + +/** + * @generated from message gooseai.ResubmitModelRequest + */ +export const ResubmitModelRequest = proto3.makeMessageType( + "gooseai.ResubmitModelRequest", + () => [ + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ], +); + +/** + * @generated from message gooseai.ResubmitModelResponse + */ +export const ResubmitModelResponse = proto3.makeMessageType( + "gooseai.ResubmitModelResponse", + () => [ + { no: 1, name: "model", kind: "message", T: FineTuningModel }, + ], +); + +/** + * @generated from message gooseai.ListModelsRequest + */ +export const ListModelsRequest = proto3.makeMessageType( + "gooseai.ListModelsRequest", + () => [ + { no: 1, name: "org_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "id" }, + { no: 2, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "id" }, + ], +); + +/** + * @generated from message gooseai.ListModelsResponse + */ +export const ListModelsResponse = proto3.makeMessageType( + "gooseai.ListModelsResponse", + () => [ + { no: 1, name: "models", kind: "message", T: FineTuningModel, repeated: true }, + ], +); + diff --git a/src/stability_api/platform/finetuning/finetuning_pb2.py b/src/stability_api/platform/finetuning/finetuning_pb2.py new file mode 100644 index 0000000..b4f8650 --- /dev/null +++ b/src/stability_api/platform/finetuning/finetuning_pb2.py @@ -0,0 +1,58 @@ +# -*- coding: utf-8 -*- +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: stability_api/platform/finetuning/finetuning.proto +"""Generated protocol buffer code.""" +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +from google.protobuf.internal import builder as _builder +# @@protoc_insertion_point(imports) + +_sym_db = _symbol_database.Default() + + +from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 + + +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2stability_api/platform/finetuning/finetuning.proto\x12\x07gooseai\x1a\x1cgoogle/protobuf/struct.proto\"\x8f\x03\n\x0f\x46ineTuningModel\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x30\n\x04mode\x18\x04 \x01(\x0e\x32\x17.gooseai.FineTuningModeH\x00R\x04mode\x88\x01\x01\x12(\n\robject_prompt\x18\x05 \x01(\tH\x01R\x0cobjectPrompt\x88\x01\x01\x12\x1d\n\nproject_id\x18\x06 \x01(\tR\tprojectId\x12\x1a\n\x08\x64uration\x18\x07 \x01(\x01R\x08\x64uration\x12\x31\n\x06status\x18\x08 \x01(\x0e\x32\x19.gooseai.FineTuningStatusR\x06status\x12\x1b\n\tengine_id\x18\t \x01(\tR\x08\x65ngineId\x12*\n\x0e\x66\x61ilure_reason\x18\n \x01(\tH\x02R\rfailureReason\x88\x01\x01\x42\x07\n\x05_modeB\x10\n\x0e_object_promptB\x11\n\x0f_failure_reason\"\x9d\x02\n\x12\x43reateModelRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x30\n\x04mode\x18\x02 \x01(\x0e\x32\x17.gooseai.FineTuningModeH\x00R\x04mode\x88\x01\x01\x12(\n\robject_prompt\x18\x03 \x01(\tH\x01R\x0cobjectPrompt\x88\x01\x01\x12\x1d\n\nproject_id\x18\x04 \x01(\tR\tprojectId\x12\x1b\n\tengine_id\x18\x05 \x01(\tR\x08\x65ngineId\x12\x35\n\x06\x65xtras\x18\xff\x0f \x01(\x0b\x32\x17.google.protobuf.StructH\x02R\x06\x65xtras\x88\x01\x01\x42\x07\n\x05_modeB\x10\n\x0e_object_promptB\t\n\x07_extras\"E\n\x13\x43reateModelResponse\x12.\n\x05model\x18\x01 \x01(\x0b\x32\x18.gooseai.FineTuningModelR\x05model\"!\n\x0fGetModelRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"B\n\x10GetModelResponse\x12.\n\x05model\x18\x01 \x01(\x0b\x32\x18.gooseai.FineTuningModelR\x05model\"\xed\x01\n\x12UpdateModelRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x30\n\x04mode\x18\x03 \x01(\x0e\x32\x17.gooseai.FineTuningModeH\x01R\x04mode\x88\x01\x01\x12(\n\robject_prompt\x18\x04 \x01(\tH\x02R\x0cobjectPrompt\x88\x01\x01\x12 \n\tengine_id\x18\x05 \x01(\tH\x03R\x08\x65ngineId\x88\x01\x01\x42\x07\n\x05_nameB\x07\n\x05_modeB\x10\n\x0e_object_promptB\x0c\n\n_engine_id\"E\n\x13UpdateModelResponse\x12.\n\x05model\x18\x01 \x01(\x0b\x32\x18.gooseai.FineTuningModelR\x05model\"$\n\x12\x44\x65leteModelRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"E\n\x13\x44\x65leteModelResponse\x12.\n\x05model\x18\x01 \x01(\x0b\x32\x18.gooseai.FineTuningModelR\x05model\"&\n\x14ResubmitModelRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"G\n\x15ResubmitModelResponse\x12.\n\x05model\x18\x01 \x01(\x0b\x32\x18.gooseai.FineTuningModelR\x05model\"M\n\x11ListModelsRequest\x12\x17\n\x06org_id\x18\x01 \x01(\tH\x00R\x05orgId\x12\x19\n\x07user_id\x18\x02 \x01(\tH\x00R\x06userIdB\x04\n\x02id\"F\n\x12ListModelsResponse\x12\x30\n\x06models\x18\x01 \x03(\x0b\x32\x18.gooseai.FineTuningModelR\x06models*\x86\x01\n\x0e\x46ineTuningMode\x12 \n\x1c\x46INE_TUNING_MODE_UNSPECIFIED\x10\x00\x12\x19\n\x15\x46INE_TUNING_MODE_FACE\x10\x01\x12\x1a\n\x16\x46INE_TUNING_MODE_STYLE\x10\x02\x12\x1b\n\x17\x46INE_TUNING_MODE_OBJECT\x10\x03*\xb9\x01\n\x10\x46ineTuningStatus\x12\"\n\x1e\x46INE_TUNING_STATUS_NOT_STARTED\x10\x00\x12\x1e\n\x1a\x46INE_TUNING_STATUS_RUNNING\x10\x01\x12 \n\x1c\x46INE_TUNING_STATUS_COMPLETED\x10\x02\x12\x1d\n\x19\x46INE_TUNING_STATUS_FAILED\x10\x03\x12 \n\x1c\x46INE_TUNING_STATUS_SUBMITTED\x10\x04\x32\xc9\x03\n\x11\x46ineTuningService\x12H\n\x0b\x43reateModel\x12\x1b.gooseai.CreateModelRequest\x1a\x1c.gooseai.CreateModelResponse\x12?\n\x08GetModel\x12\x18.gooseai.GetModelRequest\x1a\x19.gooseai.GetModelResponse\x12H\n\x0bUpdateModel\x12\x1b.gooseai.UpdateModelRequest\x1a\x1c.gooseai.UpdateModelResponse\x12H\n\x0b\x44\x65leteModel\x12\x1b.gooseai.DeleteModelRequest\x1a\x1c.gooseai.DeleteModelResponse\x12N\n\rResubmitModel\x12\x1d.gooseai.ResubmitModelRequest\x1a\x1e.gooseai.ResubmitModelResponse\x12\x45\n\nListModels\x12\x1a.gooseai.ListModelsRequest\x1a\x1b.gooseai.ListModelsResponseB\x95\x01\n\x0b\x63om.gooseaiB\x0f\x46inetuningProtoP\x01Z9github.com/stability-ai/api-interfaces/gooseai/finetuning\xa2\x02\x03GXX\xaa\x02\x07Gooseai\xca\x02\x07Gooseai\xe2\x02\x13Gooseai\\GPBMetadata\xea\x02\x07Gooseaib\x06proto3') + +_globals = globals() +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'stability_api.platform.finetuning.finetuning_pb2', _globals) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'\n\013com.gooseaiB\017FinetuningProtoP\001Z9github.com/stability-ai/api-interfaces/gooseai/finetuning\242\002\003GXX\252\002\007Gooseai\312\002\007Gooseai\342\002\023Gooseai\\GPBMetadata\352\002\007Gooseai' + _globals['_FINETUNINGMODE']._serialized_start=1642 + _globals['_FINETUNINGMODE']._serialized_end=1776 + _globals['_FINETUNINGSTATUS']._serialized_start=1779 + _globals['_FINETUNINGSTATUS']._serialized_end=1964 + _globals['_FINETUNINGMODEL']._serialized_start=94 + _globals['_FINETUNINGMODEL']._serialized_end=493 + _globals['_CREATEMODELREQUEST']._serialized_start=496 + _globals['_CREATEMODELREQUEST']._serialized_end=781 + _globals['_CREATEMODELRESPONSE']._serialized_start=783 + _globals['_CREATEMODELRESPONSE']._serialized_end=852 + _globals['_GETMODELREQUEST']._serialized_start=854 + _globals['_GETMODELREQUEST']._serialized_end=887 + _globals['_GETMODELRESPONSE']._serialized_start=889 + _globals['_GETMODELRESPONSE']._serialized_end=955 + _globals['_UPDATEMODELREQUEST']._serialized_start=958 + _globals['_UPDATEMODELREQUEST']._serialized_end=1195 + _globals['_UPDATEMODELRESPONSE']._serialized_start=1197 + _globals['_UPDATEMODELRESPONSE']._serialized_end=1266 + _globals['_DELETEMODELREQUEST']._serialized_start=1268 + _globals['_DELETEMODELREQUEST']._serialized_end=1304 + _globals['_DELETEMODELRESPONSE']._serialized_start=1306 + _globals['_DELETEMODELRESPONSE']._serialized_end=1375 + _globals['_RESUBMITMODELREQUEST']._serialized_start=1377 + _globals['_RESUBMITMODELREQUEST']._serialized_end=1415 + _globals['_RESUBMITMODELRESPONSE']._serialized_start=1417 + _globals['_RESUBMITMODELRESPONSE']._serialized_end=1488 + _globals['_LISTMODELSREQUEST']._serialized_start=1490 + _globals['_LISTMODELSREQUEST']._serialized_end=1567 + _globals['_LISTMODELSRESPONSE']._serialized_start=1569 + _globals['_LISTMODELSRESPONSE']._serialized_end=1639 + _globals['_FINETUNINGSERVICE']._serialized_start=1967 + _globals['_FINETUNINGSERVICE']._serialized_end=2424 +# @@protoc_insertion_point(module_scope) diff --git a/src/stability_api/platform/finetuning/finetuning_pb2.pyi b/src/stability_api/platform/finetuning/finetuning_pb2.pyi new file mode 100644 index 0000000..7dc3ddd --- /dev/null +++ b/src/stability_api/platform/finetuning/finetuning_pb2.pyi @@ -0,0 +1,148 @@ +from google.protobuf import struct_pb2 as _struct_pb2 +from google.protobuf.internal import containers as _containers +from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper +from google.protobuf import descriptor as _descriptor +from google.protobuf import message as _message +from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union + +DESCRIPTOR: _descriptor.FileDescriptor + +class FineTuningMode(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + FINE_TUNING_MODE_UNSPECIFIED: _ClassVar[FineTuningMode] + FINE_TUNING_MODE_FACE: _ClassVar[FineTuningMode] + FINE_TUNING_MODE_STYLE: _ClassVar[FineTuningMode] + FINE_TUNING_MODE_OBJECT: _ClassVar[FineTuningMode] + +class FineTuningStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + FINE_TUNING_STATUS_NOT_STARTED: _ClassVar[FineTuningStatus] + FINE_TUNING_STATUS_RUNNING: _ClassVar[FineTuningStatus] + FINE_TUNING_STATUS_COMPLETED: _ClassVar[FineTuningStatus] + FINE_TUNING_STATUS_FAILED: _ClassVar[FineTuningStatus] + FINE_TUNING_STATUS_SUBMITTED: _ClassVar[FineTuningStatus] +FINE_TUNING_MODE_UNSPECIFIED: FineTuningMode +FINE_TUNING_MODE_FACE: FineTuningMode +FINE_TUNING_MODE_STYLE: FineTuningMode +FINE_TUNING_MODE_OBJECT: FineTuningMode +FINE_TUNING_STATUS_NOT_STARTED: FineTuningStatus +FINE_TUNING_STATUS_RUNNING: FineTuningStatus +FINE_TUNING_STATUS_COMPLETED: FineTuningStatus +FINE_TUNING_STATUS_FAILED: FineTuningStatus +FINE_TUNING_STATUS_SUBMITTED: FineTuningStatus + +class FineTuningModel(_message.Message): + __slots__ = ["id", "user_id", "name", "mode", "object_prompt", "project_id", "duration", "status", "engine_id", "failure_reason"] + ID_FIELD_NUMBER: _ClassVar[int] + USER_ID_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + MODE_FIELD_NUMBER: _ClassVar[int] + OBJECT_PROMPT_FIELD_NUMBER: _ClassVar[int] + PROJECT_ID_FIELD_NUMBER: _ClassVar[int] + DURATION_FIELD_NUMBER: _ClassVar[int] + STATUS_FIELD_NUMBER: _ClassVar[int] + ENGINE_ID_FIELD_NUMBER: _ClassVar[int] + FAILURE_REASON_FIELD_NUMBER: _ClassVar[int] + id: str + user_id: str + name: str + mode: FineTuningMode + object_prompt: str + project_id: str + duration: float + status: FineTuningStatus + engine_id: str + failure_reason: str + def __init__(self, id: _Optional[str] = ..., user_id: _Optional[str] = ..., name: _Optional[str] = ..., mode: _Optional[_Union[FineTuningMode, str]] = ..., object_prompt: _Optional[str] = ..., project_id: _Optional[str] = ..., duration: _Optional[float] = ..., status: _Optional[_Union[FineTuningStatus, str]] = ..., engine_id: _Optional[str] = ..., failure_reason: _Optional[str] = ...) -> None: ... + +class CreateModelRequest(_message.Message): + __slots__ = ["name", "mode", "object_prompt", "project_id", "engine_id", "extras"] + NAME_FIELD_NUMBER: _ClassVar[int] + MODE_FIELD_NUMBER: _ClassVar[int] + OBJECT_PROMPT_FIELD_NUMBER: _ClassVar[int] + PROJECT_ID_FIELD_NUMBER: _ClassVar[int] + ENGINE_ID_FIELD_NUMBER: _ClassVar[int] + EXTRAS_FIELD_NUMBER: _ClassVar[int] + name: str + mode: FineTuningMode + object_prompt: str + project_id: str + engine_id: str + extras: _struct_pb2.Struct + def __init__(self, name: _Optional[str] = ..., mode: _Optional[_Union[FineTuningMode, str]] = ..., object_prompt: _Optional[str] = ..., project_id: _Optional[str] = ..., engine_id: _Optional[str] = ..., extras: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ...) -> None: ... + +class CreateModelResponse(_message.Message): + __slots__ = ["model"] + MODEL_FIELD_NUMBER: _ClassVar[int] + model: FineTuningModel + def __init__(self, model: _Optional[_Union[FineTuningModel, _Mapping]] = ...) -> None: ... + +class GetModelRequest(_message.Message): + __slots__ = ["id"] + ID_FIELD_NUMBER: _ClassVar[int] + id: str + def __init__(self, id: _Optional[str] = ...) -> None: ... + +class GetModelResponse(_message.Message): + __slots__ = ["model"] + MODEL_FIELD_NUMBER: _ClassVar[int] + model: FineTuningModel + def __init__(self, model: _Optional[_Union[FineTuningModel, _Mapping]] = ...) -> None: ... + +class UpdateModelRequest(_message.Message): + __slots__ = ["id", "name", "mode", "object_prompt", "engine_id"] + ID_FIELD_NUMBER: _ClassVar[int] + NAME_FIELD_NUMBER: _ClassVar[int] + MODE_FIELD_NUMBER: _ClassVar[int] + OBJECT_PROMPT_FIELD_NUMBER: _ClassVar[int] + ENGINE_ID_FIELD_NUMBER: _ClassVar[int] + id: str + name: str + mode: FineTuningMode + object_prompt: str + engine_id: str + def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., mode: _Optional[_Union[FineTuningMode, str]] = ..., object_prompt: _Optional[str] = ..., engine_id: _Optional[str] = ...) -> None: ... + +class UpdateModelResponse(_message.Message): + __slots__ = ["model"] + MODEL_FIELD_NUMBER: _ClassVar[int] + model: FineTuningModel + def __init__(self, model: _Optional[_Union[FineTuningModel, _Mapping]] = ...) -> None: ... + +class DeleteModelRequest(_message.Message): + __slots__ = ["id"] + ID_FIELD_NUMBER: _ClassVar[int] + id: str + def __init__(self, id: _Optional[str] = ...) -> None: ... + +class DeleteModelResponse(_message.Message): + __slots__ = ["model"] + MODEL_FIELD_NUMBER: _ClassVar[int] + model: FineTuningModel + def __init__(self, model: _Optional[_Union[FineTuningModel, _Mapping]] = ...) -> None: ... + +class ResubmitModelRequest(_message.Message): + __slots__ = ["id"] + ID_FIELD_NUMBER: _ClassVar[int] + id: str + def __init__(self, id: _Optional[str] = ...) -> None: ... + +class ResubmitModelResponse(_message.Message): + __slots__ = ["model"] + MODEL_FIELD_NUMBER: _ClassVar[int] + model: FineTuningModel + def __init__(self, model: _Optional[_Union[FineTuningModel, _Mapping]] = ...) -> None: ... + +class ListModelsRequest(_message.Message): + __slots__ = ["org_id", "user_id"] + ORG_ID_FIELD_NUMBER: _ClassVar[int] + USER_ID_FIELD_NUMBER: _ClassVar[int] + org_id: str + user_id: str + def __init__(self, org_id: _Optional[str] = ..., user_id: _Optional[str] = ...) -> None: ... + +class ListModelsResponse(_message.Message): + __slots__ = ["models"] + MODELS_FIELD_NUMBER: _ClassVar[int] + models: _containers.RepeatedCompositeFieldContainer[FineTuningModel] + def __init__(self, models: _Optional[_Iterable[_Union[FineTuningModel, _Mapping]]] = ...) -> None: ... diff --git a/src/stability_api/platform/finetuning/finetuning_pb2_grpc.py b/src/stability_api/platform/finetuning/finetuning_pb2_grpc.py new file mode 100644 index 0000000..0f079d5 --- /dev/null +++ b/src/stability_api/platform/finetuning/finetuning_pb2_grpc.py @@ -0,0 +1,237 @@ +# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" +import grpc + +from stability_api.platform.finetuning import finetuning_pb2 as stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2 + + +class FineTuningServiceStub(object): + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.CreateModel = channel.unary_unary( + '/gooseai.FineTuningService/CreateModel', + request_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.CreateModelRequest.SerializeToString, + response_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.CreateModelResponse.FromString, + ) + self.GetModel = channel.unary_unary( + '/gooseai.FineTuningService/GetModel', + request_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.GetModelRequest.SerializeToString, + response_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.GetModelResponse.FromString, + ) + self.UpdateModel = channel.unary_unary( + '/gooseai.FineTuningService/UpdateModel', + request_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.UpdateModelRequest.SerializeToString, + response_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.UpdateModelResponse.FromString, + ) + self.DeleteModel = channel.unary_unary( + '/gooseai.FineTuningService/DeleteModel', + request_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.DeleteModelRequest.SerializeToString, + response_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.DeleteModelResponse.FromString, + ) + self.ResubmitModel = channel.unary_unary( + '/gooseai.FineTuningService/ResubmitModel', + request_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ResubmitModelRequest.SerializeToString, + response_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ResubmitModelResponse.FromString, + ) + self.ListModels = channel.unary_unary( + '/gooseai.FineTuningService/ListModels', + request_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ListModelsRequest.SerializeToString, + response_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ListModelsResponse.FromString, + ) + + +class FineTuningServiceServicer(object): + """Missing associated documentation comment in .proto file.""" + + def CreateModel(self, request, context): + """Create a new model and begin the fine tuning process + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetModel(self, request, context): + """Get a FineTuningModel + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateModel(self, request, context): + """Update a FineTuningModel by id + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def DeleteModel(self, request, context): + """Delete a fine tuned model + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ResubmitModel(self, request, context): + """Re-run training, does not create a new model + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def ListModels(self, request, context): + """List all the fine tuned models for an organization or user + """ + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + +def add_FineTuningServiceServicer_to_server(servicer, server): + rpc_method_handlers = { + 'CreateModel': grpc.unary_unary_rpc_method_handler( + servicer.CreateModel, + request_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.CreateModelRequest.FromString, + response_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.CreateModelResponse.SerializeToString, + ), + 'GetModel': grpc.unary_unary_rpc_method_handler( + servicer.GetModel, + request_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.GetModelRequest.FromString, + response_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.GetModelResponse.SerializeToString, + ), + 'UpdateModel': grpc.unary_unary_rpc_method_handler( + servicer.UpdateModel, + request_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.UpdateModelRequest.FromString, + response_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.UpdateModelResponse.SerializeToString, + ), + 'DeleteModel': grpc.unary_unary_rpc_method_handler( + servicer.DeleteModel, + request_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.DeleteModelRequest.FromString, + response_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.DeleteModelResponse.SerializeToString, + ), + 'ResubmitModel': grpc.unary_unary_rpc_method_handler( + servicer.ResubmitModel, + request_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ResubmitModelRequest.FromString, + response_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ResubmitModelResponse.SerializeToString, + ), + 'ListModels': grpc.unary_unary_rpc_method_handler( + servicer.ListModels, + request_deserializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ListModelsRequest.FromString, + response_serializer=stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ListModelsResponse.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'gooseai.FineTuningService', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class FineTuningService(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def CreateModel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.FineTuningService/CreateModel', + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.CreateModelRequest.SerializeToString, + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.CreateModelResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetModel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.FineTuningService/GetModel', + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.GetModelRequest.SerializeToString, + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.GetModelResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateModel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.FineTuningService/UpdateModel', + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.UpdateModelRequest.SerializeToString, + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.UpdateModelResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def DeleteModel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.FineTuningService/DeleteModel', + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.DeleteModelRequest.SerializeToString, + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.DeleteModelResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ResubmitModel(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.FineTuningService/ResubmitModel', + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ResubmitModelRequest.SerializeToString, + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ResubmitModelResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def ListModels(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/gooseai.FineTuningService/ListModels', + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ListModelsRequest.SerializeToString, + stability__api_dot_platform_dot_finetuning_dot_finetuning__pb2.ListModelsResponse.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/src/stability_api/platform/finetuning/finetuningconnect/finetuning.connect.go b/src/stability_api/platform/finetuning/finetuningconnect/finetuning.connect.go new file mode 100644 index 0000000..4216e8e --- /dev/null +++ b/src/stability_api/platform/finetuning/finetuningconnect/finetuning.connect.go @@ -0,0 +1,236 @@ +// Code generated by protoc-gen-connect-go. DO NOT EDIT. +// +// Source: stability_api/platform/finetuning/finetuning.proto + +package finetuningconnect + +import ( + context "context" + errors "errors" + connect_go "github.com/bufbuild/connect-go" + finetuning "github.com/stability-ai/api-interfaces/src/stability_api/platform/finetuning" + http "net/http" + strings "strings" +) + +// This is a compile-time assertion to ensure that this generated file and the connect package are +// compatible. If you get a compiler error that this constant is not defined, this code was +// generated with a version of connect newer than the one compiled into your binary. You can fix the +// problem by either regenerating this code with an older version of connect or updating the connect +// version compiled into your binary. +const _ = connect_go.IsAtLeastVersion0_1_0 + +const ( + // FineTuningServiceName is the fully-qualified name of the FineTuningService service. + FineTuningServiceName = "gooseai.FineTuningService" +) + +// These constants are the fully-qualified names of the RPCs defined in this package. They're +// exposed at runtime as Spec.Procedure and as the final two segments of the HTTP route. +// +// Note that these are different from the fully-qualified method names used by +// google.golang.org/protobuf/reflect/protoreflect. To convert from these constants to +// reflection-formatted method names, remove the leading slash and convert the remaining slash to a +// period. +const ( + // FineTuningServiceCreateModelProcedure is the fully-qualified name of the FineTuningService's + // CreateModel RPC. + FineTuningServiceCreateModelProcedure = "/gooseai.FineTuningService/CreateModel" + // FineTuningServiceGetModelProcedure is the fully-qualified name of the FineTuningService's + // GetModel RPC. + FineTuningServiceGetModelProcedure = "/gooseai.FineTuningService/GetModel" + // FineTuningServiceUpdateModelProcedure is the fully-qualified name of the FineTuningService's + // UpdateModel RPC. + FineTuningServiceUpdateModelProcedure = "/gooseai.FineTuningService/UpdateModel" + // FineTuningServiceDeleteModelProcedure is the fully-qualified name of the FineTuningService's + // DeleteModel RPC. + FineTuningServiceDeleteModelProcedure = "/gooseai.FineTuningService/DeleteModel" + // FineTuningServiceResubmitModelProcedure is the fully-qualified name of the FineTuningService's + // ResubmitModel RPC. + FineTuningServiceResubmitModelProcedure = "/gooseai.FineTuningService/ResubmitModel" + // FineTuningServiceListModelsProcedure is the fully-qualified name of the FineTuningService's + // ListModels RPC. + FineTuningServiceListModelsProcedure = "/gooseai.FineTuningService/ListModels" +) + +// FineTuningServiceClient is a client for the gooseai.FineTuningService service. +type FineTuningServiceClient interface { + // Create a new model and begin the fine tuning process + CreateModel(context.Context, *connect_go.Request[finetuning.CreateModelRequest]) (*connect_go.Response[finetuning.CreateModelResponse], error) + // Get a FineTuningModel + GetModel(context.Context, *connect_go.Request[finetuning.GetModelRequest]) (*connect_go.Response[finetuning.GetModelResponse], error) + // Update a FineTuningModel by id + UpdateModel(context.Context, *connect_go.Request[finetuning.UpdateModelRequest]) (*connect_go.Response[finetuning.UpdateModelResponse], error) + // Delete a fine tuned model + DeleteModel(context.Context, *connect_go.Request[finetuning.DeleteModelRequest]) (*connect_go.Response[finetuning.DeleteModelResponse], error) + // Re-run training, does not create a new model + ResubmitModel(context.Context, *connect_go.Request[finetuning.ResubmitModelRequest]) (*connect_go.Response[finetuning.ResubmitModelResponse], error) + // List all the fine tuned models for an organization or user + ListModels(context.Context, *connect_go.Request[finetuning.ListModelsRequest]) (*connect_go.Response[finetuning.ListModelsResponse], error) +} + +// NewFineTuningServiceClient constructs a client for the gooseai.FineTuningService service. By +// default, it uses the Connect protocol with the binary Protobuf Codec, asks for gzipped responses, +// and sends uncompressed requests. To use the gRPC or gRPC-Web protocols, supply the +// connect.WithGRPC() or connect.WithGRPCWeb() options. +// +// The URL supplied here should be the base URL for the Connect or gRPC server (for example, +// http://api.acme.com or https://acme.com/grpc). +func NewFineTuningServiceClient(httpClient connect_go.HTTPClient, baseURL string, opts ...connect_go.ClientOption) FineTuningServiceClient { + baseURL = strings.TrimRight(baseURL, "/") + return &fineTuningServiceClient{ + createModel: connect_go.NewClient[finetuning.CreateModelRequest, finetuning.CreateModelResponse]( + httpClient, + baseURL+FineTuningServiceCreateModelProcedure, + opts..., + ), + getModel: connect_go.NewClient[finetuning.GetModelRequest, finetuning.GetModelResponse]( + httpClient, + baseURL+FineTuningServiceGetModelProcedure, + opts..., + ), + updateModel: connect_go.NewClient[finetuning.UpdateModelRequest, finetuning.UpdateModelResponse]( + httpClient, + baseURL+FineTuningServiceUpdateModelProcedure, + opts..., + ), + deleteModel: connect_go.NewClient[finetuning.DeleteModelRequest, finetuning.DeleteModelResponse]( + httpClient, + baseURL+FineTuningServiceDeleteModelProcedure, + opts..., + ), + resubmitModel: connect_go.NewClient[finetuning.ResubmitModelRequest, finetuning.ResubmitModelResponse]( + httpClient, + baseURL+FineTuningServiceResubmitModelProcedure, + opts..., + ), + listModels: connect_go.NewClient[finetuning.ListModelsRequest, finetuning.ListModelsResponse]( + httpClient, + baseURL+FineTuningServiceListModelsProcedure, + opts..., + ), + } +} + +// fineTuningServiceClient implements FineTuningServiceClient. +type fineTuningServiceClient struct { + createModel *connect_go.Client[finetuning.CreateModelRequest, finetuning.CreateModelResponse] + getModel *connect_go.Client[finetuning.GetModelRequest, finetuning.GetModelResponse] + updateModel *connect_go.Client[finetuning.UpdateModelRequest, finetuning.UpdateModelResponse] + deleteModel *connect_go.Client[finetuning.DeleteModelRequest, finetuning.DeleteModelResponse] + resubmitModel *connect_go.Client[finetuning.ResubmitModelRequest, finetuning.ResubmitModelResponse] + listModels *connect_go.Client[finetuning.ListModelsRequest, finetuning.ListModelsResponse] +} + +// CreateModel calls gooseai.FineTuningService.CreateModel. +func (c *fineTuningServiceClient) CreateModel(ctx context.Context, req *connect_go.Request[finetuning.CreateModelRequest]) (*connect_go.Response[finetuning.CreateModelResponse], error) { + return c.createModel.CallUnary(ctx, req) +} + +// GetModel calls gooseai.FineTuningService.GetModel. +func (c *fineTuningServiceClient) GetModel(ctx context.Context, req *connect_go.Request[finetuning.GetModelRequest]) (*connect_go.Response[finetuning.GetModelResponse], error) { + return c.getModel.CallUnary(ctx, req) +} + +// UpdateModel calls gooseai.FineTuningService.UpdateModel. +func (c *fineTuningServiceClient) UpdateModel(ctx context.Context, req *connect_go.Request[finetuning.UpdateModelRequest]) (*connect_go.Response[finetuning.UpdateModelResponse], error) { + return c.updateModel.CallUnary(ctx, req) +} + +// DeleteModel calls gooseai.FineTuningService.DeleteModel. +func (c *fineTuningServiceClient) DeleteModel(ctx context.Context, req *connect_go.Request[finetuning.DeleteModelRequest]) (*connect_go.Response[finetuning.DeleteModelResponse], error) { + return c.deleteModel.CallUnary(ctx, req) +} + +// ResubmitModel calls gooseai.FineTuningService.ResubmitModel. +func (c *fineTuningServiceClient) ResubmitModel(ctx context.Context, req *connect_go.Request[finetuning.ResubmitModelRequest]) (*connect_go.Response[finetuning.ResubmitModelResponse], error) { + return c.resubmitModel.CallUnary(ctx, req) +} + +// ListModels calls gooseai.FineTuningService.ListModels. +func (c *fineTuningServiceClient) ListModels(ctx context.Context, req *connect_go.Request[finetuning.ListModelsRequest]) (*connect_go.Response[finetuning.ListModelsResponse], error) { + return c.listModels.CallUnary(ctx, req) +} + +// FineTuningServiceHandler is an implementation of the gooseai.FineTuningService service. +type FineTuningServiceHandler interface { + // Create a new model and begin the fine tuning process + CreateModel(context.Context, *connect_go.Request[finetuning.CreateModelRequest]) (*connect_go.Response[finetuning.CreateModelResponse], error) + // Get a FineTuningModel + GetModel(context.Context, *connect_go.Request[finetuning.GetModelRequest]) (*connect_go.Response[finetuning.GetModelResponse], error) + // Update a FineTuningModel by id + UpdateModel(context.Context, *connect_go.Request[finetuning.UpdateModelRequest]) (*connect_go.Response[finetuning.UpdateModelResponse], error) + // Delete a fine tuned model + DeleteModel(context.Context, *connect_go.Request[finetuning.DeleteModelRequest]) (*connect_go.Response[finetuning.DeleteModelResponse], error) + // Re-run training, does not create a new model + ResubmitModel(context.Context, *connect_go.Request[finetuning.ResubmitModelRequest]) (*connect_go.Response[finetuning.ResubmitModelResponse], error) + // List all the fine tuned models for an organization or user + ListModels(context.Context, *connect_go.Request[finetuning.ListModelsRequest]) (*connect_go.Response[finetuning.ListModelsResponse], error) +} + +// NewFineTuningServiceHandler builds an HTTP handler from the service implementation. It returns +// the path on which to mount the handler and the handler itself. +// +// By default, handlers support the Connect, gRPC, and gRPC-Web protocols with the binary Protobuf +// and JSON codecs. They also support gzip compression. +func NewFineTuningServiceHandler(svc FineTuningServiceHandler, opts ...connect_go.HandlerOption) (string, http.Handler) { + mux := http.NewServeMux() + mux.Handle(FineTuningServiceCreateModelProcedure, connect_go.NewUnaryHandler( + FineTuningServiceCreateModelProcedure, + svc.CreateModel, + opts..., + )) + mux.Handle(FineTuningServiceGetModelProcedure, connect_go.NewUnaryHandler( + FineTuningServiceGetModelProcedure, + svc.GetModel, + opts..., + )) + mux.Handle(FineTuningServiceUpdateModelProcedure, connect_go.NewUnaryHandler( + FineTuningServiceUpdateModelProcedure, + svc.UpdateModel, + opts..., + )) + mux.Handle(FineTuningServiceDeleteModelProcedure, connect_go.NewUnaryHandler( + FineTuningServiceDeleteModelProcedure, + svc.DeleteModel, + opts..., + )) + mux.Handle(FineTuningServiceResubmitModelProcedure, connect_go.NewUnaryHandler( + FineTuningServiceResubmitModelProcedure, + svc.ResubmitModel, + opts..., + )) + mux.Handle(FineTuningServiceListModelsProcedure, connect_go.NewUnaryHandler( + FineTuningServiceListModelsProcedure, + svc.ListModels, + opts..., + )) + return "/gooseai.FineTuningService/", mux +} + +// UnimplementedFineTuningServiceHandler returns CodeUnimplemented from all methods. +type UnimplementedFineTuningServiceHandler struct{} + +func (UnimplementedFineTuningServiceHandler) CreateModel(context.Context, *connect_go.Request[finetuning.CreateModelRequest]) (*connect_go.Response[finetuning.CreateModelResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gooseai.FineTuningService.CreateModel is not implemented")) +} + +func (UnimplementedFineTuningServiceHandler) GetModel(context.Context, *connect_go.Request[finetuning.GetModelRequest]) (*connect_go.Response[finetuning.GetModelResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gooseai.FineTuningService.GetModel is not implemented")) +} + +func (UnimplementedFineTuningServiceHandler) UpdateModel(context.Context, *connect_go.Request[finetuning.UpdateModelRequest]) (*connect_go.Response[finetuning.UpdateModelResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gooseai.FineTuningService.UpdateModel is not implemented")) +} + +func (UnimplementedFineTuningServiceHandler) DeleteModel(context.Context, *connect_go.Request[finetuning.DeleteModelRequest]) (*connect_go.Response[finetuning.DeleteModelResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gooseai.FineTuningService.DeleteModel is not implemented")) +} + +func (UnimplementedFineTuningServiceHandler) ResubmitModel(context.Context, *connect_go.Request[finetuning.ResubmitModelRequest]) (*connect_go.Response[finetuning.ResubmitModelResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gooseai.FineTuningService.ResubmitModel is not implemented")) +} + +func (UnimplementedFineTuningServiceHandler) ListModels(context.Context, *connect_go.Request[finetuning.ListModelsRequest]) (*connect_go.Response[finetuning.ListModelsResponse], error) { + return nil, connect_go.NewError(connect_go.CodeUnimplemented, errors.New("gooseai.FineTuningService.ListModels is not implemented")) +} diff --git a/src/stability_api/platform/generation/v1/generation.pb.go b/src/stability_api/platform/generation/v1/generation.pb.go index ceddd97..d46d6e2 100644 --- a/src/stability_api/platform/generation/v1/generation.pb.go +++ b/src/stability_api/platform/generation/v1/generation.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.31.0 // protoc (unknown) // source: stability_api/platform/generation/v1/generation.proto @@ -484,6 +484,109 @@ func (ModelArchitecture) EnumDescriptor() ([]byte, []int) { return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{7} } +type T2IAdapter int32 + +const ( + T2IAdapter_T2IADAPTER_NONE T2IAdapter = 0 + T2IAdapter_T2IADAPTER_SKETCH T2IAdapter = 1 // these are all compatible with SDXL. + T2IAdapter_T2IADAPTER_DEPTH T2IAdapter = 2 + T2IAdapter_T2IADAPTER_CANNY T2IAdapter = 3 +) + +// Enum value maps for T2IAdapter. +var ( + T2IAdapter_name = map[int32]string{ + 0: "T2IADAPTER_NONE", + 1: "T2IADAPTER_SKETCH", + 2: "T2IADAPTER_DEPTH", + 3: "T2IADAPTER_CANNY", + } + T2IAdapter_value = map[string]int32{ + "T2IADAPTER_NONE": 0, + "T2IADAPTER_SKETCH": 1, + "T2IADAPTER_DEPTH": 2, + "T2IADAPTER_CANNY": 3, + } +) + +func (x T2IAdapter) Enum() *T2IAdapter { + p := new(T2IAdapter) + *p = x + return p +} + +func (x T2IAdapter) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (T2IAdapter) Descriptor() protoreflect.EnumDescriptor { + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[8].Descriptor() +} + +func (T2IAdapter) Type() protoreflect.EnumType { + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[8] +} + +func (x T2IAdapter) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use T2IAdapter.Descriptor instead. +func (T2IAdapter) EnumDescriptor() ([]byte, []int) { + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{8} +} + +// If adapter_type is not None, then the user can choose what type of init_image to pass in: either an arbitrary image +// which will then be converted to a depth map, sketch, or canny edge for the sketch, depth and canny adapters respectively, +// or they can pass in their own depth map, sketch or canny edge. This field controls whether the init_image should +// be interpreted as an arbitrary image to be preprocessed ready for the t2i adapter, or whether it has already been +// preprocessed elsewhere +type T2IAdapterInit int32 + +const ( + T2IAdapterInit_T2IADAPTERINIT_IMAGE T2IAdapterInit = 0 // these are all compatible with SDXL. + T2IAdapterInit_T2IADAPTERINIT_ADAPTER_IMAGE T2IAdapterInit = 1 +) + +// Enum value maps for T2IAdapterInit. +var ( + T2IAdapterInit_name = map[int32]string{ + 0: "T2IADAPTERINIT_IMAGE", + 1: "T2IADAPTERINIT_ADAPTER_IMAGE", + } + T2IAdapterInit_value = map[string]int32{ + "T2IADAPTERINIT_IMAGE": 0, + "T2IADAPTERINIT_ADAPTER_IMAGE": 1, + } +) + +func (x T2IAdapterInit) Enum() *T2IAdapterInit { + p := new(T2IAdapterInit) + *p = x + return p +} + +func (x T2IAdapterInit) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (T2IAdapterInit) Descriptor() protoreflect.EnumDescriptor { + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[9].Descriptor() +} + +func (T2IAdapterInit) Type() protoreflect.EnumType { + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[9] +} + +func (x T2IAdapterInit) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use T2IAdapterInit.Descriptor instead. +func (T2IAdapterInit) EnumDescriptor() ([]byte, []int) { + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{9} +} + type Action int32 const ( @@ -526,11 +629,11 @@ func (x Action) String() string { } func (Action) Descriptor() protoreflect.EnumDescriptor { - return file_stability_api_platform_generation_v1_generation_proto_enumTypes[8].Descriptor() + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[10].Descriptor() } func (Action) Type() protoreflect.EnumType { - return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[8] + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[10] } func (x Action) Number() protoreflect.EnumNumber { @@ -539,7 +642,7 @@ func (x Action) Number() protoreflect.EnumNumber { // Deprecated: Use Action.Descriptor instead. func (Action) EnumDescriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{8} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{10} } type ClassifierMode int32 @@ -572,11 +675,11 @@ func (x ClassifierMode) String() string { } func (ClassifierMode) Descriptor() protoreflect.EnumDescriptor { - return file_stability_api_platform_generation_v1_generation_proto_enumTypes[9].Descriptor() + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[11].Descriptor() } func (ClassifierMode) Type() protoreflect.EnumType { - return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[9] + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[11] } func (x ClassifierMode) Number() protoreflect.EnumNumber { @@ -585,7 +688,7 @@ func (x ClassifierMode) Number() protoreflect.EnumNumber { // Deprecated: Use ClassifierMode.Descriptor instead. func (ClassifierMode) EnumDescriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{9} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{11} } type InterpolateMode int32 @@ -627,11 +730,11 @@ func (x InterpolateMode) String() string { } func (InterpolateMode) Descriptor() protoreflect.EnumDescriptor { - return file_stability_api_platform_generation_v1_generation_proto_enumTypes[10].Descriptor() + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[12].Descriptor() } func (InterpolateMode) Type() protoreflect.EnumType { - return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[10] + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[12] } func (x InterpolateMode) Number() protoreflect.EnumNumber { @@ -640,7 +743,7 @@ func (x InterpolateMode) Number() protoreflect.EnumNumber { // Deprecated: Use InterpolateMode.Descriptor instead. func (InterpolateMode) EnumDescriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{10} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{12} } type BorderMode int32 @@ -682,11 +785,11 @@ func (x BorderMode) String() string { } func (BorderMode) Descriptor() protoreflect.EnumDescriptor { - return file_stability_api_platform_generation_v1_generation_proto_enumTypes[11].Descriptor() + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[13].Descriptor() } func (BorderMode) Type() protoreflect.EnumType { - return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[11] + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[13] } func (x BorderMode) Number() protoreflect.EnumNumber { @@ -695,7 +798,7 @@ func (x BorderMode) Number() protoreflect.EnumNumber { // Deprecated: Use BorderMode.Descriptor instead. func (BorderMode) EnumDescriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{11} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{13} } type ColorMatchMode int32 @@ -731,11 +834,11 @@ func (x ColorMatchMode) String() string { } func (ColorMatchMode) Descriptor() protoreflect.EnumDescriptor { - return file_stability_api_platform_generation_v1_generation_proto_enumTypes[12].Descriptor() + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[14].Descriptor() } func (ColorMatchMode) Type() protoreflect.EnumType { - return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[12] + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[14] } func (x ColorMatchMode) Number() protoreflect.EnumNumber { @@ -744,7 +847,7 @@ func (x ColorMatchMode) Number() protoreflect.EnumNumber { // Deprecated: Use ColorMatchMode.Descriptor instead. func (ColorMatchMode) EnumDescriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{12} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{14} } type CameraType int32 @@ -777,11 +880,11 @@ func (x CameraType) String() string { } func (CameraType) Descriptor() protoreflect.EnumDescriptor { - return file_stability_api_platform_generation_v1_generation_proto_enumTypes[13].Descriptor() + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[15].Descriptor() } func (CameraType) Type() protoreflect.EnumType { - return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[13] + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[15] } func (x CameraType) Number() protoreflect.EnumNumber { @@ -790,7 +893,7 @@ func (x CameraType) Number() protoreflect.EnumNumber { // Deprecated: Use CameraType.Descriptor instead. func (CameraType) EnumDescriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{13} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{15} } type RenderMode int32 @@ -823,11 +926,11 @@ func (x RenderMode) String() string { } func (RenderMode) Descriptor() protoreflect.EnumDescriptor { - return file_stability_api_platform_generation_v1_generation_proto_enumTypes[14].Descriptor() + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[16].Descriptor() } func (RenderMode) Type() protoreflect.EnumType { - return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[14] + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[16] } func (x RenderMode) Number() protoreflect.EnumNumber { @@ -836,7 +939,7 @@ func (x RenderMode) Number() protoreflect.EnumNumber { // Deprecated: Use RenderMode.Descriptor instead. func (RenderMode) EnumDescriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{14} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{16} } type AssetAction int32 @@ -872,11 +975,11 @@ func (x AssetAction) String() string { } func (AssetAction) Descriptor() protoreflect.EnumDescriptor { - return file_stability_api_platform_generation_v1_generation_proto_enumTypes[15].Descriptor() + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[17].Descriptor() } func (AssetAction) Type() protoreflect.EnumType { - return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[15] + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[17] } func (x AssetAction) Number() protoreflect.EnumNumber { @@ -885,7 +988,7 @@ func (x AssetAction) Number() protoreflect.EnumNumber { // Deprecated: Use AssetAction.Descriptor instead. func (AssetAction) EnumDescriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{15} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{17} } // AssetUse defines how the asset is used within a project. This enum matches @@ -929,11 +1032,11 @@ func (x AssetUse) String() string { } func (AssetUse) Descriptor() protoreflect.EnumDescriptor { - return file_stability_api_platform_generation_v1_generation_proto_enumTypes[16].Descriptor() + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[18].Descriptor() } func (AssetUse) Type() protoreflect.EnumType { - return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[16] + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[18] } func (x AssetUse) Number() protoreflect.EnumNumber { @@ -942,7 +1045,7 @@ func (x AssetUse) Number() protoreflect.EnumNumber { // Deprecated: Use AssetUse.Descriptor instead. func (AssetUse) EnumDescriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{16} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{18} } type StageAction int32 @@ -978,11 +1081,11 @@ func (x StageAction) String() string { } func (StageAction) Descriptor() protoreflect.EnumDescriptor { - return file_stability_api_platform_generation_v1_generation_proto_enumTypes[17].Descriptor() + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[19].Descriptor() } func (StageAction) Type() protoreflect.EnumType { - return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[17] + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[19] } func (x StageAction) Number() protoreflect.EnumNumber { @@ -991,7 +1094,53 @@ func (x StageAction) Number() protoreflect.EnumNumber { // Deprecated: Use StageAction.Descriptor instead. func (StageAction) EnumDescriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{17} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{19} +} + +type CAIParameters_ModelMetadata int32 + +const ( + CAIParameters_MODEL_METADATA_UNSPECIFIED CAIParameters_ModelMetadata = 0 + CAIParameters_MODEL_METADATA_SIGN_WITH_ENGINE_ID CAIParameters_ModelMetadata = 1 +) + +// Enum value maps for CAIParameters_ModelMetadata. +var ( + CAIParameters_ModelMetadata_name = map[int32]string{ + 0: "MODEL_METADATA_UNSPECIFIED", + 1: "MODEL_METADATA_SIGN_WITH_ENGINE_ID", + } + CAIParameters_ModelMetadata_value = map[string]int32{ + "MODEL_METADATA_UNSPECIFIED": 0, + "MODEL_METADATA_SIGN_WITH_ENGINE_ID": 1, + } +) + +func (x CAIParameters_ModelMetadata) Enum() *CAIParameters_ModelMetadata { + p := new(CAIParameters_ModelMetadata) + *p = x + return p +} + +func (x CAIParameters_ModelMetadata) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (CAIParameters_ModelMetadata) Descriptor() protoreflect.EnumDescriptor { + return file_stability_api_platform_generation_v1_generation_proto_enumTypes[20].Descriptor() +} + +func (CAIParameters_ModelMetadata) Type() protoreflect.EnumType { + return &file_stability_api_platform_generation_v1_generation_proto_enumTypes[20] +} + +func (x CAIParameters_ModelMetadata) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use CAIParameters_ModelMetadata.Descriptor instead. +func (CAIParameters_ModelMetadata) EnumDescriptor() ([]byte, []int) { + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{16, 0} } // Generally, a GPT BPE 16-bit token, paired with an optional string representation. @@ -2203,27 +2352,222 @@ func (*TransformType_Diffusion) isTransformType_Type() {} func (*TransformType_Upscaler) isTransformType_Type() {} +type T2IAdapterParameter struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + AdapterType T2IAdapter `protobuf:"varint,1,opt,name=adapter_type,json=adapterType,proto3,enum=stabilityai.platformapis.generation.v1.T2IAdapter" json:"adapter_type,omitempty"` + AdapterStrength float32 `protobuf:"fixed32,2,opt,name=adapter_strength,json=adapterStrength,proto3" json:"adapter_strength,omitempty"` + AdapterInitType T2IAdapterInit `protobuf:"varint,3,opt,name=adapter_init_type,json=adapterInitType,proto3,enum=stabilityai.platformapis.generation.v1.T2IAdapterInit" json:"adapter_init_type,omitempty"` +} + +func (x *T2IAdapterParameter) Reset() { + *x = T2IAdapterParameter{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *T2IAdapterParameter) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*T2IAdapterParameter) ProtoMessage() {} + +func (x *T2IAdapterParameter) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[15] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use T2IAdapterParameter.ProtoReflect.Descriptor instead. +func (*T2IAdapterParameter) Descriptor() ([]byte, []int) { + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{15} +} + +func (x *T2IAdapterParameter) GetAdapterType() T2IAdapter { + if x != nil { + return x.AdapterType + } + return T2IAdapter_T2IADAPTER_NONE +} + +func (x *T2IAdapterParameter) GetAdapterStrength() float32 { + if x != nil { + return x.AdapterStrength + } + return 0 +} + +func (x *T2IAdapterParameter) GetAdapterInitType() T2IAdapterInit { + if x != nil { + return x.AdapterInitType + } + return T2IAdapterInit_T2IADAPTERINIT_IMAGE +} + +type CAIParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // Types that are assignable to Parameters: + // + // *CAIParameters_ModelMetadata_ + Parameters isCAIParameters_Parameters `protobuf_oneof:"parameters"` +} + +func (x *CAIParameters) Reset() { + *x = CAIParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CAIParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CAIParameters) ProtoMessage() {} + +func (x *CAIParameters) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[16] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CAIParameters.ProtoReflect.Descriptor instead. +func (*CAIParameters) Descriptor() ([]byte, []int) { + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{16} +} + +func (m *CAIParameters) GetParameters() isCAIParameters_Parameters { + if m != nil { + return m.Parameters + } + return nil +} + +func (x *CAIParameters) GetModelMetadata() CAIParameters_ModelMetadata { + if x, ok := x.GetParameters().(*CAIParameters_ModelMetadata_); ok { + return x.ModelMetadata + } + return CAIParameters_MODEL_METADATA_UNSPECIFIED +} + +type isCAIParameters_Parameters interface { + isCAIParameters_Parameters() +} + +type CAIParameters_ModelMetadata_ struct { + ModelMetadata CAIParameters_ModelMetadata `protobuf:"varint,1,opt,name=model_metadata,json=modelMetadata,proto3,enum=stabilityai.platformapis.generation.v1.CAIParameters_ModelMetadata,oneof"` +} + +func (*CAIParameters_ModelMetadata_) isCAIParameters_Parameters() {} + +// FineTuningParameters specify which fine-tuned models to use for generation. +type FineTuningParameters struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + // The id of the fine-tuned model to generate content from. + // See FineTuningModel.id in finetuning.proto. + // Model Id is created upon invoking CreateFineTuningModel. + // When GetFineTuningModelStatus returns a FineTuningModelStatus of + // FINE_TUNING_MODEL_STATUS_COMPLETED, the model can be used + // for generating images. + ModelId string `protobuf:"bytes,1,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"` + Weight *float32 `protobuf:"fixed32,2,opt,name=weight,proto3,oneof" json:"weight,omitempty"` // defaults to 1.0 +} + +func (x *FineTuningParameters) Reset() { + *x = FineTuningParameters{} + if protoimpl.UnsafeEnabled { + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *FineTuningParameters) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*FineTuningParameters) ProtoMessage() {} + +func (x *FineTuningParameters) ProtoReflect() protoreflect.Message { + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[17] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use FineTuningParameters.ProtoReflect.Descriptor instead. +func (*FineTuningParameters) Descriptor() ([]byte, []int) { + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{17} +} + +func (x *FineTuningParameters) GetModelId() string { + if x != nil { + return x.ModelId + } + return "" +} + +func (x *FineTuningParameters) GetWeight() float32 { + if x != nil && x.Weight != nil { + return *x.Weight + } + return 0 +} + type ImageParameters struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Height *uint64 `protobuf:"varint,1,opt,name=height,proto3,oneof" json:"height,omitempty"` - Width *uint64 `protobuf:"varint,2,opt,name=width,proto3,oneof" json:"width,omitempty"` - Seed []uint32 `protobuf:"varint,3,rep,packed,name=seed,proto3" json:"seed,omitempty"` - Samples *uint64 `protobuf:"varint,4,opt,name=samples,proto3,oneof" json:"samples,omitempty"` - Steps *uint64 `protobuf:"varint,5,opt,name=steps,proto3,oneof" json:"steps,omitempty"` - Transform *TransformType `protobuf:"bytes,6,opt,name=transform,proto3,oneof" json:"transform,omitempty"` - Parameters []*StepParameter `protobuf:"bytes,7,rep,name=parameters,proto3" json:"parameters,omitempty"` - MaskedAreaInit *MaskedAreaInit `protobuf:"varint,8,opt,name=masked_area_init,json=maskedAreaInit,proto3,enum=stabilityai.platformapis.generation.v1.MaskedAreaInit,oneof" json:"masked_area_init,omitempty"` // defaults to MASKED_AREA_INIT_ZERO - WeightMethod *WeightMethod `protobuf:"varint,9,opt,name=weight_method,json=weightMethod,proto3,enum=stabilityai.platformapis.generation.v1.WeightMethod,oneof" json:"weight_method,omitempty"` //defaults to TEXT_ENCODER - Quantize *bool `protobuf:"varint,10,opt,name=quantize,proto3,oneof" json:"quantize,omitempty"` //defaults to true + Height *uint64 `protobuf:"varint,1,opt,name=height,proto3,oneof" json:"height,omitempty"` + Width *uint64 `protobuf:"varint,2,opt,name=width,proto3,oneof" json:"width,omitempty"` + Seed []uint32 `protobuf:"varint,3,rep,packed,name=seed,proto3" json:"seed,omitempty"` + Samples *uint64 `protobuf:"varint,4,opt,name=samples,proto3,oneof" json:"samples,omitempty"` + Steps *uint64 `protobuf:"varint,5,opt,name=steps,proto3,oneof" json:"steps,omitempty"` + Transform *TransformType `protobuf:"bytes,6,opt,name=transform,proto3,oneof" json:"transform,omitempty"` + Parameters []*StepParameter `protobuf:"bytes,7,rep,name=parameters,proto3" json:"parameters,omitempty"` + MaskedAreaInit *MaskedAreaInit `protobuf:"varint,8,opt,name=masked_area_init,json=maskedAreaInit,proto3,enum=stabilityai.platformapis.generation.v1.MaskedAreaInit,oneof" json:"masked_area_init,omitempty"` // defaults to MASKED_AREA_INIT_ZERO + WeightMethod *WeightMethod `protobuf:"varint,9,opt,name=weight_method,json=weightMethod,proto3,enum=stabilityai.platformapis.generation.v1.WeightMethod,oneof" json:"weight_method,omitempty"` //defaults to TEXT_ENCODER + Quantize *bool `protobuf:"varint,10,opt,name=quantize,proto3,oneof" json:"quantize,omitempty"` //defaults to true + CaiParameters *CAIParameters `protobuf:"bytes,11,opt,name=cai_parameters,json=caiParameters,proto3,oneof" json:"cai_parameters,omitempty"` // Set field to have image signed by C2PA + Adapter *T2IAdapterParameter `protobuf:"bytes,12,opt,name=adapter,proto3,oneof" json:"adapter,omitempty"` + FineTuningParameters []*FineTuningParameters `protobuf:"bytes,13,rep,name=fine_tuning_parameters,json=fineTuningParameters,proto3" json:"fine_tuning_parameters,omitempty"` // next available tag: 14 } func (x *ImageParameters) Reset() { *x = ImageParameters{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[15] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2236,7 +2580,7 @@ func (x *ImageParameters) String() string { func (*ImageParameters) ProtoMessage() {} func (x *ImageParameters) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[15] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2249,7 +2593,7 @@ func (x *ImageParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use ImageParameters.ProtoReflect.Descriptor instead. func (*ImageParameters) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{15} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{18} } func (x *ImageParameters) GetHeight() uint64 { @@ -2322,6 +2666,27 @@ func (x *ImageParameters) GetQuantize() bool { return false } +func (x *ImageParameters) GetCaiParameters() *CAIParameters { + if x != nil { + return x.CaiParameters + } + return nil +} + +func (x *ImageParameters) GetAdapter() *T2IAdapterParameter { + if x != nil { + return x.Adapter + } + return nil +} + +func (x *ImageParameters) GetFineTuningParameters() []*FineTuningParameters { + if x != nil { + return x.FineTuningParameters + } + return nil +} + type ClassifierConcept struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2334,7 +2699,7 @@ type ClassifierConcept struct { func (x *ClassifierConcept) Reset() { *x = ClassifierConcept{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[16] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2347,7 +2712,7 @@ func (x *ClassifierConcept) String() string { func (*ClassifierConcept) ProtoMessage() {} func (x *ClassifierConcept) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[16] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2360,7 +2725,7 @@ func (x *ClassifierConcept) ProtoReflect() protoreflect.Message { // Deprecated: Use ClassifierConcept.ProtoReflect.Descriptor instead. func (*ClassifierConcept) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{16} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{19} } func (x *ClassifierConcept) GetConcept() string { @@ -2392,7 +2757,7 @@ type ClassifierCategory struct { func (x *ClassifierCategory) Reset() { *x = ClassifierCategory{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[17] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2405,7 +2770,7 @@ func (x *ClassifierCategory) String() string { func (*ClassifierCategory) ProtoMessage() {} func (x *ClassifierCategory) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[17] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2418,7 +2783,7 @@ func (x *ClassifierCategory) ProtoReflect() protoreflect.Message { // Deprecated: Use ClassifierCategory.ProtoReflect.Descriptor instead. func (*ClassifierCategory) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{17} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{20} } func (x *ClassifierCategory) GetName() string { @@ -2469,7 +2834,7 @@ type ClassifierParameters struct { func (x *ClassifierParameters) Reset() { *x = ClassifierParameters{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[18] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2482,7 +2847,7 @@ func (x *ClassifierParameters) String() string { func (*ClassifierParameters) ProtoMessage() {} func (x *ClassifierParameters) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[18] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2495,7 +2860,7 @@ func (x *ClassifierParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use ClassifierParameters.ProtoReflect.Descriptor instead. func (*ClassifierParameters) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{18} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{21} } func (x *ClassifierParameters) GetCategories() []*ClassifierCategory { @@ -2532,7 +2897,7 @@ type InterpolateParameters struct { func (x *InterpolateParameters) Reset() { *x = InterpolateParameters{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[19] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2545,7 +2910,7 @@ func (x *InterpolateParameters) String() string { func (*InterpolateParameters) ProtoMessage() {} func (x *InterpolateParameters) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[19] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2558,7 +2923,7 @@ func (x *InterpolateParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use InterpolateParameters.ProtoReflect.Descriptor instead. func (*InterpolateParameters) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{19} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{22} } func (x *InterpolateParameters) GetRatios() []float32 { @@ -2594,7 +2959,7 @@ type TransformColorAdjust struct { func (x *TransformColorAdjust) Reset() { *x = TransformColorAdjust{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[20] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2607,7 +2972,7 @@ func (x *TransformColorAdjust) String() string { func (*TransformColorAdjust) ProtoMessage() {} func (x *TransformColorAdjust) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[20] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2620,7 +2985,7 @@ func (x *TransformColorAdjust) ProtoReflect() protoreflect.Message { // Deprecated: Use TransformColorAdjust.ProtoReflect.Descriptor instead. func (*TransformColorAdjust) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{20} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{23} } func (x *TransformColorAdjust) GetBrightness() float32 { @@ -2699,7 +3064,7 @@ type TransformDepthCalc struct { func (x *TransformDepthCalc) Reset() { *x = TransformDepthCalc{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[21] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2712,7 +3077,7 @@ func (x *TransformDepthCalc) String() string { func (*TransformDepthCalc) ProtoMessage() {} func (x *TransformDepthCalc) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[21] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2725,7 +3090,7 @@ func (x *TransformDepthCalc) ProtoReflect() protoreflect.Message { // Deprecated: Use TransformDepthCalc.ProtoReflect.Descriptor instead. func (*TransformDepthCalc) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{21} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{24} } func (x *TransformDepthCalc) GetBlendWeight() float32 { @@ -2765,7 +3130,7 @@ type TransformMatrix struct { func (x *TransformMatrix) Reset() { *x = TransformMatrix{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[22] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2778,7 +3143,7 @@ func (x *TransformMatrix) String() string { func (*TransformMatrix) ProtoMessage() {} func (x *TransformMatrix) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[22] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2791,7 +3156,7 @@ func (x *TransformMatrix) ProtoReflect() protoreflect.Message { // Deprecated: Use TransformMatrix.ProtoReflect.Descriptor instead. func (*TransformMatrix) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{22} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{25} } func (x *TransformMatrix) GetData() []float32 { @@ -2816,7 +3181,7 @@ type TransformResample struct { func (x *TransformResample) Reset() { *x = TransformResample{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[23] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2829,7 +3194,7 @@ func (x *TransformResample) String() string { func (*TransformResample) ProtoMessage() {} func (x *TransformResample) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[23] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2842,7 +3207,7 @@ func (x *TransformResample) ProtoReflect() protoreflect.Message { // Deprecated: Use TransformResample.ProtoReflect.Descriptor instead. func (*TransformResample) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{23} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{26} } func (x *TransformResample) GetBorderMode() BorderMode { @@ -2894,7 +3259,7 @@ type CameraParameters struct { func (x *CameraParameters) Reset() { *x = CameraParameters{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[24] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2907,7 +3272,7 @@ func (x *CameraParameters) String() string { func (*CameraParameters) ProtoMessage() {} func (x *CameraParameters) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[24] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2920,7 +3285,7 @@ func (x *CameraParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use CameraParameters.ProtoReflect.Descriptor instead. func (*CameraParameters) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{24} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{27} } func (x *CameraParameters) GetCameraType() CameraType { @@ -2965,7 +3330,7 @@ type TransformCameraPose struct { func (x *TransformCameraPose) Reset() { *x = TransformCameraPose{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[25] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2978,7 +3343,7 @@ func (x *TransformCameraPose) String() string { func (*TransformCameraPose) ProtoMessage() {} func (x *TransformCameraPose) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[25] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2991,7 +3356,7 @@ func (x *TransformCameraPose) ProtoReflect() protoreflect.Message { // Deprecated: Use TransformCameraPose.ProtoReflect.Descriptor instead. func (*TransformCameraPose) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{25} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{28} } func (x *TransformCameraPose) GetWorldToViewMatrix() *TransformMatrix { @@ -3039,7 +3404,7 @@ type TransformParameters struct { func (x *TransformParameters) Reset() { *x = TransformParameters{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[26] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3052,7 +3417,7 @@ func (x *TransformParameters) String() string { func (*TransformParameters) ProtoMessage() {} func (x *TransformParameters) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[26] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3065,7 +3430,7 @@ func (x *TransformParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use TransformParameters.ProtoReflect.Descriptor instead. func (*TransformParameters) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{26} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{29} } func (m *TransformParameters) GetTransform() isTransformParameters_Transform { @@ -3144,7 +3509,7 @@ type AssetParameters struct { func (x *AssetParameters) Reset() { *x = AssetParameters{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[27] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3157,7 +3522,7 @@ func (x *AssetParameters) String() string { func (*AssetParameters) ProtoMessage() {} func (x *AssetParameters) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[27] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3170,7 +3535,7 @@ func (x *AssetParameters) ProtoReflect() protoreflect.Message { // Deprecated: Use AssetParameters.ProtoReflect.Descriptor instead. func (*AssetParameters) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{27} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{30} } func (x *AssetParameters) GetAction() AssetAction { @@ -3210,7 +3575,7 @@ type AnswerMeta struct { func (x *AnswerMeta) Reset() { *x = AnswerMeta{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[28] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3223,7 +3588,7 @@ func (x *AnswerMeta) String() string { func (*AnswerMeta) ProtoMessage() {} func (x *AnswerMeta) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[28] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3236,7 +3601,7 @@ func (x *AnswerMeta) ProtoReflect() protoreflect.Message { // Deprecated: Use AnswerMeta.ProtoReflect.Descriptor instead. func (*AnswerMeta) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{28} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{31} } func (x *AnswerMeta) GetGpuId() string { @@ -3285,7 +3650,7 @@ type Answer struct { func (x *Answer) Reset() { *x = Answer{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[29] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3298,7 +3663,7 @@ func (x *Answer) String() string { func (*Answer) ProtoMessage() {} func (x *Answer) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[29] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3311,7 +3676,7 @@ func (x *Answer) ProtoReflect() protoreflect.Message { // Deprecated: Use Answer.ProtoReflect.Descriptor instead. func (*Answer) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{29} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{32} } func (x *Answer) GetAnswerId() string { @@ -3370,7 +3735,7 @@ type AnswerBatch struct { func (x *AnswerBatch) Reset() { *x = AnswerBatch{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[30] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3383,7 +3748,7 @@ func (x *AnswerBatch) String() string { func (*AnswerBatch) ProtoMessage() {} func (x *AnswerBatch) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[30] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3396,7 +3761,7 @@ func (x *AnswerBatch) ProtoReflect() protoreflect.Message { // Deprecated: Use AnswerBatch.ProtoReflect.Descriptor instead. func (*AnswerBatch) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{30} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{33} } func (x *AnswerBatch) GetBatchId() string { @@ -3440,7 +3805,7 @@ type Request struct { func (x *Request) Reset() { *x = Request{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[31] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3453,7 +3818,7 @@ func (x *Request) String() string { func (*Request) ProtoMessage() {} func (x *Request) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[31] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3466,7 +3831,7 @@ func (x *Request) ProtoReflect() protoreflect.Message { // Deprecated: Use Request.ProtoReflect.Descriptor instead. func (*Request) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{31} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{34} } func (x *Request) GetEngineId() string { @@ -3600,7 +3965,7 @@ type OnStatus struct { func (x *OnStatus) Reset() { *x = OnStatus{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[32] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3613,7 +3978,7 @@ func (x *OnStatus) String() string { func (*OnStatus) ProtoMessage() {} func (x *OnStatus) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[32] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3626,7 +3991,7 @@ func (x *OnStatus) ProtoReflect() protoreflect.Message { // Deprecated: Use OnStatus.ProtoReflect.Descriptor instead. func (*OnStatus) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{32} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{35} } func (x *OnStatus) GetReason() []FinishReason { @@ -3663,7 +4028,7 @@ type Stage struct { func (x *Stage) Reset() { *x = Stage{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[33] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3676,7 +4041,7 @@ func (x *Stage) String() string { func (*Stage) ProtoMessage() {} func (x *Stage) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[33] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3689,7 +4054,7 @@ func (x *Stage) ProtoReflect() protoreflect.Message { // Deprecated: Use Stage.ProtoReflect.Descriptor instead. func (*Stage) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{33} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{36} } func (x *Stage) GetId() string { @@ -3725,7 +4090,7 @@ type ChainRequest struct { func (x *ChainRequest) Reset() { *x = ChainRequest{} if protoimpl.UnsafeEnabled { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[34] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3738,7 +4103,7 @@ func (x *ChainRequest) String() string { func (*ChainRequest) ProtoMessage() {} func (x *ChainRequest) ProtoReflect() protoreflect.Message { - mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[34] + mi := &file_stability_api_platform_generation_v1_generation_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3751,7 +4116,7 @@ func (x *ChainRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ChainRequest.ProtoReflect.Descriptor instead. func (*ChainRequest) Descriptor() ([]byte, []int) { - return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{34} + return file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP(), []int{37} } func (x *ChainRequest) GetRequestId() string { @@ -4019,7 +4384,43 @@ var file_stability_api_platform_generation_v1_generation_proto_rawDesc = []byte{ 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x48, 0x00, 0x52, 0x08, 0x75, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, - 0x70, 0x65, 0x22, 0x9d, 0x05, 0x0a, 0x0f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, + 0x70, 0x65, 0x22, 0xfb, 0x01, 0x0a, 0x13, 0x54, 0x32, 0x49, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x55, 0x0a, 0x0c, 0x61, 0x64, + 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x32, 0x49, 0x41, 0x64, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x52, 0x0b, 0x61, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x29, 0x0a, 0x10, 0x61, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x72, + 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0f, 0x61, 0x64, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x53, 0x74, 0x72, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x62, 0x0a, 0x11, + 0x61, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x54, 0x32, 0x49, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x69, 0x74, 0x52, + 0x0f, 0x61, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x69, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x22, 0xe4, 0x01, 0x0a, 0x0d, 0x43, 0x41, 0x49, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x12, 0x6c, 0x0a, 0x0e, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, + 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x73, 0x74, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x41, 0x49, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, + 0x00, 0x52, 0x0d, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, + 0x22, 0x57, 0x0a, 0x0d, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, + 0x61, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, + 0x41, 0x54, 0x41, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, + 0x00, 0x12, 0x26, 0x0a, 0x22, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x4d, 0x45, 0x54, 0x41, 0x44, + 0x41, 0x54, 0x41, 0x5f, 0x53, 0x49, 0x47, 0x4e, 0x5f, 0x57, 0x49, 0x54, 0x48, 0x5f, 0x45, 0x4e, + 0x47, 0x49, 0x4e, 0x45, 0x5f, 0x49, 0x44, 0x10, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x22, 0x59, 0x0a, 0x14, 0x46, 0x69, 0x6e, 0x65, 0x54, + 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, + 0x19, 0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x06, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x06, 0x77, 0x65, + 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x77, 0x65, 0x69, 0x67, + 0x68, 0x74, 0x22, 0xef, 0x07, 0x0a, 0x0f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x0a, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x48, 0x00, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, @@ -4054,521 +4455,553 @@ var file_stability_api_platform_generation_v1_generation_proto_rawDesc = []byte{ 0x64, 0x48, 0x06, 0x52, 0x0c, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, 0x7a, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x48, 0x07, 0x52, 0x08, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, - 0x7a, 0x65, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, - 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x77, 0x69, 0x64, 0x74, 0x68, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x73, - 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, 0x65, 0x70, 0x73, - 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x13, - 0x0a, 0x11, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x69, - 0x6e, 0x69, 0x74, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x71, 0x75, 0x61, 0x6e, 0x74, 0x69, - 0x7a, 0x65, 0x22, 0x5e, 0x0a, 0x11, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, - 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x63, 0x65, - 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x70, - 0x74, 0x12, 0x21, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, - 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, - 0x6c, 0x64, 0x22, 0x85, 0x03, 0x0a, 0x12, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x55, 0x0a, - 0x08, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x39, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x63, - 0x65, 0x70, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0a, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, - 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, 0x6a, 0x75, - 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0x4b, 0x0a, 0x06, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x73, 0x74, 0x61, 0x62, + 0x7a, 0x65, 0x88, 0x01, 0x01, 0x12, 0x61, 0x0a, 0x0e, 0x63, 0x61, 0x69, 0x5f, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, + 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x41, 0x49, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, + 0x74, 0x65, 0x72, 0x73, 0x48, 0x08, 0x52, 0x0d, 0x63, 0x61, 0x69, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x88, 0x01, 0x01, 0x12, 0x5a, 0x0a, 0x07, 0x61, 0x64, 0x61, 0x70, + 0x74, 0x65, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x01, 0x52, 0x06, 0x61, 0x63, 0x74, - 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x64, 0x0a, 0x0f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, - 0x36, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, - 0x69, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x48, 0x02, 0x52, 0x0e, 0x63, 0x6c, 0x61, 0x73, 0x73, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, - 0x5f, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x09, 0x0a, 0x07, 0x5f, - 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xba, 0x02, 0x0a, 0x14, 0x43, - 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x5a, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x61, 0x74, 0x65, 0x67, - 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x12, - 0x54, 0x0a, 0x07, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x3a, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, + 0x76, 0x31, 0x2e, 0x54, 0x32, 0x49, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x50, 0x61, 0x72, + 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x48, 0x09, 0x52, 0x07, 0x61, 0x64, 0x61, 0x70, 0x74, 0x65, + 0x72, 0x88, 0x01, 0x01, 0x12, 0x72, 0x0a, 0x16, 0x66, 0x69, 0x6e, 0x65, 0x5f, 0x74, 0x75, 0x6e, + 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x0d, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, + 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x52, 0x14, 0x66, 0x69, 0x6e, 0x65, 0x54, 0x75, 0x6e, 0x69, 0x6e, 0x67, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x68, 0x65, 0x69, + 0x67, 0x68, 0x74, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x77, 0x69, 0x64, 0x74, 0x68, 0x42, 0x0a, 0x0a, + 0x08, 0x5f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x73, 0x74, + 0x65, 0x70, 0x73, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, + 0x6d, 0x42, 0x13, 0x0a, 0x11, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x5f, 0x61, 0x72, 0x65, + 0x61, 0x5f, 0x69, 0x6e, 0x69, 0x74, 0x42, 0x10, 0x0a, 0x0e, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, + 0x74, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x71, 0x75, 0x61, + 0x6e, 0x74, 0x69, 0x7a, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x63, 0x61, 0x69, 0x5f, 0x70, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x61, 0x64, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x22, 0x5e, 0x0a, 0x11, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, + 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, + 0x63, 0x65, 0x70, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x63, + 0x65, 0x70, 0x74, 0x12, 0x21, 0x0a, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x09, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, + 0x6f, 0x6c, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, + 0x68, 0x6f, 0x6c, 0x64, 0x22, 0x85, 0x03, 0x0a, 0x12, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x55, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x63, 0x65, 0x70, 0x74, 0x52, 0x08, 0x63, 0x6f, + 0x6e, 0x63, 0x65, 0x70, 0x74, 0x73, 0x12, 0x23, 0x0a, 0x0a, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, + 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x0a, 0x61, 0x64, + 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0x4b, 0x0a, 0x06, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x73, 0x74, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x01, 0x52, 0x06, 0x61, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, 0x64, 0x0a, 0x0f, 0x63, 0x6c, 0x61, 0x73, + 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x36, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, + 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x48, 0x02, 0x52, 0x0e, 0x63, 0x6c, 0x61, + 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, + 0x0a, 0x0b, 0x5f, 0x61, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x09, 0x0a, + 0x07, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x63, 0x6c, 0x61, + 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xba, 0x02, 0x0a, + 0x14, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x5a, 0x0a, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, + 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x74, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x61, 0x74, + 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x0a, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x69, 0x65, + 0x73, 0x12, 0x54, 0x0a, 0x07, 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, + 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, + 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x07, + 0x65, 0x78, 0x63, 0x65, 0x65, 0x64, 0x73, 0x12, 0x5c, 0x0a, 0x0f, 0x72, 0x65, 0x61, 0x6c, 0x69, + 0x7a, 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x2e, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, + 0x48, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, + 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, + 0x65, 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8a, 0x01, 0x0a, 0x15, 0x49, 0x6e, + 0x74, 0x65, 0x72, 0x70, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x02, 0x52, 0x06, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x73, 0x12, 0x50, 0x0a, 0x04, 0x6d, + 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x4d, 0x6f, + 0x64, 0x65, 0x48, 0x00, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, + 0x05, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xbb, 0x04, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x12, + 0x23, 0x0a, 0x0a, 0x62, 0x72, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x72, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x88, 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x73, 0x74, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, + 0x73, 0x74, 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x68, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x02, 0x48, 0x02, 0x52, 0x03, 0x68, 0x75, 0x65, 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, 0x0a, + 0x73, 0x61, 0x74, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, + 0x48, 0x03, 0x52, 0x0a, 0x73, 0x61, 0x74, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, + 0x01, 0x12, 0x21, 0x0a, 0x09, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x02, 0x48, 0x04, 0x52, 0x09, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, + 0x73, 0x88, 0x01, 0x01, 0x12, 0x56, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x6d, + 0x61, 0x67, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, + 0x76, 0x31, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x48, 0x05, 0x52, 0x0a, 0x6d, + 0x61, 0x74, 0x63, 0x68, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x12, 0x5a, 0x0a, 0x0a, + 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x36, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, - 0x66, 0x69, 0x65, 0x72, 0x43, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x52, 0x07, 0x65, 0x78, - 0x63, 0x65, 0x65, 0x64, 0x73, 0x12, 0x5c, 0x0a, 0x0f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, - 0x64, 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x4d, + 0x61, 0x74, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x48, 0x06, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, + 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x12, 0x26, 0x0a, 0x0c, 0x6e, 0x6f, 0x69, 0x73, + 0x65, 0x5f, 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x48, 0x07, + 0x52, 0x0b, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x88, 0x01, 0x01, + 0x12, 0x22, 0x0a, 0x0a, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x0d, 0x48, 0x08, 0x52, 0x09, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x53, 0x65, 0x65, + 0x64, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x62, 0x72, 0x69, 0x67, 0x68, 0x74, 0x6e, + 0x65, 0x73, 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x73, 0x74, + 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x68, 0x75, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x61, 0x74, + 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6c, 0x69, 0x67, 0x68, + 0x74, 0x6e, 0x65, 0x73, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, + 0x69, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, + 0x6d, 0x6f, 0x64, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x5f, 0x61, + 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x5f, + 0x73, 0x65, 0x65, 0x64, 0x22, 0xae, 0x01, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x44, 0x65, 0x70, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x63, 0x12, 0x26, 0x0a, 0x0c, 0x62, + 0x6c, 0x65, 0x6e, 0x64, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x02, 0x48, 0x00, 0x52, 0x0b, 0x62, 0x6c, 0x65, 0x6e, 0x64, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, + 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x62, 0x6c, 0x75, 0x72, 0x5f, 0x72, 0x61, 0x64, 0x69, + 0x75, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0a, 0x62, 0x6c, 0x75, 0x72, + 0x52, 0x61, 0x64, 0x69, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x72, 0x65, 0x76, + 0x65, 0x72, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x07, 0x72, 0x65, + 0x76, 0x65, 0x72, 0x73, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x62, 0x6c, 0x65, + 0x6e, 0x64, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x62, 0x6c, + 0x75, 0x72, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x72, 0x65, + 0x76, 0x65, 0x72, 0x73, 0x65, 0x22, 0x29, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x12, 0x16, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x02, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x22, 0xa0, 0x03, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x65, + 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, + 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x52, + 0x0a, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x55, 0x0a, 0x09, 0x74, + 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, - 0x52, 0x0e, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, - 0x88, 0x01, 0x01, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, - 0x5f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8a, 0x01, 0x0a, 0x15, 0x49, 0x6e, 0x74, 0x65, - 0x72, 0x70, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x02, 0x52, 0x06, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x73, 0x12, 0x50, 0x0a, 0x04, 0x6d, 0x6f, 0x64, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, - 0x48, 0x00, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x42, 0x07, 0x0a, 0x05, 0x5f, - 0x6d, 0x6f, 0x64, 0x65, 0x22, 0xbb, 0x04, 0x0a, 0x14, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, - 0x72, 0x6d, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x12, 0x23, 0x0a, - 0x0a, 0x62, 0x72, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x02, 0x48, 0x00, 0x52, 0x0a, 0x62, 0x72, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x88, - 0x01, 0x01, 0x12, 0x1f, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x73, 0x74, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x73, 0x74, - 0x88, 0x01, 0x01, 0x12, 0x15, 0x0a, 0x03, 0x68, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, - 0x48, 0x02, 0x52, 0x03, 0x68, 0x75, 0x65, 0x88, 0x01, 0x01, 0x12, 0x23, 0x0a, 0x0a, 0x73, 0x61, - 0x74, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x03, - 0x52, 0x0a, 0x73, 0x61, 0x74, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x88, 0x01, 0x01, 0x12, - 0x21, 0x0a, 0x09, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x02, 0x48, 0x04, 0x52, 0x09, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, 0x73, 0x88, - 0x01, 0x01, 0x12, 0x56, 0x0a, 0x0b, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, - 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, - 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x48, 0x05, 0x52, 0x0a, 0x6d, 0x61, 0x74, - 0x63, 0x68, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x12, 0x5a, 0x0a, 0x0a, 0x6d, 0x61, - 0x74, 0x63, 0x68, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x36, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, + 0x6d, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, + 0x72, 0x6d, 0x12, 0x63, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, 0x74, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x4d, 0x61, 0x74, + 0x72, 0x69, 0x78, 0x48, 0x00, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x54, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x6f, 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x74, 0x68, + 0x5f, 0x77, 0x61, 0x72, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x09, 0x64, + 0x65, 0x70, 0x74, 0x68, 0x57, 0x61, 0x72, 0x70, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x65, + 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, + 0x48, 0x02, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x61, 0x73, 0x6b, 0x88, 0x01, + 0x01, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, + 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, 0x5f, 0x77, + 0x61, 0x72, 0x70, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, + 0x61, 0x73, 0x6b, 0x22, 0xc2, 0x01, 0x0a, 0x10, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x61, + 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x63, 0x61, 0x6d, 0x65, + 0x72, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, + 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x54, 0x79, 0x70, + 0x65, 0x52, 0x0a, 0x63, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, + 0x0a, 0x6e, 0x65, 0x61, 0x72, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x02, 0x52, 0x09, 0x6e, 0x65, 0x61, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x12, 0x1b, 0x0a, 0x09, + 0x66, 0x61, 0x72, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, + 0x08, 0x66, 0x61, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x66, 0x6f, 0x76, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x03, 0x66, 0x6f, 0x76, 0x88, 0x01, 0x01, + 0x42, 0x06, 0x0a, 0x04, 0x5f, 0x66, 0x6f, 0x76, 0x22, 0xf2, 0x02, 0x0a, 0x13, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x6f, 0x73, 0x65, + 0x12, 0x68, 0x0a, 0x14, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x76, 0x69, 0x65, + 0x77, 0x5f, 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x4d, 0x61, 0x74, - 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x48, 0x06, 0x52, 0x09, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x4d, - 0x6f, 0x64, 0x65, 0x88, 0x01, 0x01, 0x12, 0x26, 0x0a, 0x0c, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x5f, - 0x61, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x02, 0x48, 0x07, 0x52, 0x0b, - 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x41, 0x6d, 0x6f, 0x75, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0x22, - 0x0a, 0x0a, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01, - 0x28, 0x0d, 0x48, 0x08, 0x52, 0x09, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x53, 0x65, 0x65, 0x64, 0x88, - 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x62, 0x72, 0x69, 0x67, 0x68, 0x74, 0x6e, 0x65, 0x73, - 0x73, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x61, 0x73, 0x74, 0x42, 0x06, - 0x0a, 0x04, 0x5f, 0x68, 0x75, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x73, 0x61, 0x74, 0x75, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6c, 0x69, 0x67, 0x68, 0x74, 0x6e, - 0x65, 0x73, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x69, 0x6d, - 0x61, 0x67, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x6d, 0x6f, - 0x64, 0x65, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x5f, 0x61, 0x6d, 0x6f, - 0x75, 0x6e, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6e, 0x6f, 0x69, 0x73, 0x65, 0x5f, 0x73, 0x65, - 0x65, 0x64, 0x22, 0xae, 0x01, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, - 0x44, 0x65, 0x70, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x63, 0x12, 0x26, 0x0a, 0x0c, 0x62, 0x6c, 0x65, - 0x6e, 0x64, 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x48, - 0x00, 0x52, 0x0b, 0x62, 0x6c, 0x65, 0x6e, 0x64, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x88, 0x01, - 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x62, 0x6c, 0x75, 0x72, 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x0a, 0x62, 0x6c, 0x75, 0x72, 0x52, 0x61, - 0x64, 0x69, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x1d, 0x0a, 0x07, 0x72, 0x65, 0x76, 0x65, 0x72, - 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, 0x52, 0x07, 0x72, 0x65, 0x76, 0x65, - 0x72, 0x73, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x62, 0x6c, 0x65, 0x6e, 0x64, - 0x5f, 0x77, 0x65, 0x69, 0x67, 0x68, 0x74, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x62, 0x6c, 0x75, 0x72, - 0x5f, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x72, 0x65, 0x76, 0x65, - 0x72, 0x73, 0x65, 0x22, 0x29, 0x0a, 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, - 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x12, 0x16, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, - 0x20, 0x03, 0x28, 0x02, 0x42, 0x02, 0x10, 0x01, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0xa0, - 0x03, 0x0a, 0x11, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x61, - 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x53, 0x0a, 0x0b, 0x62, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x5f, 0x6d, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x62, - 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x55, 0x0a, 0x09, 0x74, 0x72, 0x61, - 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, - 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x4d, - 0x61, 0x74, 0x72, 0x69, 0x78, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, - 0x12, 0x63, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, - 0x72, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x4d, 0x61, 0x74, 0x72, 0x69, - 0x78, 0x48, 0x00, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, - 0x72, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x74, 0x68, 0x5f, 0x77, - 0x61, 0x72, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x48, 0x01, 0x52, 0x09, 0x64, 0x65, 0x70, - 0x74, 0x68, 0x57, 0x61, 0x72, 0x70, 0x88, 0x01, 0x01, 0x12, 0x24, 0x0a, 0x0b, 0x65, 0x78, 0x70, - 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x48, 0x02, - 0x52, 0x0a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x61, 0x73, 0x6b, 0x88, 0x01, 0x01, 0x42, - 0x11, 0x0a, 0x0f, 0x5f, 0x70, 0x72, 0x65, 0x76, 0x5f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, - 0x72, 0x6d, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x64, 0x65, 0x70, 0x74, 0x68, 0x5f, 0x77, 0x61, 0x72, - 0x70, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x6d, 0x61, 0x73, - 0x6b, 0x22, 0xc2, 0x01, 0x0a, 0x10, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x61, 0x72, 0x61, - 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x53, 0x0a, 0x0b, 0x63, 0x61, 0x6d, 0x65, 0x72, 0x61, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, + 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, + 0x6d, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x52, 0x11, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x54, 0x6f, + 0x56, 0x69, 0x65, 0x77, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x12, 0x65, 0x0a, 0x11, 0x63, 0x61, + 0x6d, 0x65, 0x72, 0x61, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, + 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, + 0x10, 0x63, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, + 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x6f, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x6c, 0x6c, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x6f, 0x50, 0x72, 0x65, 0x66, 0x69, 0x6c, 0x6c, + 0x12, 0x53, 0x0a, 0x0b, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x6e, 0x64, 0x65, + 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, + 0x05, 0x4a, 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0x9b, 0x03, + 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, + 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x61, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, 0x61, + 0x64, 0x6a, 0x75, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x0a, 0x63, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, - 0x65, 0x61, 0x72, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, - 0x09, 0x6e, 0x65, 0x61, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, - 0x72, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x66, - 0x61, 0x72, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x66, 0x6f, 0x76, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x02, 0x48, 0x00, 0x52, 0x03, 0x66, 0x6f, 0x76, 0x88, 0x01, 0x01, 0x42, 0x06, - 0x0a, 0x04, 0x5f, 0x66, 0x6f, 0x76, 0x22, 0xf2, 0x02, 0x0a, 0x13, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x6f, 0x73, 0x65, 0x12, 0x68, - 0x0a, 0x14, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x5f, 0x74, 0x6f, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, - 0x6d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, + 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x6f, + 0x6c, 0x6f, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x6f, 0x6c, + 0x6f, 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x12, 0x5b, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x74, + 0x68, 0x5f, 0x63, 0x61, 0x6c, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x4d, - 0x61, 0x74, 0x72, 0x69, 0x78, 0x52, 0x11, 0x77, 0x6f, 0x72, 0x6c, 0x64, 0x54, 0x6f, 0x56, 0x69, - 0x65, 0x77, 0x4d, 0x61, 0x74, 0x72, 0x69, 0x78, 0x12, 0x65, 0x0a, 0x11, 0x63, 0x61, 0x6d, 0x65, - 0x72, 0x61, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x44, + 0x65, 0x70, 0x74, 0x68, 0x43, 0x61, 0x6c, 0x63, 0x48, 0x00, 0x52, 0x09, 0x64, 0x65, 0x70, 0x74, + 0x68, 0x43, 0x61, 0x6c, 0x63, 0x12, 0x57, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x61, 0x6d, 0x70, 0x6c, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x61, 0x6d, 0x70, + 0x6c, 0x65, 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x5e, + 0x0a, 0x0b, 0x63, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x5f, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, - 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x61, 0x6d, - 0x65, 0x72, 0x61, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x52, 0x10, 0x63, - 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, - 0x1d, 0x0a, 0x0a, 0x64, 0x6f, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x69, 0x6c, 0x6c, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x09, 0x64, 0x6f, 0x50, 0x72, 0x65, 0x66, 0x69, 0x6c, 0x6c, 0x12, 0x53, - 0x0a, 0x0b, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, - 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, + 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x6f, 0x73, 0x65, + 0x48, 0x00, 0x52, 0x0a, 0x63, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x6f, 0x73, 0x65, 0x42, 0x0b, + 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0xc1, 0x01, 0x0a, 0x0f, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, + 0x4b, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, + 0x33, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, 0x63, + 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x03, 0x75, + 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, + 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x52, 0x03, 0x75, 0x73, 0x65, 0x22, + 0xb4, 0x01, 0x0a, 0x0a, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1a, + 0x0a, 0x06, 0x67, 0x70, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x05, 0x67, 0x70, 0x75, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, 0x63, 0x70, + 0x75, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x63, 0x70, + 0x75, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, + 0x64, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x69, + 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x08, 0x65, 0x6e, 0x67, 0x69, 0x6e, + 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x67, 0x70, 0x75, 0x5f, 0x69, + 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x69, 0x64, 0x42, 0x0a, 0x0a, 0x08, + 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x65, 0x6e, 0x67, + 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x22, 0xa0, 0x02, 0x0a, 0x06, 0x41, 0x6e, 0x73, 0x77, 0x65, + 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, + 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x08, 0x72, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, + 0x74, 0x65, 0x64, 0x12, 0x4b, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x73, 0x77, 0x65, + 0x72, 0x4d, 0x65, 0x74, 0x61, 0x48, 0x00, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x88, 0x01, 0x01, + 0x12, 0x4e, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x07, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, - 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, - 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x72, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4d, - 0x6f, 0x64, 0x65, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x4a, 0x04, 0x08, 0x04, 0x10, 0x05, 0x4a, - 0x04, 0x08, 0x06, 0x10, 0x07, 0x4a, 0x04, 0x08, 0x07, 0x10, 0x08, 0x22, 0x9b, 0x03, 0x0a, 0x13, - 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, - 0x65, 0x72, 0x73, 0x12, 0x61, 0x0a, 0x0c, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x5f, 0x61, 0x64, 0x6a, - 0x75, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x73, 0x74, 0x61, 0x62, + 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x74, + 0x69, 0x66, 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, + 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x72, 0x0a, 0x0b, 0x41, 0x6e, 0x73, + 0x77, 0x65, 0x72, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x74, 0x63, + 0x68, 0x49, 0x64, 0x12, 0x48, 0x0a, 0x07, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, + 0x73, 0x77, 0x65, 0x72, 0x52, 0x07, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x73, 0x22, 0xfa, 0x06, + 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x67, + 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, + 0x67, 0x69, 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, + 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x46, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, + 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, + 0x70, 0x74, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x4f, 0x0a, 0x05, 0x69, 0x6d, + 0x61, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, - 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x6f, 0x6c, 0x6f, - 0x72, 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x48, 0x00, 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6f, 0x72, - 0x41, 0x64, 0x6a, 0x75, 0x73, 0x74, 0x12, 0x5b, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x74, 0x68, 0x5f, - 0x63, 0x61, 0x6c, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x73, 0x74, 0x61, + 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, + 0x72, 0x73, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x5e, 0x0a, 0x0a, 0x63, + 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x3c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, + 0x0a, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x05, 0x61, + 0x73, 0x73, 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x65, 0x70, - 0x74, 0x68, 0x43, 0x61, 0x6c, 0x63, 0x48, 0x00, 0x52, 0x09, 0x64, 0x65, 0x70, 0x74, 0x68, 0x43, - 0x61, 0x6c, 0x63, 0x12, 0x57, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, - 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x65, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, - 0x48, 0x00, 0x52, 0x08, 0x72, 0x65, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x5e, 0x0a, 0x0b, - 0x63, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x5f, 0x70, 0x6f, 0x73, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x3b, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, - 0x66, 0x6f, 0x72, 0x6d, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x6f, 0x73, 0x65, 0x48, 0x00, - 0x52, 0x0a, 0x63, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x50, 0x6f, 0x73, 0x65, 0x42, 0x0b, 0x0a, 0x09, - 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0xc1, 0x01, 0x0a, 0x0f, 0x41, 0x73, - 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x4b, 0x0a, - 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, - 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, - 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, - 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x12, 0x42, 0x0a, 0x03, 0x75, 0x73, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x41, 0x73, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x52, 0x03, 0x75, 0x73, 0x65, 0x22, 0xb4, 0x01, - 0x0a, 0x0a, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4d, 0x65, 0x74, 0x61, 0x12, 0x1a, 0x0a, 0x06, - 0x67, 0x70, 0x75, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, - 0x67, 0x70, 0x75, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x1a, 0x0a, 0x06, 0x63, 0x70, 0x75, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x63, 0x70, 0x75, 0x49, - 0x64, 0x88, 0x01, 0x01, 0x12, 0x1c, 0x0a, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x02, 0x52, 0x06, 0x6e, 0x6f, 0x64, 0x65, 0x49, 0x64, 0x88, - 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x69, 0x64, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x48, 0x03, 0x52, 0x08, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x49, - 0x64, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x67, 0x70, 0x75, 0x5f, 0x69, 0x64, 0x42, - 0x09, 0x0a, 0x07, 0x5f, 0x63, 0x70, 0x75, 0x5f, 0x69, 0x64, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x6e, - 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x64, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, - 0x65, 0x5f, 0x69, 0x64, 0x22, 0xa0, 0x02, 0x0a, 0x06, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x12, - 0x1b, 0x0a, 0x09, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x72, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x72, - 0x65, 0x63, 0x65, 0x69, 0x76, 0x65, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x64, 0x12, 0x4b, 0x0a, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x4d, - 0x65, 0x74, 0x61, 0x48, 0x00, 0x52, 0x04, 0x6d, 0x65, 0x74, 0x61, 0x88, 0x01, 0x01, 0x12, 0x4e, - 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, - 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, + 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x61, 0x0a, 0x0b, + 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x3d, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, - 0x61, 0x63, 0x74, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x73, 0x42, 0x07, - 0x0a, 0x05, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x22, 0x72, 0x0a, 0x0b, 0x41, 0x6e, 0x73, 0x77, 0x65, - 0x72, 0x42, 0x61, 0x74, 0x63, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x62, 0x61, 0x74, 0x63, 0x68, 0x5f, - 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x62, 0x61, 0x74, 0x63, 0x68, 0x49, - 0x64, 0x12, 0x48, 0x0a, 0x07, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x70, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x48, 0x00, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x12, + 0x5b, 0x0a, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0c, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x3b, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x73, 0x77, - 0x65, 0x72, 0x52, 0x07, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x73, 0x22, 0xfa, 0x06, 0x0a, 0x07, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e, 0x67, 0x69, 0x6e, - 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x6e, 0x67, 0x69, - 0x6e, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, - 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x49, 0x64, 0x12, 0x5b, 0x0a, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x73, 0x74, - 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, - 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, - 0x65, 0x52, 0x0d, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x46, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x2e, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6d, 0x70, 0x74, - 0x52, 0x06, 0x70, 0x72, 0x6f, 0x6d, 0x70, 0x74, 0x12, 0x4f, 0x0a, 0x05, 0x69, 0x6d, 0x61, 0x67, - 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, + 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, + 0x00, 0x52, 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x64, 0x0a, 0x0b, + 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x3d, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, + 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, + 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, + 0x48, 0x01, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x88, + 0x01, 0x01, 0x12, 0x35, 0x0a, 0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x18, 0xff, 0x0f, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x02, 0x52, 0x06, + 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x70, 0x61, 0x72, + 0x61, 0x6d, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, + 0x6e, 0x65, 0x72, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x4a, 0x04, + 0x08, 0x09, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x22, 0xcd, 0x01, 0x0a, 0x08, 0x4f, + 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4c, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, + 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, - 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, - 0x48, 0x00, 0x52, 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x5e, 0x0a, 0x0a, 0x63, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, - 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, - 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, - 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, 0x0a, 0x63, - 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x4f, 0x0a, 0x05, 0x61, 0x73, 0x73, - 0x65, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, - 0x31, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, - 0x73, 0x48, 0x00, 0x52, 0x05, 0x61, 0x73, 0x73, 0x65, 0x74, 0x12, 0x61, 0x0a, 0x0b, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x70, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x3d, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x6f, - 0x6c, 0x61, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, - 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x5b, 0x0a, - 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x3b, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, - 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x00, 0x52, - 0x09, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x64, 0x0a, 0x0b, 0x63, 0x6f, - 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x3d, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, - 0x6f, 0x6e, 0x65, 0x72, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x48, 0x01, - 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x72, 0x88, 0x01, 0x01, - 0x12, 0x35, 0x0a, 0x06, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x18, 0xff, 0x0f, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x48, 0x02, 0x52, 0x06, 0x65, 0x78, - 0x74, 0x72, 0x61, 0x73, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, - 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, - 0x72, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x73, 0x4a, 0x04, 0x08, 0x09, - 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x0a, 0x10, 0x0b, 0x22, 0xcd, 0x01, 0x0a, 0x08, 0x4f, 0x6e, 0x53, - 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4c, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x34, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, + 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x88, + 0x01, 0x01, 0x12, 0x4b, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, + 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x67, + 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, + 0x09, 0x0a, 0x07, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xb1, 0x01, 0x0a, 0x05, 0x53, + 0x74, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x02, 0x69, 0x64, 0x12, 0x49, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x46, - 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x52, 0x06, 0x72, 0x65, 0x61, - 0x73, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x88, 0x01, 0x01, - 0x12, 0x4b, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0e, - 0x32, 0x33, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x41, - 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x09, 0x0a, - 0x07, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x22, 0xb1, 0x01, 0x0a, 0x05, 0x53, 0x74, 0x61, - 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, - 0x69, 0x64, 0x12, 0x49, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, - 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, - 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x4d, 0x0a, - 0x09, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x53, 0x74, 0x61, 0x74, - 0x75, 0x73, 0x52, 0x08, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x72, 0x0a, 0x0c, - 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, - 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x43, 0x0a, 0x05, 0x73, - 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, 0x74, 0x61, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, - 0x2a, 0x45, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, - 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x45, - 0x4e, 0x47, 0x54, 0x48, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, 0x50, 0x10, 0x02, - 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x46, - 0x49, 0x4c, 0x54, 0x45, 0x52, 0x10, 0x04, 0x2a, 0xf8, 0x01, 0x0a, 0x0c, 0x41, 0x72, 0x74, 0x69, - 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x52, 0x54, 0x49, - 0x46, 0x41, 0x43, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x41, - 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x01, 0x12, - 0x12, 0x0a, 0x0e, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x56, 0x49, 0x44, 0x45, - 0x4f, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, - 0x54, 0x45, 0x58, 0x54, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, - 0x43, 0x54, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x16, 0x0a, 0x12, 0x41, - 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x45, 0x4d, 0x42, 0x45, 0x44, 0x44, 0x49, 0x4e, - 0x47, 0x10, 0x05, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, - 0x43, 0x4c, 0x41, 0x53, 0x53, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x10, - 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x4d, 0x41, - 0x53, 0x4b, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, - 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x4e, 0x54, 0x10, 0x08, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x52, 0x54, - 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x45, 0x4e, 0x53, 0x4f, 0x52, 0x10, 0x09, 0x12, 0x12, - 0x0a, 0x0e, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x44, 0x45, 0x50, 0x54, 0x48, - 0x10, 0x0a, 0x2a, 0x67, 0x0a, 0x0e, 0x4d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x41, 0x72, 0x65, 0x61, - 0x49, 0x6e, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, 0x5f, 0x41, - 0x52, 0x45, 0x41, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, - 0x1b, 0x0a, 0x17, 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x49, - 0x4e, 0x49, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x44, 0x4f, 0x4d, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, - 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x49, 0x4e, 0x49, 0x54, - 0x5f, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x41, 0x4c, 0x10, 0x02, 0x2a, 0x35, 0x0a, 0x0c, 0x57, - 0x65, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x0c, 0x54, - 0x45, 0x58, 0x54, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x10, 0x00, 0x12, 0x13, 0x0a, - 0x0f, 0x43, 0x52, 0x4f, 0x53, 0x53, 0x5f, 0x41, 0x54, 0x54, 0x45, 0x4e, 0x54, 0x49, 0x4f, 0x4e, - 0x10, 0x01, 0x2a, 0x98, 0x02, 0x0a, 0x10, 0x44, 0x69, 0x66, 0x66, 0x75, 0x73, 0x69, 0x6f, 0x6e, - 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x41, 0x4d, 0x50, 0x4c, - 0x45, 0x52, 0x5f, 0x44, 0x44, 0x49, 0x4d, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x41, 0x4d, - 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x44, 0x44, 0x50, 0x4d, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x53, - 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x45, 0x55, 0x4c, 0x45, 0x52, 0x10, 0x02, - 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x45, 0x55, - 0x4c, 0x45, 0x52, 0x5f, 0x41, 0x4e, 0x43, 0x45, 0x53, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x03, 0x12, - 0x12, 0x0a, 0x0e, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x48, 0x45, 0x55, - 0x4e, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, - 0x5f, 0x44, 0x50, 0x4d, 0x5f, 0x32, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x41, 0x4d, 0x50, - 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x5f, 0x32, 0x5f, 0x41, 0x4e, 0x43, 0x45, - 0x53, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x41, 0x4d, 0x50, 0x4c, - 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x4c, 0x4d, 0x53, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x41, - 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x50, 0x50, 0x5f, 0x32, 0x53, - 0x5f, 0x41, 0x4e, 0x43, 0x45, 0x53, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x08, 0x12, 0x16, 0x0a, 0x12, + 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x4d, 0x0a, 0x09, 0x6f, 0x6e, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, + 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x6e, 0x53, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x52, 0x08, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0x72, + 0x0a, 0x0c, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, + 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x12, 0x43, 0x0a, + 0x05, 0x73, 0x74, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x73, + 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x67, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x67, 0x65, 0x2a, 0x45, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x52, 0x65, 0x61, 0x73, + 0x6f, 0x6e, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, + 0x4c, 0x45, 0x4e, 0x47, 0x54, 0x48, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x54, 0x4f, 0x50, + 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x12, 0x0a, 0x0a, + 0x06, 0x46, 0x49, 0x4c, 0x54, 0x45, 0x52, 0x10, 0x04, 0x2a, 0xf8, 0x01, 0x0a, 0x0c, 0x41, 0x72, + 0x74, 0x69, 0x66, 0x61, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x52, + 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x12, 0x0a, + 0x0e, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, + 0x01, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x56, 0x49, + 0x44, 0x45, 0x4f, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, + 0x54, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x52, 0x54, 0x49, + 0x46, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x53, 0x10, 0x04, 0x12, 0x16, 0x0a, + 0x12, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x45, 0x4d, 0x42, 0x45, 0x44, 0x44, + 0x49, 0x4e, 0x47, 0x10, 0x05, 0x12, 0x1c, 0x0a, 0x18, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, + 0x54, 0x5f, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x49, 0x46, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, + 0x53, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, + 0x4d, 0x41, 0x53, 0x4b, 0x10, 0x07, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, + 0x43, 0x54, 0x5f, 0x4c, 0x41, 0x54, 0x45, 0x4e, 0x54, 0x10, 0x08, 0x12, 0x13, 0x0a, 0x0f, 0x41, + 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x54, 0x45, 0x4e, 0x53, 0x4f, 0x52, 0x10, 0x09, + 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x52, 0x54, 0x49, 0x46, 0x41, 0x43, 0x54, 0x5f, 0x44, 0x45, 0x50, + 0x54, 0x48, 0x10, 0x0a, 0x2a, 0x67, 0x0a, 0x0e, 0x4d, 0x61, 0x73, 0x6b, 0x65, 0x64, 0x41, 0x72, + 0x65, 0x61, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x19, 0x0a, 0x15, 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, + 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, + 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, 0x5f, 0x41, 0x52, 0x45, 0x41, + 0x5f, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x52, 0x41, 0x4e, 0x44, 0x4f, 0x4d, 0x10, 0x01, 0x12, 0x1d, + 0x0a, 0x19, 0x4d, 0x41, 0x53, 0x4b, 0x45, 0x44, 0x5f, 0x41, 0x52, 0x45, 0x41, 0x5f, 0x49, 0x4e, + 0x49, 0x54, 0x5f, 0x4f, 0x52, 0x49, 0x47, 0x49, 0x4e, 0x41, 0x4c, 0x10, 0x02, 0x2a, 0x35, 0x0a, + 0x0c, 0x57, 0x65, 0x69, 0x67, 0x68, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, + 0x0c, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x45, 0x4e, 0x43, 0x4f, 0x44, 0x45, 0x52, 0x10, 0x00, 0x12, + 0x13, 0x0a, 0x0f, 0x43, 0x52, 0x4f, 0x53, 0x53, 0x5f, 0x41, 0x54, 0x54, 0x45, 0x4e, 0x54, 0x49, + 0x4f, 0x4e, 0x10, 0x01, 0x2a, 0x98, 0x02, 0x0a, 0x10, 0x44, 0x69, 0x66, 0x66, 0x75, 0x73, 0x69, + 0x6f, 0x6e, 0x53, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x0c, 0x53, 0x41, 0x4d, + 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x44, 0x44, 0x49, 0x4d, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x53, + 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x44, 0x44, 0x50, 0x4d, 0x10, 0x01, 0x12, 0x13, 0x0a, + 0x0f, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x45, 0x55, 0x4c, 0x45, 0x52, + 0x10, 0x02, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, + 0x45, 0x55, 0x4c, 0x45, 0x52, 0x5f, 0x41, 0x4e, 0x43, 0x45, 0x53, 0x54, 0x52, 0x41, 0x4c, 0x10, + 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x48, + 0x45, 0x55, 0x4e, 0x10, 0x04, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, + 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x5f, 0x32, 0x10, 0x05, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x41, + 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x5f, 0x32, 0x5f, 0x41, 0x4e, + 0x43, 0x45, 0x53, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x06, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x41, 0x4d, + 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x4c, 0x4d, 0x53, 0x10, 0x07, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x50, 0x50, 0x5f, - 0x32, 0x4d, 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, - 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x50, 0x50, 0x5f, 0x53, 0x44, 0x45, 0x10, 0x0a, 0x2a, 0x46, 0x0a, - 0x08, 0x55, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x50, 0x53, - 0x43, 0x41, 0x4c, 0x45, 0x52, 0x5f, 0x52, 0x47, 0x42, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x55, - 0x50, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x52, 0x5f, 0x47, 0x46, 0x50, 0x47, 0x41, 0x4e, 0x10, 0x01, - 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x50, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x52, 0x5f, 0x45, 0x53, 0x52, - 0x47, 0x41, 0x4e, 0x10, 0x02, 0x2a, 0xd8, 0x01, 0x0a, 0x0e, 0x47, 0x75, 0x69, 0x64, 0x61, 0x6e, - 0x63, 0x65, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x14, 0x47, 0x55, 0x49, 0x44, - 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, - 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, - 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x49, 0x4d, 0x50, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x1d, - 0x0a, 0x19, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, - 0x54, 0x5f, 0x46, 0x41, 0x53, 0x54, 0x5f, 0x42, 0x4c, 0x55, 0x45, 0x10, 0x02, 0x12, 0x1e, 0x0a, - 0x1a, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, - 0x5f, 0x46, 0x41, 0x53, 0x54, 0x5f, 0x47, 0x52, 0x45, 0x45, 0x4e, 0x10, 0x03, 0x12, 0x18, 0x0a, - 0x14, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, - 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x55, 0x49, 0x44, 0x41, - 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x45, - 0x52, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, - 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x45, 0x53, 0x54, 0x10, 0x06, - 0x2a, 0x91, 0x01, 0x0a, 0x11, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x63, 0x68, 0x69, 0x74, - 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, - 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, - 0x45, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x41, 0x52, 0x43, - 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x50, 0x5f, 0x56, - 0x49, 0x54, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x41, 0x52, - 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x50, 0x5f, - 0x52, 0x45, 0x53, 0x4e, 0x45, 0x54, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, 0x44, 0x45, - 0x4c, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4c, - 0x44, 0x4d, 0x10, 0x03, 0x2a, 0xa2, 0x01, 0x0a, 0x06, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x54, 0x48, - 0x52, 0x4f, 0x55, 0x47, 0x48, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x43, 0x54, 0x49, 0x4f, - 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x55, 0x50, - 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x43, 0x54, 0x49, - 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, - 0x1e, 0x0a, 0x1a, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x42, 0x46, 0x55, 0x53, 0x43, - 0x41, 0x54, 0x45, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, - 0x14, 0x0a, 0x10, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4f, 0x42, 0x46, 0x55, 0x53, 0x43, - 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, - 0x44, 0x49, 0x53, 0x43, 0x41, 0x52, 0x44, 0x10, 0x05, 0x2a, 0x44, 0x0a, 0x0e, 0x43, 0x6c, 0x61, - 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x43, - 0x4c, 0x53, 0x46, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x53, 0x48, - 0x4f, 0x54, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4c, 0x53, 0x46, 0x52, 0x5f, 0x4d, 0x4f, - 0x44, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x43, 0x4c, 0x41, 0x53, 0x53, 0x10, 0x01, 0x2a, - 0x8c, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x4d, - 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x4f, 0x4c, 0x41, - 0x54, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x49, - 0x4e, 0x54, 0x45, 0x52, 0x50, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x5f, 0x52, 0x49, 0x46, 0x45, 0x10, - 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x4f, 0x4c, 0x41, 0x54, 0x45, - 0x5f, 0x56, 0x41, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x10, 0x02, 0x12, 0x19, 0x0a, - 0x15, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x5f, 0x56, 0x41, 0x45, - 0x5f, 0x53, 0x4c, 0x45, 0x52, 0x50, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x4e, 0x54, 0x45, - 0x52, 0x50, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49, 0x4c, 0x4d, 0x10, 0x04, 0x2a, 0x6c, - 0x0a, 0x0a, 0x42, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x0e, - 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x46, 0x4c, 0x45, 0x43, 0x54, 0x10, 0x00, - 0x12, 0x14, 0x0a, 0x10, 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, - 0x43, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, - 0x5f, 0x57, 0x52, 0x41, 0x50, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x42, 0x4f, 0x52, 0x44, 0x45, - 0x52, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x03, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x4f, 0x52, 0x44, - 0x45, 0x52, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x4c, 0x4c, 0x10, 0x04, 0x2a, 0x4f, 0x0a, 0x0e, - 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x13, - 0x0a, 0x0f, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x48, 0x53, - 0x56, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x4d, 0x41, 0x54, - 0x43, 0x48, 0x5f, 0x4c, 0x41, 0x42, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4c, 0x4f, - 0x52, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x52, 0x47, 0x42, 0x10, 0x02, 0x2a, 0x3d, 0x0a, - 0x0a, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x43, - 0x41, 0x4d, 0x45, 0x52, 0x41, 0x5f, 0x50, 0x45, 0x52, 0x53, 0x50, 0x45, 0x43, 0x54, 0x49, 0x56, - 0x45, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x41, 0x4d, 0x45, 0x52, 0x41, 0x5f, 0x4f, 0x52, - 0x54, 0x48, 0x4f, 0x47, 0x52, 0x41, 0x50, 0x48, 0x49, 0x43, 0x10, 0x01, 0x2a, 0x34, 0x0a, 0x0a, - 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, - 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x4d, 0x45, 0x53, 0x48, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x52, - 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x43, 0x4c, 0x4f, 0x55, 0x44, - 0x10, 0x01, 0x2a, 0x3d, 0x0a, 0x0b, 0x41, 0x73, 0x73, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, - 0x6e, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x50, 0x55, 0x54, 0x10, 0x00, - 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x47, 0x45, 0x54, 0x10, 0x01, 0x12, - 0x10, 0x0a, 0x0c, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, - 0x02, 0x2a, 0x81, 0x01, 0x0a, 0x08, 0x41, 0x73, 0x73, 0x65, 0x74, 0x55, 0x73, 0x65, 0x12, 0x17, - 0x0a, 0x13, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x55, 0x4e, 0x44, 0x45, - 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x53, 0x53, 0x45, 0x54, - 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, - 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, - 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, - 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4d, 0x45, 0x44, 0x49, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x15, - 0x0a, 0x11, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, - 0x45, 0x43, 0x54, 0x10, 0x04, 0x2a, 0x57, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x67, 0x65, 0x41, 0x63, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x41, 0x43, - 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x53, - 0x54, 0x41, 0x47, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x49, 0x53, 0x43, - 0x41, 0x52, 0x44, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x41, - 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x54, 0x55, 0x52, 0x4e, 0x10, 0x02, 0x32, 0xff, - 0x01, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x08, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, - 0x12, 0x2f, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, - 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, - 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, - 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x73, 0x77, 0x65, - 0x72, 0x22, 0x00, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x0d, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x47, 0x65, - 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x34, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x32, 0x53, 0x5f, 0x41, 0x4e, 0x43, 0x45, 0x53, 0x54, 0x52, 0x41, 0x4c, 0x10, 0x08, 0x12, 0x16, + 0x0a, 0x12, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x50, + 0x50, 0x5f, 0x32, 0x4d, 0x10, 0x09, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x41, 0x4d, 0x50, 0x4c, 0x45, + 0x52, 0x5f, 0x4b, 0x5f, 0x44, 0x50, 0x4d, 0x50, 0x50, 0x5f, 0x53, 0x44, 0x45, 0x10, 0x0a, 0x2a, + 0x46, 0x0a, 0x08, 0x55, 0x70, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x0c, 0x55, + 0x50, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x52, 0x5f, 0x52, 0x47, 0x42, 0x10, 0x00, 0x12, 0x13, 0x0a, + 0x0f, 0x55, 0x50, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x52, 0x5f, 0x47, 0x46, 0x50, 0x47, 0x41, 0x4e, + 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x55, 0x50, 0x53, 0x43, 0x41, 0x4c, 0x45, 0x52, 0x5f, 0x45, + 0x53, 0x52, 0x47, 0x41, 0x4e, 0x10, 0x02, 0x2a, 0xd8, 0x01, 0x0a, 0x0e, 0x47, 0x75, 0x69, 0x64, + 0x61, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x65, 0x73, 0x65, 0x74, 0x12, 0x18, 0x0a, 0x14, 0x47, 0x55, + 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x4e, 0x4f, + 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, + 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x49, 0x4d, 0x50, 0x4c, 0x45, 0x10, 0x01, + 0x12, 0x1d, 0x0a, 0x19, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, + 0x53, 0x45, 0x54, 0x5f, 0x46, 0x41, 0x53, 0x54, 0x5f, 0x42, 0x4c, 0x55, 0x45, 0x10, 0x02, 0x12, + 0x1e, 0x0a, 0x1a, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, + 0x45, 0x54, 0x5f, 0x46, 0x41, 0x53, 0x54, 0x5f, 0x47, 0x52, 0x45, 0x45, 0x4e, 0x10, 0x03, 0x12, + 0x18, 0x0a, 0x14, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, + 0x45, 0x54, 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x10, 0x04, 0x12, 0x1a, 0x0a, 0x16, 0x47, 0x55, 0x49, + 0x44, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x4c, 0x4f, + 0x57, 0x45, 0x52, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x47, 0x55, 0x49, 0x44, 0x41, 0x4e, 0x43, + 0x45, 0x5f, 0x50, 0x52, 0x45, 0x53, 0x45, 0x54, 0x5f, 0x53, 0x4c, 0x4f, 0x57, 0x45, 0x53, 0x54, + 0x10, 0x06, 0x2a, 0x91, 0x01, 0x0a, 0x11, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x41, 0x72, 0x63, 0x68, + 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x4d, 0x4f, 0x44, 0x45, + 0x4c, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4e, + 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, 0x41, + 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x4c, 0x49, 0x50, + 0x5f, 0x56, 0x49, 0x54, 0x10, 0x01, 0x12, 0x22, 0x0a, 0x1e, 0x4d, 0x4f, 0x44, 0x45, 0x4c, 0x5f, + 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x43, 0x4c, 0x49, + 0x50, 0x5f, 0x52, 0x45, 0x53, 0x4e, 0x45, 0x54, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x4d, 0x4f, + 0x44, 0x45, 0x4c, 0x5f, 0x41, 0x52, 0x43, 0x48, 0x49, 0x54, 0x45, 0x43, 0x54, 0x55, 0x52, 0x45, + 0x5f, 0x4c, 0x44, 0x4d, 0x10, 0x03, 0x2a, 0x64, 0x0a, 0x0a, 0x54, 0x32, 0x49, 0x41, 0x64, 0x61, + 0x70, 0x74, 0x65, 0x72, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x32, 0x49, 0x41, 0x44, 0x41, 0x50, 0x54, + 0x45, 0x52, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x54, 0x32, 0x49, + 0x41, 0x44, 0x41, 0x50, 0x54, 0x45, 0x52, 0x5f, 0x53, 0x4b, 0x45, 0x54, 0x43, 0x48, 0x10, 0x01, + 0x12, 0x14, 0x0a, 0x10, 0x54, 0x32, 0x49, 0x41, 0x44, 0x41, 0x50, 0x54, 0x45, 0x52, 0x5f, 0x44, + 0x45, 0x50, 0x54, 0x48, 0x10, 0x02, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x32, 0x49, 0x41, 0x44, 0x41, + 0x50, 0x54, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x4e, 0x4e, 0x59, 0x10, 0x03, 0x2a, 0x4c, 0x0a, 0x0e, + 0x54, 0x32, 0x49, 0x41, 0x64, 0x61, 0x70, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x18, + 0x0a, 0x14, 0x54, 0x32, 0x49, 0x41, 0x44, 0x41, 0x50, 0x54, 0x45, 0x52, 0x49, 0x4e, 0x49, 0x54, + 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x54, 0x32, 0x49, 0x41, + 0x44, 0x41, 0x50, 0x54, 0x45, 0x52, 0x49, 0x4e, 0x49, 0x54, 0x5f, 0x41, 0x44, 0x41, 0x50, 0x54, + 0x45, 0x52, 0x5f, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x10, 0x01, 0x2a, 0xa2, 0x01, 0x0a, 0x06, 0x41, + 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x12, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x50, 0x41, 0x53, 0x53, 0x54, 0x48, 0x52, 0x4f, 0x55, 0x47, 0x48, 0x10, 0x00, 0x12, 0x1f, 0x0a, + 0x1b, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x45, 0x4e, 0x45, 0x52, 0x41, + 0x54, 0x45, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x15, + 0x0a, 0x11, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x47, 0x45, 0x4e, 0x45, 0x52, + 0x41, 0x54, 0x45, 0x10, 0x02, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x4f, 0x42, 0x46, 0x55, 0x53, 0x43, 0x41, 0x54, 0x45, 0x5f, 0x44, 0x55, 0x50, 0x4c, 0x49, 0x43, + 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, + 0x4f, 0x42, 0x46, 0x55, 0x53, 0x43, 0x41, 0x54, 0x45, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x41, + 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x41, 0x52, 0x44, 0x10, 0x05, 0x2a, + 0x44, 0x0a, 0x0e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x65, 0x72, 0x4d, 0x6f, 0x64, + 0x65, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x4c, 0x53, 0x46, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, + 0x5a, 0x45, 0x52, 0x4f, 0x53, 0x48, 0x4f, 0x54, 0x10, 0x00, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x4c, + 0x53, 0x46, 0x52, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x4d, 0x55, 0x4c, 0x54, 0x49, 0x43, 0x4c, + 0x41, 0x53, 0x53, 0x10, 0x01, 0x2a, 0x8c, 0x01, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x70, + 0x6f, 0x6c, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x49, 0x4e, 0x54, + 0x45, 0x52, 0x50, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x41, 0x52, 0x10, + 0x00, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x4f, 0x4c, 0x41, 0x54, 0x45, + 0x5f, 0x52, 0x49, 0x46, 0x45, 0x10, 0x01, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x4e, 0x54, 0x45, 0x52, + 0x50, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x5f, 0x56, 0x41, 0x45, 0x5f, 0x4c, 0x49, 0x4e, 0x45, 0x41, + 0x52, 0x10, 0x02, 0x12, 0x19, 0x0a, 0x15, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x4f, 0x4c, 0x41, + 0x54, 0x45, 0x5f, 0x56, 0x41, 0x45, 0x5f, 0x53, 0x4c, 0x45, 0x52, 0x50, 0x10, 0x03, 0x12, 0x14, + 0x0a, 0x10, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x50, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x49, + 0x4c, 0x4d, 0x10, 0x04, 0x2a, 0x6c, 0x0a, 0x0a, 0x42, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x4d, 0x6f, + 0x64, 0x65, 0x12, 0x12, 0x0a, 0x0e, 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x52, 0x45, 0x46, + 0x4c, 0x45, 0x43, 0x54, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, + 0x5f, 0x52, 0x45, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, + 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x57, 0x52, 0x41, 0x50, 0x10, 0x02, 0x12, 0x0f, 0x0a, + 0x0b, 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x03, 0x12, 0x12, + 0x0a, 0x0e, 0x42, 0x4f, 0x52, 0x44, 0x45, 0x52, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x49, 0x4c, 0x4c, + 0x10, 0x04, 0x2a, 0x4f, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x4d, 0x61, 0x74, 0x63, 0x68, + 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x4d, 0x41, + 0x54, 0x43, 0x48, 0x5f, 0x48, 0x53, 0x56, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x43, 0x4f, 0x4c, + 0x4f, 0x52, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x4c, 0x41, 0x42, 0x10, 0x01, 0x12, 0x13, + 0x0a, 0x0f, 0x43, 0x4f, 0x4c, 0x4f, 0x52, 0x5f, 0x4d, 0x41, 0x54, 0x43, 0x48, 0x5f, 0x52, 0x47, + 0x42, 0x10, 0x02, 0x2a, 0x3d, 0x0a, 0x0a, 0x43, 0x61, 0x6d, 0x65, 0x72, 0x61, 0x54, 0x79, 0x70, + 0x65, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x41, 0x4d, 0x45, 0x52, 0x41, 0x5f, 0x50, 0x45, 0x52, 0x53, + 0x50, 0x45, 0x43, 0x54, 0x49, 0x56, 0x45, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x41, 0x4d, + 0x45, 0x52, 0x41, 0x5f, 0x4f, 0x52, 0x54, 0x48, 0x4f, 0x47, 0x52, 0x41, 0x50, 0x48, 0x49, 0x43, + 0x10, 0x01, 0x2a, 0x34, 0x0a, 0x0a, 0x52, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x4d, 0x6f, 0x64, 0x65, + 0x12, 0x0f, 0x0a, 0x0b, 0x52, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x4d, 0x45, 0x53, 0x48, 0x10, + 0x00, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x45, 0x4e, 0x44, 0x45, 0x52, 0x5f, 0x50, 0x4f, 0x49, 0x4e, + 0x54, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x10, 0x01, 0x2a, 0x3d, 0x0a, 0x0b, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x53, 0x45, 0x54, + 0x5f, 0x50, 0x55, 0x54, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, + 0x47, 0x45, 0x54, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x44, + 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x02, 0x2a, 0x81, 0x01, 0x0a, 0x08, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x55, 0x73, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, + 0x45, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x13, 0x0a, + 0x0f, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x50, 0x55, 0x54, + 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, + 0x4f, 0x55, 0x54, 0x50, 0x55, 0x54, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x41, 0x53, 0x53, 0x45, + 0x54, 0x5f, 0x55, 0x53, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x4d, 0x45, 0x44, 0x49, 0x41, + 0x54, 0x45, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x53, 0x53, 0x45, 0x54, 0x5f, 0x55, 0x53, + 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x10, 0x04, 0x2a, 0x57, 0x0a, 0x0b, 0x53, + 0x74, 0x61, 0x67, 0x65, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, + 0x41, 0x47, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x10, + 0x00, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x54, 0x41, 0x47, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, + 0x4e, 0x5f, 0x44, 0x49, 0x53, 0x43, 0x41, 0x52, 0x44, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x53, + 0x54, 0x41, 0x47, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x52, 0x45, 0x54, 0x55, + 0x52, 0x4e, 0x10, 0x02, 0x32, 0xff, 0x01, 0x0a, 0x11, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x6f, 0x0a, 0x08, 0x47, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x2f, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, - 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, + 0x2e, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x22, 0x00, 0x30, 0x01, 0x12, 0x79, 0x0a, 0x0d, 0x43, + 0x68, 0x61, 0x69, 0x6e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x34, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, - 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x73, 0x77, 0x65, 0x72, 0x22, 0x00, 0x30, 0x01, - 0x42, 0xd6, 0x02, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, - 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, - 0x50, 0x01, 0x5a, 0x5c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, - 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x61, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2d, - 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x73, - 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, - 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, - 0xa2, 0x02, 0x03, 0x53, 0x50, 0x47, 0xaa, 0x02, 0x26, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x61, 0x69, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, - 0x02, 0x26, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x5c, 0x50, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x47, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x32, 0x53, 0x74, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x5c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x70, 0x69, 0x73, 0x5c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x29, - 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x3a, 0x3a, 0x50, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x47, 0x65, 0x6e, 0x65, 0x72, - 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x33, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, + 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6e, 0x73, 0x77, + 0x65, 0x72, 0x22, 0x00, 0x30, 0x01, 0x42, 0xd6, 0x02, 0x0a, 0x2a, 0x63, 0x6f, 0x6d, 0x2e, 0x73, + 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, + 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, + 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x61, + 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, + 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x61, + 0x70, 0x69, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x67, 0x65, 0x6e, 0x65, + 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x3b, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x50, 0x47, 0xaa, 0x02, 0x26, 0x53, + 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, + 0x6f, 0x6e, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x26, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x61, 0x69, 0x5c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, + 0x5c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0xe2, 0x02, + 0x32, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x5c, 0x50, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, + 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, + 0x61, 0x74, 0x61, 0xea, 0x02, 0x29, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, + 0x69, 0x3a, 0x3a, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x3a, + 0x3a, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x3a, 0x3a, 0x56, 0x31, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -4583,8 +5016,8 @@ func file_stability_api_platform_generation_v1_generation_proto_rawDescGZIP() [] return file_stability_api_platform_generation_v1_generation_proto_rawDescData } -var file_stability_api_platform_generation_v1_generation_proto_enumTypes = make([]protoimpl.EnumInfo, 18) -var file_stability_api_platform_generation_v1_generation_proto_msgTypes = make([]protoimpl.MessageInfo, 35) +var file_stability_api_platform_generation_v1_generation_proto_enumTypes = make([]protoimpl.EnumInfo, 21) +var file_stability_api_platform_generation_v1_generation_proto_msgTypes = make([]protoimpl.MessageInfo, 38) var file_stability_api_platform_generation_v1_generation_proto_goTypes = []interface{}{ (FinishReason)(0), // 0: stabilityai.platformapis.generation.v1.FinishReason (ArtifactType)(0), // 1: stabilityai.platformapis.generation.v1.ArtifactType @@ -4594,130 +5027,142 @@ var file_stability_api_platform_generation_v1_generation_proto_goTypes = []inter (Upscaler)(0), // 5: stabilityai.platformapis.generation.v1.Upscaler (GuidancePreset)(0), // 6: stabilityai.platformapis.generation.v1.GuidancePreset (ModelArchitecture)(0), // 7: stabilityai.platformapis.generation.v1.ModelArchitecture - (Action)(0), // 8: stabilityai.platformapis.generation.v1.Action - (ClassifierMode)(0), // 9: stabilityai.platformapis.generation.v1.ClassifierMode - (InterpolateMode)(0), // 10: stabilityai.platformapis.generation.v1.InterpolateMode - (BorderMode)(0), // 11: stabilityai.platformapis.generation.v1.BorderMode - (ColorMatchMode)(0), // 12: stabilityai.platformapis.generation.v1.ColorMatchMode - (CameraType)(0), // 13: stabilityai.platformapis.generation.v1.CameraType - (RenderMode)(0), // 14: stabilityai.platformapis.generation.v1.RenderMode - (AssetAction)(0), // 15: stabilityai.platformapis.generation.v1.AssetAction - (AssetUse)(0), // 16: stabilityai.platformapis.generation.v1.AssetUse - (StageAction)(0), // 17: stabilityai.platformapis.generation.v1.StageAction - (*Token)(nil), // 18: stabilityai.platformapis.generation.v1.Token - (*Tokens)(nil), // 19: stabilityai.platformapis.generation.v1.Tokens - (*Artifact)(nil), // 20: stabilityai.platformapis.generation.v1.Artifact - (*PromptParameters)(nil), // 21: stabilityai.platformapis.generation.v1.PromptParameters - (*Prompt)(nil), // 22: stabilityai.platformapis.generation.v1.Prompt - (*SamplerParameters)(nil), // 23: stabilityai.platformapis.generation.v1.SamplerParameters - (*ConditionerParameters)(nil), // 24: stabilityai.platformapis.generation.v1.ConditionerParameters - (*ScheduleParameters)(nil), // 25: stabilityai.platformapis.generation.v1.ScheduleParameters - (*StepParameter)(nil), // 26: stabilityai.platformapis.generation.v1.StepParameter - (*Model)(nil), // 27: stabilityai.platformapis.generation.v1.Model - (*CutoutParameters)(nil), // 28: stabilityai.platformapis.generation.v1.CutoutParameters - (*GuidanceScheduleParameters)(nil), // 29: stabilityai.platformapis.generation.v1.GuidanceScheduleParameters - (*GuidanceInstanceParameters)(nil), // 30: stabilityai.platformapis.generation.v1.GuidanceInstanceParameters - (*GuidanceParameters)(nil), // 31: stabilityai.platformapis.generation.v1.GuidanceParameters - (*TransformType)(nil), // 32: stabilityai.platformapis.generation.v1.TransformType - (*ImageParameters)(nil), // 33: stabilityai.platformapis.generation.v1.ImageParameters - (*ClassifierConcept)(nil), // 34: stabilityai.platformapis.generation.v1.ClassifierConcept - (*ClassifierCategory)(nil), // 35: stabilityai.platformapis.generation.v1.ClassifierCategory - (*ClassifierParameters)(nil), // 36: stabilityai.platformapis.generation.v1.ClassifierParameters - (*InterpolateParameters)(nil), // 37: stabilityai.platformapis.generation.v1.InterpolateParameters - (*TransformColorAdjust)(nil), // 38: stabilityai.platformapis.generation.v1.TransformColorAdjust - (*TransformDepthCalc)(nil), // 39: stabilityai.platformapis.generation.v1.TransformDepthCalc - (*TransformMatrix)(nil), // 40: stabilityai.platformapis.generation.v1.TransformMatrix - (*TransformResample)(nil), // 41: stabilityai.platformapis.generation.v1.TransformResample - (*CameraParameters)(nil), // 42: stabilityai.platformapis.generation.v1.CameraParameters - (*TransformCameraPose)(nil), // 43: stabilityai.platformapis.generation.v1.TransformCameraPose - (*TransformParameters)(nil), // 44: stabilityai.platformapis.generation.v1.TransformParameters - (*AssetParameters)(nil), // 45: stabilityai.platformapis.generation.v1.AssetParameters - (*AnswerMeta)(nil), // 46: stabilityai.platformapis.generation.v1.AnswerMeta - (*Answer)(nil), // 47: stabilityai.platformapis.generation.v1.Answer - (*AnswerBatch)(nil), // 48: stabilityai.platformapis.generation.v1.AnswerBatch - (*Request)(nil), // 49: stabilityai.platformapis.generation.v1.Request - (*OnStatus)(nil), // 50: stabilityai.platformapis.generation.v1.OnStatus - (*Stage)(nil), // 51: stabilityai.platformapis.generation.v1.Stage - (*ChainRequest)(nil), // 52: stabilityai.platformapis.generation.v1.ChainRequest - (*tensors.Tensor)(nil), // 53: tensors.Tensor - (*structpb.Struct)(nil), // 54: google.protobuf.Struct + (T2IAdapter)(0), // 8: stabilityai.platformapis.generation.v1.T2IAdapter + (T2IAdapterInit)(0), // 9: stabilityai.platformapis.generation.v1.T2IAdapterInit + (Action)(0), // 10: stabilityai.platformapis.generation.v1.Action + (ClassifierMode)(0), // 11: stabilityai.platformapis.generation.v1.ClassifierMode + (InterpolateMode)(0), // 12: stabilityai.platformapis.generation.v1.InterpolateMode + (BorderMode)(0), // 13: stabilityai.platformapis.generation.v1.BorderMode + (ColorMatchMode)(0), // 14: stabilityai.platformapis.generation.v1.ColorMatchMode + (CameraType)(0), // 15: stabilityai.platformapis.generation.v1.CameraType + (RenderMode)(0), // 16: stabilityai.platformapis.generation.v1.RenderMode + (AssetAction)(0), // 17: stabilityai.platformapis.generation.v1.AssetAction + (AssetUse)(0), // 18: stabilityai.platformapis.generation.v1.AssetUse + (StageAction)(0), // 19: stabilityai.platformapis.generation.v1.StageAction + (CAIParameters_ModelMetadata)(0), // 20: stabilityai.platformapis.generation.v1.CAIParameters.ModelMetadata + (*Token)(nil), // 21: stabilityai.platformapis.generation.v1.Token + (*Tokens)(nil), // 22: stabilityai.platformapis.generation.v1.Tokens + (*Artifact)(nil), // 23: stabilityai.platformapis.generation.v1.Artifact + (*PromptParameters)(nil), // 24: stabilityai.platformapis.generation.v1.PromptParameters + (*Prompt)(nil), // 25: stabilityai.platformapis.generation.v1.Prompt + (*SamplerParameters)(nil), // 26: stabilityai.platformapis.generation.v1.SamplerParameters + (*ConditionerParameters)(nil), // 27: stabilityai.platformapis.generation.v1.ConditionerParameters + (*ScheduleParameters)(nil), // 28: stabilityai.platformapis.generation.v1.ScheduleParameters + (*StepParameter)(nil), // 29: stabilityai.platformapis.generation.v1.StepParameter + (*Model)(nil), // 30: stabilityai.platformapis.generation.v1.Model + (*CutoutParameters)(nil), // 31: stabilityai.platformapis.generation.v1.CutoutParameters + (*GuidanceScheduleParameters)(nil), // 32: stabilityai.platformapis.generation.v1.GuidanceScheduleParameters + (*GuidanceInstanceParameters)(nil), // 33: stabilityai.platformapis.generation.v1.GuidanceInstanceParameters + (*GuidanceParameters)(nil), // 34: stabilityai.platformapis.generation.v1.GuidanceParameters + (*TransformType)(nil), // 35: stabilityai.platformapis.generation.v1.TransformType + (*T2IAdapterParameter)(nil), // 36: stabilityai.platformapis.generation.v1.T2IAdapterParameter + (*CAIParameters)(nil), // 37: stabilityai.platformapis.generation.v1.CAIParameters + (*FineTuningParameters)(nil), // 38: stabilityai.platformapis.generation.v1.FineTuningParameters + (*ImageParameters)(nil), // 39: stabilityai.platformapis.generation.v1.ImageParameters + (*ClassifierConcept)(nil), // 40: stabilityai.platformapis.generation.v1.ClassifierConcept + (*ClassifierCategory)(nil), // 41: stabilityai.platformapis.generation.v1.ClassifierCategory + (*ClassifierParameters)(nil), // 42: stabilityai.platformapis.generation.v1.ClassifierParameters + (*InterpolateParameters)(nil), // 43: stabilityai.platformapis.generation.v1.InterpolateParameters + (*TransformColorAdjust)(nil), // 44: stabilityai.platformapis.generation.v1.TransformColorAdjust + (*TransformDepthCalc)(nil), // 45: stabilityai.platformapis.generation.v1.TransformDepthCalc + (*TransformMatrix)(nil), // 46: stabilityai.platformapis.generation.v1.TransformMatrix + (*TransformResample)(nil), // 47: stabilityai.platformapis.generation.v1.TransformResample + (*CameraParameters)(nil), // 48: stabilityai.platformapis.generation.v1.CameraParameters + (*TransformCameraPose)(nil), // 49: stabilityai.platformapis.generation.v1.TransformCameraPose + (*TransformParameters)(nil), // 50: stabilityai.platformapis.generation.v1.TransformParameters + (*AssetParameters)(nil), // 51: stabilityai.platformapis.generation.v1.AssetParameters + (*AnswerMeta)(nil), // 52: stabilityai.platformapis.generation.v1.AnswerMeta + (*Answer)(nil), // 53: stabilityai.platformapis.generation.v1.Answer + (*AnswerBatch)(nil), // 54: stabilityai.platformapis.generation.v1.AnswerBatch + (*Request)(nil), // 55: stabilityai.platformapis.generation.v1.Request + (*OnStatus)(nil), // 56: stabilityai.platformapis.generation.v1.OnStatus + (*Stage)(nil), // 57: stabilityai.platformapis.generation.v1.Stage + (*ChainRequest)(nil), // 58: stabilityai.platformapis.generation.v1.ChainRequest + (*tensors.Tensor)(nil), // 59: tensors.Tensor + (*structpb.Struct)(nil), // 60: google.protobuf.Struct } var file_stability_api_platform_generation_v1_generation_proto_depIdxs = []int32{ - 18, // 0: stabilityai.platformapis.generation.v1.Tokens.tokens:type_name -> stabilityai.platformapis.generation.v1.Token + 21, // 0: stabilityai.platformapis.generation.v1.Tokens.tokens:type_name -> stabilityai.platformapis.generation.v1.Token 1, // 1: stabilityai.platformapis.generation.v1.Artifact.type:type_name -> stabilityai.platformapis.generation.v1.ArtifactType - 19, // 2: stabilityai.platformapis.generation.v1.Artifact.tokens:type_name -> stabilityai.platformapis.generation.v1.Tokens - 36, // 3: stabilityai.platformapis.generation.v1.Artifact.classifier:type_name -> stabilityai.platformapis.generation.v1.ClassifierParameters - 53, // 4: stabilityai.platformapis.generation.v1.Artifact.tensor:type_name -> tensors.Tensor + 22, // 2: stabilityai.platformapis.generation.v1.Artifact.tokens:type_name -> stabilityai.platformapis.generation.v1.Tokens + 42, // 3: stabilityai.platformapis.generation.v1.Artifact.classifier:type_name -> stabilityai.platformapis.generation.v1.ClassifierParameters + 59, // 4: stabilityai.platformapis.generation.v1.Artifact.tensor:type_name -> tensors.Tensor 0, // 5: stabilityai.platformapis.generation.v1.Artifact.finish_reason:type_name -> stabilityai.platformapis.generation.v1.FinishReason - 21, // 6: stabilityai.platformapis.generation.v1.Prompt.parameters:type_name -> stabilityai.platformapis.generation.v1.PromptParameters - 19, // 7: stabilityai.platformapis.generation.v1.Prompt.tokens:type_name -> stabilityai.platformapis.generation.v1.Tokens - 20, // 8: stabilityai.platformapis.generation.v1.Prompt.artifact:type_name -> stabilityai.platformapis.generation.v1.Artifact - 27, // 9: stabilityai.platformapis.generation.v1.ConditionerParameters.conditioner:type_name -> stabilityai.platformapis.generation.v1.Model - 23, // 10: stabilityai.platformapis.generation.v1.StepParameter.sampler:type_name -> stabilityai.platformapis.generation.v1.SamplerParameters - 25, // 11: stabilityai.platformapis.generation.v1.StepParameter.schedule:type_name -> stabilityai.platformapis.generation.v1.ScheduleParameters - 31, // 12: stabilityai.platformapis.generation.v1.StepParameter.guidance:type_name -> stabilityai.platformapis.generation.v1.GuidanceParameters + 24, // 6: stabilityai.platformapis.generation.v1.Prompt.parameters:type_name -> stabilityai.platformapis.generation.v1.PromptParameters + 22, // 7: stabilityai.platformapis.generation.v1.Prompt.tokens:type_name -> stabilityai.platformapis.generation.v1.Tokens + 23, // 8: stabilityai.platformapis.generation.v1.Prompt.artifact:type_name -> stabilityai.platformapis.generation.v1.Artifact + 30, // 9: stabilityai.platformapis.generation.v1.ConditionerParameters.conditioner:type_name -> stabilityai.platformapis.generation.v1.Model + 26, // 10: stabilityai.platformapis.generation.v1.StepParameter.sampler:type_name -> stabilityai.platformapis.generation.v1.SamplerParameters + 28, // 11: stabilityai.platformapis.generation.v1.StepParameter.schedule:type_name -> stabilityai.platformapis.generation.v1.ScheduleParameters + 34, // 12: stabilityai.platformapis.generation.v1.StepParameter.guidance:type_name -> stabilityai.platformapis.generation.v1.GuidanceParameters 7, // 13: stabilityai.platformapis.generation.v1.Model.architecture:type_name -> stabilityai.platformapis.generation.v1.ModelArchitecture - 28, // 14: stabilityai.platformapis.generation.v1.CutoutParameters.cutouts:type_name -> stabilityai.platformapis.generation.v1.CutoutParameters - 27, // 15: stabilityai.platformapis.generation.v1.GuidanceInstanceParameters.models:type_name -> stabilityai.platformapis.generation.v1.Model - 29, // 16: stabilityai.platformapis.generation.v1.GuidanceInstanceParameters.schedule:type_name -> stabilityai.platformapis.generation.v1.GuidanceScheduleParameters - 28, // 17: stabilityai.platformapis.generation.v1.GuidanceInstanceParameters.cutouts:type_name -> stabilityai.platformapis.generation.v1.CutoutParameters - 22, // 18: stabilityai.platformapis.generation.v1.GuidanceInstanceParameters.prompt:type_name -> stabilityai.platformapis.generation.v1.Prompt + 31, // 14: stabilityai.platformapis.generation.v1.CutoutParameters.cutouts:type_name -> stabilityai.platformapis.generation.v1.CutoutParameters + 30, // 15: stabilityai.platformapis.generation.v1.GuidanceInstanceParameters.models:type_name -> stabilityai.platformapis.generation.v1.Model + 32, // 16: stabilityai.platformapis.generation.v1.GuidanceInstanceParameters.schedule:type_name -> stabilityai.platformapis.generation.v1.GuidanceScheduleParameters + 31, // 17: stabilityai.platformapis.generation.v1.GuidanceInstanceParameters.cutouts:type_name -> stabilityai.platformapis.generation.v1.CutoutParameters + 25, // 18: stabilityai.platformapis.generation.v1.GuidanceInstanceParameters.prompt:type_name -> stabilityai.platformapis.generation.v1.Prompt 6, // 19: stabilityai.platformapis.generation.v1.GuidanceParameters.guidance_preset:type_name -> stabilityai.platformapis.generation.v1.GuidancePreset - 30, // 20: stabilityai.platformapis.generation.v1.GuidanceParameters.instances:type_name -> stabilityai.platformapis.generation.v1.GuidanceInstanceParameters + 33, // 20: stabilityai.platformapis.generation.v1.GuidanceParameters.instances:type_name -> stabilityai.platformapis.generation.v1.GuidanceInstanceParameters 4, // 21: stabilityai.platformapis.generation.v1.TransformType.diffusion:type_name -> stabilityai.platformapis.generation.v1.DiffusionSampler 5, // 22: stabilityai.platformapis.generation.v1.TransformType.upscaler:type_name -> stabilityai.platformapis.generation.v1.Upscaler - 32, // 23: stabilityai.platformapis.generation.v1.ImageParameters.transform:type_name -> stabilityai.platformapis.generation.v1.TransformType - 26, // 24: stabilityai.platformapis.generation.v1.ImageParameters.parameters:type_name -> stabilityai.platformapis.generation.v1.StepParameter - 2, // 25: stabilityai.platformapis.generation.v1.ImageParameters.masked_area_init:type_name -> stabilityai.platformapis.generation.v1.MaskedAreaInit - 3, // 26: stabilityai.platformapis.generation.v1.ImageParameters.weight_method:type_name -> stabilityai.platformapis.generation.v1.WeightMethod - 34, // 27: stabilityai.platformapis.generation.v1.ClassifierCategory.concepts:type_name -> stabilityai.platformapis.generation.v1.ClassifierConcept - 8, // 28: stabilityai.platformapis.generation.v1.ClassifierCategory.action:type_name -> stabilityai.platformapis.generation.v1.Action - 9, // 29: stabilityai.platformapis.generation.v1.ClassifierCategory.classifier_mode:type_name -> stabilityai.platformapis.generation.v1.ClassifierMode - 35, // 30: stabilityai.platformapis.generation.v1.ClassifierParameters.categories:type_name -> stabilityai.platformapis.generation.v1.ClassifierCategory - 35, // 31: stabilityai.platformapis.generation.v1.ClassifierParameters.exceeds:type_name -> stabilityai.platformapis.generation.v1.ClassifierCategory - 8, // 32: stabilityai.platformapis.generation.v1.ClassifierParameters.realized_action:type_name -> stabilityai.platformapis.generation.v1.Action - 10, // 33: stabilityai.platformapis.generation.v1.InterpolateParameters.mode:type_name -> stabilityai.platformapis.generation.v1.InterpolateMode - 20, // 34: stabilityai.platformapis.generation.v1.TransformColorAdjust.match_image:type_name -> stabilityai.platformapis.generation.v1.Artifact - 12, // 35: stabilityai.platformapis.generation.v1.TransformColorAdjust.match_mode:type_name -> stabilityai.platformapis.generation.v1.ColorMatchMode - 11, // 36: stabilityai.platformapis.generation.v1.TransformResample.border_mode:type_name -> stabilityai.platformapis.generation.v1.BorderMode - 40, // 37: stabilityai.platformapis.generation.v1.TransformResample.transform:type_name -> stabilityai.platformapis.generation.v1.TransformMatrix - 40, // 38: stabilityai.platformapis.generation.v1.TransformResample.prev_transform:type_name -> stabilityai.platformapis.generation.v1.TransformMatrix - 13, // 39: stabilityai.platformapis.generation.v1.CameraParameters.camera_type:type_name -> stabilityai.platformapis.generation.v1.CameraType - 40, // 40: stabilityai.platformapis.generation.v1.TransformCameraPose.world_to_view_matrix:type_name -> stabilityai.platformapis.generation.v1.TransformMatrix - 42, // 41: stabilityai.platformapis.generation.v1.TransformCameraPose.camera_parameters:type_name -> stabilityai.platformapis.generation.v1.CameraParameters - 14, // 42: stabilityai.platformapis.generation.v1.TransformCameraPose.render_mode:type_name -> stabilityai.platformapis.generation.v1.RenderMode - 38, // 43: stabilityai.platformapis.generation.v1.TransformParameters.color_adjust:type_name -> stabilityai.platformapis.generation.v1.TransformColorAdjust - 39, // 44: stabilityai.platformapis.generation.v1.TransformParameters.depth_calc:type_name -> stabilityai.platformapis.generation.v1.TransformDepthCalc - 41, // 45: stabilityai.platformapis.generation.v1.TransformParameters.resample:type_name -> stabilityai.platformapis.generation.v1.TransformResample - 43, // 46: stabilityai.platformapis.generation.v1.TransformParameters.camera_pose:type_name -> stabilityai.platformapis.generation.v1.TransformCameraPose - 15, // 47: stabilityai.platformapis.generation.v1.AssetParameters.action:type_name -> stabilityai.platformapis.generation.v1.AssetAction - 16, // 48: stabilityai.platformapis.generation.v1.AssetParameters.use:type_name -> stabilityai.platformapis.generation.v1.AssetUse - 46, // 49: stabilityai.platformapis.generation.v1.Answer.meta:type_name -> stabilityai.platformapis.generation.v1.AnswerMeta - 20, // 50: stabilityai.platformapis.generation.v1.Answer.artifacts:type_name -> stabilityai.platformapis.generation.v1.Artifact - 47, // 51: stabilityai.platformapis.generation.v1.AnswerBatch.answers:type_name -> stabilityai.platformapis.generation.v1.Answer - 1, // 52: stabilityai.platformapis.generation.v1.Request.requested_type:type_name -> stabilityai.platformapis.generation.v1.ArtifactType - 22, // 53: stabilityai.platformapis.generation.v1.Request.prompt:type_name -> stabilityai.platformapis.generation.v1.Prompt - 33, // 54: stabilityai.platformapis.generation.v1.Request.image:type_name -> stabilityai.platformapis.generation.v1.ImageParameters - 36, // 55: stabilityai.platformapis.generation.v1.Request.classifier:type_name -> stabilityai.platformapis.generation.v1.ClassifierParameters - 45, // 56: stabilityai.platformapis.generation.v1.Request.asset:type_name -> stabilityai.platformapis.generation.v1.AssetParameters - 37, // 57: stabilityai.platformapis.generation.v1.Request.interpolate:type_name -> stabilityai.platformapis.generation.v1.InterpolateParameters - 44, // 58: stabilityai.platformapis.generation.v1.Request.transform:type_name -> stabilityai.platformapis.generation.v1.TransformParameters - 24, // 59: stabilityai.platformapis.generation.v1.Request.conditioner:type_name -> stabilityai.platformapis.generation.v1.ConditionerParameters - 54, // 60: stabilityai.platformapis.generation.v1.Request.extras:type_name -> google.protobuf.Struct - 0, // 61: stabilityai.platformapis.generation.v1.OnStatus.reason:type_name -> stabilityai.platformapis.generation.v1.FinishReason - 17, // 62: stabilityai.platformapis.generation.v1.OnStatus.action:type_name -> stabilityai.platformapis.generation.v1.StageAction - 49, // 63: stabilityai.platformapis.generation.v1.Stage.request:type_name -> stabilityai.platformapis.generation.v1.Request - 50, // 64: stabilityai.platformapis.generation.v1.Stage.on_status:type_name -> stabilityai.platformapis.generation.v1.OnStatus - 51, // 65: stabilityai.platformapis.generation.v1.ChainRequest.stage:type_name -> stabilityai.platformapis.generation.v1.Stage - 49, // 66: stabilityai.platformapis.generation.v1.GenerationService.Generate:input_type -> stabilityai.platformapis.generation.v1.Request - 52, // 67: stabilityai.platformapis.generation.v1.GenerationService.ChainGenerate:input_type -> stabilityai.platformapis.generation.v1.ChainRequest - 47, // 68: stabilityai.platformapis.generation.v1.GenerationService.Generate:output_type -> stabilityai.platformapis.generation.v1.Answer - 47, // 69: stabilityai.platformapis.generation.v1.GenerationService.ChainGenerate:output_type -> stabilityai.platformapis.generation.v1.Answer - 68, // [68:70] is the sub-list for method output_type - 66, // [66:68] is the sub-list for method input_type - 66, // [66:66] is the sub-list for extension type_name - 66, // [66:66] is the sub-list for extension extendee - 0, // [0:66] is the sub-list for field type_name + 8, // 23: stabilityai.platformapis.generation.v1.T2IAdapterParameter.adapter_type:type_name -> stabilityai.platformapis.generation.v1.T2IAdapter + 9, // 24: stabilityai.platformapis.generation.v1.T2IAdapterParameter.adapter_init_type:type_name -> stabilityai.platformapis.generation.v1.T2IAdapterInit + 20, // 25: stabilityai.platformapis.generation.v1.CAIParameters.model_metadata:type_name -> stabilityai.platformapis.generation.v1.CAIParameters.ModelMetadata + 35, // 26: stabilityai.platformapis.generation.v1.ImageParameters.transform:type_name -> stabilityai.platformapis.generation.v1.TransformType + 29, // 27: stabilityai.platformapis.generation.v1.ImageParameters.parameters:type_name -> stabilityai.platformapis.generation.v1.StepParameter + 2, // 28: stabilityai.platformapis.generation.v1.ImageParameters.masked_area_init:type_name -> stabilityai.platformapis.generation.v1.MaskedAreaInit + 3, // 29: stabilityai.platformapis.generation.v1.ImageParameters.weight_method:type_name -> stabilityai.platformapis.generation.v1.WeightMethod + 37, // 30: stabilityai.platformapis.generation.v1.ImageParameters.cai_parameters:type_name -> stabilityai.platformapis.generation.v1.CAIParameters + 36, // 31: stabilityai.platformapis.generation.v1.ImageParameters.adapter:type_name -> stabilityai.platformapis.generation.v1.T2IAdapterParameter + 38, // 32: stabilityai.platformapis.generation.v1.ImageParameters.fine_tuning_parameters:type_name -> stabilityai.platformapis.generation.v1.FineTuningParameters + 40, // 33: stabilityai.platformapis.generation.v1.ClassifierCategory.concepts:type_name -> stabilityai.platformapis.generation.v1.ClassifierConcept + 10, // 34: stabilityai.platformapis.generation.v1.ClassifierCategory.action:type_name -> stabilityai.platformapis.generation.v1.Action + 11, // 35: stabilityai.platformapis.generation.v1.ClassifierCategory.classifier_mode:type_name -> stabilityai.platformapis.generation.v1.ClassifierMode + 41, // 36: stabilityai.platformapis.generation.v1.ClassifierParameters.categories:type_name -> stabilityai.platformapis.generation.v1.ClassifierCategory + 41, // 37: stabilityai.platformapis.generation.v1.ClassifierParameters.exceeds:type_name -> stabilityai.platformapis.generation.v1.ClassifierCategory + 10, // 38: stabilityai.platformapis.generation.v1.ClassifierParameters.realized_action:type_name -> stabilityai.platformapis.generation.v1.Action + 12, // 39: stabilityai.platformapis.generation.v1.InterpolateParameters.mode:type_name -> stabilityai.platformapis.generation.v1.InterpolateMode + 23, // 40: stabilityai.platformapis.generation.v1.TransformColorAdjust.match_image:type_name -> stabilityai.platformapis.generation.v1.Artifact + 14, // 41: stabilityai.platformapis.generation.v1.TransformColorAdjust.match_mode:type_name -> stabilityai.platformapis.generation.v1.ColorMatchMode + 13, // 42: stabilityai.platformapis.generation.v1.TransformResample.border_mode:type_name -> stabilityai.platformapis.generation.v1.BorderMode + 46, // 43: stabilityai.platformapis.generation.v1.TransformResample.transform:type_name -> stabilityai.platformapis.generation.v1.TransformMatrix + 46, // 44: stabilityai.platformapis.generation.v1.TransformResample.prev_transform:type_name -> stabilityai.platformapis.generation.v1.TransformMatrix + 15, // 45: stabilityai.platformapis.generation.v1.CameraParameters.camera_type:type_name -> stabilityai.platformapis.generation.v1.CameraType + 46, // 46: stabilityai.platformapis.generation.v1.TransformCameraPose.world_to_view_matrix:type_name -> stabilityai.platformapis.generation.v1.TransformMatrix + 48, // 47: stabilityai.platformapis.generation.v1.TransformCameraPose.camera_parameters:type_name -> stabilityai.platformapis.generation.v1.CameraParameters + 16, // 48: stabilityai.platformapis.generation.v1.TransformCameraPose.render_mode:type_name -> stabilityai.platformapis.generation.v1.RenderMode + 44, // 49: stabilityai.platformapis.generation.v1.TransformParameters.color_adjust:type_name -> stabilityai.platformapis.generation.v1.TransformColorAdjust + 45, // 50: stabilityai.platformapis.generation.v1.TransformParameters.depth_calc:type_name -> stabilityai.platformapis.generation.v1.TransformDepthCalc + 47, // 51: stabilityai.platformapis.generation.v1.TransformParameters.resample:type_name -> stabilityai.platformapis.generation.v1.TransformResample + 49, // 52: stabilityai.platformapis.generation.v1.TransformParameters.camera_pose:type_name -> stabilityai.platformapis.generation.v1.TransformCameraPose + 17, // 53: stabilityai.platformapis.generation.v1.AssetParameters.action:type_name -> stabilityai.platformapis.generation.v1.AssetAction + 18, // 54: stabilityai.platformapis.generation.v1.AssetParameters.use:type_name -> stabilityai.platformapis.generation.v1.AssetUse + 52, // 55: stabilityai.platformapis.generation.v1.Answer.meta:type_name -> stabilityai.platformapis.generation.v1.AnswerMeta + 23, // 56: stabilityai.platformapis.generation.v1.Answer.artifacts:type_name -> stabilityai.platformapis.generation.v1.Artifact + 53, // 57: stabilityai.platformapis.generation.v1.AnswerBatch.answers:type_name -> stabilityai.platformapis.generation.v1.Answer + 1, // 58: stabilityai.platformapis.generation.v1.Request.requested_type:type_name -> stabilityai.platformapis.generation.v1.ArtifactType + 25, // 59: stabilityai.platformapis.generation.v1.Request.prompt:type_name -> stabilityai.platformapis.generation.v1.Prompt + 39, // 60: stabilityai.platformapis.generation.v1.Request.image:type_name -> stabilityai.platformapis.generation.v1.ImageParameters + 42, // 61: stabilityai.platformapis.generation.v1.Request.classifier:type_name -> stabilityai.platformapis.generation.v1.ClassifierParameters + 51, // 62: stabilityai.platformapis.generation.v1.Request.asset:type_name -> stabilityai.platformapis.generation.v1.AssetParameters + 43, // 63: stabilityai.platformapis.generation.v1.Request.interpolate:type_name -> stabilityai.platformapis.generation.v1.InterpolateParameters + 50, // 64: stabilityai.platformapis.generation.v1.Request.transform:type_name -> stabilityai.platformapis.generation.v1.TransformParameters + 27, // 65: stabilityai.platformapis.generation.v1.Request.conditioner:type_name -> stabilityai.platformapis.generation.v1.ConditionerParameters + 60, // 66: stabilityai.platformapis.generation.v1.Request.extras:type_name -> google.protobuf.Struct + 0, // 67: stabilityai.platformapis.generation.v1.OnStatus.reason:type_name -> stabilityai.platformapis.generation.v1.FinishReason + 19, // 68: stabilityai.platformapis.generation.v1.OnStatus.action:type_name -> stabilityai.platformapis.generation.v1.StageAction + 55, // 69: stabilityai.platformapis.generation.v1.Stage.request:type_name -> stabilityai.platformapis.generation.v1.Request + 56, // 70: stabilityai.platformapis.generation.v1.Stage.on_status:type_name -> stabilityai.platformapis.generation.v1.OnStatus + 57, // 71: stabilityai.platformapis.generation.v1.ChainRequest.stage:type_name -> stabilityai.platformapis.generation.v1.Stage + 55, // 72: stabilityai.platformapis.generation.v1.GenerationService.Generate:input_type -> stabilityai.platformapis.generation.v1.Request + 58, // 73: stabilityai.platformapis.generation.v1.GenerationService.ChainGenerate:input_type -> stabilityai.platformapis.generation.v1.ChainRequest + 53, // 74: stabilityai.platformapis.generation.v1.GenerationService.Generate:output_type -> stabilityai.platformapis.generation.v1.Answer + 53, // 75: stabilityai.platformapis.generation.v1.GenerationService.ChainGenerate:output_type -> stabilityai.platformapis.generation.v1.Answer + 74, // [74:76] is the sub-list for method output_type + 72, // [72:74] is the sub-list for method input_type + 72, // [72:72] is the sub-list for extension type_name + 72, // [72:72] is the sub-list for extension extendee + 0, // [0:72] is the sub-list for field type_name } func init() { file_stability_api_platform_generation_v1_generation_proto_init() } @@ -4907,7 +5352,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ImageParameters); i { + switch v := v.(*T2IAdapterParameter); i { case 0: return &v.state case 1: @@ -4919,7 +5364,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClassifierConcept); i { + switch v := v.(*CAIParameters); i { case 0: return &v.state case 1: @@ -4931,7 +5376,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClassifierCategory); i { + switch v := v.(*FineTuningParameters); i { case 0: return &v.state case 1: @@ -4943,7 +5388,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ClassifierParameters); i { + switch v := v.(*ImageParameters); i { case 0: return &v.state case 1: @@ -4955,7 +5400,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*InterpolateParameters); i { + switch v := v.(*ClassifierConcept); i { case 0: return &v.state case 1: @@ -4967,7 +5412,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransformColorAdjust); i { + switch v := v.(*ClassifierCategory); i { case 0: return &v.state case 1: @@ -4979,7 +5424,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransformDepthCalc); i { + switch v := v.(*ClassifierParameters); i { case 0: return &v.state case 1: @@ -4991,7 +5436,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransformMatrix); i { + switch v := v.(*InterpolateParameters); i { case 0: return &v.state case 1: @@ -5003,7 +5448,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransformResample); i { + switch v := v.(*TransformColorAdjust); i { case 0: return &v.state case 1: @@ -5015,7 +5460,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CameraParameters); i { + switch v := v.(*TransformDepthCalc); i { case 0: return &v.state case 1: @@ -5027,7 +5472,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransformCameraPose); i { + switch v := v.(*TransformMatrix); i { case 0: return &v.state case 1: @@ -5039,7 +5484,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*TransformParameters); i { + switch v := v.(*TransformResample); i { case 0: return &v.state case 1: @@ -5051,7 +5496,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AssetParameters); i { + switch v := v.(*CameraParameters); i { case 0: return &v.state case 1: @@ -5063,7 +5508,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnswerMeta); i { + switch v := v.(*TransformCameraPose); i { case 0: return &v.state case 1: @@ -5075,7 +5520,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Answer); i { + switch v := v.(*TransformParameters); i { case 0: return &v.state case 1: @@ -5087,7 +5532,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*AnswerBatch); i { + switch v := v.(*AssetParameters); i { case 0: return &v.state case 1: @@ -5099,7 +5544,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Request); i { + switch v := v.(*AnswerMeta); i { case 0: return &v.state case 1: @@ -5111,7 +5556,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OnStatus); i { + switch v := v.(*Answer); i { case 0: return &v.state case 1: @@ -5123,7 +5568,7 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Stage); i { + switch v := v.(*AnswerBatch); i { case 0: return &v.state case 1: @@ -5135,6 +5580,42 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { } } file_stability_api_platform_generation_v1_generation_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Request); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_generation_v1_generation_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*OnStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_generation_v1_generation_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Stage); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_stability_api_platform_generation_v1_generation_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ChainRequest); i { case 0: return &v.state @@ -5172,38 +5653,42 @@ func file_stability_api_platform_generation_v1_generation_proto_init() { (*TransformType_Diffusion)(nil), (*TransformType_Upscaler)(nil), } - file_stability_api_platform_generation_v1_generation_proto_msgTypes[15].OneofWrappers = []interface{}{} - file_stability_api_platform_generation_v1_generation_proto_msgTypes[16].OneofWrappers = []interface{}{} + file_stability_api_platform_generation_v1_generation_proto_msgTypes[16].OneofWrappers = []interface{}{ + (*CAIParameters_ModelMetadata_)(nil), + } file_stability_api_platform_generation_v1_generation_proto_msgTypes[17].OneofWrappers = []interface{}{} file_stability_api_platform_generation_v1_generation_proto_msgTypes[18].OneofWrappers = []interface{}{} file_stability_api_platform_generation_v1_generation_proto_msgTypes[19].OneofWrappers = []interface{}{} file_stability_api_platform_generation_v1_generation_proto_msgTypes[20].OneofWrappers = []interface{}{} file_stability_api_platform_generation_v1_generation_proto_msgTypes[21].OneofWrappers = []interface{}{} + file_stability_api_platform_generation_v1_generation_proto_msgTypes[22].OneofWrappers = []interface{}{} file_stability_api_platform_generation_v1_generation_proto_msgTypes[23].OneofWrappers = []interface{}{} file_stability_api_platform_generation_v1_generation_proto_msgTypes[24].OneofWrappers = []interface{}{} - file_stability_api_platform_generation_v1_generation_proto_msgTypes[26].OneofWrappers = []interface{}{ + file_stability_api_platform_generation_v1_generation_proto_msgTypes[26].OneofWrappers = []interface{}{} + file_stability_api_platform_generation_v1_generation_proto_msgTypes[27].OneofWrappers = []interface{}{} + file_stability_api_platform_generation_v1_generation_proto_msgTypes[29].OneofWrappers = []interface{}{ (*TransformParameters_ColorAdjust)(nil), (*TransformParameters_DepthCalc)(nil), (*TransformParameters_Resample)(nil), (*TransformParameters_CameraPose)(nil), } - file_stability_api_platform_generation_v1_generation_proto_msgTypes[28].OneofWrappers = []interface{}{} - file_stability_api_platform_generation_v1_generation_proto_msgTypes[29].OneofWrappers = []interface{}{} - file_stability_api_platform_generation_v1_generation_proto_msgTypes[31].OneofWrappers = []interface{}{ + file_stability_api_platform_generation_v1_generation_proto_msgTypes[31].OneofWrappers = []interface{}{} + file_stability_api_platform_generation_v1_generation_proto_msgTypes[32].OneofWrappers = []interface{}{} + file_stability_api_platform_generation_v1_generation_proto_msgTypes[34].OneofWrappers = []interface{}{ (*Request_Image)(nil), (*Request_Classifier)(nil), (*Request_Asset)(nil), (*Request_Interpolate)(nil), (*Request_Transform)(nil), } - file_stability_api_platform_generation_v1_generation_proto_msgTypes[32].OneofWrappers = []interface{}{} + file_stability_api_platform_generation_v1_generation_proto_msgTypes[35].OneofWrappers = []interface{}{} type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_stability_api_platform_generation_v1_generation_proto_rawDesc, - NumEnums: 18, - NumMessages: 35, + NumEnums: 21, + NumMessages: 38, NumExtensions: 0, NumServices: 1, }, diff --git a/src/stability_api/platform/generation/v1/generation_pb.d.ts b/src/stability_api/platform/generation/v1/generation_pb.d.ts index 3dfd700..03bf121 100644 --- a/src/stability_api/platform/generation/v1/generation_pb.d.ts +++ b/src/stability_api/platform/generation/v1/generation_pb.d.ts @@ -284,6 +284,56 @@ export declare enum ModelArchitecture { LDM = 3, } +/** + * @generated from enum stabilityai.platformapis.generation.v1.T2IAdapter + */ +export declare enum T2IAdapter { + /** + * @generated from enum value: T2IADAPTER_NONE = 0; + */ + T2IADAPTER_NONE = 0, + + /** + * these are all compatible with SDXL. + * + * @generated from enum value: T2IADAPTER_SKETCH = 1; + */ + T2IADAPTER_SKETCH = 1, + + /** + * @generated from enum value: T2IADAPTER_DEPTH = 2; + */ + T2IADAPTER_DEPTH = 2, + + /** + * @generated from enum value: T2IADAPTER_CANNY = 3; + */ + T2IADAPTER_CANNY = 3, +} + +/** + * If adapter_type is not None, then the user can choose what type of init_image to pass in: either an arbitrary image + * which will then be converted to a depth map, sketch, or canny edge for the sketch, depth and canny adapters respectively, + * or they can pass in their own depth map, sketch or canny edge. This field controls whether the init_image should + * be interpreted as an arbitrary image to be preprocessed ready for the t2i adapter, or whether it has already been + * preprocessed elsewhere + * + * @generated from enum stabilityai.platformapis.generation.v1.T2IAdapterInit + */ +export declare enum T2IAdapterInit { + /** + * these are all compatible with SDXL. + * + * @generated from enum value: T2IADAPTERINIT_IMAGE = 0; + */ + T2IADAPTERINIT_IMAGE = 0, + + /** + * @generated from enum value: T2IADAPTERINIT_ADAPTER_IMAGE = 1; + */ + T2IADAPTERINIT_ADAPTER_IMAGE = 1, +} + /** * @generated from enum stabilityai.platformapis.generation.v1.Action */ @@ -1265,6 +1315,125 @@ export declare class TransformType extends Message { static equals(a: TransformType | PlainMessage | undefined, b: TransformType | PlainMessage | undefined): boolean; } +/** + * @generated from message stabilityai.platformapis.generation.v1.T2IAdapterParameter + */ +export declare class T2IAdapterParameter extends Message { + /** + * @generated from field: stabilityai.platformapis.generation.v1.T2IAdapter adapter_type = 1; + */ + adapterType: T2IAdapter; + + /** + * @generated from field: float adapter_strength = 2; + */ + adapterStrength: number; + + /** + * @generated from field: stabilityai.platformapis.generation.v1.T2IAdapterInit adapter_init_type = 3; + */ + adapterInitType: T2IAdapterInit; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "stabilityai.platformapis.generation.v1.T2IAdapterParameter"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): T2IAdapterParameter; + + static fromJson(jsonValue: JsonValue, options?: Partial): T2IAdapterParameter; + + static fromJsonString(jsonString: string, options?: Partial): T2IAdapterParameter; + + static equals(a: T2IAdapterParameter | PlainMessage | undefined, b: T2IAdapterParameter | PlainMessage | undefined): boolean; +} + +/** + * @generated from message stabilityai.platformapis.generation.v1.CAIParameters + */ +export declare class CAIParameters extends Message { + /** + * @generated from oneof stabilityai.platformapis.generation.v1.CAIParameters.parameters + */ + parameters: { + /** + * @generated from field: stabilityai.platformapis.generation.v1.CAIParameters.ModelMetadata model_metadata = 1; + */ + value: CAIParameters_ModelMetadata; + case: "modelMetadata"; + } | { case: undefined; value?: undefined }; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "stabilityai.platformapis.generation.v1.CAIParameters"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): CAIParameters; + + static fromJson(jsonValue: JsonValue, options?: Partial): CAIParameters; + + static fromJsonString(jsonString: string, options?: Partial): CAIParameters; + + static equals(a: CAIParameters | PlainMessage | undefined, b: CAIParameters | PlainMessage | undefined): boolean; +} + +/** + * @generated from enum stabilityai.platformapis.generation.v1.CAIParameters.ModelMetadata + */ +export declare enum CAIParameters_ModelMetadata { + /** + * @generated from enum value: MODEL_METADATA_UNSPECIFIED = 0; + */ + UNSPECIFIED = 0, + + /** + * @generated from enum value: MODEL_METADATA_SIGN_WITH_ENGINE_ID = 1; + */ + SIGN_WITH_ENGINE_ID = 1, +} + +/** + * FineTuningParameters specify which fine-tuned models to use for generation. + * + * @generated from message stabilityai.platformapis.generation.v1.FineTuningParameters + */ +export declare class FineTuningParameters extends Message { + /** + * The id of the fine-tuned model to generate content from. + * See FineTuningModel.id in finetuning.proto. + * Model Id is created upon invoking CreateFineTuningModel. + * When GetFineTuningModelStatus returns a FineTuningModelStatus of + * FINE_TUNING_MODEL_STATUS_COMPLETED, the model can be used + * for generating images. + * + * @generated from field: string model_id = 1; + */ + modelId: string; + + /** + * defaults to 1.0 + * + * @generated from field: optional float weight = 2; + */ + weight?: number; + + constructor(data?: PartialMessage); + + static readonly runtime: typeof proto3; + static readonly typeName = "stabilityai.platformapis.generation.v1.FineTuningParameters"; + static readonly fields: FieldList; + + static fromBinary(bytes: Uint8Array, options?: Partial): FineTuningParameters; + + static fromJson(jsonValue: JsonValue, options?: Partial): FineTuningParameters; + + static fromJsonString(jsonString: string, options?: Partial): FineTuningParameters; + + static equals(a: FineTuningParameters | PlainMessage | undefined, b: FineTuningParameters | PlainMessage | undefined): boolean; +} + /** * @generated from message stabilityai.platformapis.generation.v1.ImageParameters */ @@ -1325,6 +1494,25 @@ export declare class ImageParameters extends Message { */ quantize?: boolean; + /** + * Set field to have image signed by C2PA + * + * @generated from field: optional stabilityai.platformapis.generation.v1.CAIParameters cai_parameters = 11; + */ + caiParameters?: CAIParameters; + + /** + * @generated from field: optional stabilityai.platformapis.generation.v1.T2IAdapterParameter adapter = 12; + */ + adapter?: T2IAdapterParameter; + + /** + * next available tag: 14 + * + * @generated from field: repeated stabilityai.platformapis.generation.v1.FineTuningParameters fine_tuning_parameters = 13; + */ + fineTuningParameters: FineTuningParameters[]; + constructor(data?: PartialMessage); static readonly runtime: typeof proto3; diff --git a/src/stability_api/platform/generation/v1/generation_pb.js b/src/stability_api/platform/generation/v1/generation_pb.js index e760545..8a946ed 100644 --- a/src/stability_api/platform/generation/v1/generation_pb.js +++ b/src/stability_api/platform/generation/v1/generation_pb.js @@ -131,6 +131,36 @@ export const ModelArchitecture = proto3.makeEnum( ], ); +/** + * @generated from enum stabilityai.platformapis.generation.v1.T2IAdapter + */ +export const T2IAdapter = proto3.makeEnum( + "stabilityai.platformapis.generation.v1.T2IAdapter", + [ + {no: 0, name: "T2IADAPTER_NONE"}, + {no: 1, name: "T2IADAPTER_SKETCH"}, + {no: 2, name: "T2IADAPTER_DEPTH"}, + {no: 3, name: "T2IADAPTER_CANNY"}, + ], +); + +/** + * If adapter_type is not None, then the user can choose what type of init_image to pass in: either an arbitrary image + * which will then be converted to a depth map, sketch, or canny edge for the sketch, depth and canny adapters respectively, + * or they can pass in their own depth map, sketch or canny edge. This field controls whether the init_image should + * be interpreted as an arbitrary image to be preprocessed ready for the t2i adapter, or whether it has already been + * preprocessed elsewhere + * + * @generated from enum stabilityai.platformapis.generation.v1.T2IAdapterInit + */ +export const T2IAdapterInit = proto3.makeEnum( + "stabilityai.platformapis.generation.v1.T2IAdapterInit", + [ + {no: 0, name: "T2IADAPTERINIT_IMAGE"}, + {no: 1, name: "T2IADAPTERINIT_ADAPTER_IMAGE"}, + ], +); + /** * @generated from enum stabilityai.platformapis.generation.v1.Action */ @@ -495,6 +525,52 @@ export const TransformType = proto3.makeMessageType( ], ); +/** + * @generated from message stabilityai.platformapis.generation.v1.T2IAdapterParameter + */ +export const T2IAdapterParameter = proto3.makeMessageType( + "stabilityai.platformapis.generation.v1.T2IAdapterParameter", + () => [ + { no: 1, name: "adapter_type", kind: "enum", T: proto3.getEnumType(T2IAdapter) }, + { no: 2, name: "adapter_strength", kind: "scalar", T: 2 /* ScalarType.FLOAT */ }, + { no: 3, name: "adapter_init_type", kind: "enum", T: proto3.getEnumType(T2IAdapterInit) }, + ], +); + +/** + * @generated from message stabilityai.platformapis.generation.v1.CAIParameters + */ +export const CAIParameters = proto3.makeMessageType( + "stabilityai.platformapis.generation.v1.CAIParameters", + () => [ + { no: 1, name: "model_metadata", kind: "enum", T: proto3.getEnumType(CAIParameters_ModelMetadata), oneof: "parameters" }, + ], +); + +/** + * @generated from enum stabilityai.platformapis.generation.v1.CAIParameters.ModelMetadata + */ +export const CAIParameters_ModelMetadata = proto3.makeEnum( + "stabilityai.platformapis.generation.v1.CAIParameters.ModelMetadata", + [ + {no: 0, name: "MODEL_METADATA_UNSPECIFIED", localName: "UNSPECIFIED"}, + {no: 1, name: "MODEL_METADATA_SIGN_WITH_ENGINE_ID", localName: "SIGN_WITH_ENGINE_ID"}, + ], +); + +/** + * FineTuningParameters specify which fine-tuned models to use for generation. + * + * @generated from message stabilityai.platformapis.generation.v1.FineTuningParameters + */ +export const FineTuningParameters = proto3.makeMessageType( + "stabilityai.platformapis.generation.v1.FineTuningParameters", + () => [ + { no: 1, name: "model_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "weight", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true }, + ], +); + /** * @generated from message stabilityai.platformapis.generation.v1.ImageParameters */ @@ -511,6 +587,9 @@ export const ImageParameters = proto3.makeMessageType( { no: 8, name: "masked_area_init", kind: "enum", T: proto3.getEnumType(MaskedAreaInit), opt: true }, { no: 9, name: "weight_method", kind: "enum", T: proto3.getEnumType(WeightMethod), opt: true }, { no: 10, name: "quantize", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, + { no: 11, name: "cai_parameters", kind: "message", T: CAIParameters, opt: true }, + { no: 12, name: "adapter", kind: "message", T: T2IAdapterParameter, opt: true }, + { no: 13, name: "fine_tuning_parameters", kind: "message", T: FineTuningParameters, repeated: true }, ], ); diff --git a/src/stability_api/platform/generation/v1/generation_pb2.py b/src/stability_api/platform/generation/v1/generation_pb2.py index 275283e..ca6ed90 100644 --- a/src/stability_api/platform/generation/v1/generation_pb2.py +++ b/src/stability_api/platform/generation/v1/generation_pb2.py @@ -15,7 +15,7 @@ from stability_api.tensors import tensors_pb2 as stability__api_dot_tensors_dot_tensors__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5stability_api/platform/generation/v1/generation.proto\x12&stabilityai.platformapis.generation.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a#stability_api/tensors/tensors.proto\"9\n\x05Token\x12\x17\n\x04text\x18\x01 \x01(\tH\x00R\x04text\x88\x01\x01\x12\x0e\n\x02id\x18\x02 \x01(\rR\x02idB\x07\n\x05_text\"\x88\x01\n\x06Tokens\x12\x45\n\x06tokens\x18\x01 \x03(\x0b\x32-.stabilityai.platformapis.generation.v1.TokenR\x06tokens\x12&\n\x0ctokenizer_id\x18\x02 \x01(\tH\x00R\x0btokenizerId\x88\x01\x01\x42\x0f\n\r_tokenizer_id\"\xd7\x04\n\x08\x41rtifact\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12H\n\x04type\x18\x02 \x01(\x0e\x32\x34.stabilityai.platformapis.generation.v1.ArtifactTypeR\x04type\x12\x12\n\x04mime\x18\x03 \x01(\tR\x04mime\x12\x19\n\x05magic\x18\x04 \x01(\tH\x01R\x05magic\x88\x01\x01\x12\x18\n\x06\x62inary\x18\x05 \x01(\x0cH\x00R\x06\x62inary\x12\x14\n\x04text\x18\x06 \x01(\tH\x00R\x04text\x12H\n\x06tokens\x18\x07 \x01(\x0b\x32..stabilityai.platformapis.generation.v1.TokensH\x00R\x06tokens\x12^\n\nclassifier\x18\x0b \x01(\x0b\x32<.stabilityai.platformapis.generation.v1.ClassifierParametersH\x00R\nclassifier\x12)\n\x06tensor\x18\x0e \x01(\x0b\x32\x0f.tensors.TensorH\x00R\x06tensor\x12\x14\n\x05index\x18\x08 \x01(\rR\x05index\x12Y\n\rfinish_reason\x18\t \x01(\x0e\x32\x34.stabilityai.platformapis.generation.v1.FinishReasonR\x0c\x66inishReason\x12\x12\n\x04seed\x18\n \x01(\rR\x04seed\x12\x12\n\x04uuid\x18\x0c \x01(\tR\x04uuid\x12\x12\n\x04size\x18\r \x01(\x04R\x04sizeB\x06\n\x04\x64\x61taB\x08\n\x06_magic\"\\\n\x10PromptParameters\x12\x17\n\x04init\x18\x01 \x01(\x08H\x00R\x04init\x88\x01\x01\x12\x1b\n\x06weight\x18\x02 \x01(\x02H\x01R\x06weight\x88\x01\x01\x42\x07\n\x05_initB\t\n\x07_weight\"\xb0\x02\n\x06Prompt\x12]\n\nparameters\x18\x01 \x01(\x0b\x32\x38.stabilityai.platformapis.generation.v1.PromptParametersH\x01R\nparameters\x88\x01\x01\x12\x14\n\x04text\x18\x02 \x01(\tH\x00R\x04text\x12H\n\x06tokens\x18\x03 \x01(\x0b\x32..stabilityai.platformapis.generation.v1.TokensH\x00R\x06tokens\x12N\n\x08\x61rtifact\x18\x04 \x01(\x0b\x32\x30.stabilityai.platformapis.generation.v1.ArtifactH\x00R\x08\x61rtifactB\x08\n\x06promptB\r\n\x0b_parameters\"\xb9\x03\n\x11SamplerParameters\x12\x15\n\x03\x65ta\x18\x01 \x01(\x02H\x00R\x03\x65ta\x88\x01\x01\x12*\n\x0esampling_steps\x18\x02 \x01(\x04H\x01R\rsamplingSteps\x88\x01\x01\x12,\n\x0flatent_channels\x18\x03 \x01(\x04H\x02R\x0elatentChannels\x88\x01\x01\x12\x34\n\x13\x64ownsampling_factor\x18\x04 \x01(\x04H\x03R\x12\x64ownsamplingFactor\x88\x01\x01\x12 \n\tcfg_scale\x18\x05 \x01(\x02H\x04R\x08\x63\x66gScale\x88\x01\x01\x12-\n\x10init_noise_scale\x18\x06 \x01(\x02H\x05R\x0einitNoiseScale\x88\x01\x01\x12-\n\x10step_noise_scale\x18\x07 \x01(\x02H\x06R\x0estepNoiseScale\x88\x01\x01\x42\x06\n\x04_etaB\x11\n\x0f_sampling_stepsB\x12\n\x10_latent_channelsB\x16\n\x14_downsampling_factorB\x0c\n\n_cfg_scaleB\x13\n\x11_init_noise_scaleB\x13\n\x11_step_noise_scale\"\xca\x01\n\x15\x43onditionerParameters\x12\x33\n\x13vector_adjust_prior\x18\x01 \x01(\tH\x00R\x11vectorAdjustPrior\x88\x01\x01\x12T\n\x0b\x63onditioner\x18\x02 \x01(\x0b\x32-.stabilityai.platformapis.generation.v1.ModelH\x01R\x0b\x63onditioner\x88\x01\x01\x42\x16\n\x14_vector_adjust_priorB\x0e\n\x0c_conditioner\"}\n\x12ScheduleParameters\x12\x19\n\x05start\x18\x01 \x01(\x02H\x00R\x05start\x88\x01\x01\x12\x15\n\x03\x65nd\x18\x02 \x01(\x02H\x01R\x03\x65nd\x88\x01\x01\x12\x19\n\x05value\x18\x03 \x01(\x02H\x02R\x05value\x88\x01\x01\x42\x08\n\x06_startB\x06\n\x04_endB\x08\n\x06_value\"\xea\x02\n\rStepParameter\x12\x1f\n\x0bscaled_step\x18\x01 \x01(\x02R\nscaledStep\x12X\n\x07sampler\x18\x02 \x01(\x0b\x32\x39.stabilityai.platformapis.generation.v1.SamplerParametersH\x00R\x07sampler\x88\x01\x01\x12[\n\x08schedule\x18\x03 \x01(\x0b\x32:.stabilityai.platformapis.generation.v1.ScheduleParametersH\x01R\x08schedule\x88\x01\x01\x12[\n\x08guidance\x18\x04 \x01(\x0b\x32:.stabilityai.platformapis.generation.v1.GuidanceParametersH\x02R\x08guidance\x88\x01\x01\x42\n\n\x08_samplerB\x0b\n\t_scheduleB\x0b\n\t_guidance\"\xf9\x01\n\x05Model\x12]\n\x0c\x61rchitecture\x18\x01 \x01(\x0e\x32\x39.stabilityai.platformapis.generation.v1.ModelArchitectureR\x0c\x61rchitecture\x12\x1c\n\tpublisher\x18\x02 \x01(\tR\tpublisher\x12\x18\n\x07\x64\x61taset\x18\x03 \x01(\tR\x07\x64\x61taset\x12\x18\n\x07version\x18\x04 \x01(\x02R\x07version\x12)\n\x10semantic_version\x18\x05 \x01(\tR\x0fsemanticVersion\x12\x14\n\x05\x61lias\x18\x06 \x01(\tR\x05\x61lias\"\x82\x02\n\x10\x43utoutParameters\x12R\n\x07\x63utouts\x18\x01 \x03(\x0b\x32\x38.stabilityai.platformapis.generation.v1.CutoutParametersR\x07\x63utouts\x12\x19\n\x05\x63ount\x18\x02 \x01(\rH\x00R\x05\x63ount\x88\x01\x01\x12\x17\n\x04gray\x18\x03 \x01(\x02H\x01R\x04gray\x88\x01\x01\x12\x17\n\x04\x62lur\x18\x04 \x01(\x02H\x02R\x04\x62lur\x88\x01\x01\x12\"\n\nsize_power\x18\x05 \x01(\x02H\x03R\tsizePower\x88\x01\x01\x42\x08\n\x06_countB\x07\n\x05_grayB\x07\n\x05_blurB\r\n\x0b_size_power\"N\n\x1aGuidanceScheduleParameters\x12\x1a\n\x08\x64uration\x18\x01 \x01(\x02R\x08\x64uration\x12\x14\n\x05value\x18\x02 \x01(\x02R\x05value\"\xc8\x03\n\x1aGuidanceInstanceParameters\x12\x45\n\x06models\x18\x02 \x03(\x0b\x32-.stabilityai.platformapis.generation.v1.ModelR\x06models\x12\x30\n\x11guidance_strength\x18\x03 \x01(\x02H\x00R\x10guidanceStrength\x88\x01\x01\x12^\n\x08schedule\x18\x04 \x03(\x0b\x32\x42.stabilityai.platformapis.generation.v1.GuidanceScheduleParametersR\x08schedule\x12W\n\x07\x63utouts\x18\x05 \x01(\x0b\x32\x38.stabilityai.platformapis.generation.v1.CutoutParametersH\x01R\x07\x63utouts\x88\x01\x01\x12K\n\x06prompt\x18\x06 \x01(\x0b\x32..stabilityai.platformapis.generation.v1.PromptH\x02R\x06prompt\x88\x01\x01\x42\x14\n\x12_guidance_strengthB\n\n\x08_cutoutsB\t\n\x07_prompt\"\xd7\x01\n\x12GuidanceParameters\x12_\n\x0fguidance_preset\x18\x01 \x01(\x0e\x32\x36.stabilityai.platformapis.generation.v1.GuidancePresetR\x0eguidancePreset\x12`\n\tinstances\x18\x02 \x03(\x0b\x32\x42.stabilityai.platformapis.generation.v1.GuidanceInstanceParametersR\tinstances\"\xc1\x01\n\rTransformType\x12X\n\tdiffusion\x18\x01 \x01(\x0e\x32\x38.stabilityai.platformapis.generation.v1.DiffusionSamplerH\x00R\tdiffusion\x12N\n\x08upscaler\x18\x02 \x01(\x0e\x32\x30.stabilityai.platformapis.generation.v1.UpscalerH\x00R\x08upscalerB\x06\n\x04type\"\x9d\x05\n\x0fImageParameters\x12\x1b\n\x06height\x18\x01 \x01(\x04H\x00R\x06height\x88\x01\x01\x12\x19\n\x05width\x18\x02 \x01(\x04H\x01R\x05width\x88\x01\x01\x12\x12\n\x04seed\x18\x03 \x03(\rR\x04seed\x12\x1d\n\x07samples\x18\x04 \x01(\x04H\x02R\x07samples\x88\x01\x01\x12\x19\n\x05steps\x18\x05 \x01(\x04H\x03R\x05steps\x88\x01\x01\x12X\n\ttransform\x18\x06 \x01(\x0b\x32\x35.stabilityai.platformapis.generation.v1.TransformTypeH\x04R\ttransform\x88\x01\x01\x12U\n\nparameters\x18\x07 \x03(\x0b\x32\x35.stabilityai.platformapis.generation.v1.StepParameterR\nparameters\x12\x65\n\x10masked_area_init\x18\x08 \x01(\x0e\x32\x36.stabilityai.platformapis.generation.v1.MaskedAreaInitH\x05R\x0emaskedAreaInit\x88\x01\x01\x12^\n\rweight_method\x18\t \x01(\x0e\x32\x34.stabilityai.platformapis.generation.v1.WeightMethodH\x06R\x0cweightMethod\x88\x01\x01\x12\x1f\n\x08quantize\x18\n \x01(\x08H\x07R\x08quantize\x88\x01\x01\x42\t\n\x07_heightB\x08\n\x06_widthB\n\n\x08_samplesB\x08\n\x06_stepsB\x0c\n\n_transformB\x13\n\x11_masked_area_initB\x10\n\x0e_weight_methodB\x0b\n\t_quantize\"^\n\x11\x43lassifierConcept\x12\x18\n\x07\x63oncept\x18\x01 \x01(\tR\x07\x63oncept\x12!\n\tthreshold\x18\x02 \x01(\x02H\x00R\tthreshold\x88\x01\x01\x42\x0c\n\n_threshold\"\x85\x03\n\x12\x43lassifierCategory\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12U\n\x08\x63oncepts\x18\x02 \x03(\x0b\x32\x39.stabilityai.platformapis.generation.v1.ClassifierConceptR\x08\x63oncepts\x12#\n\nadjustment\x18\x03 \x01(\x02H\x00R\nadjustment\x88\x01\x01\x12K\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32..stabilityai.platformapis.generation.v1.ActionH\x01R\x06\x61\x63tion\x88\x01\x01\x12\x64\n\x0f\x63lassifier_mode\x18\x05 \x01(\x0e\x32\x36.stabilityai.platformapis.generation.v1.ClassifierModeH\x02R\x0e\x63lassifierMode\x88\x01\x01\x42\r\n\x0b_adjustmentB\t\n\x07_actionB\x12\n\x10_classifier_mode\"\xba\x02\n\x14\x43lassifierParameters\x12Z\n\ncategories\x18\x01 \x03(\x0b\x32:.stabilityai.platformapis.generation.v1.ClassifierCategoryR\ncategories\x12T\n\x07\x65xceeds\x18\x02 \x03(\x0b\x32:.stabilityai.platformapis.generation.v1.ClassifierCategoryR\x07\x65xceeds\x12\\\n\x0frealized_action\x18\x03 \x01(\x0e\x32..stabilityai.platformapis.generation.v1.ActionH\x00R\x0erealizedAction\x88\x01\x01\x42\x12\n\x10_realized_action\"\x8a\x01\n\x15InterpolateParameters\x12\x16\n\x06ratios\x18\x01 \x03(\x02R\x06ratios\x12P\n\x04mode\x18\x02 \x01(\x0e\x32\x37.stabilityai.platformapis.generation.v1.InterpolateModeH\x00R\x04mode\x88\x01\x01\x42\x07\n\x05_mode\"\xbb\x04\n\x14TransformColorAdjust\x12#\n\nbrightness\x18\x01 \x01(\x02H\x00R\nbrightness\x88\x01\x01\x12\x1f\n\x08\x63ontrast\x18\x02 \x01(\x02H\x01R\x08\x63ontrast\x88\x01\x01\x12\x15\n\x03hue\x18\x03 \x01(\x02H\x02R\x03hue\x88\x01\x01\x12#\n\nsaturation\x18\x04 \x01(\x02H\x03R\nsaturation\x88\x01\x01\x12!\n\tlightness\x18\x05 \x01(\x02H\x04R\tlightness\x88\x01\x01\x12V\n\x0bmatch_image\x18\x06 \x01(\x0b\x32\x30.stabilityai.platformapis.generation.v1.ArtifactH\x05R\nmatchImage\x88\x01\x01\x12Z\n\nmatch_mode\x18\x07 \x01(\x0e\x32\x36.stabilityai.platformapis.generation.v1.ColorMatchModeH\x06R\tmatchMode\x88\x01\x01\x12&\n\x0cnoise_amount\x18\x08 \x01(\x02H\x07R\x0bnoiseAmount\x88\x01\x01\x12\"\n\nnoise_seed\x18\t \x01(\rH\x08R\tnoiseSeed\x88\x01\x01\x42\r\n\x0b_brightnessB\x0b\n\t_contrastB\x06\n\x04_hueB\r\n\x0b_saturationB\x0c\n\n_lightnessB\x0e\n\x0c_match_imageB\r\n\x0b_match_modeB\x0f\n\r_noise_amountB\r\n\x0b_noise_seed\"\xae\x01\n\x12TransformDepthCalc\x12&\n\x0c\x62lend_weight\x18\x01 \x01(\x02H\x00R\x0b\x62lendWeight\x88\x01\x01\x12$\n\x0b\x62lur_radius\x18\x02 \x01(\rH\x01R\nblurRadius\x88\x01\x01\x12\x1d\n\x07reverse\x18\x03 \x01(\x08H\x02R\x07reverse\x88\x01\x01\x42\x0f\n\r_blend_weightB\x0e\n\x0c_blur_radiusB\n\n\x08_reverse\")\n\x0fTransformMatrix\x12\x16\n\x04\x64\x61ta\x18\x01 \x03(\x02\x42\x02\x10\x01R\x04\x64\x61ta\"\xa0\x03\n\x11TransformResample\x12S\n\x0b\x62order_mode\x18\x01 \x01(\x0e\x32\x32.stabilityai.platformapis.generation.v1.BorderModeR\nborderMode\x12U\n\ttransform\x18\x02 \x01(\x0b\x32\x37.stabilityai.platformapis.generation.v1.TransformMatrixR\ttransform\x12\x63\n\x0eprev_transform\x18\x03 \x01(\x0b\x32\x37.stabilityai.platformapis.generation.v1.TransformMatrixH\x00R\rprevTransform\x88\x01\x01\x12\"\n\ndepth_warp\x18\x04 \x01(\x02H\x01R\tdepthWarp\x88\x01\x01\x12$\n\x0b\x65xport_mask\x18\x05 \x01(\x08H\x02R\nexportMask\x88\x01\x01\x42\x11\n\x0f_prev_transformB\r\n\x0b_depth_warpB\x0e\n\x0c_export_mask\"\xc2\x01\n\x10\x43\x61meraParameters\x12S\n\x0b\x63\x61mera_type\x18\x01 \x01(\x0e\x32\x32.stabilityai.platformapis.generation.v1.CameraTypeR\ncameraType\x12\x1d\n\nnear_plane\x18\x02 \x01(\x02R\tnearPlane\x12\x1b\n\tfar_plane\x18\x03 \x01(\x02R\x08\x66\x61rPlane\x12\x15\n\x03\x66ov\x18\x04 \x01(\x02H\x00R\x03\x66ov\x88\x01\x01\x42\x06\n\x04_fov\"\xf2\x02\n\x13TransformCameraPose\x12h\n\x14world_to_view_matrix\x18\x01 \x01(\x0b\x32\x37.stabilityai.platformapis.generation.v1.TransformMatrixR\x11worldToViewMatrix\x12\x65\n\x11\x63\x61mera_parameters\x18\x02 \x01(\x0b\x32\x38.stabilityai.platformapis.generation.v1.CameraParametersR\x10\x63\x61meraParameters\x12\x1d\n\ndo_prefill\x18\x05 \x01(\x08R\tdoPrefill\x12S\n\x0brender_mode\x18\x08 \x01(\x0e\x32\x32.stabilityai.platformapis.generation.v1.RenderModeR\nrenderModeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08\"\x9b\x03\n\x13TransformParameters\x12\x61\n\x0c\x63olor_adjust\x18\x02 \x01(\x0b\x32<.stabilityai.platformapis.generation.v1.TransformColorAdjustH\x00R\x0b\x63olorAdjust\x12[\n\ndepth_calc\x18\x04 \x01(\x0b\x32:.stabilityai.platformapis.generation.v1.TransformDepthCalcH\x00R\tdepthCalc\x12W\n\x08resample\x18\x05 \x01(\x0b\x32\x39.stabilityai.platformapis.generation.v1.TransformResampleH\x00R\x08resample\x12^\n\x0b\x63\x61mera_pose\x18\x06 \x01(\x0b\x32;.stabilityai.platformapis.generation.v1.TransformCameraPoseH\x00R\ncameraPoseB\x0b\n\ttransform\"\xc1\x01\n\x0f\x41ssetParameters\x12K\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x33.stabilityai.platformapis.generation.v1.AssetActionR\x06\x61\x63tion\x12\x1d\n\nproject_id\x18\x02 \x01(\tR\tprojectId\x12\x42\n\x03use\x18\x03 \x01(\x0e\x32\x30.stabilityai.platformapis.generation.v1.AssetUseR\x03use\"\xb4\x01\n\nAnswerMeta\x12\x1a\n\x06gpu_id\x18\x01 \x01(\tH\x00R\x05gpuId\x88\x01\x01\x12\x1a\n\x06\x63pu_id\x18\x02 \x01(\tH\x01R\x05\x63puId\x88\x01\x01\x12\x1c\n\x07node_id\x18\x03 \x01(\tH\x02R\x06nodeId\x88\x01\x01\x12 \n\tengine_id\x18\x04 \x01(\tH\x03R\x08\x65ngineId\x88\x01\x01\x42\t\n\x07_gpu_idB\t\n\x07_cpu_idB\n\n\x08_node_idB\x0c\n\n_engine_id\"\xa0\x02\n\x06\x41nswer\x12\x1b\n\tanswer_id\x18\x01 \x01(\tR\x08\x61nswerId\x12\x1d\n\nrequest_id\x18\x02 \x01(\tR\trequestId\x12\x1a\n\x08received\x18\x03 \x01(\x04R\x08received\x12\x18\n\x07\x63reated\x18\x04 \x01(\x04R\x07\x63reated\x12K\n\x04meta\x18\x06 \x01(\x0b\x32\x32.stabilityai.platformapis.generation.v1.AnswerMetaH\x00R\x04meta\x88\x01\x01\x12N\n\tartifacts\x18\x07 \x03(\x0b\x32\x30.stabilityai.platformapis.generation.v1.ArtifactR\tartifactsB\x07\n\x05_meta\"r\n\x0b\x41nswerBatch\x12\x19\n\x08\x62\x61tch_id\x18\x01 \x01(\tR\x07\x62\x61tchId\x12H\n\x07\x61nswers\x18\x02 \x03(\x0b\x32..stabilityai.platformapis.generation.v1.AnswerR\x07\x61nswers\"\xfa\x06\n\x07Request\x12\x1b\n\tengine_id\x18\x01 \x01(\tR\x08\x65ngineId\x12\x1d\n\nrequest_id\x18\x02 \x01(\tR\trequestId\x12[\n\x0erequested_type\x18\x03 \x01(\x0e\x32\x34.stabilityai.platformapis.generation.v1.ArtifactTypeR\rrequestedType\x12\x46\n\x06prompt\x18\x04 \x03(\x0b\x32..stabilityai.platformapis.generation.v1.PromptR\x06prompt\x12O\n\x05image\x18\x05 \x01(\x0b\x32\x37.stabilityai.platformapis.generation.v1.ImageParametersH\x00R\x05image\x12^\n\nclassifier\x18\x07 \x01(\x0b\x32<.stabilityai.platformapis.generation.v1.ClassifierParametersH\x00R\nclassifier\x12O\n\x05\x61sset\x18\x08 \x01(\x0b\x32\x37.stabilityai.platformapis.generation.v1.AssetParametersH\x00R\x05\x61sset\x12\x61\n\x0binterpolate\x18\x0b \x01(\x0b\x32=.stabilityai.platformapis.generation.v1.InterpolateParametersH\x00R\x0binterpolate\x12[\n\ttransform\x18\x0c \x01(\x0b\x32;.stabilityai.platformapis.generation.v1.TransformParametersH\x00R\ttransform\x12\x64\n\x0b\x63onditioner\x18\x06 \x01(\x0b\x32=.stabilityai.platformapis.generation.v1.ConditionerParametersH\x01R\x0b\x63onditioner\x88\x01\x01\x12\x35\n\x06\x65xtras\x18\xff\x0f \x01(\x0b\x32\x17.google.protobuf.StructH\x02R\x06\x65xtras\x88\x01\x01\x42\x08\n\x06paramsB\x0e\n\x0c_conditionerB\t\n\x07_extrasJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\xcd\x01\n\x08OnStatus\x12L\n\x06reason\x18\x01 \x03(\x0e\x32\x34.stabilityai.platformapis.generation.v1.FinishReasonR\x06reason\x12\x1b\n\x06target\x18\x02 \x01(\tH\x00R\x06target\x88\x01\x01\x12K\n\x06\x61\x63tion\x18\x03 \x03(\x0e\x32\x33.stabilityai.platformapis.generation.v1.StageActionR\x06\x61\x63tionB\t\n\x07_target\"\xb1\x01\n\x05Stage\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12I\n\x07request\x18\x02 \x01(\x0b\x32/.stabilityai.platformapis.generation.v1.RequestR\x07request\x12M\n\ton_status\x18\x03 \x03(\x0b\x32\x30.stabilityai.platformapis.generation.v1.OnStatusR\x08onStatus\"r\n\x0c\x43hainRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12\x43\n\x05stage\x18\x02 \x03(\x0b\x32-.stabilityai.platformapis.generation.v1.StageR\x05stage*E\n\x0c\x46inishReason\x12\x08\n\x04NULL\x10\x00\x12\n\n\x06LENGTH\x10\x01\x12\x08\n\x04STOP\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\n\n\x06\x46ILTER\x10\x04*\xf8\x01\n\x0c\x41rtifactType\x12\x11\n\rARTIFACT_NONE\x10\x00\x12\x12\n\x0e\x41RTIFACT_IMAGE\x10\x01\x12\x12\n\x0e\x41RTIFACT_VIDEO\x10\x02\x12\x11\n\rARTIFACT_TEXT\x10\x03\x12\x13\n\x0f\x41RTIFACT_TOKENS\x10\x04\x12\x16\n\x12\x41RTIFACT_EMBEDDING\x10\x05\x12\x1c\n\x18\x41RTIFACT_CLASSIFICATIONS\x10\x06\x12\x11\n\rARTIFACT_MASK\x10\x07\x12\x13\n\x0f\x41RTIFACT_LATENT\x10\x08\x12\x13\n\x0f\x41RTIFACT_TENSOR\x10\t\x12\x12\n\x0e\x41RTIFACT_DEPTH\x10\n*g\n\x0eMaskedAreaInit\x12\x19\n\x15MASKED_AREA_INIT_ZERO\x10\x00\x12\x1b\n\x17MASKED_AREA_INIT_RANDOM\x10\x01\x12\x1d\n\x19MASKED_AREA_INIT_ORIGINAL\x10\x02*5\n\x0cWeightMethod\x12\x10\n\x0cTEXT_ENCODER\x10\x00\x12\x13\n\x0f\x43ROSS_ATTENTION\x10\x01*\x98\x02\n\x10\x44iffusionSampler\x12\x10\n\x0cSAMPLER_DDIM\x10\x00\x12\x10\n\x0cSAMPLER_DDPM\x10\x01\x12\x13\n\x0fSAMPLER_K_EULER\x10\x02\x12\x1d\n\x19SAMPLER_K_EULER_ANCESTRAL\x10\x03\x12\x12\n\x0eSAMPLER_K_HEUN\x10\x04\x12\x13\n\x0fSAMPLER_K_DPM_2\x10\x05\x12\x1d\n\x19SAMPLER_K_DPM_2_ANCESTRAL\x10\x06\x12\x11\n\rSAMPLER_K_LMS\x10\x07\x12 \n\x1cSAMPLER_K_DPMPP_2S_ANCESTRAL\x10\x08\x12\x16\n\x12SAMPLER_K_DPMPP_2M\x10\t\x12\x17\n\x13SAMPLER_K_DPMPP_SDE\x10\n*F\n\x08Upscaler\x12\x10\n\x0cUPSCALER_RGB\x10\x00\x12\x13\n\x0fUPSCALER_GFPGAN\x10\x01\x12\x13\n\x0fUPSCALER_ESRGAN\x10\x02*\xd8\x01\n\x0eGuidancePreset\x12\x18\n\x14GUIDANCE_PRESET_NONE\x10\x00\x12\x1a\n\x16GUIDANCE_PRESET_SIMPLE\x10\x01\x12\x1d\n\x19GUIDANCE_PRESET_FAST_BLUE\x10\x02\x12\x1e\n\x1aGUIDANCE_PRESET_FAST_GREEN\x10\x03\x12\x18\n\x14GUIDANCE_PRESET_SLOW\x10\x04\x12\x1a\n\x16GUIDANCE_PRESET_SLOWER\x10\x05\x12\x1b\n\x17GUIDANCE_PRESET_SLOWEST\x10\x06*\x91\x01\n\x11ModelArchitecture\x12\x1b\n\x17MODEL_ARCHITECTURE_NONE\x10\x00\x12\x1f\n\x1bMODEL_ARCHITECTURE_CLIP_VIT\x10\x01\x12\"\n\x1eMODEL_ARCHITECTURE_CLIP_RESNET\x10\x02\x12\x1a\n\x16MODEL_ARCHITECTURE_LDM\x10\x03*\xa2\x01\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_PASSTHROUGH\x10\x00\x12\x1f\n\x1b\x41\x43TION_REGENERATE_DUPLICATE\x10\x01\x12\x15\n\x11\x41\x43TION_REGENERATE\x10\x02\x12\x1e\n\x1a\x41\x43TION_OBFUSCATE_DUPLICATE\x10\x03\x12\x14\n\x10\x41\x43TION_OBFUSCATE\x10\x04\x12\x12\n\x0e\x41\x43TION_DISCARD\x10\x05*D\n\x0e\x43lassifierMode\x12\x17\n\x13\x43LSFR_MODE_ZEROSHOT\x10\x00\x12\x19\n\x15\x43LSFR_MODE_MULTICLASS\x10\x01*\x8c\x01\n\x0fInterpolateMode\x12\x16\n\x12INTERPOLATE_LINEAR\x10\x00\x12\x14\n\x10INTERPOLATE_RIFE\x10\x01\x12\x1a\n\x16INTERPOLATE_VAE_LINEAR\x10\x02\x12\x19\n\x15INTERPOLATE_VAE_SLERP\x10\x03\x12\x14\n\x10INTERPOLATE_FILM\x10\x04*l\n\nBorderMode\x12\x12\n\x0e\x42ORDER_REFLECT\x10\x00\x12\x14\n\x10\x42ORDER_REPLICATE\x10\x01\x12\x0f\n\x0b\x42ORDER_WRAP\x10\x02\x12\x0f\n\x0b\x42ORDER_ZERO\x10\x03\x12\x12\n\x0e\x42ORDER_PREFILL\x10\x04*O\n\x0e\x43olorMatchMode\x12\x13\n\x0f\x43OLOR_MATCH_HSV\x10\x00\x12\x13\n\x0f\x43OLOR_MATCH_LAB\x10\x01\x12\x13\n\x0f\x43OLOR_MATCH_RGB\x10\x02*=\n\nCameraType\x12\x16\n\x12\x43\x41MERA_PERSPECTIVE\x10\x00\x12\x17\n\x13\x43\x41MERA_ORTHOGRAPHIC\x10\x01*4\n\nRenderMode\x12\x0f\n\x0bRENDER_MESH\x10\x00\x12\x15\n\x11RENDER_POINTCLOUD\x10\x01*=\n\x0b\x41ssetAction\x12\r\n\tASSET_PUT\x10\x00\x12\r\n\tASSET_GET\x10\x01\x12\x10\n\x0c\x41SSET_DELETE\x10\x02*\x81\x01\n\x08\x41ssetUse\x12\x17\n\x13\x41SSET_USE_UNDEFINED\x10\x00\x12\x13\n\x0f\x41SSET_USE_INPUT\x10\x01\x12\x14\n\x10\x41SSET_USE_OUTPUT\x10\x02\x12\x1a\n\x16\x41SSET_USE_INTERMEDIATE\x10\x03\x12\x15\n\x11\x41SSET_USE_PROJECT\x10\x04*W\n\x0bStageAction\x12\x15\n\x11STAGE_ACTION_PASS\x10\x00\x12\x18\n\x14STAGE_ACTION_DISCARD\x10\x01\x12\x17\n\x13STAGE_ACTION_RETURN\x10\x02\x32\xff\x01\n\x11GenerationService\x12o\n\x08Generate\x12/.stabilityai.platformapis.generation.v1.Request\x1a..stabilityai.platformapis.generation.v1.Answer\"\x00\x30\x01\x12y\n\rChainGenerate\x12\x34.stabilityai.platformapis.generation.v1.ChainRequest\x1a..stabilityai.platformapis.generation.v1.Answer\"\x00\x30\x01\x42\xdf\x02\n*com.stabilityai.platformapis.generation.v1B\x0fGenerationProtoP\x01Zegithub.com/stability-ai/api-interfaces/gen/proto/go/stability_api/platform/generation/v1;generationv1\xa2\x02\x03SPG\xaa\x02&Stabilityai.Platformapis.Generation.V1\xca\x02&Stabilityai\\Platformapis\\Generation\\V1\xe2\x02\x32Stabilityai\\Platformapis\\Generation\\V1\\GPBMetadata\xea\x02)Stabilityai::Platformapis::Generation::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5stability_api/platform/generation/v1/generation.proto\x12&stabilityai.platformapis.generation.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a#stability_api/tensors/tensors.proto\"9\n\x05Token\x12\x17\n\x04text\x18\x01 \x01(\tH\x00R\x04text\x88\x01\x01\x12\x0e\n\x02id\x18\x02 \x01(\rR\x02idB\x07\n\x05_text\"\x88\x01\n\x06Tokens\x12\x45\n\x06tokens\x18\x01 \x03(\x0b\x32-.stabilityai.platformapis.generation.v1.TokenR\x06tokens\x12&\n\x0ctokenizer_id\x18\x02 \x01(\tH\x00R\x0btokenizerId\x88\x01\x01\x42\x0f\n\r_tokenizer_id\"\xd7\x04\n\x08\x41rtifact\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12H\n\x04type\x18\x02 \x01(\x0e\x32\x34.stabilityai.platformapis.generation.v1.ArtifactTypeR\x04type\x12\x12\n\x04mime\x18\x03 \x01(\tR\x04mime\x12\x19\n\x05magic\x18\x04 \x01(\tH\x01R\x05magic\x88\x01\x01\x12\x18\n\x06\x62inary\x18\x05 \x01(\x0cH\x00R\x06\x62inary\x12\x14\n\x04text\x18\x06 \x01(\tH\x00R\x04text\x12H\n\x06tokens\x18\x07 \x01(\x0b\x32..stabilityai.platformapis.generation.v1.TokensH\x00R\x06tokens\x12^\n\nclassifier\x18\x0b \x01(\x0b\x32<.stabilityai.platformapis.generation.v1.ClassifierParametersH\x00R\nclassifier\x12)\n\x06tensor\x18\x0e \x01(\x0b\x32\x0f.tensors.TensorH\x00R\x06tensor\x12\x14\n\x05index\x18\x08 \x01(\rR\x05index\x12Y\n\rfinish_reason\x18\t \x01(\x0e\x32\x34.stabilityai.platformapis.generation.v1.FinishReasonR\x0c\x66inishReason\x12\x12\n\x04seed\x18\n \x01(\rR\x04seed\x12\x12\n\x04uuid\x18\x0c \x01(\tR\x04uuid\x12\x12\n\x04size\x18\r \x01(\x04R\x04sizeB\x06\n\x04\x64\x61taB\x08\n\x06_magic\"\\\n\x10PromptParameters\x12\x17\n\x04init\x18\x01 \x01(\x08H\x00R\x04init\x88\x01\x01\x12\x1b\n\x06weight\x18\x02 \x01(\x02H\x01R\x06weight\x88\x01\x01\x42\x07\n\x05_initB\t\n\x07_weight\"\xb0\x02\n\x06Prompt\x12]\n\nparameters\x18\x01 \x01(\x0b\x32\x38.stabilityai.platformapis.generation.v1.PromptParametersH\x01R\nparameters\x88\x01\x01\x12\x14\n\x04text\x18\x02 \x01(\tH\x00R\x04text\x12H\n\x06tokens\x18\x03 \x01(\x0b\x32..stabilityai.platformapis.generation.v1.TokensH\x00R\x06tokens\x12N\n\x08\x61rtifact\x18\x04 \x01(\x0b\x32\x30.stabilityai.platformapis.generation.v1.ArtifactH\x00R\x08\x61rtifactB\x08\n\x06promptB\r\n\x0b_parameters\"\xb9\x03\n\x11SamplerParameters\x12\x15\n\x03\x65ta\x18\x01 \x01(\x02H\x00R\x03\x65ta\x88\x01\x01\x12*\n\x0esampling_steps\x18\x02 \x01(\x04H\x01R\rsamplingSteps\x88\x01\x01\x12,\n\x0flatent_channels\x18\x03 \x01(\x04H\x02R\x0elatentChannels\x88\x01\x01\x12\x34\n\x13\x64ownsampling_factor\x18\x04 \x01(\x04H\x03R\x12\x64ownsamplingFactor\x88\x01\x01\x12 \n\tcfg_scale\x18\x05 \x01(\x02H\x04R\x08\x63\x66gScale\x88\x01\x01\x12-\n\x10init_noise_scale\x18\x06 \x01(\x02H\x05R\x0einitNoiseScale\x88\x01\x01\x12-\n\x10step_noise_scale\x18\x07 \x01(\x02H\x06R\x0estepNoiseScale\x88\x01\x01\x42\x06\n\x04_etaB\x11\n\x0f_sampling_stepsB\x12\n\x10_latent_channelsB\x16\n\x14_downsampling_factorB\x0c\n\n_cfg_scaleB\x13\n\x11_init_noise_scaleB\x13\n\x11_step_noise_scale\"\xca\x01\n\x15\x43onditionerParameters\x12\x33\n\x13vector_adjust_prior\x18\x01 \x01(\tH\x00R\x11vectorAdjustPrior\x88\x01\x01\x12T\n\x0b\x63onditioner\x18\x02 \x01(\x0b\x32-.stabilityai.platformapis.generation.v1.ModelH\x01R\x0b\x63onditioner\x88\x01\x01\x42\x16\n\x14_vector_adjust_priorB\x0e\n\x0c_conditioner\"}\n\x12ScheduleParameters\x12\x19\n\x05start\x18\x01 \x01(\x02H\x00R\x05start\x88\x01\x01\x12\x15\n\x03\x65nd\x18\x02 \x01(\x02H\x01R\x03\x65nd\x88\x01\x01\x12\x19\n\x05value\x18\x03 \x01(\x02H\x02R\x05value\x88\x01\x01\x42\x08\n\x06_startB\x06\n\x04_endB\x08\n\x06_value\"\xea\x02\n\rStepParameter\x12\x1f\n\x0bscaled_step\x18\x01 \x01(\x02R\nscaledStep\x12X\n\x07sampler\x18\x02 \x01(\x0b\x32\x39.stabilityai.platformapis.generation.v1.SamplerParametersH\x00R\x07sampler\x88\x01\x01\x12[\n\x08schedule\x18\x03 \x01(\x0b\x32:.stabilityai.platformapis.generation.v1.ScheduleParametersH\x01R\x08schedule\x88\x01\x01\x12[\n\x08guidance\x18\x04 \x01(\x0b\x32:.stabilityai.platformapis.generation.v1.GuidanceParametersH\x02R\x08guidance\x88\x01\x01\x42\n\n\x08_samplerB\x0b\n\t_scheduleB\x0b\n\t_guidance\"\xf9\x01\n\x05Model\x12]\n\x0c\x61rchitecture\x18\x01 \x01(\x0e\x32\x39.stabilityai.platformapis.generation.v1.ModelArchitectureR\x0c\x61rchitecture\x12\x1c\n\tpublisher\x18\x02 \x01(\tR\tpublisher\x12\x18\n\x07\x64\x61taset\x18\x03 \x01(\tR\x07\x64\x61taset\x12\x18\n\x07version\x18\x04 \x01(\x02R\x07version\x12)\n\x10semantic_version\x18\x05 \x01(\tR\x0fsemanticVersion\x12\x14\n\x05\x61lias\x18\x06 \x01(\tR\x05\x61lias\"\x82\x02\n\x10\x43utoutParameters\x12R\n\x07\x63utouts\x18\x01 \x03(\x0b\x32\x38.stabilityai.platformapis.generation.v1.CutoutParametersR\x07\x63utouts\x12\x19\n\x05\x63ount\x18\x02 \x01(\rH\x00R\x05\x63ount\x88\x01\x01\x12\x17\n\x04gray\x18\x03 \x01(\x02H\x01R\x04gray\x88\x01\x01\x12\x17\n\x04\x62lur\x18\x04 \x01(\x02H\x02R\x04\x62lur\x88\x01\x01\x12\"\n\nsize_power\x18\x05 \x01(\x02H\x03R\tsizePower\x88\x01\x01\x42\x08\n\x06_countB\x07\n\x05_grayB\x07\n\x05_blurB\r\n\x0b_size_power\"N\n\x1aGuidanceScheduleParameters\x12\x1a\n\x08\x64uration\x18\x01 \x01(\x02R\x08\x64uration\x12\x14\n\x05value\x18\x02 \x01(\x02R\x05value\"\xc8\x03\n\x1aGuidanceInstanceParameters\x12\x45\n\x06models\x18\x02 \x03(\x0b\x32-.stabilityai.platformapis.generation.v1.ModelR\x06models\x12\x30\n\x11guidance_strength\x18\x03 \x01(\x02H\x00R\x10guidanceStrength\x88\x01\x01\x12^\n\x08schedule\x18\x04 \x03(\x0b\x32\x42.stabilityai.platformapis.generation.v1.GuidanceScheduleParametersR\x08schedule\x12W\n\x07\x63utouts\x18\x05 \x01(\x0b\x32\x38.stabilityai.platformapis.generation.v1.CutoutParametersH\x01R\x07\x63utouts\x88\x01\x01\x12K\n\x06prompt\x18\x06 \x01(\x0b\x32..stabilityai.platformapis.generation.v1.PromptH\x02R\x06prompt\x88\x01\x01\x42\x14\n\x12_guidance_strengthB\n\n\x08_cutoutsB\t\n\x07_prompt\"\xd7\x01\n\x12GuidanceParameters\x12_\n\x0fguidance_preset\x18\x01 \x01(\x0e\x32\x36.stabilityai.platformapis.generation.v1.GuidancePresetR\x0eguidancePreset\x12`\n\tinstances\x18\x02 \x03(\x0b\x32\x42.stabilityai.platformapis.generation.v1.GuidanceInstanceParametersR\tinstances\"\xc1\x01\n\rTransformType\x12X\n\tdiffusion\x18\x01 \x01(\x0e\x32\x38.stabilityai.platformapis.generation.v1.DiffusionSamplerH\x00R\tdiffusion\x12N\n\x08upscaler\x18\x02 \x01(\x0e\x32\x30.stabilityai.platformapis.generation.v1.UpscalerH\x00R\x08upscalerB\x06\n\x04type\"\xfb\x01\n\x13T2IAdapterParameter\x12U\n\x0c\x61\x64\x61pter_type\x18\x01 \x01(\x0e\x32\x32.stabilityai.platformapis.generation.v1.T2IAdapterR\x0b\x61\x64\x61pterType\x12)\n\x10\x61\x64\x61pter_strength\x18\x02 \x01(\x02R\x0f\x61\x64\x61pterStrength\x12\x62\n\x11\x61\x64\x61pter_init_type\x18\x03 \x01(\x0e\x32\x36.stabilityai.platformapis.generation.v1.T2IAdapterInitR\x0f\x61\x64\x61pterInitType\"\xe4\x01\n\rCAIParameters\x12l\n\x0emodel_metadata\x18\x01 \x01(\x0e\x32\x43.stabilityai.platformapis.generation.v1.CAIParameters.ModelMetadataH\x00R\rmodelMetadata\"W\n\rModelMetadata\x12\x1e\n\x1aMODEL_METADATA_UNSPECIFIED\x10\x00\x12&\n\"MODEL_METADATA_SIGN_WITH_ENGINE_ID\x10\x01\x42\x0c\n\nparameters\"Y\n\x14\x46ineTuningParameters\x12\x19\n\x08model_id\x18\x01 \x01(\tR\x07modelId\x12\x1b\n\x06weight\x18\x02 \x01(\x02H\x00R\x06weight\x88\x01\x01\x42\t\n\x07_weight\"\xef\x07\n\x0fImageParameters\x12\x1b\n\x06height\x18\x01 \x01(\x04H\x00R\x06height\x88\x01\x01\x12\x19\n\x05width\x18\x02 \x01(\x04H\x01R\x05width\x88\x01\x01\x12\x12\n\x04seed\x18\x03 \x03(\rR\x04seed\x12\x1d\n\x07samples\x18\x04 \x01(\x04H\x02R\x07samples\x88\x01\x01\x12\x19\n\x05steps\x18\x05 \x01(\x04H\x03R\x05steps\x88\x01\x01\x12X\n\ttransform\x18\x06 \x01(\x0b\x32\x35.stabilityai.platformapis.generation.v1.TransformTypeH\x04R\ttransform\x88\x01\x01\x12U\n\nparameters\x18\x07 \x03(\x0b\x32\x35.stabilityai.platformapis.generation.v1.StepParameterR\nparameters\x12\x65\n\x10masked_area_init\x18\x08 \x01(\x0e\x32\x36.stabilityai.platformapis.generation.v1.MaskedAreaInitH\x05R\x0emaskedAreaInit\x88\x01\x01\x12^\n\rweight_method\x18\t \x01(\x0e\x32\x34.stabilityai.platformapis.generation.v1.WeightMethodH\x06R\x0cweightMethod\x88\x01\x01\x12\x1f\n\x08quantize\x18\n \x01(\x08H\x07R\x08quantize\x88\x01\x01\x12\x61\n\x0e\x63\x61i_parameters\x18\x0b \x01(\x0b\x32\x35.stabilityai.platformapis.generation.v1.CAIParametersH\x08R\rcaiParameters\x88\x01\x01\x12Z\n\x07\x61\x64\x61pter\x18\x0c \x01(\x0b\x32;.stabilityai.platformapis.generation.v1.T2IAdapterParameterH\tR\x07\x61\x64\x61pter\x88\x01\x01\x12r\n\x16\x66ine_tuning_parameters\x18\r \x03(\x0b\x32<.stabilityai.platformapis.generation.v1.FineTuningParametersR\x14\x66ineTuningParametersB\t\n\x07_heightB\x08\n\x06_widthB\n\n\x08_samplesB\x08\n\x06_stepsB\x0c\n\n_transformB\x13\n\x11_masked_area_initB\x10\n\x0e_weight_methodB\x0b\n\t_quantizeB\x11\n\x0f_cai_parametersB\n\n\x08_adapter\"^\n\x11\x43lassifierConcept\x12\x18\n\x07\x63oncept\x18\x01 \x01(\tR\x07\x63oncept\x12!\n\tthreshold\x18\x02 \x01(\x02H\x00R\tthreshold\x88\x01\x01\x42\x0c\n\n_threshold\"\x85\x03\n\x12\x43lassifierCategory\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12U\n\x08\x63oncepts\x18\x02 \x03(\x0b\x32\x39.stabilityai.platformapis.generation.v1.ClassifierConceptR\x08\x63oncepts\x12#\n\nadjustment\x18\x03 \x01(\x02H\x00R\nadjustment\x88\x01\x01\x12K\n\x06\x61\x63tion\x18\x04 \x01(\x0e\x32..stabilityai.platformapis.generation.v1.ActionH\x01R\x06\x61\x63tion\x88\x01\x01\x12\x64\n\x0f\x63lassifier_mode\x18\x05 \x01(\x0e\x32\x36.stabilityai.platformapis.generation.v1.ClassifierModeH\x02R\x0e\x63lassifierMode\x88\x01\x01\x42\r\n\x0b_adjustmentB\t\n\x07_actionB\x12\n\x10_classifier_mode\"\xba\x02\n\x14\x43lassifierParameters\x12Z\n\ncategories\x18\x01 \x03(\x0b\x32:.stabilityai.platformapis.generation.v1.ClassifierCategoryR\ncategories\x12T\n\x07\x65xceeds\x18\x02 \x03(\x0b\x32:.stabilityai.platformapis.generation.v1.ClassifierCategoryR\x07\x65xceeds\x12\\\n\x0frealized_action\x18\x03 \x01(\x0e\x32..stabilityai.platformapis.generation.v1.ActionH\x00R\x0erealizedAction\x88\x01\x01\x42\x12\n\x10_realized_action\"\x8a\x01\n\x15InterpolateParameters\x12\x16\n\x06ratios\x18\x01 \x03(\x02R\x06ratios\x12P\n\x04mode\x18\x02 \x01(\x0e\x32\x37.stabilityai.platformapis.generation.v1.InterpolateModeH\x00R\x04mode\x88\x01\x01\x42\x07\n\x05_mode\"\xbb\x04\n\x14TransformColorAdjust\x12#\n\nbrightness\x18\x01 \x01(\x02H\x00R\nbrightness\x88\x01\x01\x12\x1f\n\x08\x63ontrast\x18\x02 \x01(\x02H\x01R\x08\x63ontrast\x88\x01\x01\x12\x15\n\x03hue\x18\x03 \x01(\x02H\x02R\x03hue\x88\x01\x01\x12#\n\nsaturation\x18\x04 \x01(\x02H\x03R\nsaturation\x88\x01\x01\x12!\n\tlightness\x18\x05 \x01(\x02H\x04R\tlightness\x88\x01\x01\x12V\n\x0bmatch_image\x18\x06 \x01(\x0b\x32\x30.stabilityai.platformapis.generation.v1.ArtifactH\x05R\nmatchImage\x88\x01\x01\x12Z\n\nmatch_mode\x18\x07 \x01(\x0e\x32\x36.stabilityai.platformapis.generation.v1.ColorMatchModeH\x06R\tmatchMode\x88\x01\x01\x12&\n\x0cnoise_amount\x18\x08 \x01(\x02H\x07R\x0bnoiseAmount\x88\x01\x01\x12\"\n\nnoise_seed\x18\t \x01(\rH\x08R\tnoiseSeed\x88\x01\x01\x42\r\n\x0b_brightnessB\x0b\n\t_contrastB\x06\n\x04_hueB\r\n\x0b_saturationB\x0c\n\n_lightnessB\x0e\n\x0c_match_imageB\r\n\x0b_match_modeB\x0f\n\r_noise_amountB\r\n\x0b_noise_seed\"\xae\x01\n\x12TransformDepthCalc\x12&\n\x0c\x62lend_weight\x18\x01 \x01(\x02H\x00R\x0b\x62lendWeight\x88\x01\x01\x12$\n\x0b\x62lur_radius\x18\x02 \x01(\rH\x01R\nblurRadius\x88\x01\x01\x12\x1d\n\x07reverse\x18\x03 \x01(\x08H\x02R\x07reverse\x88\x01\x01\x42\x0f\n\r_blend_weightB\x0e\n\x0c_blur_radiusB\n\n\x08_reverse\")\n\x0fTransformMatrix\x12\x16\n\x04\x64\x61ta\x18\x01 \x03(\x02\x42\x02\x10\x01R\x04\x64\x61ta\"\xa0\x03\n\x11TransformResample\x12S\n\x0b\x62order_mode\x18\x01 \x01(\x0e\x32\x32.stabilityai.platformapis.generation.v1.BorderModeR\nborderMode\x12U\n\ttransform\x18\x02 \x01(\x0b\x32\x37.stabilityai.platformapis.generation.v1.TransformMatrixR\ttransform\x12\x63\n\x0eprev_transform\x18\x03 \x01(\x0b\x32\x37.stabilityai.platformapis.generation.v1.TransformMatrixH\x00R\rprevTransform\x88\x01\x01\x12\"\n\ndepth_warp\x18\x04 \x01(\x02H\x01R\tdepthWarp\x88\x01\x01\x12$\n\x0b\x65xport_mask\x18\x05 \x01(\x08H\x02R\nexportMask\x88\x01\x01\x42\x11\n\x0f_prev_transformB\r\n\x0b_depth_warpB\x0e\n\x0c_export_mask\"\xc2\x01\n\x10\x43\x61meraParameters\x12S\n\x0b\x63\x61mera_type\x18\x01 \x01(\x0e\x32\x32.stabilityai.platformapis.generation.v1.CameraTypeR\ncameraType\x12\x1d\n\nnear_plane\x18\x02 \x01(\x02R\tnearPlane\x12\x1b\n\tfar_plane\x18\x03 \x01(\x02R\x08\x66\x61rPlane\x12\x15\n\x03\x66ov\x18\x04 \x01(\x02H\x00R\x03\x66ov\x88\x01\x01\x42\x06\n\x04_fov\"\xf2\x02\n\x13TransformCameraPose\x12h\n\x14world_to_view_matrix\x18\x01 \x01(\x0b\x32\x37.stabilityai.platformapis.generation.v1.TransformMatrixR\x11worldToViewMatrix\x12\x65\n\x11\x63\x61mera_parameters\x18\x02 \x01(\x0b\x32\x38.stabilityai.platformapis.generation.v1.CameraParametersR\x10\x63\x61meraParameters\x12\x1d\n\ndo_prefill\x18\x05 \x01(\x08R\tdoPrefill\x12S\n\x0brender_mode\x18\x08 \x01(\x0e\x32\x32.stabilityai.platformapis.generation.v1.RenderModeR\nrenderModeJ\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x06\x10\x07J\x04\x08\x07\x10\x08\"\x9b\x03\n\x13TransformParameters\x12\x61\n\x0c\x63olor_adjust\x18\x02 \x01(\x0b\x32<.stabilityai.platformapis.generation.v1.TransformColorAdjustH\x00R\x0b\x63olorAdjust\x12[\n\ndepth_calc\x18\x04 \x01(\x0b\x32:.stabilityai.platformapis.generation.v1.TransformDepthCalcH\x00R\tdepthCalc\x12W\n\x08resample\x18\x05 \x01(\x0b\x32\x39.stabilityai.platformapis.generation.v1.TransformResampleH\x00R\x08resample\x12^\n\x0b\x63\x61mera_pose\x18\x06 \x01(\x0b\x32;.stabilityai.platformapis.generation.v1.TransformCameraPoseH\x00R\ncameraPoseB\x0b\n\ttransform\"\xc1\x01\n\x0f\x41ssetParameters\x12K\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x33.stabilityai.platformapis.generation.v1.AssetActionR\x06\x61\x63tion\x12\x1d\n\nproject_id\x18\x02 \x01(\tR\tprojectId\x12\x42\n\x03use\x18\x03 \x01(\x0e\x32\x30.stabilityai.platformapis.generation.v1.AssetUseR\x03use\"\xb4\x01\n\nAnswerMeta\x12\x1a\n\x06gpu_id\x18\x01 \x01(\tH\x00R\x05gpuId\x88\x01\x01\x12\x1a\n\x06\x63pu_id\x18\x02 \x01(\tH\x01R\x05\x63puId\x88\x01\x01\x12\x1c\n\x07node_id\x18\x03 \x01(\tH\x02R\x06nodeId\x88\x01\x01\x12 \n\tengine_id\x18\x04 \x01(\tH\x03R\x08\x65ngineId\x88\x01\x01\x42\t\n\x07_gpu_idB\t\n\x07_cpu_idB\n\n\x08_node_idB\x0c\n\n_engine_id\"\xa0\x02\n\x06\x41nswer\x12\x1b\n\tanswer_id\x18\x01 \x01(\tR\x08\x61nswerId\x12\x1d\n\nrequest_id\x18\x02 \x01(\tR\trequestId\x12\x1a\n\x08received\x18\x03 \x01(\x04R\x08received\x12\x18\n\x07\x63reated\x18\x04 \x01(\x04R\x07\x63reated\x12K\n\x04meta\x18\x06 \x01(\x0b\x32\x32.stabilityai.platformapis.generation.v1.AnswerMetaH\x00R\x04meta\x88\x01\x01\x12N\n\tartifacts\x18\x07 \x03(\x0b\x32\x30.stabilityai.platformapis.generation.v1.ArtifactR\tartifactsB\x07\n\x05_meta\"r\n\x0b\x41nswerBatch\x12\x19\n\x08\x62\x61tch_id\x18\x01 \x01(\tR\x07\x62\x61tchId\x12H\n\x07\x61nswers\x18\x02 \x03(\x0b\x32..stabilityai.platformapis.generation.v1.AnswerR\x07\x61nswers\"\xfa\x06\n\x07Request\x12\x1b\n\tengine_id\x18\x01 \x01(\tR\x08\x65ngineId\x12\x1d\n\nrequest_id\x18\x02 \x01(\tR\trequestId\x12[\n\x0erequested_type\x18\x03 \x01(\x0e\x32\x34.stabilityai.platformapis.generation.v1.ArtifactTypeR\rrequestedType\x12\x46\n\x06prompt\x18\x04 \x03(\x0b\x32..stabilityai.platformapis.generation.v1.PromptR\x06prompt\x12O\n\x05image\x18\x05 \x01(\x0b\x32\x37.stabilityai.platformapis.generation.v1.ImageParametersH\x00R\x05image\x12^\n\nclassifier\x18\x07 \x01(\x0b\x32<.stabilityai.platformapis.generation.v1.ClassifierParametersH\x00R\nclassifier\x12O\n\x05\x61sset\x18\x08 \x01(\x0b\x32\x37.stabilityai.platformapis.generation.v1.AssetParametersH\x00R\x05\x61sset\x12\x61\n\x0binterpolate\x18\x0b \x01(\x0b\x32=.stabilityai.platformapis.generation.v1.InterpolateParametersH\x00R\x0binterpolate\x12[\n\ttransform\x18\x0c \x01(\x0b\x32;.stabilityai.platformapis.generation.v1.TransformParametersH\x00R\ttransform\x12\x64\n\x0b\x63onditioner\x18\x06 \x01(\x0b\x32=.stabilityai.platformapis.generation.v1.ConditionerParametersH\x01R\x0b\x63onditioner\x88\x01\x01\x12\x35\n\x06\x65xtras\x18\xff\x0f \x01(\x0b\x32\x17.google.protobuf.StructH\x02R\x06\x65xtras\x88\x01\x01\x42\x08\n\x06paramsB\x0e\n\x0c_conditionerB\t\n\x07_extrasJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"\xcd\x01\n\x08OnStatus\x12L\n\x06reason\x18\x01 \x03(\x0e\x32\x34.stabilityai.platformapis.generation.v1.FinishReasonR\x06reason\x12\x1b\n\x06target\x18\x02 \x01(\tH\x00R\x06target\x88\x01\x01\x12K\n\x06\x61\x63tion\x18\x03 \x03(\x0e\x32\x33.stabilityai.platformapis.generation.v1.StageActionR\x06\x61\x63tionB\t\n\x07_target\"\xb1\x01\n\x05Stage\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12I\n\x07request\x18\x02 \x01(\x0b\x32/.stabilityai.platformapis.generation.v1.RequestR\x07request\x12M\n\ton_status\x18\x03 \x03(\x0b\x32\x30.stabilityai.platformapis.generation.v1.OnStatusR\x08onStatus\"r\n\x0c\x43hainRequest\x12\x1d\n\nrequest_id\x18\x01 \x01(\tR\trequestId\x12\x43\n\x05stage\x18\x02 \x03(\x0b\x32-.stabilityai.platformapis.generation.v1.StageR\x05stage*E\n\x0c\x46inishReason\x12\x08\n\x04NULL\x10\x00\x12\n\n\x06LENGTH\x10\x01\x12\x08\n\x04STOP\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\n\n\x06\x46ILTER\x10\x04*\xf8\x01\n\x0c\x41rtifactType\x12\x11\n\rARTIFACT_NONE\x10\x00\x12\x12\n\x0e\x41RTIFACT_IMAGE\x10\x01\x12\x12\n\x0e\x41RTIFACT_VIDEO\x10\x02\x12\x11\n\rARTIFACT_TEXT\x10\x03\x12\x13\n\x0f\x41RTIFACT_TOKENS\x10\x04\x12\x16\n\x12\x41RTIFACT_EMBEDDING\x10\x05\x12\x1c\n\x18\x41RTIFACT_CLASSIFICATIONS\x10\x06\x12\x11\n\rARTIFACT_MASK\x10\x07\x12\x13\n\x0f\x41RTIFACT_LATENT\x10\x08\x12\x13\n\x0f\x41RTIFACT_TENSOR\x10\t\x12\x12\n\x0e\x41RTIFACT_DEPTH\x10\n*g\n\x0eMaskedAreaInit\x12\x19\n\x15MASKED_AREA_INIT_ZERO\x10\x00\x12\x1b\n\x17MASKED_AREA_INIT_RANDOM\x10\x01\x12\x1d\n\x19MASKED_AREA_INIT_ORIGINAL\x10\x02*5\n\x0cWeightMethod\x12\x10\n\x0cTEXT_ENCODER\x10\x00\x12\x13\n\x0f\x43ROSS_ATTENTION\x10\x01*\x98\x02\n\x10\x44iffusionSampler\x12\x10\n\x0cSAMPLER_DDIM\x10\x00\x12\x10\n\x0cSAMPLER_DDPM\x10\x01\x12\x13\n\x0fSAMPLER_K_EULER\x10\x02\x12\x1d\n\x19SAMPLER_K_EULER_ANCESTRAL\x10\x03\x12\x12\n\x0eSAMPLER_K_HEUN\x10\x04\x12\x13\n\x0fSAMPLER_K_DPM_2\x10\x05\x12\x1d\n\x19SAMPLER_K_DPM_2_ANCESTRAL\x10\x06\x12\x11\n\rSAMPLER_K_LMS\x10\x07\x12 \n\x1cSAMPLER_K_DPMPP_2S_ANCESTRAL\x10\x08\x12\x16\n\x12SAMPLER_K_DPMPP_2M\x10\t\x12\x17\n\x13SAMPLER_K_DPMPP_SDE\x10\n*F\n\x08Upscaler\x12\x10\n\x0cUPSCALER_RGB\x10\x00\x12\x13\n\x0fUPSCALER_GFPGAN\x10\x01\x12\x13\n\x0fUPSCALER_ESRGAN\x10\x02*\xd8\x01\n\x0eGuidancePreset\x12\x18\n\x14GUIDANCE_PRESET_NONE\x10\x00\x12\x1a\n\x16GUIDANCE_PRESET_SIMPLE\x10\x01\x12\x1d\n\x19GUIDANCE_PRESET_FAST_BLUE\x10\x02\x12\x1e\n\x1aGUIDANCE_PRESET_FAST_GREEN\x10\x03\x12\x18\n\x14GUIDANCE_PRESET_SLOW\x10\x04\x12\x1a\n\x16GUIDANCE_PRESET_SLOWER\x10\x05\x12\x1b\n\x17GUIDANCE_PRESET_SLOWEST\x10\x06*\x91\x01\n\x11ModelArchitecture\x12\x1b\n\x17MODEL_ARCHITECTURE_NONE\x10\x00\x12\x1f\n\x1bMODEL_ARCHITECTURE_CLIP_VIT\x10\x01\x12\"\n\x1eMODEL_ARCHITECTURE_CLIP_RESNET\x10\x02\x12\x1a\n\x16MODEL_ARCHITECTURE_LDM\x10\x03*d\n\nT2IAdapter\x12\x13\n\x0fT2IADAPTER_NONE\x10\x00\x12\x15\n\x11T2IADAPTER_SKETCH\x10\x01\x12\x14\n\x10T2IADAPTER_DEPTH\x10\x02\x12\x14\n\x10T2IADAPTER_CANNY\x10\x03*L\n\x0eT2IAdapterInit\x12\x18\n\x14T2IADAPTERINIT_IMAGE\x10\x00\x12 \n\x1cT2IADAPTERINIT_ADAPTER_IMAGE\x10\x01*\xa2\x01\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_PASSTHROUGH\x10\x00\x12\x1f\n\x1b\x41\x43TION_REGENERATE_DUPLICATE\x10\x01\x12\x15\n\x11\x41\x43TION_REGENERATE\x10\x02\x12\x1e\n\x1a\x41\x43TION_OBFUSCATE_DUPLICATE\x10\x03\x12\x14\n\x10\x41\x43TION_OBFUSCATE\x10\x04\x12\x12\n\x0e\x41\x43TION_DISCARD\x10\x05*D\n\x0e\x43lassifierMode\x12\x17\n\x13\x43LSFR_MODE_ZEROSHOT\x10\x00\x12\x19\n\x15\x43LSFR_MODE_MULTICLASS\x10\x01*\x8c\x01\n\x0fInterpolateMode\x12\x16\n\x12INTERPOLATE_LINEAR\x10\x00\x12\x14\n\x10INTERPOLATE_RIFE\x10\x01\x12\x1a\n\x16INTERPOLATE_VAE_LINEAR\x10\x02\x12\x19\n\x15INTERPOLATE_VAE_SLERP\x10\x03\x12\x14\n\x10INTERPOLATE_FILM\x10\x04*l\n\nBorderMode\x12\x12\n\x0e\x42ORDER_REFLECT\x10\x00\x12\x14\n\x10\x42ORDER_REPLICATE\x10\x01\x12\x0f\n\x0b\x42ORDER_WRAP\x10\x02\x12\x0f\n\x0b\x42ORDER_ZERO\x10\x03\x12\x12\n\x0e\x42ORDER_PREFILL\x10\x04*O\n\x0e\x43olorMatchMode\x12\x13\n\x0f\x43OLOR_MATCH_HSV\x10\x00\x12\x13\n\x0f\x43OLOR_MATCH_LAB\x10\x01\x12\x13\n\x0f\x43OLOR_MATCH_RGB\x10\x02*=\n\nCameraType\x12\x16\n\x12\x43\x41MERA_PERSPECTIVE\x10\x00\x12\x17\n\x13\x43\x41MERA_ORTHOGRAPHIC\x10\x01*4\n\nRenderMode\x12\x0f\n\x0bRENDER_MESH\x10\x00\x12\x15\n\x11RENDER_POINTCLOUD\x10\x01*=\n\x0b\x41ssetAction\x12\r\n\tASSET_PUT\x10\x00\x12\r\n\tASSET_GET\x10\x01\x12\x10\n\x0c\x41SSET_DELETE\x10\x02*\x81\x01\n\x08\x41ssetUse\x12\x17\n\x13\x41SSET_USE_UNDEFINED\x10\x00\x12\x13\n\x0f\x41SSET_USE_INPUT\x10\x01\x12\x14\n\x10\x41SSET_USE_OUTPUT\x10\x02\x12\x1a\n\x16\x41SSET_USE_INTERMEDIATE\x10\x03\x12\x15\n\x11\x41SSET_USE_PROJECT\x10\x04*W\n\x0bStageAction\x12\x15\n\x11STAGE_ACTION_PASS\x10\x00\x12\x18\n\x14STAGE_ACTION_DISCARD\x10\x01\x12\x17\n\x13STAGE_ACTION_RETURN\x10\x02\x32\xff\x01\n\x11GenerationService\x12o\n\x08Generate\x12/.stabilityai.platformapis.generation.v1.Request\x1a..stabilityai.platformapis.generation.v1.Answer\"\x00\x30\x01\x12y\n\rChainGenerate\x12\x34.stabilityai.platformapis.generation.v1.ChainRequest\x1a..stabilityai.platformapis.generation.v1.Answer\"\x00\x30\x01\x42\xdf\x02\n*com.stabilityai.platformapis.generation.v1B\x0fGenerationProtoP\x01Zegithub.com/stability-ai/api-interfaces/gen/proto/go/stability_api/platform/generation/v1;generationv1\xa2\x02\x03SPG\xaa\x02&Stabilityai.Platformapis.Generation.V1\xca\x02&Stabilityai\\Platformapis\\Generation\\V1\xe2\x02\x32Stabilityai\\Platformapis\\Generation\\V1\\GPBMetadata\xea\x02)Stabilityai::Platformapis::Generation::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -26,42 +26,46 @@ DESCRIPTOR._serialized_options = b'\n*com.stabilityai.platformapis.generation.v1B\017GenerationProtoP\001Zegithub.com/stability-ai/api-interfaces/gen/proto/go/stability_api/platform/generation/v1;generationv1\242\002\003SPG\252\002&Stabilityai.Platformapis.Generation.V1\312\002&Stabilityai\\Platformapis\\Generation\\V1\342\0022Stabilityai\\Platformapis\\Generation\\V1\\GPBMetadata\352\002)Stabilityai::Platformapis::Generation::V1' _TRANSFORMMATRIX.fields_by_name['data']._options = None _TRANSFORMMATRIX.fields_by_name['data']._serialized_options = b'\020\001' - _globals['_FINISHREASON']._serialized_start=9970 - _globals['_FINISHREASON']._serialized_end=10039 - _globals['_ARTIFACTTYPE']._serialized_start=10042 - _globals['_ARTIFACTTYPE']._serialized_end=10290 - _globals['_MASKEDAREAINIT']._serialized_start=10292 - _globals['_MASKEDAREAINIT']._serialized_end=10395 - _globals['_WEIGHTMETHOD']._serialized_start=10397 - _globals['_WEIGHTMETHOD']._serialized_end=10450 - _globals['_DIFFUSIONSAMPLER']._serialized_start=10453 - _globals['_DIFFUSIONSAMPLER']._serialized_end=10733 - _globals['_UPSCALER']._serialized_start=10735 - _globals['_UPSCALER']._serialized_end=10805 - _globals['_GUIDANCEPRESET']._serialized_start=10808 - _globals['_GUIDANCEPRESET']._serialized_end=11024 - _globals['_MODELARCHITECTURE']._serialized_start=11027 - _globals['_MODELARCHITECTURE']._serialized_end=11172 - _globals['_ACTION']._serialized_start=11175 - _globals['_ACTION']._serialized_end=11337 - _globals['_CLASSIFIERMODE']._serialized_start=11339 - _globals['_CLASSIFIERMODE']._serialized_end=11407 - _globals['_INTERPOLATEMODE']._serialized_start=11410 - _globals['_INTERPOLATEMODE']._serialized_end=11550 - _globals['_BORDERMODE']._serialized_start=11552 - _globals['_BORDERMODE']._serialized_end=11660 - _globals['_COLORMATCHMODE']._serialized_start=11662 - _globals['_COLORMATCHMODE']._serialized_end=11741 - _globals['_CAMERATYPE']._serialized_start=11743 - _globals['_CAMERATYPE']._serialized_end=11804 - _globals['_RENDERMODE']._serialized_start=11806 - _globals['_RENDERMODE']._serialized_end=11858 - _globals['_ASSETACTION']._serialized_start=11860 - _globals['_ASSETACTION']._serialized_end=11921 - _globals['_ASSETUSE']._serialized_start=11924 - _globals['_ASSETUSE']._serialized_end=12053 - _globals['_STAGEACTION']._serialized_start=12055 - _globals['_STAGEACTION']._serialized_end=12142 + _globals['_FINISHREASON']._serialized_start=10884 + _globals['_FINISHREASON']._serialized_end=10953 + _globals['_ARTIFACTTYPE']._serialized_start=10956 + _globals['_ARTIFACTTYPE']._serialized_end=11204 + _globals['_MASKEDAREAINIT']._serialized_start=11206 + _globals['_MASKEDAREAINIT']._serialized_end=11309 + _globals['_WEIGHTMETHOD']._serialized_start=11311 + _globals['_WEIGHTMETHOD']._serialized_end=11364 + _globals['_DIFFUSIONSAMPLER']._serialized_start=11367 + _globals['_DIFFUSIONSAMPLER']._serialized_end=11647 + _globals['_UPSCALER']._serialized_start=11649 + _globals['_UPSCALER']._serialized_end=11719 + _globals['_GUIDANCEPRESET']._serialized_start=11722 + _globals['_GUIDANCEPRESET']._serialized_end=11938 + _globals['_MODELARCHITECTURE']._serialized_start=11941 + _globals['_MODELARCHITECTURE']._serialized_end=12086 + _globals['_T2IADAPTER']._serialized_start=12088 + _globals['_T2IADAPTER']._serialized_end=12188 + _globals['_T2IADAPTERINIT']._serialized_start=12190 + _globals['_T2IADAPTERINIT']._serialized_end=12266 + _globals['_ACTION']._serialized_start=12269 + _globals['_ACTION']._serialized_end=12431 + _globals['_CLASSIFIERMODE']._serialized_start=12433 + _globals['_CLASSIFIERMODE']._serialized_end=12501 + _globals['_INTERPOLATEMODE']._serialized_start=12504 + _globals['_INTERPOLATEMODE']._serialized_end=12644 + _globals['_BORDERMODE']._serialized_start=12646 + _globals['_BORDERMODE']._serialized_end=12754 + _globals['_COLORMATCHMODE']._serialized_start=12756 + _globals['_COLORMATCHMODE']._serialized_end=12835 + _globals['_CAMERATYPE']._serialized_start=12837 + _globals['_CAMERATYPE']._serialized_end=12898 + _globals['_RENDERMODE']._serialized_start=12900 + _globals['_RENDERMODE']._serialized_end=12952 + _globals['_ASSETACTION']._serialized_start=12954 + _globals['_ASSETACTION']._serialized_end=13015 + _globals['_ASSETUSE']._serialized_start=13018 + _globals['_ASSETUSE']._serialized_end=13147 + _globals['_STAGEACTION']._serialized_start=13149 + _globals['_STAGEACTION']._serialized_end=13236 _globals['_TOKEN']._serialized_start=164 _globals['_TOKEN']._serialized_end=221 _globals['_TOKENS']._serialized_start=224 @@ -92,46 +96,54 @@ _globals['_GUIDANCEPARAMETERS']._serialized_end=3774 _globals['_TRANSFORMTYPE']._serialized_start=3777 _globals['_TRANSFORMTYPE']._serialized_end=3970 - _globals['_IMAGEPARAMETERS']._serialized_start=3973 - _globals['_IMAGEPARAMETERS']._serialized_end=4642 - _globals['_CLASSIFIERCONCEPT']._serialized_start=4644 - _globals['_CLASSIFIERCONCEPT']._serialized_end=4738 - _globals['_CLASSIFIERCATEGORY']._serialized_start=4741 - _globals['_CLASSIFIERCATEGORY']._serialized_end=5130 - _globals['_CLASSIFIERPARAMETERS']._serialized_start=5133 - _globals['_CLASSIFIERPARAMETERS']._serialized_end=5447 - _globals['_INTERPOLATEPARAMETERS']._serialized_start=5450 - _globals['_INTERPOLATEPARAMETERS']._serialized_end=5588 - _globals['_TRANSFORMCOLORADJUST']._serialized_start=5591 - _globals['_TRANSFORMCOLORADJUST']._serialized_end=6162 - _globals['_TRANSFORMDEPTHCALC']._serialized_start=6165 - _globals['_TRANSFORMDEPTHCALC']._serialized_end=6339 - _globals['_TRANSFORMMATRIX']._serialized_start=6341 - _globals['_TRANSFORMMATRIX']._serialized_end=6382 - _globals['_TRANSFORMRESAMPLE']._serialized_start=6385 - _globals['_TRANSFORMRESAMPLE']._serialized_end=6801 - _globals['_CAMERAPARAMETERS']._serialized_start=6804 - _globals['_CAMERAPARAMETERS']._serialized_end=6998 - _globals['_TRANSFORMCAMERAPOSE']._serialized_start=7001 - _globals['_TRANSFORMCAMERAPOSE']._serialized_end=7371 - _globals['_TRANSFORMPARAMETERS']._serialized_start=7374 - _globals['_TRANSFORMPARAMETERS']._serialized_end=7785 - _globals['_ASSETPARAMETERS']._serialized_start=7788 - _globals['_ASSETPARAMETERS']._serialized_end=7981 - _globals['_ANSWERMETA']._serialized_start=7984 - _globals['_ANSWERMETA']._serialized_end=8164 - _globals['_ANSWER']._serialized_start=8167 - _globals['_ANSWER']._serialized_end=8455 - _globals['_ANSWERBATCH']._serialized_start=8457 - _globals['_ANSWERBATCH']._serialized_end=8571 - _globals['_REQUEST']._serialized_start=8574 - _globals['_REQUEST']._serialized_end=9464 - _globals['_ONSTATUS']._serialized_start=9467 - _globals['_ONSTATUS']._serialized_end=9672 - _globals['_STAGE']._serialized_start=9675 - _globals['_STAGE']._serialized_end=9852 - _globals['_CHAINREQUEST']._serialized_start=9854 - _globals['_CHAINREQUEST']._serialized_end=9968 - _globals['_GENERATIONSERVICE']._serialized_start=12145 - _globals['_GENERATIONSERVICE']._serialized_end=12400 + _globals['_T2IADAPTERPARAMETER']._serialized_start=3973 + _globals['_T2IADAPTERPARAMETER']._serialized_end=4224 + _globals['_CAIPARAMETERS']._serialized_start=4227 + _globals['_CAIPARAMETERS']._serialized_end=4455 + _globals['_CAIPARAMETERS_MODELMETADATA']._serialized_start=4354 + _globals['_CAIPARAMETERS_MODELMETADATA']._serialized_end=4441 + _globals['_FINETUNINGPARAMETERS']._serialized_start=4457 + _globals['_FINETUNINGPARAMETERS']._serialized_end=4546 + _globals['_IMAGEPARAMETERS']._serialized_start=4549 + _globals['_IMAGEPARAMETERS']._serialized_end=5556 + _globals['_CLASSIFIERCONCEPT']._serialized_start=5558 + _globals['_CLASSIFIERCONCEPT']._serialized_end=5652 + _globals['_CLASSIFIERCATEGORY']._serialized_start=5655 + _globals['_CLASSIFIERCATEGORY']._serialized_end=6044 + _globals['_CLASSIFIERPARAMETERS']._serialized_start=6047 + _globals['_CLASSIFIERPARAMETERS']._serialized_end=6361 + _globals['_INTERPOLATEPARAMETERS']._serialized_start=6364 + _globals['_INTERPOLATEPARAMETERS']._serialized_end=6502 + _globals['_TRANSFORMCOLORADJUST']._serialized_start=6505 + _globals['_TRANSFORMCOLORADJUST']._serialized_end=7076 + _globals['_TRANSFORMDEPTHCALC']._serialized_start=7079 + _globals['_TRANSFORMDEPTHCALC']._serialized_end=7253 + _globals['_TRANSFORMMATRIX']._serialized_start=7255 + _globals['_TRANSFORMMATRIX']._serialized_end=7296 + _globals['_TRANSFORMRESAMPLE']._serialized_start=7299 + _globals['_TRANSFORMRESAMPLE']._serialized_end=7715 + _globals['_CAMERAPARAMETERS']._serialized_start=7718 + _globals['_CAMERAPARAMETERS']._serialized_end=7912 + _globals['_TRANSFORMCAMERAPOSE']._serialized_start=7915 + _globals['_TRANSFORMCAMERAPOSE']._serialized_end=8285 + _globals['_TRANSFORMPARAMETERS']._serialized_start=8288 + _globals['_TRANSFORMPARAMETERS']._serialized_end=8699 + _globals['_ASSETPARAMETERS']._serialized_start=8702 + _globals['_ASSETPARAMETERS']._serialized_end=8895 + _globals['_ANSWERMETA']._serialized_start=8898 + _globals['_ANSWERMETA']._serialized_end=9078 + _globals['_ANSWER']._serialized_start=9081 + _globals['_ANSWER']._serialized_end=9369 + _globals['_ANSWERBATCH']._serialized_start=9371 + _globals['_ANSWERBATCH']._serialized_end=9485 + _globals['_REQUEST']._serialized_start=9488 + _globals['_REQUEST']._serialized_end=10378 + _globals['_ONSTATUS']._serialized_start=10381 + _globals['_ONSTATUS']._serialized_end=10586 + _globals['_STAGE']._serialized_start=10589 + _globals['_STAGE']._serialized_end=10766 + _globals['_CHAINREQUEST']._serialized_start=10768 + _globals['_CHAINREQUEST']._serialized_end=10882 + _globals['_GENERATIONSERVICE']._serialized_start=13239 + _globals['_GENERATIONSERVICE']._serialized_end=13494 # @@protoc_insertion_point(module_scope) diff --git a/src/stability_api/platform/generation/v1/generation_pb2.pyi b/src/stability_api/platform/generation/v1/generation_pb2.pyi index 52506e0..8f77dc9 100644 --- a/src/stability_api/platform/generation/v1/generation_pb2.pyi +++ b/src/stability_api/platform/generation/v1/generation_pb2.pyi @@ -78,6 +78,18 @@ class ModelArchitecture(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): MODEL_ARCHITECTURE_CLIP_RESNET: _ClassVar[ModelArchitecture] MODEL_ARCHITECTURE_LDM: _ClassVar[ModelArchitecture] +class T2IAdapter(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + T2IADAPTER_NONE: _ClassVar[T2IAdapter] + T2IADAPTER_SKETCH: _ClassVar[T2IAdapter] + T2IADAPTER_DEPTH: _ClassVar[T2IAdapter] + T2IADAPTER_CANNY: _ClassVar[T2IAdapter] + +class T2IAdapterInit(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + T2IADAPTERINIT_IMAGE: _ClassVar[T2IAdapterInit] + T2IADAPTERINIT_ADAPTER_IMAGE: _ClassVar[T2IAdapterInit] + class Action(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): __slots__ = [] ACTION_PASSTHROUGH: _ClassVar[Action] @@ -189,6 +201,12 @@ MODEL_ARCHITECTURE_NONE: ModelArchitecture MODEL_ARCHITECTURE_CLIP_VIT: ModelArchitecture MODEL_ARCHITECTURE_CLIP_RESNET: ModelArchitecture MODEL_ARCHITECTURE_LDM: ModelArchitecture +T2IADAPTER_NONE: T2IAdapter +T2IADAPTER_SKETCH: T2IAdapter +T2IADAPTER_DEPTH: T2IAdapter +T2IADAPTER_CANNY: T2IAdapter +T2IADAPTERINIT_IMAGE: T2IAdapterInit +T2IADAPTERINIT_ADAPTER_IMAGE: T2IAdapterInit ACTION_PASSTHROUGH: Action ACTION_REGENERATE_DUPLICATE: Action ACTION_REGENERATE: Action @@ -410,8 +428,38 @@ class TransformType(_message.Message): upscaler: Upscaler def __init__(self, diffusion: _Optional[_Union[DiffusionSampler, str]] = ..., upscaler: _Optional[_Union[Upscaler, str]] = ...) -> None: ... +class T2IAdapterParameter(_message.Message): + __slots__ = ["adapter_type", "adapter_strength", "adapter_init_type"] + ADAPTER_TYPE_FIELD_NUMBER: _ClassVar[int] + ADAPTER_STRENGTH_FIELD_NUMBER: _ClassVar[int] + ADAPTER_INIT_TYPE_FIELD_NUMBER: _ClassVar[int] + adapter_type: T2IAdapter + adapter_strength: float + adapter_init_type: T2IAdapterInit + def __init__(self, adapter_type: _Optional[_Union[T2IAdapter, str]] = ..., adapter_strength: _Optional[float] = ..., adapter_init_type: _Optional[_Union[T2IAdapterInit, str]] = ...) -> None: ... + +class CAIParameters(_message.Message): + __slots__ = ["model_metadata"] + class ModelMetadata(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + MODEL_METADATA_UNSPECIFIED: _ClassVar[CAIParameters.ModelMetadata] + MODEL_METADATA_SIGN_WITH_ENGINE_ID: _ClassVar[CAIParameters.ModelMetadata] + MODEL_METADATA_UNSPECIFIED: CAIParameters.ModelMetadata + MODEL_METADATA_SIGN_WITH_ENGINE_ID: CAIParameters.ModelMetadata + MODEL_METADATA_FIELD_NUMBER: _ClassVar[int] + model_metadata: CAIParameters.ModelMetadata + def __init__(self, model_metadata: _Optional[_Union[CAIParameters.ModelMetadata, str]] = ...) -> None: ... + +class FineTuningParameters(_message.Message): + __slots__ = ["model_id", "weight"] + MODEL_ID_FIELD_NUMBER: _ClassVar[int] + WEIGHT_FIELD_NUMBER: _ClassVar[int] + model_id: str + weight: float + def __init__(self, model_id: _Optional[str] = ..., weight: _Optional[float] = ...) -> None: ... + class ImageParameters(_message.Message): - __slots__ = ["height", "width", "seed", "samples", "steps", "transform", "parameters", "masked_area_init", "weight_method", "quantize"] + __slots__ = ["height", "width", "seed", "samples", "steps", "transform", "parameters", "masked_area_init", "weight_method", "quantize", "cai_parameters", "adapter", "fine_tuning_parameters"] HEIGHT_FIELD_NUMBER: _ClassVar[int] WIDTH_FIELD_NUMBER: _ClassVar[int] SEED_FIELD_NUMBER: _ClassVar[int] @@ -422,6 +470,9 @@ class ImageParameters(_message.Message): MASKED_AREA_INIT_FIELD_NUMBER: _ClassVar[int] WEIGHT_METHOD_FIELD_NUMBER: _ClassVar[int] QUANTIZE_FIELD_NUMBER: _ClassVar[int] + CAI_PARAMETERS_FIELD_NUMBER: _ClassVar[int] + ADAPTER_FIELD_NUMBER: _ClassVar[int] + FINE_TUNING_PARAMETERS_FIELD_NUMBER: _ClassVar[int] height: int width: int seed: _containers.RepeatedScalarFieldContainer[int] @@ -432,7 +483,10 @@ class ImageParameters(_message.Message): masked_area_init: MaskedAreaInit weight_method: WeightMethod quantize: bool - def __init__(self, height: _Optional[int] = ..., width: _Optional[int] = ..., seed: _Optional[_Iterable[int]] = ..., samples: _Optional[int] = ..., steps: _Optional[int] = ..., transform: _Optional[_Union[TransformType, _Mapping]] = ..., parameters: _Optional[_Iterable[_Union[StepParameter, _Mapping]]] = ..., masked_area_init: _Optional[_Union[MaskedAreaInit, str]] = ..., weight_method: _Optional[_Union[WeightMethod, str]] = ..., quantize: bool = ...) -> None: ... + cai_parameters: CAIParameters + adapter: T2IAdapterParameter + fine_tuning_parameters: _containers.RepeatedCompositeFieldContainer[FineTuningParameters] + def __init__(self, height: _Optional[int] = ..., width: _Optional[int] = ..., seed: _Optional[_Iterable[int]] = ..., samples: _Optional[int] = ..., steps: _Optional[int] = ..., transform: _Optional[_Union[TransformType, _Mapping]] = ..., parameters: _Optional[_Iterable[_Union[StepParameter, _Mapping]]] = ..., masked_area_init: _Optional[_Union[MaskedAreaInit, str]] = ..., weight_method: _Optional[_Union[WeightMethod, str]] = ..., quantize: bool = ..., cai_parameters: _Optional[_Union[CAIParameters, _Mapping]] = ..., adapter: _Optional[_Union[T2IAdapterParameter, _Mapping]] = ..., fine_tuning_parameters: _Optional[_Iterable[_Union[FineTuningParameters, _Mapping]]] = ...) -> None: ... class ClassifierConcept(_message.Message): __slots__ = ["concept", "threshold"] diff --git a/src/stability_api/platform/project/v1/project.pb.go b/src/stability_api/platform/project/v1/project.pb.go index 26bacb2..08244ed 100644 --- a/src/stability_api/platform/project/v1/project.pb.go +++ b/src/stability_api/platform/project/v1/project.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.31.0 // protoc (unknown) // source: stability_api/platform/project/v1/project.proto @@ -220,6 +220,53 @@ func (ProjectSortDir) EnumDescriptor() ([]byte, []int) { return file_stability_api_platform_project_v1_project_proto_rawDescGZIP(), []int{3} } +// The Type of Project being created +type ProjectType int32 + +const ( + ProjectType_PROJECT_TYPE_UNSPECIFIED ProjectType = 0 // Zero-value, unspecified + ProjectType_PROJECT_TYPE_TRAINING ProjectType = 1 // Training project, used for Fine-Tuning models +) + +// Enum value maps for ProjectType. +var ( + ProjectType_name = map[int32]string{ + 0: "PROJECT_TYPE_UNSPECIFIED", + 1: "PROJECT_TYPE_TRAINING", + } + ProjectType_value = map[string]int32{ + "PROJECT_TYPE_UNSPECIFIED": 0, + "PROJECT_TYPE_TRAINING": 1, + } +) + +func (x ProjectType) Enum() *ProjectType { + p := new(ProjectType) + *p = x + return p +} + +func (x ProjectType) String() string { + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (ProjectType) Descriptor() protoreflect.EnumDescriptor { + return file_stability_api_platform_project_v1_project_proto_enumTypes[4].Descriptor() +} + +func (ProjectType) Type() protoreflect.EnumType { + return &file_stability_api_platform_project_v1_project_proto_enumTypes[4] +} + +func (x ProjectType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use ProjectType.Descriptor instead. +func (ProjectType) EnumDescriptor() ([]byte, []int) { + return file_stability_api_platform_project_v1_project_proto_rawDescGZIP(), []int{4} +} + type ProjectAsset struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -346,6 +393,7 @@ type Project struct { CreatedAt uint64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Time of project creation (UTC seconds epoch) UpdatedAt uint64 `protobuf:"varint,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // Time of last project update (UTC seconds epoch) Assets []*ProjectAsset `protobuf:"bytes,10,rep,name=assets,proto3" json:"assets,omitempty"` // The listing of all assets associated with the project + Type ProjectType `protobuf:"varint,11,opt,name=type,proto3,enum=stabilityai.platformapis.project.v1.ProjectType" json:"type,omitempty"` // The type of project } func (x *Project) Reset() { @@ -450,6 +498,13 @@ func (x *Project) GetAssets() []*ProjectAsset { return nil } +func (x *Project) GetType() ProjectType { + if x != nil { + return x.Type + } + return ProjectType_PROJECT_TYPE_UNSPECIFIED +} + type CreateProjectRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -460,6 +515,7 @@ type CreateProjectRequest struct { Access ProjectAccess `protobuf:"varint,3,opt,name=access,proto3,enum=stabilityai.platformapis.project.v1.ProjectAccess" json:"access,omitempty"` // The access of the project (such as public vs private) Status ProjectStatus `protobuf:"varint,4,opt,name=status,proto3,enum=stabilityai.platformapis.project.v1.ProjectStatus" json:"status,omitempty"` // The status of the project (such as active vs inactive) File *ProjectAsset `protobuf:"bytes,5,opt,name=file,proto3,oneof" json:"file,omitempty"` // Project file for the project (if existing, else will create) + Type ProjectType `protobuf:"varint,6,opt,name=type,proto3,enum=stabilityai.platformapis.project.v1.ProjectType" json:"type,omitempty"` // The type of project } func (x *CreateProjectRequest) Reset() { @@ -529,6 +585,13 @@ func (x *CreateProjectRequest) GetFile() *ProjectAsset { return nil } +func (x *CreateProjectRequest) GetType() ProjectType { + if x != nil { + return x.Type + } + return ProjectType_PROJECT_TYPE_UNSPECIFIED +} + type UpdateProjectRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -540,6 +603,7 @@ type UpdateProjectRequest struct { Access *ProjectAccess `protobuf:"varint,4,opt,name=access,proto3,enum=stabilityai.platformapis.project.v1.ProjectAccess,oneof" json:"access,omitempty"` // The access of the project (such as public vs private) Status *ProjectStatus `protobuf:"varint,5,opt,name=status,proto3,enum=stabilityai.platformapis.project.v1.ProjectStatus,oneof" json:"status,omitempty"` // The status of the project (such as active vs inactive) File *ProjectAsset `protobuf:"bytes,6,opt,name=file,proto3,oneof" json:"file,omitempty"` // Project file for the project + Type *ProjectType `protobuf:"varint,7,opt,name=type,proto3,enum=stabilityai.platformapis.project.v1.ProjectType,oneof" json:"type,omitempty"` // The type of project } func (x *UpdateProjectRequest) Reset() { @@ -616,6 +680,13 @@ func (x *UpdateProjectRequest) GetFile() *ProjectAsset { return nil } +func (x *UpdateProjectRequest) GetType() ProjectType { + if x != nil && x.Type != nil { + return *x.Type + } + return ProjectType_PROJECT_TYPE_UNSPECIFIED +} + type ListProjectRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1372,7 +1443,7 @@ var file_stability_api_platform_project_v1_project_proto_rawDesc = []byte{ 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, - 0x02, 0x38, 0x01, 0x22, 0xc6, 0x03, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, + 0x02, 0x38, 0x01, 0x22, 0x8c, 0x04, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, @@ -1400,52 +1471,66 @@ var file_stability_api_platform_project_v1_project_proto_rawDesc = []byte{ 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x22, 0xc6, 0x02, 0x0a, - 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x08, 0x6f, - 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, - 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x4a, 0x0a, 0x06, 0x61, - 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, - 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, - 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, - 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, - 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, + 0x73, 0x73, 0x65, 0x74, 0x52, 0x06, 0x61, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x44, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, + 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, + 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x22, 0x8c, 0x03, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, + 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, + 0x65, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, + 0x01, 0x12, 0x4a, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, + 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x4a, 0x0a, + 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, + 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, + 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4a, 0x0a, 0x04, 0x66, 0x69, 0x6c, + 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, - 0x74, 0x75, 0x73, 0x12, 0x4a, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x48, 0x01, 0x52, 0x04, 0x66, 0x69, + 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x44, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, + 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x42, 0x0b, 0x0a, 0x09, 0x5f, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x66, 0x69, 0x6c, + 0x65, 0x22, 0xd9, 0x03, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x77, + 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, + 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x19, 0x0a, 0x05, 0x74, 0x69, + 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x05, 0x74, 0x69, 0x74, + 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x4f, 0x0a, 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, + 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x48, 0x02, 0x52, 0x06, 0x61, 0x63, 0x63, + 0x65, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x4f, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x03, 0x52, 0x06, 0x73, 0x74, + 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x4a, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, + 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x48, 0x04, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, + 0x88, 0x01, 0x01, 0x12, 0x49, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, + 0x0e, 0x32, 0x30, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x48, 0x01, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x42, - 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x42, 0x07, 0x0a, 0x05, - 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x85, 0x03, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, - 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, - 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12, 0x19, - 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, - 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x4f, 0x0a, 0x06, 0x61, 0x63, 0x63, - 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x48, 0x02, 0x52, - 0x06, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x88, 0x01, 0x01, 0x12, 0x4f, 0x0a, 0x06, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x32, 0x2e, 0x73, 0x74, 0x61, - 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, - 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x03, - 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x88, 0x01, 0x01, 0x12, 0x4a, 0x0a, 0x04, 0x66, - 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x73, 0x74, 0x61, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x41, 0x73, 0x73, 0x65, 0x74, 0x48, 0x04, 0x52, 0x04, - 0x66, 0x69, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, - 0x72, 0x5f, 0x69, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x42, 0x09, - 0x0a, 0x07, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, - 0x61, 0x74, 0x75, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x41, 0x0a, + 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, + 0x79, 0x70, 0x65, 0x48, 0x05, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0b, + 0x0a, 0x09, 0x5f, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x42, 0x08, 0x0a, 0x06, 0x5f, + 0x74, 0x69, 0x74, 0x6c, 0x65, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, + 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x07, 0x0a, 0x05, 0x5f, + 0x66, 0x69, 0x6c, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x41, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x77, 0x6e, 0x65, 0x72, 0x49, 0x64, @@ -1581,97 +1666,102 @@ var file_stability_api_platform_project_v1_project_proto_rawDesc = []byte{ 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x53, 0x4f, 0x52, 0x54, 0x5f, 0x44, 0x49, 0x52, 0x5f, 0x41, 0x53, 0x43, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x53, 0x4f, 0x52, 0x54, 0x5f, 0x44, 0x49, 0x52, 0x5f, 0x44, 0x45, 0x53, 0x43, 0x10, - 0x02, 0x32, 0xe1, 0x08, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, - 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, 0x06, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x39, - 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x61, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x06, 0x55, 0x70, 0x64, - 0x61, 0x74, 0x65, 0x12, 0x39, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, - 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, + 0x02, 0x2a, 0x46, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70, 0x65, + 0x12, 0x1c, 0x0a, 0x18, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x19, + 0x0a, 0x15, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x54, + 0x52, 0x41, 0x49, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x01, 0x32, 0xe1, 0x08, 0x0a, 0x0e, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, 0x06, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x12, 0x39, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, + 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, + 0x00, 0x12, 0x73, 0x0a, 0x06, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x39, 0x2e, 0x73, 0x74, + 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, + 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x12, 0x71, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x12, 0x71, - 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, - 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, - 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, - 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x30, - 0x01, 0x12, 0x6d, 0x0a, 0x03, 0x47, 0x65, 0x74, 0x12, 0x36, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, - 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, + 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x30, 0x01, 0x12, 0x6d, 0x0a, 0x03, 0x47, 0x65, 0x74, + 0x12, 0x36, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, - 0x12, 0x73, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x39, 0x2e, 0x73, 0x74, 0x61, + 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, + 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, + 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x12, 0x73, 0x0a, 0x06, 0x44, 0x65, 0x6c, 0x65, + 0x74, 0x65, 0x12, 0x39, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, + 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, + 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, + 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x22, 0x00, 0x12, 0x7c, 0x0a, + 0x09, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x35, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, - 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, - 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x6a, - 0x65, 0x63, 0x74, 0x22, 0x00, 0x12, 0x7c, 0x0a, 0x09, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x73, 0x12, 0x35, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, - 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, - 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x65, - 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x73, 0x74, 0x61, 0x62, - 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, - 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, - 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0b, 0x55, 0x6e, 0x74, 0x61, 0x67, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x73, 0x12, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, - 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, - 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x74, 0x61, 0x67, 0x41, - 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x73, - 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, - 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x74, 0x61, 0x67, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0b, 0x51, 0x75, 0x65, - 0x72, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, - 0x75, 0x65, 0x72, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x38, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, + 0x2e, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x36, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, - 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x73, 0x73, - 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, - 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x38, - 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, - 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, - 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x39, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, - 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, - 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xbe, 0x02, 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, + 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x67, 0x41, 0x73, 0x73, 0x65, 0x74, + 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x82, 0x01, 0x0a, 0x0b, + 0x55, 0x6e, 0x74, 0x61, 0x67, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, - 0x31, 0x42, 0x0c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, - 0x01, 0x5a, 0x56, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, - 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2d, 0x61, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x69, - 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x73, 0x74, - 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6c, 0x61, 0x74, - 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x76, 0x31, 0x3b, - 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x50, 0x50, 0xaa, - 0x02, 0x23, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x50, 0x6c, - 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x23, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, - 0x79, 0x61, 0x69, 0x5c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, - 0x5c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2f, 0x53, 0x74, - 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x5c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, - 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5c, 0x56, - 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x26, - 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x3a, 0x3a, 0x50, 0x6c, 0x61, - 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6a, 0x65, - 0x63, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x31, 0x2e, 0x55, 0x6e, 0x74, 0x61, 0x67, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, + 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, + 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x6e, 0x74, 0x61, 0x67, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, + 0x12, 0x82, 0x01, 0x0a, 0x0b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, + 0x12, 0x37, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x73, 0x73, 0x65, + 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x73, 0x74, 0x61, 0x62, + 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, + 0x51, 0x75, 0x65, 0x72, 0x79, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x85, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, + 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x12, 0x38, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, + 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, + 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, + 0x65, 0x74, 0x65, 0x41, 0x73, 0x73, 0x65, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x39, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x6a, + 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x73, 0x73, + 0x65, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xbe, 0x02, + 0x0a, 0x27, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, + 0x69, 0x2e, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x70, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x50, 0x72, 0x6f, 0x6a, 0x65, + 0x63, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x56, 0x67, 0x69, 0x74, 0x68, 0x75, + 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x2d, + 0x61, 0x69, 0x2f, 0x61, 0x70, 0x69, 0x2d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, + 0x73, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x73, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x5f, + 0x61, 0x70, 0x69, 0x2f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2f, 0x70, 0x72, 0x6f, + 0x6a, 0x65, 0x63, 0x74, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x76, + 0x31, 0xa2, 0x02, 0x03, 0x53, 0x50, 0x50, 0xaa, 0x02, 0x23, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, + 0x69, 0x74, 0x79, 0x61, 0x69, 0x2e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, + 0x69, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x23, + 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, 0x69, 0x5c, 0x50, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, + 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x2f, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x61, + 0x69, 0x5c, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, 0x73, 0x5c, 0x50, + 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, + 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x26, 0x53, 0x74, 0x61, 0x62, 0x69, 0x6c, 0x69, 0x74, + 0x79, 0x61, 0x69, 0x3a, 0x3a, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x70, 0x69, + 0x73, 0x3a, 0x3a, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1686,75 +1776,79 @@ func file_stability_api_platform_project_v1_project_proto_rawDescGZIP() []byte { return file_stability_api_platform_project_v1_project_proto_rawDescData } -var file_stability_api_platform_project_v1_project_proto_enumTypes = make([]protoimpl.EnumInfo, 4) +var file_stability_api_platform_project_v1_project_proto_enumTypes = make([]protoimpl.EnumInfo, 5) var file_stability_api_platform_project_v1_project_proto_msgTypes = make([]protoimpl.MessageInfo, 18) var file_stability_api_platform_project_v1_project_proto_goTypes = []interface{}{ (ProjectAccess)(0), // 0: stabilityai.platformapis.project.v1.ProjectAccess (ProjectStatus)(0), // 1: stabilityai.platformapis.project.v1.ProjectStatus (ProjectAssetUse)(0), // 2: stabilityai.platformapis.project.v1.ProjectAssetUse (ProjectSortDir)(0), // 3: stabilityai.platformapis.project.v1.ProjectSortDir - (*ProjectAsset)(nil), // 4: stabilityai.platformapis.project.v1.ProjectAsset - (*Project)(nil), // 5: stabilityai.platformapis.project.v1.Project - (*CreateProjectRequest)(nil), // 6: stabilityai.platformapis.project.v1.CreateProjectRequest - (*UpdateProjectRequest)(nil), // 7: stabilityai.platformapis.project.v1.UpdateProjectRequest - (*ListProjectRequest)(nil), // 8: stabilityai.platformapis.project.v1.ListProjectRequest - (*GetProjectRequest)(nil), // 9: stabilityai.platformapis.project.v1.GetProjectRequest - (*DeleteProjectRequest)(nil), // 10: stabilityai.platformapis.project.v1.DeleteProjectRequest - (*QueryAssetsRequest)(nil), // 11: stabilityai.platformapis.project.v1.QueryAssetsRequest - (*QueryAssetsResponse)(nil), // 12: stabilityai.platformapis.project.v1.QueryAssetsResponse - (*TagAssetsRequest)(nil), // 13: stabilityai.platformapis.project.v1.TagAssetsRequest - (*TagAssetsResponse)(nil), // 14: stabilityai.platformapis.project.v1.TagAssetsResponse - (*UntagAssetsRequest)(nil), // 15: stabilityai.platformapis.project.v1.UntagAssetsRequest - (*UntagAssetsResponse)(nil), // 16: stabilityai.platformapis.project.v1.UntagAssetsResponse - (*DeleteAssetsRequest)(nil), // 17: stabilityai.platformapis.project.v1.DeleteAssetsRequest - (*DeleteAssetsResponse)(nil), // 18: stabilityai.platformapis.project.v1.DeleteAssetsResponse - nil, // 19: stabilityai.platformapis.project.v1.ProjectAsset.TagsEntry - nil, // 20: stabilityai.platformapis.project.v1.QueryAssetsRequest.TagsEntry - nil, // 21: stabilityai.platformapis.project.v1.TagAssetsRequest.TagsEntry - (*v1.Request)(nil), // 22: stabilityai.platformapis.generation.v1.Request + (ProjectType)(0), // 4: stabilityai.platformapis.project.v1.ProjectType + (*ProjectAsset)(nil), // 5: stabilityai.platformapis.project.v1.ProjectAsset + (*Project)(nil), // 6: stabilityai.platformapis.project.v1.Project + (*CreateProjectRequest)(nil), // 7: stabilityai.platformapis.project.v1.CreateProjectRequest + (*UpdateProjectRequest)(nil), // 8: stabilityai.platformapis.project.v1.UpdateProjectRequest + (*ListProjectRequest)(nil), // 9: stabilityai.platformapis.project.v1.ListProjectRequest + (*GetProjectRequest)(nil), // 10: stabilityai.platformapis.project.v1.GetProjectRequest + (*DeleteProjectRequest)(nil), // 11: stabilityai.platformapis.project.v1.DeleteProjectRequest + (*QueryAssetsRequest)(nil), // 12: stabilityai.platformapis.project.v1.QueryAssetsRequest + (*QueryAssetsResponse)(nil), // 13: stabilityai.platformapis.project.v1.QueryAssetsResponse + (*TagAssetsRequest)(nil), // 14: stabilityai.platformapis.project.v1.TagAssetsRequest + (*TagAssetsResponse)(nil), // 15: stabilityai.platformapis.project.v1.TagAssetsResponse + (*UntagAssetsRequest)(nil), // 16: stabilityai.platformapis.project.v1.UntagAssetsRequest + (*UntagAssetsResponse)(nil), // 17: stabilityai.platformapis.project.v1.UntagAssetsResponse + (*DeleteAssetsRequest)(nil), // 18: stabilityai.platformapis.project.v1.DeleteAssetsRequest + (*DeleteAssetsResponse)(nil), // 19: stabilityai.platformapis.project.v1.DeleteAssetsResponse + nil, // 20: stabilityai.platformapis.project.v1.ProjectAsset.TagsEntry + nil, // 21: stabilityai.platformapis.project.v1.QueryAssetsRequest.TagsEntry + nil, // 22: stabilityai.platformapis.project.v1.TagAssetsRequest.TagsEntry + (*v1.Request)(nil), // 23: stabilityai.platformapis.generation.v1.Request } var file_stability_api_platform_project_v1_project_proto_depIdxs = []int32{ 2, // 0: stabilityai.platformapis.project.v1.ProjectAsset.use:type_name -> stabilityai.platformapis.project.v1.ProjectAssetUse - 22, // 1: stabilityai.platformapis.project.v1.ProjectAsset.request:type_name -> stabilityai.platformapis.generation.v1.Request - 19, // 2: stabilityai.platformapis.project.v1.ProjectAsset.tags:type_name -> stabilityai.platformapis.project.v1.ProjectAsset.TagsEntry + 23, // 1: stabilityai.platformapis.project.v1.ProjectAsset.request:type_name -> stabilityai.platformapis.generation.v1.Request + 20, // 2: stabilityai.platformapis.project.v1.ProjectAsset.tags:type_name -> stabilityai.platformapis.project.v1.ProjectAsset.TagsEntry 0, // 3: stabilityai.platformapis.project.v1.Project.access:type_name -> stabilityai.platformapis.project.v1.ProjectAccess 1, // 4: stabilityai.platformapis.project.v1.Project.status:type_name -> stabilityai.platformapis.project.v1.ProjectStatus - 4, // 5: stabilityai.platformapis.project.v1.Project.file:type_name -> stabilityai.platformapis.project.v1.ProjectAsset - 4, // 6: stabilityai.platformapis.project.v1.Project.assets:type_name -> stabilityai.platformapis.project.v1.ProjectAsset - 0, // 7: stabilityai.platformapis.project.v1.CreateProjectRequest.access:type_name -> stabilityai.platformapis.project.v1.ProjectAccess - 1, // 8: stabilityai.platformapis.project.v1.CreateProjectRequest.status:type_name -> stabilityai.platformapis.project.v1.ProjectStatus - 4, // 9: stabilityai.platformapis.project.v1.CreateProjectRequest.file:type_name -> stabilityai.platformapis.project.v1.ProjectAsset - 0, // 10: stabilityai.platformapis.project.v1.UpdateProjectRequest.access:type_name -> stabilityai.platformapis.project.v1.ProjectAccess - 1, // 11: stabilityai.platformapis.project.v1.UpdateProjectRequest.status:type_name -> stabilityai.platformapis.project.v1.ProjectStatus - 4, // 12: stabilityai.platformapis.project.v1.UpdateProjectRequest.file:type_name -> stabilityai.platformapis.project.v1.ProjectAsset - 2, // 13: stabilityai.platformapis.project.v1.QueryAssetsRequest.use:type_name -> stabilityai.platformapis.project.v1.ProjectAssetUse - 3, // 14: stabilityai.platformapis.project.v1.QueryAssetsRequest.sort_dir:type_name -> stabilityai.platformapis.project.v1.ProjectSortDir - 20, // 15: stabilityai.platformapis.project.v1.QueryAssetsRequest.tags:type_name -> stabilityai.platformapis.project.v1.QueryAssetsRequest.TagsEntry - 4, // 16: stabilityai.platformapis.project.v1.QueryAssetsResponse.assets:type_name -> stabilityai.platformapis.project.v1.ProjectAsset - 21, // 17: stabilityai.platformapis.project.v1.TagAssetsRequest.tags:type_name -> stabilityai.platformapis.project.v1.TagAssetsRequest.TagsEntry - 6, // 18: stabilityai.platformapis.project.v1.ProjectService.Create:input_type -> stabilityai.platformapis.project.v1.CreateProjectRequest - 7, // 19: stabilityai.platformapis.project.v1.ProjectService.Update:input_type -> stabilityai.platformapis.project.v1.UpdateProjectRequest - 8, // 20: stabilityai.platformapis.project.v1.ProjectService.List:input_type -> stabilityai.platformapis.project.v1.ListProjectRequest - 9, // 21: stabilityai.platformapis.project.v1.ProjectService.Get:input_type -> stabilityai.platformapis.project.v1.GetProjectRequest - 10, // 22: stabilityai.platformapis.project.v1.ProjectService.Delete:input_type -> stabilityai.platformapis.project.v1.DeleteProjectRequest - 13, // 23: stabilityai.platformapis.project.v1.ProjectService.TagAssets:input_type -> stabilityai.platformapis.project.v1.TagAssetsRequest - 15, // 24: stabilityai.platformapis.project.v1.ProjectService.UntagAssets:input_type -> stabilityai.platformapis.project.v1.UntagAssetsRequest - 11, // 25: stabilityai.platformapis.project.v1.ProjectService.QueryAssets:input_type -> stabilityai.platformapis.project.v1.QueryAssetsRequest - 17, // 26: stabilityai.platformapis.project.v1.ProjectService.DeleteAssets:input_type -> stabilityai.platformapis.project.v1.DeleteAssetsRequest - 5, // 27: stabilityai.platformapis.project.v1.ProjectService.Create:output_type -> stabilityai.platformapis.project.v1.Project - 5, // 28: stabilityai.platformapis.project.v1.ProjectService.Update:output_type -> stabilityai.platformapis.project.v1.Project - 5, // 29: stabilityai.platformapis.project.v1.ProjectService.List:output_type -> stabilityai.platformapis.project.v1.Project - 5, // 30: stabilityai.platformapis.project.v1.ProjectService.Get:output_type -> stabilityai.platformapis.project.v1.Project - 5, // 31: stabilityai.platformapis.project.v1.ProjectService.Delete:output_type -> stabilityai.platformapis.project.v1.Project - 14, // 32: stabilityai.platformapis.project.v1.ProjectService.TagAssets:output_type -> stabilityai.platformapis.project.v1.TagAssetsResponse - 16, // 33: stabilityai.platformapis.project.v1.ProjectService.UntagAssets:output_type -> stabilityai.platformapis.project.v1.UntagAssetsResponse - 12, // 34: stabilityai.platformapis.project.v1.ProjectService.QueryAssets:output_type -> stabilityai.platformapis.project.v1.QueryAssetsResponse - 18, // 35: stabilityai.platformapis.project.v1.ProjectService.DeleteAssets:output_type -> stabilityai.platformapis.project.v1.DeleteAssetsResponse - 27, // [27:36] is the sub-list for method output_type - 18, // [18:27] is the sub-list for method input_type - 18, // [18:18] is the sub-list for extension type_name - 18, // [18:18] is the sub-list for extension extendee - 0, // [0:18] is the sub-list for field type_name + 5, // 5: stabilityai.platformapis.project.v1.Project.file:type_name -> stabilityai.platformapis.project.v1.ProjectAsset + 5, // 6: stabilityai.platformapis.project.v1.Project.assets:type_name -> stabilityai.platformapis.project.v1.ProjectAsset + 4, // 7: stabilityai.platformapis.project.v1.Project.type:type_name -> stabilityai.platformapis.project.v1.ProjectType + 0, // 8: stabilityai.platformapis.project.v1.CreateProjectRequest.access:type_name -> stabilityai.platformapis.project.v1.ProjectAccess + 1, // 9: stabilityai.platformapis.project.v1.CreateProjectRequest.status:type_name -> stabilityai.platformapis.project.v1.ProjectStatus + 5, // 10: stabilityai.platformapis.project.v1.CreateProjectRequest.file:type_name -> stabilityai.platformapis.project.v1.ProjectAsset + 4, // 11: stabilityai.platformapis.project.v1.CreateProjectRequest.type:type_name -> stabilityai.platformapis.project.v1.ProjectType + 0, // 12: stabilityai.platformapis.project.v1.UpdateProjectRequest.access:type_name -> stabilityai.platformapis.project.v1.ProjectAccess + 1, // 13: stabilityai.platformapis.project.v1.UpdateProjectRequest.status:type_name -> stabilityai.platformapis.project.v1.ProjectStatus + 5, // 14: stabilityai.platformapis.project.v1.UpdateProjectRequest.file:type_name -> stabilityai.platformapis.project.v1.ProjectAsset + 4, // 15: stabilityai.platformapis.project.v1.UpdateProjectRequest.type:type_name -> stabilityai.platformapis.project.v1.ProjectType + 2, // 16: stabilityai.platformapis.project.v1.QueryAssetsRequest.use:type_name -> stabilityai.platformapis.project.v1.ProjectAssetUse + 3, // 17: stabilityai.platformapis.project.v1.QueryAssetsRequest.sort_dir:type_name -> stabilityai.platformapis.project.v1.ProjectSortDir + 21, // 18: stabilityai.platformapis.project.v1.QueryAssetsRequest.tags:type_name -> stabilityai.platformapis.project.v1.QueryAssetsRequest.TagsEntry + 5, // 19: stabilityai.platformapis.project.v1.QueryAssetsResponse.assets:type_name -> stabilityai.platformapis.project.v1.ProjectAsset + 22, // 20: stabilityai.platformapis.project.v1.TagAssetsRequest.tags:type_name -> stabilityai.platformapis.project.v1.TagAssetsRequest.TagsEntry + 7, // 21: stabilityai.platformapis.project.v1.ProjectService.Create:input_type -> stabilityai.platformapis.project.v1.CreateProjectRequest + 8, // 22: stabilityai.platformapis.project.v1.ProjectService.Update:input_type -> stabilityai.platformapis.project.v1.UpdateProjectRequest + 9, // 23: stabilityai.platformapis.project.v1.ProjectService.List:input_type -> stabilityai.platformapis.project.v1.ListProjectRequest + 10, // 24: stabilityai.platformapis.project.v1.ProjectService.Get:input_type -> stabilityai.platformapis.project.v1.GetProjectRequest + 11, // 25: stabilityai.platformapis.project.v1.ProjectService.Delete:input_type -> stabilityai.platformapis.project.v1.DeleteProjectRequest + 14, // 26: stabilityai.platformapis.project.v1.ProjectService.TagAssets:input_type -> stabilityai.platformapis.project.v1.TagAssetsRequest + 16, // 27: stabilityai.platformapis.project.v1.ProjectService.UntagAssets:input_type -> stabilityai.platformapis.project.v1.UntagAssetsRequest + 12, // 28: stabilityai.platformapis.project.v1.ProjectService.QueryAssets:input_type -> stabilityai.platformapis.project.v1.QueryAssetsRequest + 18, // 29: stabilityai.platformapis.project.v1.ProjectService.DeleteAssets:input_type -> stabilityai.platformapis.project.v1.DeleteAssetsRequest + 6, // 30: stabilityai.platformapis.project.v1.ProjectService.Create:output_type -> stabilityai.platformapis.project.v1.Project + 6, // 31: stabilityai.platformapis.project.v1.ProjectService.Update:output_type -> stabilityai.platformapis.project.v1.Project + 6, // 32: stabilityai.platformapis.project.v1.ProjectService.List:output_type -> stabilityai.platformapis.project.v1.Project + 6, // 33: stabilityai.platformapis.project.v1.ProjectService.Get:output_type -> stabilityai.platformapis.project.v1.Project + 6, // 34: stabilityai.platformapis.project.v1.ProjectService.Delete:output_type -> stabilityai.platformapis.project.v1.Project + 15, // 35: stabilityai.platformapis.project.v1.ProjectService.TagAssets:output_type -> stabilityai.platformapis.project.v1.TagAssetsResponse + 17, // 36: stabilityai.platformapis.project.v1.ProjectService.UntagAssets:output_type -> stabilityai.platformapis.project.v1.UntagAssetsResponse + 13, // 37: stabilityai.platformapis.project.v1.ProjectService.QueryAssets:output_type -> stabilityai.platformapis.project.v1.QueryAssetsResponse + 19, // 38: stabilityai.platformapis.project.v1.ProjectService.DeleteAssets:output_type -> stabilityai.platformapis.project.v1.DeleteAssetsResponse + 30, // [30:39] is the sub-list for method output_type + 21, // [21:30] is the sub-list for method input_type + 21, // [21:21] is the sub-list for extension type_name + 21, // [21:21] is the sub-list for extension extendee + 0, // [0:21] is the sub-list for field type_name } func init() { file_stability_api_platform_project_v1_project_proto_init() } @@ -1959,7 +2053,7 @@ func file_stability_api_platform_project_v1_project_proto_init() { File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_stability_api_platform_project_v1_project_proto_rawDesc, - NumEnums: 4, + NumEnums: 5, NumMessages: 18, NumExtensions: 0, NumServices: 1, diff --git a/src/stability_api/platform/project/v1/project_pb.d.ts b/src/stability_api/platform/project/v1/project_pb.d.ts index 87be729..6b529a9 100644 --- a/src/stability_api/platform/project/v1/project_pb.d.ts +++ b/src/stability_api/platform/project/v1/project_pb.d.ts @@ -118,6 +118,27 @@ export declare enum ProjectSortDir { DESC = 2, } +/** + * The Type of Project being created + * + * @generated from enum stabilityai.platformapis.project.v1.ProjectType + */ +export declare enum ProjectType { + /** + * Zero-value, unspecified + * + * @generated from enum value: PROJECT_TYPE_UNSPECIFIED = 0; + */ + UNSPECIFIED = 0, + + /** + * Training project, used for Fine-Tuning models + * + * @generated from enum value: PROJECT_TYPE_TRAINING = 1; + */ + TRAINING = 1, +} + /** * @generated from message stabilityai.platformapis.project.v1.ProjectAsset */ @@ -274,6 +295,13 @@ export declare class Project extends Message { */ assets: ProjectAsset[]; + /** + * The type of project + * + * @generated from field: stabilityai.platformapis.project.v1.ProjectType type = 11; + */ + type: ProjectType; + constructor(data?: PartialMessage); static readonly runtime: typeof proto3; @@ -328,6 +356,13 @@ export declare class CreateProjectRequest extends Message */ file?: ProjectAsset; + /** + * The type of project + * + * @generated from field: stabilityai.platformapis.project.v1.ProjectType type = 6; + */ + type: ProjectType; + constructor(data?: PartialMessage); static readonly runtime: typeof proto3; @@ -389,6 +424,13 @@ export declare class UpdateProjectRequest extends Message */ file?: ProjectAsset; + /** + * The type of project + * + * @generated from field: optional stabilityai.platformapis.project.v1.ProjectType type = 7; + */ + type?: ProjectType; + constructor(data?: PartialMessage); static readonly runtime: typeof proto3; diff --git a/src/stability_api/platform/project/v1/project_pb.js b/src/stability_api/platform/project/v1/project_pb.js index ffe14b4..1f85ec2 100644 --- a/src/stability_api/platform/project/v1/project_pb.js +++ b/src/stability_api/platform/project/v1/project_pb.js @@ -55,6 +55,19 @@ export const ProjectSortDir = proto3.makeEnum( ], ); +/** + * The Type of Project being created + * + * @generated from enum stabilityai.platformapis.project.v1.ProjectType + */ +export const ProjectType = proto3.makeEnum( + "stabilityai.platformapis.project.v1.ProjectType", + [ + {no: 0, name: "PROJECT_TYPE_UNSPECIFIED", localName: "UNSPECIFIED"}, + {no: 1, name: "PROJECT_TYPE_TRAINING", localName: "TRAINING"}, + ], +); + /** * @generated from message stabilityai.platformapis.project.v1.ProjectAsset */ @@ -89,6 +102,7 @@ export const Project = proto3.makeMessageType( { no: 8, name: "created_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 9, name: "updated_at", kind: "scalar", T: 4 /* ScalarType.UINT64 */ }, { no: 10, name: "assets", kind: "message", T: ProjectAsset, repeated: true }, + { no: 11, name: "type", kind: "enum", T: proto3.getEnumType(ProjectType) }, ], ); @@ -103,6 +117,7 @@ export const CreateProjectRequest = proto3.makeMessageType( { no: 3, name: "access", kind: "enum", T: proto3.getEnumType(ProjectAccess) }, { no: 4, name: "status", kind: "enum", T: proto3.getEnumType(ProjectStatus) }, { no: 5, name: "file", kind: "message", T: ProjectAsset, opt: true }, + { no: 6, name: "type", kind: "enum", T: proto3.getEnumType(ProjectType) }, ], ); @@ -118,6 +133,7 @@ export const UpdateProjectRequest = proto3.makeMessageType( { no: 4, name: "access", kind: "enum", T: proto3.getEnumType(ProjectAccess), opt: true }, { no: 5, name: "status", kind: "enum", T: proto3.getEnumType(ProjectStatus), opt: true }, { no: 6, name: "file", kind: "message", T: ProjectAsset, opt: true }, + { no: 7, name: "type", kind: "enum", T: proto3.getEnumType(ProjectType), opt: true }, ], ); diff --git a/src/stability_api/platform/project/v1/project_pb2.py b/src/stability_api/platform/project/v1/project_pb2.py index ab85964..979e82d 100644 --- a/src/stability_api/platform/project/v1/project_pb2.py +++ b/src/stability_api/platform/project/v1/project_pb2.py @@ -14,7 +14,7 @@ from stability_api.platform.generation.v1 import generation_pb2 as stability__api_dot_platform_dot_generation_dot_v1_dot_generation__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/stability_api/platform/project/v1/project.proto\x12#stabilityai.platformapis.project.v1\x1a\x35stability_api/platform/generation/v1/generation.proto\"\xb3\x03\n\x0cProjectAsset\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03uri\x18\x02 \x01(\tR\x03uri\x12\x46\n\x03use\x18\x03 \x01(\x0e\x32\x34.stabilityai.platformapis.project.v1.ProjectAssetUseR\x03use\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x12\n\x04size\x18\x05 \x01(\x04R\x04size\x12\x1d\n\ncreated_at\x18\x06 \x01(\x04R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x07 \x01(\x04R\tupdatedAt\x12I\n\x07request\x18\x08 \x01(\x0b\x32/.stabilityai.platformapis.generation.v1.RequestR\x07request\x12O\n\x04tags\x18\t \x03(\x0b\x32;.stabilityai.platformapis.project.v1.ProjectAsset.TagsEntryR\x04tags\x1a\x37\n\tTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\xc6\x03\n\x07Project\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12\x19\n\x08owner_id\x18\x03 \x01(\tR\x07ownerId\x12J\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectAccessR\x06\x61\x63\x63\x65ss\x12J\n\x06status\x18\x05 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectStatusR\x06status\x12\x12\n\x04size\x18\x06 \x01(\x04R\x04size\x12\x45\n\x04\x66ile\x18\x07 \x01(\x0b\x32\x31.stabilityai.platformapis.project.v1.ProjectAssetR\x04\x66ile\x12\x1d\n\ncreated_at\x18\x08 \x01(\x04R\tcreatedAt\x12\x1d\n\nupdated_at\x18\t \x01(\x04R\tupdatedAt\x12I\n\x06\x61ssets\x18\n \x03(\x0b\x32\x31.stabilityai.platformapis.project.v1.ProjectAssetR\x06\x61ssets\"\xc6\x02\n\x14\x43reateProjectRequest\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12J\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectAccessR\x06\x61\x63\x63\x65ss\x12J\n\x06status\x18\x04 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectStatusR\x06status\x12J\n\x04\x66ile\x18\x05 \x01(\x0b\x32\x31.stabilityai.platformapis.project.v1.ProjectAssetH\x01R\x04\x66ile\x88\x01\x01\x42\x0b\n\t_owner_idB\x07\n\x05_file\"\x85\x03\n\x14UpdateProjectRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x19\n\x05title\x18\x03 \x01(\tH\x01R\x05title\x88\x01\x01\x12O\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectAccessH\x02R\x06\x61\x63\x63\x65ss\x88\x01\x01\x12O\n\x06status\x18\x05 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectStatusH\x03R\x06status\x88\x01\x01\x12J\n\x04\x66ile\x18\x06 \x01(\x0b\x32\x31.stabilityai.platformapis.project.v1.ProjectAssetH\x04R\x04\x66ile\x88\x01\x01\x42\x0b\n\t_owner_idB\x08\n\x06_titleB\t\n\x07_accessB\t\n\x07_statusB\x07\n\x05_file\"A\n\x12ListProjectRequest\x12\x1e\n\x08owner_id\x18\x01 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x42\x0b\n\t_owner_id\"P\n\x11GetProjectRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x42\x0b\n\t_owner_id\"S\n\x14\x44\x65leteProjectRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x42\x0b\n\t_owner_id\"\x98\x04\n\x12QueryAssetsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x19\n\x05since\x18\x03 \x01(\x04H\x01R\x05since\x88\x01\x01\x12\x19\n\x05until\x18\x04 \x01(\x04H\x02R\x05until\x88\x01\x01\x12\x19\n\x05limit\x18\x05 \x01(\x04H\x03R\x05limit\x88\x01\x01\x12 \n\tstart_key\x18\x06 \x01(\tH\x04R\x08startKey\x88\x01\x01\x12\x46\n\x03use\x18\x07 \x03(\x0e\x32\x34.stabilityai.platformapis.project.v1.ProjectAssetUseR\x03use\x12N\n\x08sort_dir\x18\x08 \x01(\x0e\x32\x33.stabilityai.platformapis.project.v1.ProjectSortDirR\x07sortDir\x12U\n\x04tags\x18\t \x03(\x0b\x32\x41.stabilityai.platformapis.project.v1.QueryAssetsRequest.TagsEntryR\x04tags\x1a\x37\n\tTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0b\n\t_owner_idB\x08\n\x06_sinceB\x08\n\x06_untilB\x08\n\x06_limitB\x0c\n\n_start_key\"\x8d\x01\n\x13QueryAssetsResponse\x12I\n\x06\x61ssets\x18\x01 \x03(\x0b\x32\x31.stabilityai.platformapis.project.v1.ProjectAssetR\x06\x61ssets\x12\x1e\n\x08last_key\x18\x02 \x01(\tH\x00R\x07lastKey\x88\x01\x01\x42\x0b\n\t_last_key\"\xfa\x01\n\x10TagAssetsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIds\x12S\n\x04tags\x18\x04 \x03(\x0b\x32?.stabilityai.platformapis.project.v1.TagAssetsRequest.TagsEntryR\x04tags\x1a\x37\n\tTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0b\n\t_owner_id\"[\n\x11TagAssetsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIds\"\x89\x01\n\x12UntagAssetsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIds\x12\x19\n\x08tag_keys\x18\x04 \x03(\tR\x07tagKeysB\x0b\n\t_owner_id\"]\n\x13UntagAssetsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIds\"o\n\x13\x44\x65leteAssetsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIdsB\x0b\n\t_owner_id\"^\n\x14\x44\x65leteAssetsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIds*F\n\rProjectAccess\x12\x1a\n\x16PROJECT_ACCESS_PRIVATE\x10\x00\x12\x19\n\x15PROJECT_ACCESS_PUBLIC\x10\x01*c\n\rProjectStatus\x12\x1b\n\x17PROJECT_STATUS_INACTIVE\x10\x00\x12\x19\n\x15PROJECT_STATUS_ACTIVE\x10\x01\x12\x1a\n\x16PROJECT_STATUS_DELETED\x10\x02*\xb0\x01\n\x0fProjectAssetUse\x12\x1f\n\x1bPROJECT_ASSET_USE_UNDEFINED\x10\x00\x12\x1b\n\x17PROJECT_ASSET_USE_INPUT\x10\x01\x12\x1c\n\x18PROJECT_ASSET_USE_OUTPUT\x10\x02\x12\"\n\x1ePROJECT_ASSET_USE_INTERMEDIATE\x10\x03\x12\x1d\n\x19PROJECT_ASSET_USE_PROJECT\x10\x04*g\n\x0eProjectSortDir\x12 \n\x1cPROJECT_SORT_DIR_UNSPECIFIED\x10\x00\x12\x18\n\x14PROJECT_SORT_DIR_ASC\x10\x01\x12\x19\n\x15PROJECT_SORT_DIR_DESC\x10\x02\x32\xe1\x08\n\x0eProjectService\x12s\n\x06\x43reate\x12\x39.stabilityai.platformapis.project.v1.CreateProjectRequest\x1a,.stabilityai.platformapis.project.v1.Project\"\x00\x12s\n\x06Update\x12\x39.stabilityai.platformapis.project.v1.UpdateProjectRequest\x1a,.stabilityai.platformapis.project.v1.Project\"\x00\x12q\n\x04List\x12\x37.stabilityai.platformapis.project.v1.ListProjectRequest\x1a,.stabilityai.platformapis.project.v1.Project\"\x00\x30\x01\x12m\n\x03Get\x12\x36.stabilityai.platformapis.project.v1.GetProjectRequest\x1a,.stabilityai.platformapis.project.v1.Project\"\x00\x12s\n\x06\x44\x65lete\x12\x39.stabilityai.platformapis.project.v1.DeleteProjectRequest\x1a,.stabilityai.platformapis.project.v1.Project\"\x00\x12|\n\tTagAssets\x12\x35.stabilityai.platformapis.project.v1.TagAssetsRequest\x1a\x36.stabilityai.platformapis.project.v1.TagAssetsResponse\"\x00\x12\x82\x01\n\x0bUntagAssets\x12\x37.stabilityai.platformapis.project.v1.UntagAssetsRequest\x1a\x38.stabilityai.platformapis.project.v1.UntagAssetsResponse\"\x00\x12\x82\x01\n\x0bQueryAssets\x12\x37.stabilityai.platformapis.project.v1.QueryAssetsRequest\x1a\x38.stabilityai.platformapis.project.v1.QueryAssetsResponse\"\x00\x12\x85\x01\n\x0c\x44\x65leteAssets\x12\x38.stabilityai.platformapis.project.v1.DeleteAssetsRequest\x1a\x39.stabilityai.platformapis.project.v1.DeleteAssetsResponse\"\x00\x42\xc7\x02\n\'com.stabilityai.platformapis.project.v1B\x0cProjectProtoP\x01Z_github.com/stability-ai/api-interfaces/gen/proto/go/stability_api/platform/project/v1;projectv1\xa2\x02\x03SPP\xaa\x02#Stabilityai.Platformapis.Project.V1\xca\x02#Stabilityai\\Platformapis\\Project\\V1\xe2\x02/Stabilityai\\Platformapis\\Project\\V1\\GPBMetadata\xea\x02&Stabilityai::Platformapis::Project::V1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/stability_api/platform/project/v1/project.proto\x12#stabilityai.platformapis.project.v1\x1a\x35stability_api/platform/generation/v1/generation.proto\"\xb3\x03\n\x0cProjectAsset\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03uri\x18\x02 \x01(\tR\x03uri\x12\x46\n\x03use\x18\x03 \x01(\x0e\x32\x34.stabilityai.platformapis.project.v1.ProjectAssetUseR\x03use\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x12\n\x04size\x18\x05 \x01(\x04R\x04size\x12\x1d\n\ncreated_at\x18\x06 \x01(\x04R\tcreatedAt\x12\x1d\n\nupdated_at\x18\x07 \x01(\x04R\tupdatedAt\x12I\n\x07request\x18\x08 \x01(\x0b\x32/.stabilityai.platformapis.generation.v1.RequestR\x07request\x12O\n\x04tags\x18\t \x03(\x0b\x32;.stabilityai.platformapis.project.v1.ProjectAsset.TagsEntryR\x04tags\x1a\x37\n\tTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\"\x8c\x04\n\x07Project\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12\x19\n\x08owner_id\x18\x03 \x01(\tR\x07ownerId\x12J\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectAccessR\x06\x61\x63\x63\x65ss\x12J\n\x06status\x18\x05 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectStatusR\x06status\x12\x12\n\x04size\x18\x06 \x01(\x04R\x04size\x12\x45\n\x04\x66ile\x18\x07 \x01(\x0b\x32\x31.stabilityai.platformapis.project.v1.ProjectAssetR\x04\x66ile\x12\x1d\n\ncreated_at\x18\x08 \x01(\x04R\tcreatedAt\x12\x1d\n\nupdated_at\x18\t \x01(\x04R\tupdatedAt\x12I\n\x06\x61ssets\x18\n \x03(\x0b\x32\x31.stabilityai.platformapis.project.v1.ProjectAssetR\x06\x61ssets\x12\x44\n\x04type\x18\x0b \x01(\x0e\x32\x30.stabilityai.platformapis.project.v1.ProjectTypeR\x04type\"\x8c\x03\n\x14\x43reateProjectRequest\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12J\n\x06\x61\x63\x63\x65ss\x18\x03 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectAccessR\x06\x61\x63\x63\x65ss\x12J\n\x06status\x18\x04 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectStatusR\x06status\x12J\n\x04\x66ile\x18\x05 \x01(\x0b\x32\x31.stabilityai.platformapis.project.v1.ProjectAssetH\x01R\x04\x66ile\x88\x01\x01\x12\x44\n\x04type\x18\x06 \x01(\x0e\x32\x30.stabilityai.platformapis.project.v1.ProjectTypeR\x04typeB\x0b\n\t_owner_idB\x07\n\x05_file\"\xd9\x03\n\x14UpdateProjectRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x19\n\x05title\x18\x03 \x01(\tH\x01R\x05title\x88\x01\x01\x12O\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectAccessH\x02R\x06\x61\x63\x63\x65ss\x88\x01\x01\x12O\n\x06status\x18\x05 \x01(\x0e\x32\x32.stabilityai.platformapis.project.v1.ProjectStatusH\x03R\x06status\x88\x01\x01\x12J\n\x04\x66ile\x18\x06 \x01(\x0b\x32\x31.stabilityai.platformapis.project.v1.ProjectAssetH\x04R\x04\x66ile\x88\x01\x01\x12I\n\x04type\x18\x07 \x01(\x0e\x32\x30.stabilityai.platformapis.project.v1.ProjectTypeH\x05R\x04type\x88\x01\x01\x42\x0b\n\t_owner_idB\x08\n\x06_titleB\t\n\x07_accessB\t\n\x07_statusB\x07\n\x05_fileB\x07\n\x05_type\"A\n\x12ListProjectRequest\x12\x1e\n\x08owner_id\x18\x01 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x42\x0b\n\t_owner_id\"P\n\x11GetProjectRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x42\x0b\n\t_owner_id\"S\n\x14\x44\x65leteProjectRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x42\x0b\n\t_owner_id\"\x98\x04\n\x12QueryAssetsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x19\n\x05since\x18\x03 \x01(\x04H\x01R\x05since\x88\x01\x01\x12\x19\n\x05until\x18\x04 \x01(\x04H\x02R\x05until\x88\x01\x01\x12\x19\n\x05limit\x18\x05 \x01(\x04H\x03R\x05limit\x88\x01\x01\x12 \n\tstart_key\x18\x06 \x01(\tH\x04R\x08startKey\x88\x01\x01\x12\x46\n\x03use\x18\x07 \x03(\x0e\x32\x34.stabilityai.platformapis.project.v1.ProjectAssetUseR\x03use\x12N\n\x08sort_dir\x18\x08 \x01(\x0e\x32\x33.stabilityai.platformapis.project.v1.ProjectSortDirR\x07sortDir\x12U\n\x04tags\x18\t \x03(\x0b\x32\x41.stabilityai.platformapis.project.v1.QueryAssetsRequest.TagsEntryR\x04tags\x1a\x37\n\tTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0b\n\t_owner_idB\x08\n\x06_sinceB\x08\n\x06_untilB\x08\n\x06_limitB\x0c\n\n_start_key\"\x8d\x01\n\x13QueryAssetsResponse\x12I\n\x06\x61ssets\x18\x01 \x03(\x0b\x32\x31.stabilityai.platformapis.project.v1.ProjectAssetR\x06\x61ssets\x12\x1e\n\x08last_key\x18\x02 \x01(\tH\x00R\x07lastKey\x88\x01\x01\x42\x0b\n\t_last_key\"\xfa\x01\n\x10TagAssetsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIds\x12S\n\x04tags\x18\x04 \x03(\x0b\x32?.stabilityai.platformapis.project.v1.TagAssetsRequest.TagsEntryR\x04tags\x1a\x37\n\tTagsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x02\x38\x01\x42\x0b\n\t_owner_id\"[\n\x11TagAssetsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIds\"\x89\x01\n\x12UntagAssetsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIds\x12\x19\n\x08tag_keys\x18\x04 \x03(\tR\x07tagKeysB\x0b\n\t_owner_id\"]\n\x13UntagAssetsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIds\"o\n\x13\x44\x65leteAssetsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1e\n\x08owner_id\x18\x02 \x01(\tH\x00R\x07ownerId\x88\x01\x01\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIdsB\x0b\n\t_owner_id\"^\n\x14\x44\x65leteAssetsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n\x08owner_id\x18\x02 \x01(\tR\x07ownerId\x12\x1b\n\tasset_ids\x18\x03 \x03(\tR\x08\x61ssetIds*F\n\rProjectAccess\x12\x1a\n\x16PROJECT_ACCESS_PRIVATE\x10\x00\x12\x19\n\x15PROJECT_ACCESS_PUBLIC\x10\x01*c\n\rProjectStatus\x12\x1b\n\x17PROJECT_STATUS_INACTIVE\x10\x00\x12\x19\n\x15PROJECT_STATUS_ACTIVE\x10\x01\x12\x1a\n\x16PROJECT_STATUS_DELETED\x10\x02*\xb0\x01\n\x0fProjectAssetUse\x12\x1f\n\x1bPROJECT_ASSET_USE_UNDEFINED\x10\x00\x12\x1b\n\x17PROJECT_ASSET_USE_INPUT\x10\x01\x12\x1c\n\x18PROJECT_ASSET_USE_OUTPUT\x10\x02\x12\"\n\x1ePROJECT_ASSET_USE_INTERMEDIATE\x10\x03\x12\x1d\n\x19PROJECT_ASSET_USE_PROJECT\x10\x04*g\n\x0eProjectSortDir\x12 \n\x1cPROJECT_SORT_DIR_UNSPECIFIED\x10\x00\x12\x18\n\x14PROJECT_SORT_DIR_ASC\x10\x01\x12\x19\n\x15PROJECT_SORT_DIR_DESC\x10\x02*F\n\x0bProjectType\x12\x1c\n\x18PROJECT_TYPE_UNSPECIFIED\x10\x00\x12\x19\n\x15PROJECT_TYPE_TRAINING\x10\x01\x32\xe1\x08\n\x0eProjectService\x12s\n\x06\x43reate\x12\x39.stabilityai.platformapis.project.v1.CreateProjectRequest\x1a,.stabilityai.platformapis.project.v1.Project\"\x00\x12s\n\x06Update\x12\x39.stabilityai.platformapis.project.v1.UpdateProjectRequest\x1a,.stabilityai.platformapis.project.v1.Project\"\x00\x12q\n\x04List\x12\x37.stabilityai.platformapis.project.v1.ListProjectRequest\x1a,.stabilityai.platformapis.project.v1.Project\"\x00\x30\x01\x12m\n\x03Get\x12\x36.stabilityai.platformapis.project.v1.GetProjectRequest\x1a,.stabilityai.platformapis.project.v1.Project\"\x00\x12s\n\x06\x44\x65lete\x12\x39.stabilityai.platformapis.project.v1.DeleteProjectRequest\x1a,.stabilityai.platformapis.project.v1.Project\"\x00\x12|\n\tTagAssets\x12\x35.stabilityai.platformapis.project.v1.TagAssetsRequest\x1a\x36.stabilityai.platformapis.project.v1.TagAssetsResponse\"\x00\x12\x82\x01\n\x0bUntagAssets\x12\x37.stabilityai.platformapis.project.v1.UntagAssetsRequest\x1a\x38.stabilityai.platformapis.project.v1.UntagAssetsResponse\"\x00\x12\x82\x01\n\x0bQueryAssets\x12\x37.stabilityai.platformapis.project.v1.QueryAssetsRequest\x1a\x38.stabilityai.platformapis.project.v1.QueryAssetsResponse\"\x00\x12\x85\x01\n\x0c\x44\x65leteAssets\x12\x38.stabilityai.platformapis.project.v1.DeleteAssetsRequest\x1a\x39.stabilityai.platformapis.project.v1.DeleteAssetsResponse\"\x00\x42\xc7\x02\n\'com.stabilityai.platformapis.project.v1B\x0cProjectProtoP\x01Z_github.com/stability-ai/api-interfaces/gen/proto/go/stability_api/platform/project/v1;projectv1\xa2\x02\x03SPP\xaa\x02#Stabilityai.Platformapis.Project.V1\xca\x02#Stabilityai\\Platformapis\\Project\\V1\xe2\x02/Stabilityai\\Platformapis\\Project\\V1\\GPBMetadata\xea\x02&Stabilityai::Platformapis::Project::V1b\x06proto3') _globals = globals() _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) @@ -29,50 +29,52 @@ _QUERYASSETSREQUEST_TAGSENTRY._serialized_options = b'8\001' _TAGASSETSREQUEST_TAGSENTRY._options = None _TAGASSETSREQUEST_TAGSENTRY._serialized_options = b'8\001' - _globals['_PROJECTACCESS']._serialized_start=3466 - _globals['_PROJECTACCESS']._serialized_end=3536 - _globals['_PROJECTSTATUS']._serialized_start=3538 - _globals['_PROJECTSTATUS']._serialized_end=3637 - _globals['_PROJECTASSETUSE']._serialized_start=3640 - _globals['_PROJECTASSETUSE']._serialized_end=3816 - _globals['_PROJECTSORTDIR']._serialized_start=3818 - _globals['_PROJECTSORTDIR']._serialized_end=3921 + _globals['_PROJECTACCESS']._serialized_start=3690 + _globals['_PROJECTACCESS']._serialized_end=3760 + _globals['_PROJECTSTATUS']._serialized_start=3762 + _globals['_PROJECTSTATUS']._serialized_end=3861 + _globals['_PROJECTASSETUSE']._serialized_start=3864 + _globals['_PROJECTASSETUSE']._serialized_end=4040 + _globals['_PROJECTSORTDIR']._serialized_start=4042 + _globals['_PROJECTSORTDIR']._serialized_end=4145 + _globals['_PROJECTTYPE']._serialized_start=4147 + _globals['_PROJECTTYPE']._serialized_end=4217 _globals['_PROJECTASSET']._serialized_start=144 _globals['_PROJECTASSET']._serialized_end=579 _globals['_PROJECTASSET_TAGSENTRY']._serialized_start=524 _globals['_PROJECTASSET_TAGSENTRY']._serialized_end=579 _globals['_PROJECT']._serialized_start=582 - _globals['_PROJECT']._serialized_end=1036 - _globals['_CREATEPROJECTREQUEST']._serialized_start=1039 - _globals['_CREATEPROJECTREQUEST']._serialized_end=1365 - _globals['_UPDATEPROJECTREQUEST']._serialized_start=1368 - _globals['_UPDATEPROJECTREQUEST']._serialized_end=1757 - _globals['_LISTPROJECTREQUEST']._serialized_start=1759 - _globals['_LISTPROJECTREQUEST']._serialized_end=1824 - _globals['_GETPROJECTREQUEST']._serialized_start=1826 - _globals['_GETPROJECTREQUEST']._serialized_end=1906 - _globals['_DELETEPROJECTREQUEST']._serialized_start=1908 - _globals['_DELETEPROJECTREQUEST']._serialized_end=1991 - _globals['_QUERYASSETSREQUEST']._serialized_start=1994 - _globals['_QUERYASSETSREQUEST']._serialized_end=2530 + _globals['_PROJECT']._serialized_end=1106 + _globals['_CREATEPROJECTREQUEST']._serialized_start=1109 + _globals['_CREATEPROJECTREQUEST']._serialized_end=1505 + _globals['_UPDATEPROJECTREQUEST']._serialized_start=1508 + _globals['_UPDATEPROJECTREQUEST']._serialized_end=1981 + _globals['_LISTPROJECTREQUEST']._serialized_start=1983 + _globals['_LISTPROJECTREQUEST']._serialized_end=2048 + _globals['_GETPROJECTREQUEST']._serialized_start=2050 + _globals['_GETPROJECTREQUEST']._serialized_end=2130 + _globals['_DELETEPROJECTREQUEST']._serialized_start=2132 + _globals['_DELETEPROJECTREQUEST']._serialized_end=2215 + _globals['_QUERYASSETSREQUEST']._serialized_start=2218 + _globals['_QUERYASSETSREQUEST']._serialized_end=2754 _globals['_QUERYASSETSREQUEST_TAGSENTRY']._serialized_start=524 _globals['_QUERYASSETSREQUEST_TAGSENTRY']._serialized_end=579 - _globals['_QUERYASSETSRESPONSE']._serialized_start=2533 - _globals['_QUERYASSETSRESPONSE']._serialized_end=2674 - _globals['_TAGASSETSREQUEST']._serialized_start=2677 - _globals['_TAGASSETSREQUEST']._serialized_end=2927 + _globals['_QUERYASSETSRESPONSE']._serialized_start=2757 + _globals['_QUERYASSETSRESPONSE']._serialized_end=2898 + _globals['_TAGASSETSREQUEST']._serialized_start=2901 + _globals['_TAGASSETSREQUEST']._serialized_end=3151 _globals['_TAGASSETSREQUEST_TAGSENTRY']._serialized_start=524 _globals['_TAGASSETSREQUEST_TAGSENTRY']._serialized_end=579 - _globals['_TAGASSETSRESPONSE']._serialized_start=2929 - _globals['_TAGASSETSRESPONSE']._serialized_end=3020 - _globals['_UNTAGASSETSREQUEST']._serialized_start=3023 - _globals['_UNTAGASSETSREQUEST']._serialized_end=3160 - _globals['_UNTAGASSETSRESPONSE']._serialized_start=3162 - _globals['_UNTAGASSETSRESPONSE']._serialized_end=3255 - _globals['_DELETEASSETSREQUEST']._serialized_start=3257 - _globals['_DELETEASSETSREQUEST']._serialized_end=3368 - _globals['_DELETEASSETSRESPONSE']._serialized_start=3370 - _globals['_DELETEASSETSRESPONSE']._serialized_end=3464 - _globals['_PROJECTSERVICE']._serialized_start=3924 - _globals['_PROJECTSERVICE']._serialized_end=5045 + _globals['_TAGASSETSRESPONSE']._serialized_start=3153 + _globals['_TAGASSETSRESPONSE']._serialized_end=3244 + _globals['_UNTAGASSETSREQUEST']._serialized_start=3247 + _globals['_UNTAGASSETSREQUEST']._serialized_end=3384 + _globals['_UNTAGASSETSRESPONSE']._serialized_start=3386 + _globals['_UNTAGASSETSRESPONSE']._serialized_end=3479 + _globals['_DELETEASSETSREQUEST']._serialized_start=3481 + _globals['_DELETEASSETSREQUEST']._serialized_end=3592 + _globals['_DELETEASSETSRESPONSE']._serialized_start=3594 + _globals['_DELETEASSETSRESPONSE']._serialized_end=3688 + _globals['_PROJECTSERVICE']._serialized_start=4220 + _globals['_PROJECTSERVICE']._serialized_end=5341 # @@protoc_insertion_point(module_scope) diff --git a/src/stability_api/platform/project/v1/project_pb2.pyi b/src/stability_api/platform/project/v1/project_pb2.pyi index 510aa9c..29aaafa 100644 --- a/src/stability_api/platform/project/v1/project_pb2.pyi +++ b/src/stability_api/platform/project/v1/project_pb2.pyi @@ -31,6 +31,11 @@ class ProjectSortDir(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): PROJECT_SORT_DIR_UNSPECIFIED: _ClassVar[ProjectSortDir] PROJECT_SORT_DIR_ASC: _ClassVar[ProjectSortDir] PROJECT_SORT_DIR_DESC: _ClassVar[ProjectSortDir] + +class ProjectType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper): + __slots__ = [] + PROJECT_TYPE_UNSPECIFIED: _ClassVar[ProjectType] + PROJECT_TYPE_TRAINING: _ClassVar[ProjectType] PROJECT_ACCESS_PRIVATE: ProjectAccess PROJECT_ACCESS_PUBLIC: ProjectAccess PROJECT_STATUS_INACTIVE: ProjectStatus @@ -44,6 +49,8 @@ PROJECT_ASSET_USE_PROJECT: ProjectAssetUse PROJECT_SORT_DIR_UNSPECIFIED: ProjectSortDir PROJECT_SORT_DIR_ASC: ProjectSortDir PROJECT_SORT_DIR_DESC: ProjectSortDir +PROJECT_TYPE_UNSPECIFIED: ProjectType +PROJECT_TYPE_TRAINING: ProjectType class ProjectAsset(_message.Message): __slots__ = ["id", "uri", "use", "name", "size", "created_at", "updated_at", "request", "tags"] @@ -75,7 +82,7 @@ class ProjectAsset(_message.Message): def __init__(self, id: _Optional[str] = ..., uri: _Optional[str] = ..., use: _Optional[_Union[ProjectAssetUse, str]] = ..., name: _Optional[str] = ..., size: _Optional[int] = ..., created_at: _Optional[int] = ..., updated_at: _Optional[int] = ..., request: _Optional[_Union[_generation_pb2.Request, _Mapping]] = ..., tags: _Optional[_Mapping[str, str]] = ...) -> None: ... class Project(_message.Message): - __slots__ = ["id", "title", "owner_id", "access", "status", "size", "file", "created_at", "updated_at", "assets"] + __slots__ = ["id", "title", "owner_id", "access", "status", "size", "file", "created_at", "updated_at", "assets", "type"] ID_FIELD_NUMBER: _ClassVar[int] TITLE_FIELD_NUMBER: _ClassVar[int] OWNER_ID_FIELD_NUMBER: _ClassVar[int] @@ -86,6 +93,7 @@ class Project(_message.Message): CREATED_AT_FIELD_NUMBER: _ClassVar[int] UPDATED_AT_FIELD_NUMBER: _ClassVar[int] ASSETS_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] id: str title: str owner_id: str @@ -96,37 +104,42 @@ class Project(_message.Message): created_at: int updated_at: int assets: _containers.RepeatedCompositeFieldContainer[ProjectAsset] - def __init__(self, id: _Optional[str] = ..., title: _Optional[str] = ..., owner_id: _Optional[str] = ..., access: _Optional[_Union[ProjectAccess, str]] = ..., status: _Optional[_Union[ProjectStatus, str]] = ..., size: _Optional[int] = ..., file: _Optional[_Union[ProjectAsset, _Mapping]] = ..., created_at: _Optional[int] = ..., updated_at: _Optional[int] = ..., assets: _Optional[_Iterable[_Union[ProjectAsset, _Mapping]]] = ...) -> None: ... + type: ProjectType + def __init__(self, id: _Optional[str] = ..., title: _Optional[str] = ..., owner_id: _Optional[str] = ..., access: _Optional[_Union[ProjectAccess, str]] = ..., status: _Optional[_Union[ProjectStatus, str]] = ..., size: _Optional[int] = ..., file: _Optional[_Union[ProjectAsset, _Mapping]] = ..., created_at: _Optional[int] = ..., updated_at: _Optional[int] = ..., assets: _Optional[_Iterable[_Union[ProjectAsset, _Mapping]]] = ..., type: _Optional[_Union[ProjectType, str]] = ...) -> None: ... class CreateProjectRequest(_message.Message): - __slots__ = ["title", "owner_id", "access", "status", "file"] + __slots__ = ["title", "owner_id", "access", "status", "file", "type"] TITLE_FIELD_NUMBER: _ClassVar[int] OWNER_ID_FIELD_NUMBER: _ClassVar[int] ACCESS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] FILE_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] title: str owner_id: str access: ProjectAccess status: ProjectStatus file: ProjectAsset - def __init__(self, title: _Optional[str] = ..., owner_id: _Optional[str] = ..., access: _Optional[_Union[ProjectAccess, str]] = ..., status: _Optional[_Union[ProjectStatus, str]] = ..., file: _Optional[_Union[ProjectAsset, _Mapping]] = ...) -> None: ... + type: ProjectType + def __init__(self, title: _Optional[str] = ..., owner_id: _Optional[str] = ..., access: _Optional[_Union[ProjectAccess, str]] = ..., status: _Optional[_Union[ProjectStatus, str]] = ..., file: _Optional[_Union[ProjectAsset, _Mapping]] = ..., type: _Optional[_Union[ProjectType, str]] = ...) -> None: ... class UpdateProjectRequest(_message.Message): - __slots__ = ["id", "owner_id", "title", "access", "status", "file"] + __slots__ = ["id", "owner_id", "title", "access", "status", "file", "type"] ID_FIELD_NUMBER: _ClassVar[int] OWNER_ID_FIELD_NUMBER: _ClassVar[int] TITLE_FIELD_NUMBER: _ClassVar[int] ACCESS_FIELD_NUMBER: _ClassVar[int] STATUS_FIELD_NUMBER: _ClassVar[int] FILE_FIELD_NUMBER: _ClassVar[int] + TYPE_FIELD_NUMBER: _ClassVar[int] id: str owner_id: str title: str access: ProjectAccess status: ProjectStatus file: ProjectAsset - def __init__(self, id: _Optional[str] = ..., owner_id: _Optional[str] = ..., title: _Optional[str] = ..., access: _Optional[_Union[ProjectAccess, str]] = ..., status: _Optional[_Union[ProjectStatus, str]] = ..., file: _Optional[_Union[ProjectAsset, _Mapping]] = ...) -> None: ... + type: ProjectType + def __init__(self, id: _Optional[str] = ..., owner_id: _Optional[str] = ..., title: _Optional[str] = ..., access: _Optional[_Union[ProjectAccess, str]] = ..., status: _Optional[_Union[ProjectStatus, str]] = ..., file: _Optional[_Union[ProjectAsset, _Mapping]] = ..., type: _Optional[_Union[ProjectType, str]] = ...) -> None: ... class ListProjectRequest(_message.Message): __slots__ = ["owner_id"] diff --git a/src/stability_api/tensors/tensors.pb.go b/src/stability_api/tensors/tensors.pb.go index 6559703..cfcaa29 100644 --- a/src/stability_api/tensors/tensors.pb.go +++ b/src/stability_api/tensors/tensors.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.30.0 +// protoc-gen-go v1.31.0 // protoc (unknown) // source: stability_api/tensors/tensors.proto