【发布时间】:2021-07-07 07:13:46
【问题描述】:
我是 gRPC 的新手,想检查 C# 语言中是否存在消息字段。我知道我们可以在 Java 中使用 hasField() 属性,但在 C# 中没有提到任何此类属性。
message foo
{...}
message bar{
foo data=1;
}
如何查看消息栏中的数据字段是否设置?
【问题讨论】:
标签: c# protocol-buffers grpc protobuf-net
我是 gRPC 的新手,想检查 C# 语言中是否存在消息字段。我知道我们可以在 Java 中使用 hasField() 属性,但在 C# 中没有提到任何此类属性。
message foo
{...}
message bar{
foo data=1;
}
如何查看消息栏中的数据字段是否设置?
【问题讨论】:
标签: c# protocol-buffers grpc protobuf-net