diff --git a/proto/order/order.pb.go b/proto/order/order.pb.go index 3a70313..496633d 100644 --- a/proto/order/order.pb.go +++ b/proto/order/order.pb.go @@ -240,7 +240,7 @@ type ReadRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Prefix string `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` + Suffix string `protobuf:"bytes,1,opt,name=suffix,proto3" json:"suffix,omitempty"` } func (x *ReadRequest) Reset() { @@ -275,9 +275,9 @@ func (*ReadRequest) Descriptor() ([]byte, []int) { return file_proto_order_order_proto_rawDescGZIP(), []int{3} } -func (x *ReadRequest) GetPrefix() string { +func (x *ReadRequest) GetSuffix() string { if x != nil { - return x.Prefix + return x.Suffix } return "" } @@ -432,8 +432,8 @@ var file_proto_order_order_proto_rawDesc = []byte{ 0x6b, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x69, 0x63, 0x6b, 0x65, 0x74, 0x22, 0x10, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x25, 0x0a, 0x0b, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x22, 0x34, 0x0a, 0x0c, 0x52, 0x65, + 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22, 0x34, 0x0a, 0x0c, 0x52, 0x65, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x2e, 0x4f, 0x72, 0x64, 0x65, 0x72, 0x52, 0x06, 0x6f, 0x72, 0x64, 0x65, 0x72, 0x73, diff --git a/proto/order/order.proto b/proto/order/order.proto index 274bd63..aeb7633 100644 --- a/proto/order/order.proto +++ b/proto/order/order.proto @@ -32,7 +32,7 @@ message CreateResponse {} // read request/response message ReadRequest { - string prefix = 1; + string suffix = 1; } message ReadResponse {