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