001// Automatically generated by the Thrifty compiler; do not edit! 002// Generated on: 2020-11-05T09:22:38.099Z 003// Source: J:\facelog\facelog-service\IFaceLog.thrift at 7:1 004package net.gdface.facelog.client.thrift; 005 006import javax.annotation.Generated; 007 008@Generated( 009 value = "com.microsoft.thrifty.gen.ThriftyCodeGenerator", 010 comments = "https://github.com/microsoft/thrifty" 011) 012public enum TokenType { 013 UNINITIALIZED(0), 014 015 DEVICE(1), 016 017 PERSON(2), 018 019 ROOT(3); 020 021 public final int value; 022 023 TokenType(int value) { 024 this.value = value; 025 } 026 027 public static TokenType findByValue(int value) { 028 switch (value) { 029 case 0: return UNINITIALIZED; 030 case 1: return DEVICE; 031 case 2: return PERSON; 032 case 3: return ROOT; 033 default: return null; 034 } 035 } 036}