MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / GetFieldByNumber

Method GetFieldByNumber

common/value.h:2767–2780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2765
2766template <typename Base>
2767absl::StatusOr<Value> StructValueMixin<Base>::GetFieldByNumber(
2768 int64_t number, const google::protobuf::DescriptorPool* absl_nonnull descriptor_pool,
2769 google::protobuf::MessageFactory* absl_nonnull message_factory,
2770 google::protobuf::Arena* absl_nonnull arena) const {
2771 ABSL_DCHECK(descriptor_pool != nullptr);
2772 ABSL_DCHECK(message_factory != nullptr);
2773 ABSL_DCHECK(arena != nullptr);
2774
2775 Value result;
2776 CEL_RETURN_IF_ERROR(static_cast<const Base*>(this)->GetFieldByNumber(
2777 number, ProtoWrapperTypeOptions::kUnsetNull, descriptor_pool,
2778 message_factory, arena, &result));
2779 return result;
2780}
2781
2782template <typename Base>
2783absl::StatusOr<Value> StructValueMixin<Base>::GetFieldByNumber(

Callers 2

GetFieldValueFunction · 0.45
TEST_FFunction · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36