regen proto

This commit is contained in:
Kofo Okesola 2024-11-06 23:31:07 +01:00
parent 5edde1d07c
commit f35dd43aaf
3 changed files with 5 additions and 5 deletions

View File

@ -481,7 +481,7 @@ type Response struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Template string `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
Template []byte `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Code int32 `protobuf:"varint,3,opt,name=code,proto3" json:"code,omitempty"`
}
@ -518,11 +518,11 @@ func (*Response) Descriptor() ([]byte, []int) {
return file_workflow_proto_rawDescGZIP(), []int{8}
}
func (x *Response) GetTemplate() string {
func (x *Response) GetTemplate() []byte {
if x != nil {
return x.Template
}
return ""
return nil
}
func (x *Response) GetType() string {
@ -675,7 +675,7 @@ var file_workflow_proto_rawDesc = []byte{
0x0a, 0x0c, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x50, 0x61, 0x74,
0x68, 0x22, 0x4e, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a,
0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52,
0x08, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a,
0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f, 0x64,

View File

@ -51,7 +51,7 @@ message Conditional {
}
message Response {
string template = 1;
bytes template = 1;
string type = 2;
int32 code = 3;
}