diff --git a/src/viam/api/api_proto_tag.lock b/src/viam/api/api_proto_tag.lock index 35d19fbfb..40d1ddee7 100644 --- a/src/viam/api/api_proto_tag.lock +++ b/src/viam/api/api_proto_tag.lock @@ -1 +1 @@ -v0.1.327 +v0.1.329 diff --git a/src/viam/api/buf.lock b/src/viam/api/buf.lock index acae86d9b..3e70b8651 100644 --- a/src/viam/api/buf.lock +++ b/src/viam/api/buf.lock @@ -4,11 +4,11 @@ deps: - remote: buf.build owner: googleapis repository: googleapis - commit: 2bbd25900cb34c79bae97d85c948d3cf + commit: 8bc2c51e08c447cd8886cdea48a73e14 - remote: buf.build owner: viamrobotics repository: api - commit: 50ed3af8a5ba4ae1b2cff6c9536163f7 + commit: 3a5f1bba26334d2a8402fb2a1c5dcf65 - remote: buf.build owner: viamrobotics repository: goutils diff --git a/src/viam/api/google/api/expr/v1alpha1/syntax.pb.cc b/src/viam/api/google/api/expr/v1alpha1/syntax.pb.cc index 666818f22..90eb4f16e 100644 --- a/src/viam/api/google/api/expr/v1alpha1/syntax.pb.cc +++ b/src/viam/api/google/api/expr/v1alpha1/syntax.pb.cc @@ -199,6 +199,9 @@ inline constexpr Expr_Comprehension::Impl_::Impl_( accu_var_( &::google::protobuf::internal::fixed_address_empty_string, ::_pbi::ConstantInitialized()), + iter_var2_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), iter_range_{nullptr}, accu_init_{nullptr}, loop_condition_{nullptr}, @@ -475,6 +478,7 @@ const ::uint32_t TableStruct_google_2fapi_2fexpr_2fv1alpha1_2fsyntax_2eproto::of ~0u, // no _split_ ~0u, // no sizeof(Split) PROTOBUF_FIELD_OFFSET(::google::api::expr::v1alpha1::Expr_Comprehension, _impl_.iter_var_), + PROTOBUF_FIELD_OFFSET(::google::api::expr::v1alpha1::Expr_Comprehension, _impl_.iter_var2_), PROTOBUF_FIELD_OFFSET(::google::api::expr::v1alpha1::Expr_Comprehension, _impl_.iter_range_), PROTOBUF_FIELD_OFFSET(::google::api::expr::v1alpha1::Expr_Comprehension, _impl_.accu_var_), PROTOBUF_FIELD_OFFSET(::google::api::expr::v1alpha1::Expr_Comprehension, _impl_.accu_init_), @@ -482,6 +486,7 @@ const ::uint32_t TableStruct_google_2fapi_2fexpr_2fv1alpha1_2fsyntax_2eproto::of PROTOBUF_FIELD_OFFSET(::google::api::expr::v1alpha1::Expr_Comprehension, _impl_.loop_step_), PROTOBUF_FIELD_OFFSET(::google::api::expr::v1alpha1::Expr_Comprehension, _impl_.result_), ~0u, + ~0u, 0, ~0u, 1, @@ -608,15 +613,15 @@ static const ::_pbi::MigrationSchema {49, -1, -1, sizeof(::google::api::expr::v1alpha1::Expr_CreateList)}, {59, 73, -1, sizeof(::google::api::expr::v1alpha1::Expr_CreateStruct_Entry)}, {78, -1, -1, sizeof(::google::api::expr::v1alpha1::Expr_CreateStruct)}, - {88, 103, -1, sizeof(::google::api::expr::v1alpha1::Expr_Comprehension)}, - {110, -1, -1, sizeof(::google::api::expr::v1alpha1::Expr)}, - {127, -1, -1, sizeof(::google::api::expr::v1alpha1::Constant)}, - {145, -1, -1, sizeof(::google::api::expr::v1alpha1::SourceInfo_Extension_Version)}, - {155, 166, -1, sizeof(::google::api::expr::v1alpha1::SourceInfo_Extension)}, - {169, 179, -1, sizeof(::google::api::expr::v1alpha1::SourceInfo_PositionsEntry_DoNotUse)}, - {181, 191, -1, sizeof(::google::api::expr::v1alpha1::SourceInfo_MacroCallsEntry_DoNotUse)}, - {193, -1, -1, sizeof(::google::api::expr::v1alpha1::SourceInfo)}, - {207, -1, -1, sizeof(::google::api::expr::v1alpha1::SourcePosition)}, + {88, 104, -1, sizeof(::google::api::expr::v1alpha1::Expr_Comprehension)}, + {112, -1, -1, sizeof(::google::api::expr::v1alpha1::Expr)}, + {129, -1, -1, sizeof(::google::api::expr::v1alpha1::Constant)}, + {147, -1, -1, sizeof(::google::api::expr::v1alpha1::SourceInfo_Extension_Version)}, + {157, 168, -1, sizeof(::google::api::expr::v1alpha1::SourceInfo_Extension)}, + {171, 181, -1, sizeof(::google::api::expr::v1alpha1::SourceInfo_PositionsEntry_DoNotUse)}, + {183, 193, -1, sizeof(::google::api::expr::v1alpha1::SourceInfo_MacroCallsEntry_DoNotUse)}, + {195, -1, -1, sizeof(::google::api::expr::v1alpha1::SourceInfo)}, + {209, -1, -1, sizeof(::google::api::expr::v1alpha1::SourcePosition)}, }; static const ::_pb::Message* const file_default_instances[] = { @@ -645,7 +650,7 @@ const char descriptor_table_protodef_google_2fapi_2fexpr_2fv1alpha1_2fsyntax_2ep "\"\207\001\n\nParsedExpr\0222\n\004expr\030\002 \001(\0132\036.google.a" "pi.expr.v1alpha1.ExprR\004expr\022E\n\013source_in" "fo\030\003 \001(\0132$.google.api.expr.v1alpha1.Sour" - "ceInfoR\nsourceInfo\"\256\r\n\004Expr\022\016\n\002id\030\002 \001(\003R" + "ceInfoR\nsourceInfo\"\313\r\n\004Expr\022\016\n\002id\030\002 \001(\003R" "\002id\022C\n\nconst_expr\030\003 \001(\0132\".google.api.exp" "r.v1alpha1.ConstantH\000R\tconstExpr\022E\n\niden" "t_expr\030\004 \001(\0132$.google.api.expr.v1alpha1." @@ -678,60 +683,61 @@ const char descriptor_table_protodef_google_2fapi_2fexpr_2fv1alpha1_2fsyntax_2ep ".expr.v1alpha1.ExprH\000R\006mapKey\0224\n\005value\030\004" " \001(\0132\036.google.api.expr.v1alpha1.ExprR\005va" "lue\022%\n\016optional_entry\030\005 \001(\010R\roptionalEnt" - "ryB\n\n\010key_kind\032\375\002\n\rComprehension\022\031\n\010iter" - "_var\030\001 \001(\tR\007iterVar\022=\n\niter_range\030\002 \001(\0132" - "\036.google.api.expr.v1alpha1.ExprR\titerRan" - "ge\022\031\n\010accu_var\030\003 \001(\tR\007accuVar\022;\n\taccu_in" - "it\030\004 \001(\0132\036.google.api.expr.v1alpha1.Expr" - "R\010accuInit\022E\n\016loop_condition\030\005 \001(\0132\036.goo" - "gle.api.expr.v1alpha1.ExprR\rloopConditio" - "n\022;\n\tloop_step\030\006 \001(\0132\036.google.api.expr.v" - "1alpha1.ExprR\010loopStep\0226\n\006result\030\007 \001(\0132\036" - ".google.api.expr.v1alpha1.ExprR\006resultB\013" - "\n\texpr_kind\"\301\003\n\010Constant\022;\n\nnull_value\030\001" - " \001(\0162\032.google.protobuf.NullValueH\000R\tnull" - "Value\022\037\n\nbool_value\030\002 \001(\010H\000R\tboolValue\022!" - "\n\013int64_value\030\003 \001(\003H\000R\nint64Value\022#\n\014uin" - "t64_value\030\004 \001(\004H\000R\013uint64Value\022#\n\014double" - "_value\030\005 \001(\001H\000R\013doubleValue\022#\n\014string_va" - "lue\030\006 \001(\tH\000R\013stringValue\022!\n\013bytes_value\030" - "\007 \001(\014H\000R\nbytesValue\022F\n\016duration_value\030\010 " - "\001(\0132\031.google.protobuf.DurationB\002\030\001H\000R\rdu" - "rationValue\022I\n\017timestamp_value\030\t \001(\0132\032.g" - "oogle.protobuf.TimestampB\002\030\001H\000R\016timestam" - "pValueB\017\n\rconstant_kind\"\214\007\n\nSourceInfo\022%" - "\n\016syntax_version\030\001 \001(\tR\rsyntaxVersion\022\032\n" - "\010location\030\002 \001(\tR\010location\022!\n\014line_offset" - "s\030\003 \003(\005R\013lineOffsets\022Q\n\tpositions\030\004 \003(\0132" - "3.google.api.expr.v1alpha1.SourceInfo.Po" - "sitionsEntryR\tpositions\022U\n\013macro_calls\030\005" - " \003(\01324.google.api.expr.v1alpha1.SourceIn" - "fo.MacroCallsEntryR\nmacroCalls\022N\n\nextens" - "ions\030\006 \003(\0132..google.api.expr.v1alpha1.So" - "urceInfo.ExtensionR\nextensions\032\200\003\n\tExten" - "sion\022\016\n\002id\030\001 \001(\tR\002id\022i\n\023affected_compone" - "nts\030\002 \003(\01628.google.api.expr.v1alpha1.Sou" - "rceInfo.Extension.ComponentR\022affectedCom" - "ponents\022P\n\007version\030\003 \001(\01326.google.api.ex" - "pr.v1alpha1.SourceInfo.Extension.Version" - "R\007version\0325\n\007Version\022\024\n\005major\030\001 \001(\003R\005maj" - "or\022\024\n\005minor\030\002 \001(\003R\005minor\"o\n\tComponent\022\031\n" - "\025COMPONENT_UNSPECIFIED\020\000\022\024\n\020COMPONENT_PA" - "RSER\020\001\022\032\n\026COMPONENT_TYPE_CHECKER\020\002\022\025\n\021CO" - "MPONENT_RUNTIME\020\003\032<\n\016PositionsEntry\022\020\n\003k" - "ey\030\001 \001(\003R\003key\022\024\n\005value\030\002 \001(\005R\005value:\0028\001\032" - "]\n\017MacroCallsEntry\022\020\n\003key\030\001 \001(\003R\003key\0224\n\005" - "value\030\002 \001(\0132\036.google.api.expr.v1alpha1.E" - "xprR\005value:\0028\001\"p\n\016SourcePosition\022\032\n\010loca" - "tion\030\001 \001(\tR\010location\022\026\n\006offset\030\002 \001(\005R\006of" - "fset\022\022\n\004line\030\003 \001(\005R\004line\022\026\n\006column\030\004 \001(\005" - "R\006columnB\357\001\n\034com.google.api.expr.v1alpha" - "1B\013SyntaxProtoP\001Z Expr_Comprehension::_table_ = { +const ::_pbi::TcParseTable<3, 8, 5, 85, 2> Expr_Comprehension::_table_ = { { PROTOBUF_FIELD_OFFSET(Expr_Comprehension, _impl_._has_bits_), 0, // no _extensions_ - 7, 56, // max_field_number, fast_idx_mask + 8, 56, // max_field_number, fast_idx_mask offsetof(decltype(_table_), field_lookup_table), - 4294967168, // skipmap + 4294967040, // skipmap offsetof(decltype(_table_), field_entries), - 7, // num_field_entries + 8, // num_field_entries 5, // num_aux_entries offsetof(decltype(_table_), aux_entries), &_Expr_Comprehension_default_instance_._instance, ::_pbi::TcParser::GenericFallback, // fallback }, {{ - {::_pbi::TcParser::MiniParse, {}}, + // string iter_var2 = 8 [json_name = "iterVar2"]; + {::_pbi::TcParser::FastUS1, + {66, 63, 0, PROTOBUF_FIELD_OFFSET(Expr_Comprehension, _impl_.iter_var2_)}}, // string iter_var = 1 [json_name = "iterVar"]; {::_pbi::TcParser::FastUS1, {10, 63, 0, PROTOBUF_FIELD_OFFSET(Expr_Comprehension, _impl_.iter_var_)}}, @@ -2846,6 +2858,9 @@ const ::_pbi::TcParseTable<3, 7, 5, 68, 2> Expr_Comprehension::_table_ = { // .google.api.expr.v1alpha1.Expr result = 7 [json_name = "result"]; {PROTOBUF_FIELD_OFFSET(Expr_Comprehension, _impl_.result_), _Internal::kHasBitsOffset + 4, 4, (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // string iter_var2 = 8 [json_name = "iterVar2"]; + {PROTOBUF_FIELD_OFFSET(Expr_Comprehension, _impl_.iter_var2_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)}, }}, {{ {::_pbi::TcParser::GetTable<::google::api::expr::v1alpha1::Expr>()}, {::_pbi::TcParser::GetTable<::google::api::expr::v1alpha1::Expr>()}, @@ -2853,10 +2868,11 @@ const ::_pbi::TcParseTable<3, 7, 5, 68, 2> Expr_Comprehension::_table_ = { {::_pbi::TcParser::GetTable<::google::api::expr::v1alpha1::Expr>()}, {::_pbi::TcParser::GetTable<::google::api::expr::v1alpha1::Expr>()}, }}, {{ - "\53\10\0\10\0\0\0\0" + "\53\10\0\10\0\0\0\0\11\0\0\0\0\0\0\0" "google.api.expr.v1alpha1.Expr.Comprehension" "iter_var" "accu_var" + "iter_var2" }}, }; @@ -2919,6 +2935,14 @@ ::uint8_t* Expr_Comprehension::_InternalSerialize( _Internal::result(this).GetCachedSize(), target, stream); } + // string iter_var2 = 8 [json_name = "iterVar2"]; + if (!this->_internal_iter_var2().empty()) { + const std::string& _s = this->_internal_iter_var2(); + ::google::protobuf::internal::WireFormatLite::VerifyUtf8String( + _s.data(), static_cast(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "google.api.expr.v1alpha1.Expr.Comprehension.iter_var2"); + target = stream->WriteStringMaybeAliased(8, _s, target); + } + if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) { target = ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( @@ -2948,6 +2972,12 @@ ::size_t Expr_Comprehension::ByteSizeLong() const { this->_internal_accu_var()); } + // string iter_var2 = 8 [json_name = "iterVar2"]; + if (!this->_internal_iter_var2().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize( + this->_internal_iter_var2()); + } + cached_has_bits = _impl_._has_bits_[0]; if (cached_has_bits & 0x0000001fu) { // .google.api.expr.v1alpha1.Expr iter_range = 2 [json_name = "iterRange"]; @@ -3006,6 +3036,9 @@ void Expr_Comprehension::MergeImpl(::google::protobuf::Message& to_msg, const :: if (!from._internal_accu_var().empty()) { _this->_internal_set_accu_var(from._internal_accu_var()); } + if (!from._internal_iter_var2().empty()) { + _this->_internal_set_iter_var2(from._internal_iter_var2()); + } cached_has_bits = from._impl_._has_bits_[0]; if (cached_has_bits & 0x0000001fu) { if (cached_has_bits & 0x00000001u) { @@ -3054,6 +3087,7 @@ void Expr_Comprehension::InternalSwap(Expr_Comprehension* PROTOBUF_RESTRICT othe swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.iter_var_, &other->_impl_.iter_var_, arena); ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.accu_var_, &other->_impl_.accu_var_, arena); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.iter_var2_, &other->_impl_.iter_var2_, arena); ::google::protobuf::internal::memswap< PROTOBUF_FIELD_OFFSET(Expr_Comprehension, _impl_.result_) + sizeof(Expr_Comprehension::_impl_.result_) diff --git a/src/viam/api/google/api/expr/v1alpha1/syntax.pb.h b/src/viam/api/google/api/expr/v1alpha1/syntax.pb.h index eeb8fbc7a..8b5cca7ac 100644 --- a/src/viam/api/google/api/expr/v1alpha1/syntax.pb.h +++ b/src/viam/api/google/api/expr/v1alpha1/syntax.pb.h @@ -2074,6 +2074,7 @@ class Expr_Comprehension final : enum : int { kIterVarFieldNumber = 1, kAccuVarFieldNumber = 3, + kIterVar2FieldNumber = 8, kIterRangeFieldNumber = 2, kAccuInitFieldNumber = 4, kLoopConditionFieldNumber = 5, @@ -2111,6 +2112,22 @@ class Expr_Comprehension final : const std::string& value); std::string* _internal_mutable_accu_var(); + public: + // string iter_var2 = 8 [json_name = "iterVar2"]; + void clear_iter_var2() ; + const std::string& iter_var2() const; + template + void set_iter_var2(Arg_&& arg, Args_... args); + std::string* mutable_iter_var2(); + PROTOBUF_NODISCARD std::string* release_iter_var2(); + void set_allocated_iter_var2(std::string* value); + + private: + const std::string& _internal_iter_var2() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_iter_var2( + const std::string& value); + std::string* _internal_mutable_iter_var2(); + public: // .google.api.expr.v1alpha1.Expr iter_range = 2 [json_name = "iterRange"]; bool has_iter_range() const; @@ -2193,8 +2210,8 @@ class Expr_Comprehension final : friend class ::google::protobuf::internal::TcParser; static const ::google::protobuf::internal::TcParseTable< - 3, 7, 5, - 68, 2> + 3, 8, 5, + 85, 2> _table_; friend class ::google::protobuf::MessageLite; friend class ::google::protobuf::Arena; @@ -2214,6 +2231,7 @@ class Expr_Comprehension final : mutable ::google::protobuf::internal::CachedSize _cached_size_; ::google::protobuf::internal::ArenaStringPtr iter_var_; ::google::protobuf::internal::ArenaStringPtr accu_var_; + ::google::protobuf::internal::ArenaStringPtr iter_var2_; ::google::api::expr::v1alpha1::Expr* iter_range_; ::google::api::expr::v1alpha1::Expr* accu_init_; ::google::api::expr::v1alpha1::Expr* loop_condition_; @@ -4833,6 +4851,59 @@ inline void Expr_Comprehension::set_allocated_iter_var(std::string* value) { // @@protoc_insertion_point(field_set_allocated:google.api.expr.v1alpha1.Expr.Comprehension.iter_var) } +// string iter_var2 = 8 [json_name = "iterVar2"]; +inline void Expr_Comprehension::clear_iter_var2() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.iter_var2_.ClearToEmpty(); +} +inline const std::string& Expr_Comprehension::iter_var2() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:google.api.expr.v1alpha1.Expr.Comprehension.iter_var2) + return _internal_iter_var2(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Expr_Comprehension::set_iter_var2(Arg_&& arg, + Args_... args) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.iter_var2_.Set(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:google.api.expr.v1alpha1.Expr.Comprehension.iter_var2) +} +inline std::string* Expr_Comprehension::mutable_iter_var2() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_iter_var2(); + // @@protoc_insertion_point(field_mutable:google.api.expr.v1alpha1.Expr.Comprehension.iter_var2) + return _s; +} +inline const std::string& Expr_Comprehension::_internal_iter_var2() const { + PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race); + return _impl_.iter_var2_.Get(); +} +inline void Expr_Comprehension::_internal_set_iter_var2(const std::string& value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + _impl_.iter_var2_.Set(value, GetArena()); +} +inline std::string* Expr_Comprehension::_internal_mutable_iter_var2() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + ; + return _impl_.iter_var2_.Mutable( GetArena()); +} +inline std::string* Expr_Comprehension::release_iter_var2() { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + // @@protoc_insertion_point(field_release:google.api.expr.v1alpha1.Expr.Comprehension.iter_var2) + return _impl_.iter_var2_.Release(); +} +inline void Expr_Comprehension::set_allocated_iter_var2(std::string* value) { + PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race); + _impl_.iter_var2_.SetAllocated(value, GetArena()); + #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING + if (_impl_.iter_var2_.IsDefault()) { + _impl_.iter_var2_.Set("", GetArena()); + } + #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING + // @@protoc_insertion_point(field_set_allocated:google.api.expr.v1alpha1.Expr.Comprehension.iter_var2) +} + // .google.api.expr.v1alpha1.Expr iter_range = 2 [json_name = "iterRange"]; inline bool Expr_Comprehension::has_iter_range() const { bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;