Blame | Last modification | View Log | RSS feed
/*** Autogenerated by Thrift Compiler (0.7.0)** DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING*/package in.shop2020.googleadwords;import java.util.Map;import java.util.HashMap;import org.apache.thrift.TEnum;public enum NetworkSettingType implements org.apache.thrift.TEnum {GOOGLE_SEARCH_AND_SEARCH_NETWORK(1),DISPLAY_NETWORK(2),GOOGLE_PARTNER_SEARCH_NETWORK(3),SEARCH_AND_DISPLAY_NETWORK(4),DISPLAY_AND_PARTNER_NETWORK(5),SEARCH_AND_PARTNER_NETWORK(6),ALL_AVALIABLE_SOURCES(7);private final int value;private NetworkSettingType(int value) {this.value = value;}/*** Get the integer value of this enum value, as defined in the Thrift IDL.*/public int getValue() {return value;}/*** Find a the enum type by its integer value, as defined in the Thrift IDL.* @return null if the value is not found.*/public static NetworkSettingType findByValue(int value) {switch (value) {case 1:return GOOGLE_SEARCH_AND_SEARCH_NETWORK;case 2:return DISPLAY_NETWORK;case 3:return GOOGLE_PARTNER_SEARCH_NETWORK;case 4:return SEARCH_AND_DISPLAY_NETWORK;case 5:return DISPLAY_AND_PARTNER_NETWORK;case 6:return SEARCH_AND_PARTNER_NETWORK;case 7:return ALL_AVALIABLE_SOURCES;default:return null;}}}