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

net.dongliu.prettypb.runtime.include.ProtoEnum Maven / Gradle / Ivy

There is a newer version: 0.3.2
Show newest version
package net.dongliu.prettypb.runtime.include;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * used to mark a enum as proto type
 *
 * @author dongliu
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface ProtoEnum {
    /**
     * the proto enum name
     * @return
     */
    String name();

    /**
     * the proto package
     */
    String protoPackage() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy