Package io.envoyproxy.pgv
Class EnumValidation
java.lang.Object
io.envoyproxy.pgv.EnumValidation
EnumValidation implements PGV validation for protobuf enumerated types.-
Method Summary
Modifier and TypeMethodDescriptionstatic voiddefinedOnly(String field, com.google.protobuf.ProtocolMessageEnum value)
-
Method Details
-
definedOnly
public static void definedOnly(String field, com.google.protobuf.ProtocolMessageEnum value) throws ValidationException - Throws:
ValidationException
-