FIX: fixed counting in the order proto
This commit is contained in:
@@ -186,8 +186,8 @@ class Order final :
|
||||
|
||||
enum : int {
|
||||
kOrderIDFieldNumber = 1,
|
||||
kOrderPayloadFieldNumber = 5,
|
||||
kOrderTypeFieldNumber = 4,
|
||||
kOrderPayloadFieldNumber = 3,
|
||||
kOrderTypeFieldNumber = 2,
|
||||
};
|
||||
// .messages.track.Identifier OrderID = 1;
|
||||
bool has_orderid() const;
|
||||
@@ -207,7 +207,7 @@ class Order final :
|
||||
::messages::track::Identifier* orderid);
|
||||
::messages::track::Identifier* unsafe_arena_release_orderid();
|
||||
|
||||
// .google.protobuf.Any OrderPayload = 5;
|
||||
// .google.protobuf.Any OrderPayload = 3;
|
||||
bool has_orderpayload() const;
|
||||
private:
|
||||
bool _internal_has_orderpayload() const;
|
||||
@@ -225,7 +225,7 @@ class Order final :
|
||||
::PROTOBUF_NAMESPACE_ID::Any* orderpayload);
|
||||
::PROTOBUF_NAMESPACE_ID::Any* unsafe_arena_release_orderpayload();
|
||||
|
||||
// uint32 OrderType = 4;
|
||||
// uint32 OrderType = 2;
|
||||
void clear_ordertype();
|
||||
uint32_t ordertype() const;
|
||||
void set_ordertype(uint32_t value);
|
||||
@@ -346,7 +346,7 @@ inline void Order::set_allocated_orderid(::messages::track::Identifier* orderid)
|
||||
// @@protoc_insertion_point(field_set_allocated:messages.entity.order.Order.OrderID)
|
||||
}
|
||||
|
||||
// uint32 OrderType = 4;
|
||||
// uint32 OrderType = 2;
|
||||
inline void Order::clear_ordertype() {
|
||||
_impl_.ordertype_ = 0u;
|
||||
}
|
||||
@@ -366,7 +366,7 @@ inline void Order::set_ordertype(uint32_t value) {
|
||||
// @@protoc_insertion_point(field_set:messages.entity.order.Order.OrderType)
|
||||
}
|
||||
|
||||
// .google.protobuf.Any OrderPayload = 5;
|
||||
// .google.protobuf.Any OrderPayload = 3;
|
||||
inline bool Order::_internal_has_orderpayload() const {
|
||||
return this != internal_default_instance() && _impl_.orderpayload_ != nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user