Package com.buildless.telemetry
Class IngestedEventValidator
java.lang.Object
com.buildless.telemetry.IngestedEventValidator
- All Implemented Interfaces:
io.envoyproxy.pgv.ValidatorImpl<IngestedEvent>
public class IngestedEventValidator
extends Object
implements io.envoyproxy.pgv.ValidatorImpl<IngestedEvent>
Validates
IngestedEvent protobuf objects.-
Field Summary
Fields inherited from interface io.envoyproxy.pgv.ValidatorImpl
ALWAYS_VALID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidassertValid(IngestedEvent proto, io.envoyproxy.pgv.ValidatorIndex index) static io.envoyproxy.pgv.ValidatorImplvalidatorFor(Class clazz)
-
Constructor Details
-
IngestedEventValidator
public IngestedEventValidator()
-
-
Method Details
-
validatorFor
-
assertValid
public void assertValid(IngestedEvent proto, io.envoyproxy.pgv.ValidatorIndex index) throws io.envoyproxy.pgv.ValidationException - Specified by:
assertValidin interfaceio.envoyproxy.pgv.ValidatorImpl<IngestedEvent>- Throws:
io.envoyproxy.pgv.ValidationException
-