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

net.dongliu.prettypb.rpc.protocol.ConnectErrorCode Maven / Gradle / Ivy

There is a newer version: 0.3.5
Show newest version
//Generated by pretty java compiler, DO NOT MODIFY!
package net.dongliu.prettypb.rpc.protocol;
import net.dongliu.prettypb.runtime.include.*;

@ProtoEnum(name = "ConnectErrorCode", protoPackage = "")
public enum ConnectErrorCode {
    ALREADY_CONNECTED(0),
    ;
    
    private int value;
    
    private  ConnectErrorCode (int value) {
        this.value = value;
    }
    
    public int getValue () {
        return value;
    }
    
    public static ConnectErrorCode valueOf(int value) {
        switch (value) {
            case 0: return ALREADY_CONNECTED;
            default: throw new IllegalArgumentException();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy