I do have utility class for each of the main protos. In similar style to 
Timestamp with protobuff which has utils in Timestamps. Each of the protos have 
a (s) util class. 

I do have a factory for creating a TimeSeriesData.Data object, which I will 
reuse here. 

https://github.com/rezarokni/beam/blob/c492cbd74981e2c9c3ae206cb7a7b83b3a487e11/examples/java/src/main/java/org/apache/beam/examples/timeseries/utils/TSDatas.java#L241

[ Full content available at: https://github.com/apache/beam/pull/6540 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to