All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.phenopackets.schema.v1.core.ResourceValidator Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
// Code generated by protoc-gen-validate. DO NOT EDIT.
// source: base.proto

package org.phenopackets.schema.v1.core;

/**
* Validates {@code Resource} protobuf objects.
*/
public class ResourceValidator implements io.envoyproxy.pgv.ValidatorImpl{
	public static io.envoyproxy.pgv.ValidatorImpl validatorFor(Class clazz) {
		if (clazz.equals(org.phenopackets.schema.v1.core.Resource.class)) return new ResourceValidator();
		
		return null;
	}
		
	
		
	
		
	
		
	
		
	
		
	
	

	public void assertValid(org.phenopackets.schema.v1.core.Resource proto, io.envoyproxy.pgv.ValidatorIndex index) throws io.envoyproxy.pgv.ValidationException {
	// no validation rules for Id

	// no validation rules for Name

	// no validation rules for Url

	// no validation rules for Version

	// no validation rules for NamespacePrefix

	// no validation rules for IriPrefix

	
	}

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy