Package com.buildless.telemetry
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.-
Field Summary
Fields inherited from interface io.envoyproxy.pgv.ValidatorImpl
ALWAYS_VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertValid(TelemetryEvent proto, io.envoyproxy.pgv.ValidatorIndex index) static io.envoyproxy.pgv.ValidatorImplvalidatorFor(Class clazz)
-
Constructor Details
-
TelemetryEventValidator
public TelemetryEventValidator()
-
-
Method Details
-
validatorFor
-
assertValid
public void assertValid(TelemetryEvent proto, io.envoyproxy.pgv.ValidatorIndex index) throws io.envoyproxy.pgv.ValidationException - Specified by:
assertValidin interfaceio.envoyproxy.pgv.ValidatorImpl<TelemetryEvent>- Throws:
io.envoyproxy.pgv.ValidationException
-