protobuf-java
3.15.8
protobuf文件名为 d_cook_records.proto,内容如下:
syntax = “proto3”;
import “google/protobuf/any.proto”;
// option java_package=“com.galanz.iot.content.restapi.model.proto”;
option java_outer_classname=“DCookRecordsProto”;
// DCookRecords
message DCookRecords {
repeated DCookRecord records = 1;
}
// DCookRecord
message DCookRecord {
int32 record_type = 1;
string record_producer = 2;
int64 record_start_time = 3;
int64 record_end_time = 4;
google.protobuf.Any record_value = 5;
}
// ProgramRecordValue record_type = 1 or 2
message ProgramRecordValue {
string content_code = 1;
int32 content_version = 2;
string dimension = 3;
repeated TempRecord oven_temp_list = 4;
repeated TempRecord prob