Class TelemetryEventValidator

java.lang.Object
com.buildless.telemetry.TelemetryEventValidator
All Implemented Interfaces:
io.envoyproxy.pgv.ValidatorImpl<TelemetryEvent>

public class TelemetryEventValidator extends Object implements io.envoyproxy.pgv.ValidatorImpl<TelemetryEvent>
Validates TelemetryEvent protobuf objects.
  • Constructor Details

    • TelemetryEventValidator

      public TelemetryEventValidator()
  • Method Details

    • validatorFor

      public static io.envoyproxy.pgv.ValidatorImpl validatorFor(Class clazz)
    • assertValid

      public void assertValid(TelemetryEvent proto, io.envoyproxy.pgv.ValidatorIndex index) throws io.envoyproxy.pgv.ValidationException
      Specified by:
      assertValid in interface io.envoyproxy.pgv.ValidatorImpl<TelemetryEvent>
      Throws:
      io.envoyproxy.pgv.ValidationException