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