Class GrpcObjectMapper


  • public class GrpcObjectMapper
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isValid​(org.opennms.integration.api.v1.timeseries.Metric metric)  
      static org.opennms.tsaas.Tsaas.DataPoint toDataPoint​(org.opennms.integration.api.v1.timeseries.DataPoint dataPoint)  
      static org.opennms.tsaas.Tsaas.Metric toMetric​(org.opennms.integration.api.v1.timeseries.Metric metric)  
      static org.opennms.integration.api.v1.timeseries.Metric toMetric​(org.opennms.tsaas.Tsaas.Metric metric)  
      static org.opennms.tsaas.Tsaas.Metrics toMetrics​(java.util.List<org.opennms.integration.api.v1.timeseries.Metric> metrics)  
      static java.util.List<org.opennms.integration.api.v1.timeseries.Metric> toMetrics​(org.opennms.tsaas.Tsaas.Metrics metrics)  
      static org.opennms.integration.api.v1.timeseries.Sample toSample​(org.opennms.integration.api.v1.timeseries.Metric metric, org.opennms.tsaas.Tsaas.DataPoint dataPoint)  
      static org.opennms.tsaas.Tsaas.Sample toSample​(org.opennms.integration.api.v1.timeseries.Sample sample)  
      static org.opennms.integration.api.v1.timeseries.Sample toSample​(org.opennms.tsaas.Tsaas.Sample sample)  
      static java.util.List<org.opennms.integration.api.v1.timeseries.Sample> toSamples​(org.opennms.tsaas.Tsaas.TimeseriesData timeseriesData)  
      static org.opennms.tsaas.Tsaas.Tag toTag​(org.opennms.integration.api.v1.timeseries.Tag tag)  
      static org.opennms.integration.api.v1.timeseries.Tag toTag​(org.opennms.tsaas.Tsaas.Tag tag)  
      static org.opennms.tsaas.Tsaas.TagMatcher toTagMatcher​(org.opennms.integration.api.v1.timeseries.TagMatcher tagMatcher)  
      static org.opennms.integration.api.v1.timeseries.TagMatcher toTagMatcher​(org.opennms.tsaas.Tsaas.TagMatcher tagMatcher)  
      static org.opennms.integration.api.v1.timeseries.TimeSeriesFetchRequest toTimeseriesFetchRequest​(org.opennms.tsaas.Tsaas.FetchRequest request)  
      static java.time.Instant toTimestamp​(com.google.protobuf.Timestamp timestamp)  
      static com.google.protobuf.Timestamp toTimestamp​(java.time.Instant instant)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toTag

        public static org.opennms.tsaas.Tsaas.Tag toTag​(org.opennms.integration.api.v1.timeseries.Tag tag)
      • toTag

        public static org.opennms.integration.api.v1.timeseries.Tag toTag​(org.opennms.tsaas.Tsaas.Tag tag)
      • toTagMatcher

        public static org.opennms.tsaas.Tsaas.TagMatcher toTagMatcher​(org.opennms.integration.api.v1.timeseries.TagMatcher tagMatcher)
      • toTagMatcher

        public static org.opennms.integration.api.v1.timeseries.TagMatcher toTagMatcher​(org.opennms.tsaas.Tsaas.TagMatcher tagMatcher)
      • toMetric

        public static org.opennms.tsaas.Tsaas.Metric toMetric​(org.opennms.integration.api.v1.timeseries.Metric metric)
      • toMetric

        public static org.opennms.integration.api.v1.timeseries.Metric toMetric​(org.opennms.tsaas.Tsaas.Metric metric)
      • isValid

        public static boolean isValid​(org.opennms.integration.api.v1.timeseries.Metric metric)
      • toMetrics

        public static org.opennms.tsaas.Tsaas.Metrics toMetrics​(java.util.List<org.opennms.integration.api.v1.timeseries.Metric> metrics)
      • toMetrics

        public static java.util.List<org.opennms.integration.api.v1.timeseries.Metric> toMetrics​(org.opennms.tsaas.Tsaas.Metrics metrics)
      • toSample

        public static org.opennms.tsaas.Tsaas.Sample toSample​(org.opennms.integration.api.v1.timeseries.Sample sample)
      • toSample

        public static org.opennms.integration.api.v1.timeseries.Sample toSample​(org.opennms.tsaas.Tsaas.Sample sample)
      • toSample

        public static org.opennms.integration.api.v1.timeseries.Sample toSample​(org.opennms.integration.api.v1.timeseries.Metric metric,
                                                                                org.opennms.tsaas.Tsaas.DataPoint dataPoint)
      • toDataPoint

        public static org.opennms.tsaas.Tsaas.DataPoint toDataPoint​(org.opennms.integration.api.v1.timeseries.DataPoint dataPoint)
      • toSamples

        public static java.util.List<org.opennms.integration.api.v1.timeseries.Sample> toSamples​(org.opennms.tsaas.Tsaas.TimeseriesData timeseriesData)
      • toTimestamp

        public static com.google.protobuf.Timestamp toTimestamp​(java.time.Instant instant)
      • toTimestamp

        public static java.time.Instant toTimestamp​(com.google.protobuf.Timestamp timestamp)
      • toTimeseriesFetchRequest

        public static org.opennms.integration.api.v1.timeseries.TimeSeriesFetchRequest toTimeseriesFetchRequest​(org.opennms.tsaas.Tsaas.FetchRequest request)