id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
d3a5adff-8b0d-46a3-bd68-70c76ff199f2
|
public void setPartnerName(java.lang.String partnerName) {
this.partnerName = partnerName;
}
|
d74789e8-7f17-46b3-84bf-21da4ff1c34f
|
public void setCustomNumber32(crmondemand.xml.customobject6.query.QueryType customNumber32) {
this.customNumber32 = customNumber32;
}
|
12e14be2-8d14-43b8-89e9-4f7dd403f241
|
protected void setAvailable(boolean available) {
this.available = available;
}
|
35273f9a-8dc0-451c-8b8b-66f26ef50251
|
public void setCustomText70(java.lang.String customText70) {
this.customText70 = customText70;
}
|
0b03da33-a140-409e-894e-0199bff72ae3
|
public java.lang.String getCustomObject7IntegrationId() {
return this.customObject7IntegrationId;
}
|
753b41c4-98f9-4c37-96c5-602eef8b3d75
|
public void setCustomObject13Id(java.lang.String customObject13Id) {
this.customObject13Id = customObject13Id;
}
|
b74d8179-3816-4729-8358-84272e478827
|
public java.util.Calendar getCustomDate26() {
return this.customDate26;
}
|
436d5477-b9f4-4ecf-9409-74aecae146bc
|
public static BooleanWrapper translateSystemEvaluatorWrapper(Cons arguments) {
return ((Stella.translateSystem(((StringWrapper)(arguments.value)).wrapperValue, arguments.rest) ? Stella.TRUE_WRAPPER : Stella.FALSE_WRAPPER));
}
|
b12e1670-1a03-4a2d-92e1-84c72175bb01
|
public Date getIni_gest() {
return ini_gest;
}
|
b90e173a-4215-4ffe-a333-aa7c172fecba
|
public void setCustomPickList95(crmondemand.xml.customobject6.query.QueryType customPickList95) {
this.customPickList95 = customPickList95;
}
|
6d3d716a-3dfb-4cf3-880f-69b154fe6f28
|
public java.lang.String getCustomText67() {
return this.customText67;
}
|
1554d6d3-5c97-4657-a0db-f7add389da77
|
public void setPaciente(Paciente paciente) {
this.paciente = paciente;
}
|
d49f1e7d-d386-48a0-ab39-d480e9898c37
|
public void setCustomNumber37(java.math.BigDecimal customNumber37) {
this.customNumber37 = customNumber37;
}
|
eed13a9f-d80e-4869-8945-4e1f13626575
|
private void handleBuffStats(MapleCharacter chra) {
MapleStatEffect eff = chra.getStatForBuff(MapleBuffStat.MONSTER_RIDING);
if (eff != null && eff.getSourceId() == 33001001) { // jaguar
crit_rate += eff.getW();
percent_hp += eff.getZ();
}
Integer buff = chra.getBuffedValue(MapleBuffStat.DICE_ROLL);
if (buff != null) {
percent_wdef += GameConstants.getDiceStat(buff.intValue(), 2);
percent_mdef += GameConstants.getDiceStat(buff.intValue(), 2);
percent_hp += GameConstants.getDiceStat(buff.intValue(), 3);
percent_mp += GameConstants.getDiceStat(buff.intValue(), 3);
crit_rate += GameConstants.getDiceStat(buff.intValue(), 4);
dam_r *= (GameConstants.getDiceStat(buff.intValue(), 5) + 100.0) / 100.0;
bossdam_r *= (GameConstants.getDiceStat(buff.intValue(), 5) + 100.0) / 100.0;
expBuff *= (GameConstants.getDiceStat(buff.intValue(), 6) + 100.0) / 100.0;
}
buff = chra.getBuffedValue(MapleBuffStat.HP_BOOST_PERCENT);
if (buff != null) {
percent_hp += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.MP_BOOST_PERCENT);
if (buff != null) {
percent_mp += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.DEFENCE_BOOST_R);
if (buff != null) {
percent_wdef += buff.intValue();
percent_mdef += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.ABNORMAL_STATUS_R);
if (buff != null) {
ASR += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.ELEMENTAL_STATUS_R);
if (buff != null) {
TER += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.INFINITY);
if (buff != null) {
percent_matk += buff.intValue() - 1;
}
buff = chra.getBuffedValue(MapleBuffStat.ONYX_SHROUD);
if (buff != null) {
dodgeChance += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.PVP_DAMAGE);
if (buff != null) {
pvpDamage += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.PVP_ATTACK);
if (buff != null) {
pvpDamage += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.FELINE_BERSERK);
if (buff != null) {
percent_hp += buff.intValue();
}
eff = chra.getStatForBuff(MapleBuffStat.BLUE_AURA);
if (eff != null) {
percent_wdef += eff.getZ() + eff.getY();
percent_mdef += eff.getZ() + eff.getY();
}
buff = chra.getBuffedValue(MapleBuffStat.CONVERSION);
if (buff != null) {
percent_hp += buff.intValue();
} else {
buff = chra.getBuffedValue(MapleBuffStat.MAXHP);
if (buff != null) {
percent_hp += buff.intValue();
}
}
buff = chra.getBuffedValue(MapleBuffStat.MAXMP);
if (buff != null) {
percent_mp += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.MP_BUFF);
if (buff != null) {
percent_mp += buff.intValue();
}
buff = chra.getBuffedSkill_X(MapleBuffStat.BUFF_MASTERY);
if (buff != null) {
BuffUP_Skill += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.STR);
if (buff != null) {
localstr += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.DEX);
if (buff != null) {
localdex += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.INT);
if (buff != null) {
localint_ += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.LUK);
if (buff != null) {
localluk += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.ANGEL_STAT);
if (buff != null) {
localstr += buff.intValue();
localdex += buff.intValue();
localint_ += buff.intValue();
localluk += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.ENHANCED_WDEF);
if (buff != null) {
wdef += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.ENHANCED_MDEF);
if (buff != null) {
mdef += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.WDEF);
if (buff != null) {
wdef += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.WDEF);
if (buff != null) {
mdef += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.MAPLE_WARRIOR);
if (buff != null) {
final double d = buff.doubleValue() / 100.0;
localstr += d * str; //base only
localdex += d * dex;
localluk += d * luk;
localint_ += d * int_;
}
buff = chra.getBuffedValue(MapleBuffStat.ECHO_OF_HERO);
if (buff != null) {
final double d = buff.doubleValue() / 100.0;
watk += (int) (watk * d);
magic += (int) (magic * d);
}
buff = chra.getBuffedValue(MapleBuffStat.ARAN_COMBO);
if (buff != null) {
watk += buff.intValue() / 10;
}
buff = chra.getBuffedValue(MapleBuffStat.MESOGUARD);
if (buff != null) {
mesoGuardMeso += buff.doubleValue();
}
buff = chra.getBuffedValue(MapleBuffStat.EXPRATE);
if (buff != null) {
expBuff *= buff.doubleValue() / 100.0;
}
buff = chra.getBuffedValue(MapleBuffStat.DROP_RATE);
if (buff != null) {
dropBuff *= buff.doubleValue() / 100.0;
}
buff = chra.getBuffedValue(MapleBuffStat.ACASH_RATE);
if (buff != null) {
cashBuff *= buff.doubleValue() / 100.0;
}
buff = chra.getBuffedValue(MapleBuffStat.MESO_RATE);
if (buff != null) {
mesoBuff *= buff.doubleValue() / 100.0;
}
buff = chra.getBuffedValue(MapleBuffStat.MESOUP);
if (buff != null) {
mesoBuff *= buff.doubleValue() / 100.0;
}
buff = chra.getBuffedValue(MapleBuffStat.ACC);
if (buff != null) {
accuracy += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.ANGEL_ACC);
if (buff != null) {
accuracy += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.INDIE_PAD);
if (buff != null) {
watk += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.INDIE_MAD);
if (buff != null) {
magic += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.WATK);
if (buff != null) {
watk += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.DAMAGE_R);
if (buff != null) {
crit_rate += buff.intValue();
dam_r *= (buff.intValue() + 100.0) / 100.0;
bossdam_r *= (buff.intValue() + 100.0) / 100.0;
}
buff = chra.getBuffedValue(MapleBuffStat.ENHANCED_WATK);
if (buff != null) {
watk += buff.intValue();
}
eff = chra.getStatForBuff(MapleBuffStat.ENERGY_CHARGE);
if (eff != null) {
watk += eff.getWatk();
accuracy += eff.getAcc();
}
buff = chra.getBuffedValue(MapleBuffStat.MATK);
if (buff != null) {
magic += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.SPEED);
if (buff != null) {
speed += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.JUMP);
if (buff != null) {
jump += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.DASH_SPEED);
if (buff != null) {
speed += buff.intValue();
}
buff = chra.getBuffedValue(MapleBuffStat.DASH_JUMP);
if (buff != null) {
jump += buff.intValue();
}
eff = chra.getStatForBuff(MapleBuffStat.HIDDEN_POTENTIAL);
if (eff != null) {
crit_rate = 100; //INTENSE
ASR = 100; //INTENSE
wdef += eff.getX();
mdef += eff.getX();
watk += eff.getX();
magic += eff.getX();
}
buff = chra.getBuffedValue(MapleBuffStat.DAMAGE_BUFF);
if (buff != null) {
dam_r *= (buff.doubleValue() + 100.0) / 100.0;
bossdam_r *= (buff.doubleValue() + 100.0) / 100.0;
}
buff = chra.getBuffedSkill_Y(MapleBuffStat.FINAL_CUT);
if (buff != null) {
dam_r *= buff.doubleValue() / 100.0;
bossdam_r *= buff.doubleValue() / 100.0;
}
buff = chra.getBuffedSkill_Y(MapleBuffStat.OWL_SPIRIT);
if (buff != null) {
dam_r *= buff.doubleValue() / 100.0;
bossdam_r *= buff.doubleValue() / 100.0;
}
buff = chra.getBuffedSkill_X(MapleBuffStat.BERSERK_FURY);
if (buff != null) {
dam_r *= buff.doubleValue() / 100.0;
bossdam_r *= buff.doubleValue() / 100.0;
}
eff = chra.getStatForBuff(MapleBuffStat.BLESS);
if (eff != null) {
watk += eff.getX();
magic += eff.getY();
accuracy += eff.getV();
}
buff = chra.getBuffedSkill_X(MapleBuffStat.CONCENTRATE);
if (buff != null) {
mpconReduce += buff.intValue();
}
eff = chra.getStatForBuff(MapleBuffStat.HOLY_SHIELD);
if (eff != null) {
watk += eff.getX();
magic += eff.getY();
accuracy += eff.getV();
mpconReduce += eff.getMPConReduce();
}
eff = chra.getStatForBuff(MapleBuffStat.MAGIC_RESISTANCE);
if (eff != null) {
ASR += eff.getX();
}
eff = chra.getStatForBuff(MapleBuffStat.COMBO);
buff = chra.getBuffedValue(MapleBuffStat.COMBO);
if (eff != null && buff != null) {
dam_r *= ((100.0 + ((eff.getV() + eff.getDAMRate()) * (buff.intValue() - 1))) / 100.0);
bossdam_r *= ((100.0 + ((eff.getV() + eff.getDAMRate()) * (buff.intValue() - 1))) / 100.0);
}
eff = chra.getStatForBuff(MapleBuffStat.SUMMON);
if (eff != null) {
if (eff.getSourceId() == 35121010) { //amp
dam_r *= (eff.getX() + 100.0) / 100.0;
bossdam_r *= (eff.getX() + 100.0) / 100.0;
}
}
eff = chra.getStatForBuff(MapleBuffStat.DARK_AURA);
if (eff != null) {
dam_r *= (eff.getX() + 100.0) / 100.0;
bossdam_r *= (eff.getX() + 100.0) / 100.0;
}
eff = chra.getStatForBuff(MapleBuffStat.BODY_BOOST);
if (eff != null) {
dam_r *= (eff.getV() + 100.0) / 100.0;
bossdam_r *= (eff.getV() + 100.0) / 100.0;
}
eff = chra.getStatForBuff(MapleBuffStat.BEHOLDER);
if (eff != null) {
trueMastery += eff.getMastery();
}
eff = chra.getStatForBuff(MapleBuffStat.MECH_CHANGE);
if (eff != null) {
crit_rate += eff.getCr();
}
eff = chra.getStatForBuff(MapleBuffStat.PYRAMID_PQ);
if (eff != null && eff.getBerserk() > 0) {
dam_r *= eff.getBerserk() / 100.0;
bossdam_r *= eff.getBerserk() / 100.0;
}
eff = chra.getStatForBuff(MapleBuffStat.WK_CHARGE);
if (eff != null) {
dam_r *= eff.getDamage() / 100.0;
bossdam_r *= eff.getDamage() / 100.0;
}
eff = chra.getStatForBuff(MapleBuffStat.PICKPOCKET);
if (eff != null) {
pickRate = eff.getProb();
}
eff = chra.getStatForBuff(MapleBuffStat.DAMAGE_RATE);
if (eff != null) {
dam_r *= (eff.getDAMRate() + 100.0) / 100.0;
bossdam_r *= (eff.getDAMRate() + 100.0) / 100.0;
}
eff = chra.getStatForBuff(MapleBuffStat.LIGHTNING_CHARGE);
if (eff != null) {
dam_r *= eff.getDamage() / 100.0;
bossdam_r *= eff.getDamage() / 100.0;
}
eff = chra.getStatForBuff(MapleBuffStat.WIND_WALK);
if (eff != null) {
dam_r *= eff.getDamage() / 100.0;
bossdam_r *= eff.getDamage() / 100.0;
}
eff = chra.getStatForBuff(MapleBuffStat.DIVINE_SHIELD);
if (eff != null) {
watk += eff.getEnhancedWatk();
}
buff = chra.getBuffedSkill_Y(MapleBuffStat.DARKSIGHT);
if (buff != null) {
dam_r *= (buff.intValue() + 100.0) / 100.0;
bossdam_r *= (buff.intValue() + 100.0) / 100.0;
}
buff = chra.getBuffedSkill_X(MapleBuffStat.ENRAGE);
if (buff != null) {
dam_r *= (buff.intValue() + 100.0) / 100.0;
bossdam_r *= (buff.intValue() + 100.0) / 100.0;
}
buff = chra.getBuffedSkill_X(MapleBuffStat.COMBAT_ORDERS);
if (buff != null) {
combatOrders += buff.intValue();
}
eff = chra.getStatForBuff(MapleBuffStat.SHARP_EYES);
if (eff != null) {
crit_rate += eff.getX();
passive_sharpeye_percent += eff.getCriticalMax();
}
buff = chra.getBuffedValue(MapleBuffStat.CRITICAL_RATE_BUFF);
if (buff != null) {
crit_rate += buff.intValue();
}
if (speed > 140) {
speed = 140;
}
if (jump > 123) {
jump = 123;
}
buff = chra.getBuffedValue(MapleBuffStat.MONSTER_RIDING);
if (buff != null) {
jump = 120;
switch (buff.intValue()) {
case 1:
speed = 150;
break;
case 2:
speed = 170;
break;
case 3:
speed = 180;
break;
default:
speed = 200; //lol
break;
}
}
eff = chra.getStatForBuff(MapleBuffStat.ATTACK);
if (eff != null) {
watk = Integer.MAX_VALUE;
}
}
|
10dd99d9-f6a6-4987-b333-58c7e3a61a7f
|
public crmondemand.xml.contact.query.QueryType getExternalLastUpdated() {
return this.externalLastUpdated;
}
|
09a73774-c1bd-4c73-8c0d-3010007093d3
|
public crmondemand.xml.customobject3.query.QueryType getCustomPhone8() {
return this.customPhone8;
}
|
444401db-8935-43ae-8ecd-d7d4b039e60f
|
public ArrayList<PVector> getHistoryRightHand() {
return historyRightHand;
}
|
7a660a0b-c9f7-4289-84c4-844abe3d0a2c
|
public crmondemand.xml.customobject3.query.QueryType getCustomDate39() {
return this.customDate39;
}
|
6bbdc04c-e0d0-46d9-9038-bb2b93aeae81
|
public void setCustomText71(java.lang.String customText71) {
this.customText71 = customText71;
}
|
5f8cdc47-69f6-48e3-9ca0-4436091c5f2b
|
public java.lang.String getCustomObject14IntegrationId() {
return this.customObject14IntegrationId;
}
|
01bd5427-1dbd-4d25-a288-bea1e0aca82a
|
public void setCustomBoolean7(crmondemand.xml.contact.query.QueryType customBoolean7) {
this.customBoolean7 = customBoolean7;
}
|
ce342627-a149-485c-a692-5189c98e9030
|
public void setArticleCount(int articleCount) {
ArticleCount = articleCount;
}
|
3c1b2bc9-921b-448f-a68e-5181b568c4db
|
public void setCustomText49(crmondemand.xml.contact.query.QueryType customText49) {
this.customText49 = customText49;
}
|
4bf667da-9072-4681-8d57-e7c6de6c51e6
|
public crmondemand.xml.contact.query.QueryType getCustomBoolean17() {
return this.customBoolean17;
}
|
5131c939-0b69-49c3-98c6-e1ea57ec4aaa
|
public java.lang.String getCustomPickList22() {
return this.customPickList22;
}
|
a24b3d3b-6804-4c0f-ab5d-ac20e64b66e6
|
public IntValue(int v) {
value = v;
}
|
cd8a4f8d-bbb3-43fc-a1ae-c1950753253a
|
public void setCustomBoolean19(java.lang.Boolean customBoolean19) {
this.customBoolean19 = customBoolean19;
}
|
d8ed0d0d-d493-4f4a-9a88-b89cce45298c
|
public void setCustomMultiSelectPickList2(java.lang.String customMultiSelectPickList2) {
this.customMultiSelectPickList2 = customMultiSelectPickList2;
}
|
7aae5b8e-4130-4afd-b040-ca7ee8e5fc1d
|
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
main.Messages.ExecutionStatus parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (main.Messages.ExecutionStatus) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
|
82da0d9d-3dbb-479a-abf6-a8bf97785376
|
public crmondemand.xml.customobject6.query.QueryType getCustomNumber25() {
return this.customNumber25;
}
|
3a0b5d17-7072-4718-bb78-b43326a631a3
|
public void setCustomNumber3(crmondemand.xml.contact.query.QueryType customNumber3) {
this.customNumber3 = customNumber3;
}
|
302ef992-97cb-4574-8b53-8eef0c854474
|
public static Keyword continueCachedBindingsProof(ControlFrame frame, Keyword lastmove) {
lastmove = lastmove;
{ Proposition goal = frame.proposition;
Iterator iterator = ((Iterator)(KeyValueList.dynamicSlotValue(frame.dynamicSlots, Logic.SYM_LOGIC_CACHED_BINDINGS_ITERATOR, null)));
if (iterator == null) {
{ GoalCache goalcache = ControlFrame.findGoalCache(frame);
List cachedbindings = null;
if (goalcache == null) {
ControlFrame.createGoalCacheP(frame);
return (Logic.KWD_FAILURE);
}
cachedbindings = goalcache.cachedBindings;
switch (cachedbindings.length()) {
case 0:
Logic.traceGoalCache("EMPTY CACHE: ", frame);
return (Logic.KWD_FAILURE);
case 1:
Logic.traceGoalCache("USED CACHED BINDING: ", frame);
if (Logic.bindVectorOfArgumentsToValuesP(goal.arguments, ((Cons)(cachedbindings.first())))) {
return (Logic.KWD_FINAL_SUCCESS);
}
else {
return (Logic.KWD_FAILURE);
}
default:
Logic.traceGoalCache("USED MANY CACHED BINDINGS: ", frame);
iterator = ((ListIterator)(goalcache.cachedBindings.allocateIterator()));
KeyValueList.setDynamicSlotValue(frame.dynamicSlots, Logic.SYM_LOGIC_CACHED_BINDINGS_ITERATOR, iterator, null);
break;
}
}
}
ControlFrame.createChoicePoint(frame);
while (iterator.nextP()) {
if (Logic.bindVectorOfArgumentsToValuesP(frame.proposition.arguments, ((Cons)(iterator.value)))) {
if (iterator.emptyP()) {
return (Logic.KWD_FINAL_SUCCESS);
}
else {
return (Logic.KWD_CONTINUING_SUCCESS);
}
}
}
return (Logic.KWD_FAILURE);
}
}
|
70549b75-3ed2-49ea-83ee-5e3fae3ee91a
|
public crmondemand.xml.contact.query.QueryType getCustomText85() {
return this.customText85;
}
|
86c7683e-1abd-4303-ab6e-edabdad28815
|
public java.lang.String getOwnerFullName() {
return this.ownerFullName;
}
|
ce790a0f-ca21-4014-8bb9-7ee7cfa87c6a
|
public java.lang.String getCustomPickList65() {
return this.customPickList65;
}
|
63056068-c804-434b-b372-5bf694a2b3eb
|
public void setCustomCurrency24(java.math.BigDecimal customCurrency24) {
this.customCurrency24 = customCurrency24;
}
|
1afd5fdc-2711-477f-98a5-ea12bdda3428
|
public crmondemand.xml.opportunity.query.QueryType getCustomObject5ExternalSystemId() {
return this.customObject5ExternalSystemId;
}
|
c288b004-d942-47e9-b3d5-24b8b20a5b17
|
public java.lang.String getCustomText63() {
return this.customText63;
}
|
7b36e888-96bc-44d6-9027-7e8d376fd9ed
|
public Teacher(String name, int age, String gender, double salary,
String subject)
{
super(name, age, gender);
this.salary = salary;
this.subject = subject;
}
|
ac9a405d-1910-4bc1-8324-7c49d4125c25
|
public void setCustomText17(crmondemand.xml.contact.query.QueryType customText17) {
this.customText17 = customText17;
}
|
5e114f2c-4041-42a3-8484-79d27f6eedc2
|
public org.bwapi.proxy.messages.GameMessages.UnitIdOrBuilder getHatcheryOrBuilder() {
return hatchery_;
}
|
16cdb66e-8861-4653-a01f-724b8ab0bfe1
|
public void setCustomText17(java.lang.String customText17) {
this.customText17 = customText17;
}
|
3143b0ff-356d-40cc-93da-d09cad7d6352
|
public java.lang.String getMessageResponseExternalSystemId() {
return this.messageResponseExternalSystemId;
}
|
7ff09866-1c9e-4a59-a941-7024dfdae0b5
|
public java.lang.String getFinancialAccountFinancialAccount() {
return this.financialAccountFinancialAccount;
}
|
73011f88-b500-4cd7-b570-4afaa2b0b866
|
public void setExternalSystemId(crmondemand.xml.customobject6.query.QueryType externalSystemId) {
this.externalSystemId = externalSystemId;
}
|
177d1653-c64f-4956-9a87-a9b06843ec59
|
public void setControlTaller(ControlTaller controlTaller) {
this.controlTaller = controlTaller;
}
|
6f04ddf3-ffed-485d-a435-ff5f1cebda52
|
public crmondemand.xml.opportunity.query.QueryType getCustomText45() {
return this.customText45;
}
|
bb88ab08-54dc-40a4-ad3b-9ec029bf7455
|
public void setCustomDate21(crmondemand.xml.customobject3.query.QueryType customDate21) {
this.customDate21 = customDate21;
}
|
c468f974-8b62-4c32-8793-702d5aef60a0
|
public void handler() {
long ea = EA_DI();
long res = MASK_OUT_ABOVE_8(get_DX() ^ m68ki_read_8(ea));
m68ki_write_8(ea, res);
m68k_cpu.n_flag = GET_MSB_8(res);
m68k_cpu.not_z_flag = res;
m68k_cpu.c_flag = 0;
m68k_cpu.v_flag = 0;
USE_CLKS(8 + 8);
if (m68klog != null) {
fprintf(m68klog, "eor_di_8 :PC:%d,PPC:%d,mode:%d,dr0:%d,dr1:%d,dr2:%d,dr3:%d,dr4:%d,dr5:%d,dr6:%d,dr7:%d,ar0:%d,ar1:%d,ar2:%d,ar3:%d,ar4:%d,ar5:%d,ar6:%d,ar7:%d,sp0:%d,sp1:%d,sp2:%d,sp3:%d,vbr:%d,sfc:%d,dfc:%d,cacr:%d,caar:%d,ir:%d,t1:%d,t0:%d,s:%d,m:%d,x:%d,n:%d,nz:%d,v:%d,c:%d,intm:%d,ints:%d,stop:%d,halt:%d,intc:%d,prefa:%d,prefd:%d\n", m68k_cpu.pc, m68k_cpu.ppc, m68k_cpu.mode, m68k_cpu.dr[0], m68k_cpu.dr[1], m68k_cpu.dr[2], m68k_cpu.dr[3], m68k_cpu.dr[4], m68k_cpu.dr[5], m68k_cpu.dr[6], m68k_cpu.dr[7], m68k_cpu.ar[0], m68k_cpu.ar[1], m68k_cpu.ar[2], m68k_cpu.ar[3], m68k_cpu.ar[4], m68k_cpu.ar[5], m68k_cpu.ar[6], m68k_cpu.ar[7], m68k_cpu.sp[0], m68k_cpu.sp[1], m68k_cpu.sp[2], m68k_cpu.sp[3], m68k_cpu.vbr, m68k_cpu.sfc, m68k_cpu.dfc, m68k_cpu.cacr, m68k_cpu.caar, m68k_cpu.ir, m68k_cpu.t1_flag, m68k_cpu.t0_flag, m68k_cpu.s_flag, m68k_cpu.m_flag, m68k_cpu.x_flag, m68k_cpu.n_flag, m68k_cpu.not_z_flag, m68k_cpu.v_flag, m68k_cpu.c_flag, m68k_cpu.int_mask, m68k_cpu.int_state, m68k_cpu.stopped, m68k_cpu.halted, m68k_cpu.int_cycles, m68k_cpu.pref_addr, m68k_cpu.pref_data);
}
}
|
88624c45-2769-4464-8c91-d8474aed8d0d
|
@Override
String addValues() {return null;}
|
77b8a468-50b1-40f7-84ab-bcd5dc95b746
|
public void setBrokerProfileId(crmondemand.xml.customobject6.query.QueryType brokerProfileId) {
this.brokerProfileId = brokerProfileId;
}
|
cdf1fef7-a191-4dc4-9b4f-810e2cc9e82b
|
public void setCustomText31(java.lang.String customText31) {
this.customText31 = customText31;
}
|
357aac27-28be-4e9a-95f2-87bf366638e7
|
public void setCustomDate25(java.util.Calendar customDate25) {
this.customDate25 = customDate25;
}
|
a10dc8b2-5650-4f00-86fd-7b5da106dc8c
|
opcode xxcb_d8 = new opcode() { public void handler(){ throw new UnsupportedOperationException("unimplemented");}}
|
e726b2d8-ae61-40a9-8841-c68e9e87cd37
|
public java.lang.String getCustomText10() {
return this.customText10;
}
|
dc5d736e-1fd1-4246-9d25-fa43ed6e4c82
|
public crmondemand.xml.contact.query.QueryType getCustomInteger2() {
return this.customInteger2;
}
|
d1fff5e2-591b-4a88-abb4-ea54e32bd47a
|
public void setCustomNumber55(crmondemand.xml.customobject6.query.QueryType customNumber55) {
this.customNumber55 = customNumber55;
}
|
b62d4f14-da13-4a6f-bf09-ec9672321ea2
|
protected JSlider getJSlider() {
int min = 1, max = 36, inc = 5;
final JSlider slider = new JSlider(min, max, 16);
slider.setMajorTickSpacing(5);
slider.setMinorTickSpacing(1);
slider.setPaintTicks(true);
slider.setSnapToTicks(true);
slider.setLabelTable(getLabelTable(min, max, inc));
slider.setPaintLabels(true);
slider.addChangeListener(new ChangeListener() {
public void stateChanged(ChangeEvent e) {
double scale = (slider.getValue() + 4) / 20.0;
zoom(scale);
repaint();
}
});
return slider;
}
|
11948ff8-c06e-4d74-8bd1-0674418626b3
|
public crmondemand.xml.customobject6.query.QueryType getCustomText15() {
return this.customText15;
}
|
beb071a9-8e03-4f97-9025-142f6b630294
|
public java.math.BigDecimal getCustomCurrency10() {
return this.customCurrency10;
}
|
bc05cdf2-7bdd-4d59-bd07-09158134ac80
|
public crmondemand.xml.contact.query.QueryType getCustomNumber22() {
return this.customNumber22;
}
|
9cf016c1-344e-49aa-8eaa-c100077095c9
|
public void setLeadId(java.lang.String leadId) {
this.leadId = leadId;
}
|
f1d39b0e-7620-490a-8e02-6a99d514c0b3
|
public crmondemand.xml.customobject3.query.QueryType getCustomInteger24() {
return this.customInteger24;
}
|
6b18886f-e84e-41d8-831a-d03e06386966
|
public void setCustomText33(crmondemand.xml.opportunity.query.QueryType customText33) {
this.customText33 = customText33;
}
|
ac1d8c46-68c9-40d0-942f-d5518f6bbf6c
|
public java.lang.String getCustomObject12Id() {
return this.customObject12Id;
}
|
ed17fff1-6e72-4ede-8c61-c1b42fbfc65a
|
public crmondemand.xml.opportunity.query.QueryType getType() {
return this.type;
}
|
0a6435da-beaf-4d01-b5e4-dc00ad9e07d8
|
Show(HashMap<String, String> showDetails, LinkedHashMap<String, ArrayList<HashMap<String, String>>> episodes) throws IOException
{
showData = showDetails;
//set the seasons
for(Entry<String, ArrayList<HashMap<String, String>>> season : episodes.entrySet())
seasons.put(season.getKey(), new Season(season.getValue(), this));
//fetch the image
URL url = new URL("http://thetvdb.com/banners/"+showData.get("poster"));
url.getContent();
image = new ImageIcon(url);
}
|
03ceef46-cfa4-447d-8a77-e5abf24f0fe8
|
public java.math.BigDecimal getCustomCurrency1() {
return this.customCurrency1;
}
|
1905a4e0-7560-4bc7-8d46-188b1f5ac62b
|
public java.lang.String getOwnerFirstName() {
return this.ownerFirstName;
}
|
1380166b-7409-4167-b1fb-3cb7c750833e
|
public crmondemand.xml.contact.query.QueryType getCustomPhone12() {
return this.customPhone12;
}
|
a921dc6e-1fbd-4c8a-8ffd-38604461a54b
|
public crmondemand.xml.contact.query.QueryType getCustomText63() {
return this.customText63;
}
|
1c74a07b-b706-49c9-84f3-9ec154eac2ed
|
public void setCustomNumber26(java.math.BigDecimal customNumber26) {
this.customNumber26 = customNumber26;
}
|
3ff9eeb2-cd3a-438d-9c07-ed113c849aaa
|
public java.lang.String getMedEdType() {
return this.medEdType;
}
|
c1788bc3-e3cc-464b-8ddd-304a75374365
|
public crmondemand.xml.customobject6.query.QueryType getCustomObject1Id() {
return this.customObject1Id;
}
|
4772a33c-8a1d-45c5-b206-0bd2415041d2
|
public void setCustomObject7IntegrationId(crmondemand.xml.opportunity.query.QueryType customObject7IntegrationId) {
this.customObject7IntegrationId = customObject7IntegrationId;
}
|
97146aa2-3bef-410d-a9da-2437fae6e04e
|
public crmondemand.xml.customobject6.query.QueryType getUpdatedByLastName() {
return this.updatedByLastName;
}
|
af391319-fa52-45d4-a22b-515fe354f05c
|
public static Builder newBuilder(org.bwapi.proxy.messages.GameMessages.TechType prototype) {
return newBuilder().mergeFrom(prototype);
}
|
95f1e8c3-f618-4c75-8f44-c150cb0114a3
|
NodeHolder createHolder();
|
6526d9b4-a64e-4405-b40e-b87497808997
|
public static Cons javaYieldSymbolIdForm(int symbolid) {
{ Symbol symbol = Symbol.getSym(symbolid);
return (Cons.list$(Cons.cons(Stella.SYM_STELLA_JAVA_IDENT, Cons.cons(Symbol.javaTranslateSymbolId(symbol), Cons.cons(Stella.NIL, Stella.NIL)))));
}
}
|
070f3b5f-f885-4a9a-b4b0-d8fb6d76b2ee
|
public java.lang.String getUpdatedByLastName() {
return this.updatedByLastName;
}
|
a0df0e63-59fd-4c4d-a058-fff753a6be53
|
public crmondemand.xml.customobject6.query.QueryType getOrderItemOrderItemNum() {
return this.orderItemOrderItemNum;
}
|
f468d81f-9183-4ea0-8cf1-5f8f47e6fd5c
|
public void setCustomDate6(crmondemand.xml.contact.query.QueryType customDate6) {
this.customDate6 = customDate6;
}
|
eae2d408-41a7-4c80-9338-d16434d038e7
|
public ClientModel(Socket sock) {
serverConn = sock;
}
|
88e90b0f-cdbb-4512-ad3d-c78c2f69ffc8
|
public Builder mergeFrom(com.google.protobuf.DescriptorProtos.FileDescriptorProto other) {
if (other == getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasPackage()) {
bitField0_ |= 0x00000002;
package_ = other.package_;
onChanged();
}
if (!other.dependency_.isEmpty()) {
if (dependency_.isEmpty()) {
dependency_ = other.dependency_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureDependencyIsMutable();
dependency_.addAll(other.dependency_);
}
onChanged();
}
if (!other.publicDependency_.isEmpty()) {
if (publicDependency_.isEmpty()) {
publicDependency_ = other.publicDependency_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensurePublicDependencyIsMutable();
publicDependency_.addAll(other.publicDependency_);
}
onChanged();
}
if (!other.weakDependency_.isEmpty()) {
if (weakDependency_.isEmpty()) {
weakDependency_ = other.weakDependency_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureWeakDependencyIsMutable();
weakDependency_.addAll(other.weakDependency_);
}
onChanged();
}
if (messageTypeBuilder_ == null) {
if (!other.messageType_.isEmpty()) {
if (messageType_.isEmpty()) {
messageType_ = other.messageType_;
bitField0_ = (bitField0_ & ~0x00000020);
} else {
ensureMessageTypeIsMutable();
messageType_.addAll(other.messageType_);
}
onChanged();
}
} else {
if (!other.messageType_.isEmpty()) {
if (messageTypeBuilder_.isEmpty()) {
messageTypeBuilder_.dispose();
messageTypeBuilder_ = null;
messageType_ = other.messageType_;
bitField0_ = (bitField0_ & ~0x00000020);
messageTypeBuilder_ =
alwaysUseFieldBuilders ?
getMessageTypeFieldBuilder() : null;
} else {
messageTypeBuilder_.addAllMessages(other.messageType_);
}
}
}
if (enumTypeBuilder_ == null) {
if (!other.enumType_.isEmpty()) {
if (enumType_.isEmpty()) {
enumType_ = other.enumType_;
bitField0_ = (bitField0_ & ~0x00000040);
} else {
ensureEnumTypeIsMutable();
enumType_.addAll(other.enumType_);
}
onChanged();
}
} else {
if (!other.enumType_.isEmpty()) {
if (enumTypeBuilder_.isEmpty()) {
enumTypeBuilder_.dispose();
enumTypeBuilder_ = null;
enumType_ = other.enumType_;
bitField0_ = (bitField0_ & ~0x00000040);
enumTypeBuilder_ =
alwaysUseFieldBuilders ?
getEnumTypeFieldBuilder() : null;
} else {
enumTypeBuilder_.addAllMessages(other.enumType_);
}
}
}
if (serviceBuilder_ == null) {
if (!other.service_.isEmpty()) {
if (service_.isEmpty()) {
service_ = other.service_;
bitField0_ = (bitField0_ & ~0x00000080);
} else {
ensureServiceIsMutable();
service_.addAll(other.service_);
}
onChanged();
}
} else {
if (!other.service_.isEmpty()) {
if (serviceBuilder_.isEmpty()) {
serviceBuilder_.dispose();
serviceBuilder_ = null;
service_ = other.service_;
bitField0_ = (bitField0_ & ~0x00000080);
serviceBuilder_ =
alwaysUseFieldBuilders ?
getServiceFieldBuilder() : null;
} else {
serviceBuilder_.addAllMessages(other.service_);
}
}
}
if (extensionBuilder_ == null) {
if (!other.extension_.isEmpty()) {
if (extension_.isEmpty()) {
extension_ = other.extension_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureExtensionIsMutable();
extension_.addAll(other.extension_);
}
onChanged();
}
} else {
if (!other.extension_.isEmpty()) {
if (extensionBuilder_.isEmpty()) {
extensionBuilder_.dispose();
extensionBuilder_ = null;
extension_ = other.extension_;
bitField0_ = (bitField0_ & ~0x00000100);
extensionBuilder_ =
alwaysUseFieldBuilders ?
getExtensionFieldBuilder() : null;
} else {
extensionBuilder_.addAllMessages(other.extension_);
}
}
}
if (other.hasOptions()) {
mergeOptions(other.getOptions());
}
if (other.hasSourceCodeInfo()) {
mergeSourceCodeInfo(other.getSourceCodeInfo());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
|
4d6d32bb-e3c6-4f14-83aa-cc6aabfe957f
|
private void turnRandomly()
{
if(Greenfoot.getRandomNumber(100) < 10) {
setRotation(getRotation() + 15);
}
else if(Greenfoot.getRandomNumber(100) < 15) {
setRotation(getRotation() - 15);
}
}
|
3824e50a-f502-4228-a428-0d1bd7ff9ce1
|
public static void main(String[] args) {
// 1st argument is the publication URL
// 2nd argument is an SIB instance
Endpoint.publish("http://127.0.0.1:9876/ts", new TimeServerImpl());
}
|
43417351-35a8-4e26-bad5-695079397b7a
|
public void setCustomPhone0(java.lang.String customPhone0) {
this.customPhone0 = customPhone0;
}
|
47bc74d5-99fe-4491-874b-cd5b577035c7
|
public java.lang.String getCustomMultiSelectPickList2() {
return this.customMultiSelectPickList2;
}
|
861653b9-ad68-44a0-9c00-846e199c3794
|
public void setCustomInteger27(crmondemand.xml.contact.query.QueryType customInteger27) {
this.customInteger27 = customInteger27;
}
|
87580866-32a0-42af-b9dd-305f1dba50e4
|
public void setSectionID(String sectionID) {
this.section_ID = formatClass(sectionID);
}
|
af1da6ac-867b-44a2-9d31-ff1d766a13c8
|
public long getResult() throws TException {
if (getState() != State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array());
TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
return (new Client(prot)).recv_aliveSince();
}
}
public void reinitialize(AsyncMethodCallback<reinitialize_call> resultHandler) throws TException {
checkReady();
reinitialize_call method_call = new reinitialize_call(resultHandler, this, protocolFactory, transport);
manager.call(method_call);
}
public static class reinitialize_call extends TAsyncMethodCall {
public reinitialize_call(AsyncMethodCallback<reinitialize_call> resultHandler, TAsyncClient client, TProtocolFactory protocolFactory, TNonblockingTransport transport) throws TException {
super(client, protocolFactory, transport, resultHandler, true);
}
public void write_args(TProtocol prot) throws TException {
prot.writeMessageBegin(new TMessage("reinitialize", TMessageType.CALL, 0));
reinitialize_args args = new reinitialize_args();
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws TException {
if (getState() != State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array());
TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
}
}
public void shutdown(AsyncMethodCallback<shutdown_call> resultHandler) throws TException {
checkReady();
shutdown_call method_call = new shutdown_call(resultHandler, this, protocolFactory, transport);
manager.call(method_call);
}
public static class shutdown_call extends TAsyncMethodCall {
public shutdown_call(AsyncMethodCallback<shutdown_call> resultHandler, TAsyncClient client, TProtocolFactory protocolFactory, TNonblockingTransport transport) throws TException {
super(client, protocolFactory, transport, resultHandler, true);
}
public void write_args(TProtocol prot) throws TException {
prot.writeMessageBegin(new TMessage("shutdown", TMessageType.CALL, 0));
shutdown_args args = new shutdown_args();
args.write(prot);
prot.writeMessageEnd();
}
public void getResult() throws TException {
if (getState() != State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
TMemoryInputTransport memoryTransport = new TMemoryInputTransport(getFrameBuffer().array());
TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
}
}
}
public static class Processor implements TProcessor {
private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
public Processor(Iface iface) {
iface_ = iface;
processMap_.put("getName", new getName());
processMap_.put("getVersion", new getVersion());
processMap_.put("getStatus", new getStatus());
processMap_.put("getStatusDetails", new getStatusDetails());
processMap_.put("getCounters", new getCounters());
processMap_.put("getCounter", new getCounter());
processMap_.put("setOption", new setOption());
processMap_.put("getOption", new getOption());
processMap_.put("getOptions", new getOptions());
processMap_.put("getCpuProfile", new getCpuProfile());
processMap_.put("aliveSince", new aliveSince());
processMap_.put("reinitialize", new reinitialize());
processMap_.put("shutdown", new shutdown());
}
protected static interface ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException;
}
private Iface iface_;
protected final HashMap<String, ProcessFunction> processMap_ = new HashMap<String, ProcessFunction>();
public boolean process(TProtocol iprot, TProtocol oprot) throws TException {
TMessage msg = iprot.readMessageBegin();
ProcessFunction fn = processMap_.get(msg.name);
if (fn == null) {
TProtocolUtil.skip(iprot, TType.STRUCT);
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.UNKNOWN_METHOD, "Invalid method name: '" + msg.name + "'");
oprot.writeMessageBegin(new TMessage(msg.name, TMessageType.EXCEPTION, msg.seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return true;
}
fn.process(msg.seqid, iprot, oprot);
return true;
}
private class getName implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
getName_args args = new getName_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("getName", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
getName_result result = new getName_result();
result.success = iface_.getName();
oprot.writeMessageBegin(new TMessage("getName", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class getVersion implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
getVersion_args args = new getVersion_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("getVersion", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
getVersion_result result = new getVersion_result();
result.success = iface_.getVersion();
oprot.writeMessageBegin(new TMessage("getVersion", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class getStatus implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
getStatus_args args = new getStatus_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("getStatus", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
getStatus_result result = new getStatus_result();
result.success = iface_.getStatus();
oprot.writeMessageBegin(new TMessage("getStatus", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class getStatusDetails implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
getStatusDetails_args args = new getStatusDetails_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("getStatusDetails", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
getStatusDetails_result result = new getStatusDetails_result();
result.success = iface_.getStatusDetails();
oprot.writeMessageBegin(new TMessage("getStatusDetails", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class getCounters implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
getCounters_args args = new getCounters_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("getCounters", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
getCounters_result result = new getCounters_result();
result.success = iface_.getCounters();
oprot.writeMessageBegin(new TMessage("getCounters", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class getCounter implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
getCounter_args args = new getCounter_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("getCounter", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
getCounter_result result = new getCounter_result();
result.success = iface_.getCounter(args.key);
result.setSuccessIsSet(true);
oprot.writeMessageBegin(new TMessage("getCounter", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class setOption implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
setOption_args args = new setOption_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("setOption", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
setOption_result result = new setOption_result();
iface_.setOption(args.key, args.value);
oprot.writeMessageBegin(new TMessage("setOption", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class getOption implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
getOption_args args = new getOption_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("getOption", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
getOption_result result = new getOption_result();
result.success = iface_.getOption(args.key);
oprot.writeMessageBegin(new TMessage("getOption", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class getOptions implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
getOptions_args args = new getOptions_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("getOptions", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
getOptions_result result = new getOptions_result();
result.success = iface_.getOptions();
oprot.writeMessageBegin(new TMessage("getOptions", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class getCpuProfile implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
getCpuProfile_args args = new getCpuProfile_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("getCpuProfile", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
getCpuProfile_result result = new getCpuProfile_result();
result.success = iface_.getCpuProfile(args.profileDurationInSec);
oprot.writeMessageBegin(new TMessage("getCpuProfile", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class aliveSince implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
aliveSince_args args = new aliveSince_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("aliveSince", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
aliveSince_result result = new aliveSince_result();
result.success = iface_.aliveSince();
result.setSuccessIsSet(true);
oprot.writeMessageBegin(new TMessage("aliveSince", TMessageType.REPLY, seqid));
result.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
}
}
private class reinitialize implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
reinitialize_args args = new reinitialize_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("reinitialize", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
iface_.reinitialize();
return;
}
}
private class shutdown implements ProcessFunction {
public void process(int seqid, TProtocol iprot, TProtocol oprot) throws TException {
shutdown_args args = new shutdown_args();
try {
args.read(iprot);
} catch (TProtocolException e) {
iprot.readMessageEnd();
TApplicationException x = new TApplicationException(TApplicationException.PROTOCOL_ERROR, e.getMessage());
oprot.writeMessageBegin(new TMessage("shutdown", TMessageType.EXCEPTION, seqid));
x.write(oprot);
oprot.writeMessageEnd();
oprot.getTransport().flush();
return;
}
iprot.readMessageEnd();
iface_.shutdown();
return;
}
}
}
public static class getName_args implements TBase<getName_args, getName_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getName_args");
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getName_args.class, metaDataMap);
}
public getName_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getName_args(getName_args other) {
}
public getName_args deepCopy() {
return new getName_args(this);
}
@Override
public void clear() {
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getName_args)
return this.equals((getName_args) that);
return false;
}
public boolean equals(getName_args that) {
if (that == null)
return false;
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getName_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getName_args typedOther = (getName_args) other;
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getName_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getName_result implements TBase<getName_result, getName_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getName_result");
private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRING, (short) 0);
public String success;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
SUCCESS((short) 0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getName_result.class, metaDataMap);
}
public getName_result() {
}
public getName_result(
String success) {
this();
this.success = success;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getName_result(getName_result other) {
if (other.isSetSuccess()) {
this.success = other.success;
}
}
public getName_result deepCopy() {
return new getName_result(this);
}
@Override
public void clear() {
this.success = null;
}
public String getSuccess() {
return this.success;
}
public getName_result setSuccess(String success) {
this.success = success;
return this;
}
public void unsetSuccess() {
this.success = null;
}
/**
* Returns true if field success is set (has been asigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return this.success != null;
}
public void setSuccessIsSet(boolean value) {
if (!value) {
this.success = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((String) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return getSuccess();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getName_result)
return this.equals((getName_result) that);
return false;
}
public boolean equals(getName_result that) {
if (that == null)
return false;
boolean this_present_success = true && this.isSetSuccess();
boolean that_present_success = true && that.isSetSuccess();
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (!this.success.equals(that.success))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getName_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getName_result typedOther = (getName_result) other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 0: // SUCCESS
if (field.type == TType.STRING) {
this.success = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
if (this.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeString(this.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getName_result(");
boolean first = true;
sb.append("success:");
if (this.success == null) {
sb.append("null");
} else {
sb.append(this.success);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getVersion_args implements TBase<getVersion_args, getVersion_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getVersion_args");
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getVersion_args.class, metaDataMap);
}
public getVersion_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getVersion_args(getVersion_args other) {
}
public getVersion_args deepCopy() {
return new getVersion_args(this);
}
@Override
public void clear() {
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getVersion_args)
return this.equals((getVersion_args) that);
return false;
}
public boolean equals(getVersion_args that) {
if (that == null)
return false;
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getVersion_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getVersion_args typedOther = (getVersion_args) other;
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getVersion_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getVersion_result implements TBase<getVersion_result, getVersion_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getVersion_result");
private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRING, (short) 0);
public String success;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
SUCCESS((short) 0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getVersion_result.class, metaDataMap);
}
public getVersion_result() {
}
public getVersion_result(
String success) {
this();
this.success = success;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getVersion_result(getVersion_result other) {
if (other.isSetSuccess()) {
this.success = other.success;
}
}
public getVersion_result deepCopy() {
return new getVersion_result(this);
}
@Override
public void clear() {
this.success = null;
}
public String getSuccess() {
return this.success;
}
public getVersion_result setSuccess(String success) {
this.success = success;
return this;
}
public void unsetSuccess() {
this.success = null;
}
/**
* Returns true if field success is set (has been asigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return this.success != null;
}
public void setSuccessIsSet(boolean value) {
if (!value) {
this.success = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((String) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return getSuccess();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getVersion_result)
return this.equals((getVersion_result) that);
return false;
}
public boolean equals(getVersion_result that) {
if (that == null)
return false;
boolean this_present_success = true && this.isSetSuccess();
boolean that_present_success = true && that.isSetSuccess();
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (!this.success.equals(that.success))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getVersion_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getVersion_result typedOther = (getVersion_result) other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 0: // SUCCESS
if (field.type == TType.STRING) {
this.success = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
if (this.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeString(this.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getVersion_result(");
boolean first = true;
sb.append("success:");
if (this.success == null) {
sb.append("null");
} else {
sb.append(this.success);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getStatus_args implements TBase<getStatus_args, getStatus_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getStatus_args");
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getStatus_args.class, metaDataMap);
}
public getStatus_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getStatus_args(getStatus_args other) {
}
public getStatus_args deepCopy() {
return new getStatus_args(this);
}
@Override
public void clear() {
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getStatus_args)
return this.equals((getStatus_args) that);
return false;
}
public boolean equals(getStatus_args that) {
if (that == null)
return false;
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getStatus_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getStatus_args typedOther = (getStatus_args) other;
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getStatus_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getStatus_result implements TBase<getStatus_result, getStatus_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getStatus_result");
private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.I32, (short) 0);
/**
* @see fb_status
*/
public fb_status success;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
/**
* @see fb_status
*/
SUCCESS((short) 0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT,
new EnumMetaData(TType.ENUM, fb_status.class)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getStatus_result.class, metaDataMap);
}
public getStatus_result() {
}
public getStatus_result(
fb_status success) {
this();
this.success = success;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getStatus_result(getStatus_result other) {
if (other.isSetSuccess()) {
this.success = other.success;
}
}
public getStatus_result deepCopy() {
return new getStatus_result(this);
}
@Override
public void clear() {
this.success = null;
}
/**
* @see fb_status
*/
public fb_status getSuccess() {
return this.success;
}
/**
* @see fb_status
*/
public getStatus_result setSuccess(fb_status success) {
this.success = success;
return this;
}
public void unsetSuccess() {
this.success = null;
}
/**
* Returns true if field success is set (has been asigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return this.success != null;
}
public void setSuccessIsSet(boolean value) {
if (!value) {
this.success = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((fb_status) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return getSuccess();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getStatus_result)
return this.equals((getStatus_result) that);
return false;
}
public boolean equals(getStatus_result that) {
if (that == null)
return false;
boolean this_present_success = true && this.isSetSuccess();
boolean that_present_success = true && that.isSetSuccess();
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (!this.success.equals(that.success))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getStatus_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getStatus_result typedOther = (getStatus_result) other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 0: // SUCCESS
if (field.type == TType.I32) {
this.success = fb_status.findByValue(iprot.readI32());
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
if (this.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeI32(this.success.getValue());
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getStatus_result(");
boolean first = true;
sb.append("success:");
if (this.success == null) {
sb.append("null");
} else {
sb.append(this.success);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getStatusDetails_args implements TBase<getStatusDetails_args, getStatusDetails_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getStatusDetails_args");
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getStatusDetails_args.class, metaDataMap);
}
public getStatusDetails_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getStatusDetails_args(getStatusDetails_args other) {
}
public getStatusDetails_args deepCopy() {
return new getStatusDetails_args(this);
}
@Override
public void clear() {
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getStatusDetails_args)
return this.equals((getStatusDetails_args) that);
return false;
}
public boolean equals(getStatusDetails_args that) {
if (that == null)
return false;
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getStatusDetails_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getStatusDetails_args typedOther = (getStatusDetails_args) other;
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getStatusDetails_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getStatusDetails_result implements TBase<getStatusDetails_result, getStatusDetails_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getStatusDetails_result");
private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRING, (short) 0);
public String success;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
SUCCESS((short) 0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getStatusDetails_result.class, metaDataMap);
}
public getStatusDetails_result() {
}
public getStatusDetails_result(
String success) {
this();
this.success = success;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getStatusDetails_result(getStatusDetails_result other) {
if (other.isSetSuccess()) {
this.success = other.success;
}
}
public getStatusDetails_result deepCopy() {
return new getStatusDetails_result(this);
}
@Override
public void clear() {
this.success = null;
}
public String getSuccess() {
return this.success;
}
public getStatusDetails_result setSuccess(String success) {
this.success = success;
return this;
}
public void unsetSuccess() {
this.success = null;
}
/**
* Returns true if field success is set (has been asigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return this.success != null;
}
public void setSuccessIsSet(boolean value) {
if (!value) {
this.success = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((String) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return getSuccess();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getStatusDetails_result)
return this.equals((getStatusDetails_result) that);
return false;
}
public boolean equals(getStatusDetails_result that) {
if (that == null)
return false;
boolean this_present_success = true && this.isSetSuccess();
boolean that_present_success = true && that.isSetSuccess();
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (!this.success.equals(that.success))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getStatusDetails_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getStatusDetails_result typedOther = (getStatusDetails_result) other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 0: // SUCCESS
if (field.type == TType.STRING) {
this.success = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
if (this.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeString(this.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getStatusDetails_result(");
boolean first = true;
sb.append("success:");
if (this.success == null) {
sb.append("null");
} else {
sb.append(this.success);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getCounters_args implements TBase<getCounters_args, getCounters_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getCounters_args");
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getCounters_args.class, metaDataMap);
}
public getCounters_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getCounters_args(getCounters_args other) {
}
public getCounters_args deepCopy() {
return new getCounters_args(this);
}
@Override
public void clear() {
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getCounters_args)
return this.equals((getCounters_args) that);
return false;
}
public boolean equals(getCounters_args that) {
if (that == null)
return false;
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getCounters_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getCounters_args typedOther = (getCounters_args) other;
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getCounters_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getCounters_result implements TBase<getCounters_result, getCounters_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getCounters_result");
private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.MAP, (short) 0);
public Map<String, Long> success;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
SUCCESS((short) 0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT,
new MapMetaData(TType.MAP,
new FieldValueMetaData(TType.STRING),
new FieldValueMetaData(TType.I64))));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getCounters_result.class, metaDataMap);
}
public getCounters_result() {
}
public getCounters_result(
Map<String, Long> success) {
this();
this.success = success;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getCounters_result(getCounters_result other) {
if (other.isSetSuccess()) {
Map<String, Long> __this__success = new HashMap<String, Long>();
for (Map.Entry<String, Long> other_element : other.success.entrySet()) {
String other_element_key = other_element.getKey();
Long other_element_value = other_element.getValue();
String __this__success_copy_key = other_element_key;
Long __this__success_copy_value = other_element_value;
__this__success.put(__this__success_copy_key, __this__success_copy_value);
}
this.success = __this__success;
}
}
public getCounters_result deepCopy() {
return new getCounters_result(this);
}
@Override
public void clear() {
this.success = null;
}
public int getSuccessSize() {
return (this.success == null) ? 0 : this.success.size();
}
public void putToSuccess(String key, long val) {
if (this.success == null) {
this.success = new HashMap<String, Long>();
}
this.success.put(key, val);
}
public Map<String, Long> getSuccess() {
return this.success;
}
public getCounters_result setSuccess(Map<String, Long> success) {
this.success = success;
return this;
}
public void unsetSuccess() {
this.success = null;
}
/**
* Returns true if field success is set (has been asigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return this.success != null;
}
public void setSuccessIsSet(boolean value) {
if (!value) {
this.success = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((Map<String, Long>) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return getSuccess();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getCounters_result)
return this.equals((getCounters_result) that);
return false;
}
public boolean equals(getCounters_result that) {
if (that == null)
return false;
boolean this_present_success = true && this.isSetSuccess();
boolean that_present_success = true && that.isSetSuccess();
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (!this.success.equals(that.success))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getCounters_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getCounters_result typedOther = (getCounters_result) other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 0: // SUCCESS
if (field.type == TType.MAP) {
{
TMap _map0 = iprot.readMapBegin();
this.success = new HashMap<String, Long>(2 * _map0.size);
for (int _i1 = 0; _i1 < _map0.size; ++_i1) {
String _key2;
long _val3;
_key2 = iprot.readString();
_val3 = iprot.readI64();
this.success.put(_key2, _val3);
}
iprot.readMapEnd();
}
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
if (this.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeMapBegin(new TMap(TType.STRING, TType.I64, this.success.size()));
for (Map.Entry<String, Long> _iter4 : this.success.entrySet()) {
oprot.writeString(_iter4.getKey());
oprot.writeI64(_iter4.getValue());
}
oprot.writeMapEnd();
}
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getCounters_result(");
boolean first = true;
sb.append("success:");
if (this.success == null) {
sb.append("null");
} else {
sb.append(this.success);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getCounter_args implements TBase<getCounter_args, getCounter_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getCounter_args");
private static final TField KEY_FIELD_DESC = new TField("key", TType.STRING, (short) 1);
public String key;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
KEY((short) 1, "key");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 1: // KEY
return KEY;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.KEY, new FieldMetaData("key", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getCounter_args.class, metaDataMap);
}
public getCounter_args() {
}
public getCounter_args(
String key) {
this();
this.key = key;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getCounter_args(getCounter_args other) {
if (other.isSetKey()) {
this.key = other.key;
}
}
public getCounter_args deepCopy() {
return new getCounter_args(this);
}
@Override
public void clear() {
this.key = null;
}
public String getKey() {
return this.key;
}
public getCounter_args setKey(String key) {
this.key = key;
return this;
}
public void unsetKey() {
this.key = null;
}
/**
* Returns true if field key is set (has been asigned a value) and false otherwise
*/
public boolean isSetKey() {
return this.key != null;
}
public void setKeyIsSet(boolean value) {
if (!value) {
this.key = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case KEY:
if (value == null) {
unsetKey();
} else {
setKey((String) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case KEY:
return getKey();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case KEY:
return isSetKey();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getCounter_args)
return this.equals((getCounter_args) that);
return false;
}
public boolean equals(getCounter_args that) {
if (that == null)
return false;
boolean this_present_key = true && this.isSetKey();
boolean that_present_key = true && that.isSetKey();
if (this_present_key || that_present_key) {
if (!(this_present_key && that_present_key))
return false;
if (!this.key.equals(that.key))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getCounter_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getCounter_args typedOther = (getCounter_args) other;
lastComparison = Boolean.valueOf(isSetKey()).compareTo(typedOther.isSetKey());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetKey()) {
lastComparison = TBaseHelper.compareTo(this.key, typedOther.key);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 1: // KEY
if (field.type == TType.STRING) {
this.key = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
if (this.key != null) {
oprot.writeFieldBegin(KEY_FIELD_DESC);
oprot.writeString(this.key);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getCounter_args(");
boolean first = true;
sb.append("key:");
if (this.key == null) {
sb.append("null");
} else {
sb.append(this.key);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getCounter_result implements TBase<getCounter_result, getCounter_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getCounter_result");
private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.I64, (short) 0);
public long success;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
SUCCESS((short) 0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final int __SUCCESS_ISSET_ID = 0;
private BitSet __isset_bit_vector = new BitSet(1);
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.I64)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getCounter_result.class, metaDataMap);
}
public getCounter_result() {
}
public getCounter_result(
long success) {
this();
this.success = success;
setSuccessIsSet(true);
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getCounter_result(getCounter_result other) {
__isset_bit_vector.clear();
__isset_bit_vector.or(other.__isset_bit_vector);
this.success = other.success;
}
public getCounter_result deepCopy() {
return new getCounter_result(this);
}
@Override
public void clear() {
setSuccessIsSet(false);
this.success = 0;
}
public long getSuccess() {
return this.success;
}
public getCounter_result setSuccess(long success) {
this.success = success;
setSuccessIsSet(true);
return this;
}
public void unsetSuccess() {
__isset_bit_vector.clear(__SUCCESS_ISSET_ID);
}
/**
* Returns true if field success is set (has been asigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
}
public void setSuccessIsSet(boolean value) {
__isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((Long) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return new Long(getSuccess());
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getCounter_result)
return this.equals((getCounter_result) that);
return false;
}
public boolean equals(getCounter_result that) {
if (that == null)
return false;
boolean this_present_success = true;
boolean that_present_success = true;
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (this.success != that.success)
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getCounter_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getCounter_result typedOther = (getCounter_result) other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 0: // SUCCESS
if (field.type == TType.I64) {
this.success = iprot.readI64();
setSuccessIsSet(true);
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
if (this.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeI64(this.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getCounter_result(");
boolean first = true;
sb.append("success:");
sb.append(this.success);
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class setOption_args implements TBase<setOption_args, setOption_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("setOption_args");
private static final TField KEY_FIELD_DESC = new TField("key", TType.STRING, (short) 1);
private static final TField VALUE_FIELD_DESC = new TField("value", TType.STRING, (short) 2);
public String key;
public String value;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
KEY((short) 1, "key"),
VALUE((short) 2, "value");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 1: // KEY
return KEY;
case 2: // VALUE
return VALUE;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.KEY, new FieldMetaData("key", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
tmpMap.put(_Fields.VALUE, new FieldMetaData("value", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(setOption_args.class, metaDataMap);
}
public setOption_args() {
}
public setOption_args(
String key,
String value) {
this();
this.key = key;
this.value = value;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public setOption_args(setOption_args other) {
if (other.isSetKey()) {
this.key = other.key;
}
if (other.isSetValue()) {
this.value = other.value;
}
}
public setOption_args deepCopy() {
return new setOption_args(this);
}
@Override
public void clear() {
this.key = null;
this.value = null;
}
public String getKey() {
return this.key;
}
public setOption_args setKey(String key) {
this.key = key;
return this;
}
public void unsetKey() {
this.key = null;
}
/**
* Returns true if field key is set (has been asigned a value) and false otherwise
*/
public boolean isSetKey() {
return this.key != null;
}
public void setKeyIsSet(boolean value) {
if (!value) {
this.key = null;
}
}
public String getValue() {
return this.value;
}
public setOption_args setValue(String value) {
this.value = value;
return this;
}
public void unsetValue() {
this.value = null;
}
/**
* Returns true if field value is set (has been asigned a value) and false otherwise
*/
public boolean isSetValue() {
return this.value != null;
}
public void setValueIsSet(boolean value) {
if (!value) {
this.value = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case KEY:
if (value == null) {
unsetKey();
} else {
setKey((String) value);
}
break;
case VALUE:
if (value == null) {
unsetValue();
} else {
setValue((String) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case KEY:
return getKey();
case VALUE:
return getValue();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case KEY:
return isSetKey();
case VALUE:
return isSetValue();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof setOption_args)
return this.equals((setOption_args) that);
return false;
}
public boolean equals(setOption_args that) {
if (that == null)
return false;
boolean this_present_key = true && this.isSetKey();
boolean that_present_key = true && that.isSetKey();
if (this_present_key || that_present_key) {
if (!(this_present_key && that_present_key))
return false;
if (!this.key.equals(that.key))
return false;
}
boolean this_present_value = true && this.isSetValue();
boolean that_present_value = true && that.isSetValue();
if (this_present_value || that_present_value) {
if (!(this_present_value && that_present_value))
return false;
if (!this.value.equals(that.value))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(setOption_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
setOption_args typedOther = (setOption_args) other;
lastComparison = Boolean.valueOf(isSetKey()).compareTo(typedOther.isSetKey());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetKey()) {
lastComparison = TBaseHelper.compareTo(this.key, typedOther.key);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = Boolean.valueOf(isSetValue()).compareTo(typedOther.isSetValue());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetValue()) {
lastComparison = TBaseHelper.compareTo(this.value, typedOther.value);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 1: // KEY
if (field.type == TType.STRING) {
this.key = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
case 2: // VALUE
if (field.type == TType.STRING) {
this.value = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
if (this.key != null) {
oprot.writeFieldBegin(KEY_FIELD_DESC);
oprot.writeString(this.key);
oprot.writeFieldEnd();
}
if (this.value != null) {
oprot.writeFieldBegin(VALUE_FIELD_DESC);
oprot.writeString(this.value);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("setOption_args(");
boolean first = true;
sb.append("key:");
if (this.key == null) {
sb.append("null");
} else {
sb.append(this.key);
}
first = false;
if (!first) sb.append(", ");
sb.append("value:");
if (this.value == null) {
sb.append("null");
} else {
sb.append(this.value);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class setOption_result implements TBase<setOption_result, setOption_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("setOption_result");
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(setOption_result.class, metaDataMap);
}
public setOption_result() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public setOption_result(setOption_result other) {
}
public setOption_result deepCopy() {
return new setOption_result(this);
}
@Override
public void clear() {
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof setOption_result)
return this.equals((setOption_result) that);
return false;
}
public boolean equals(setOption_result that) {
if (that == null)
return false;
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(setOption_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
setOption_result typedOther = (setOption_result) other;
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("setOption_result(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getOption_args implements TBase<getOption_args, getOption_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getOption_args");
private static final TField KEY_FIELD_DESC = new TField("key", TType.STRING, (short) 1);
public String key;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
KEY((short) 1, "key");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 1: // KEY
return KEY;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.KEY, new FieldMetaData("key", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getOption_args.class, metaDataMap);
}
public getOption_args() {
}
public getOption_args(
String key) {
this();
this.key = key;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getOption_args(getOption_args other) {
if (other.isSetKey()) {
this.key = other.key;
}
}
public getOption_args deepCopy() {
return new getOption_args(this);
}
@Override
public void clear() {
this.key = null;
}
public String getKey() {
return this.key;
}
public getOption_args setKey(String key) {
this.key = key;
return this;
}
public void unsetKey() {
this.key = null;
}
/**
* Returns true if field key is set (has been asigned a value) and false otherwise
*/
public boolean isSetKey() {
return this.key != null;
}
public void setKeyIsSet(boolean value) {
if (!value) {
this.key = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case KEY:
if (value == null) {
unsetKey();
} else {
setKey((String) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case KEY:
return getKey();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case KEY:
return isSetKey();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getOption_args)
return this.equals((getOption_args) that);
return false;
}
public boolean equals(getOption_args that) {
if (that == null)
return false;
boolean this_present_key = true && this.isSetKey();
boolean that_present_key = true && that.isSetKey();
if (this_present_key || that_present_key) {
if (!(this_present_key && that_present_key))
return false;
if (!this.key.equals(that.key))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getOption_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getOption_args typedOther = (getOption_args) other;
lastComparison = Boolean.valueOf(isSetKey()).compareTo(typedOther.isSetKey());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetKey()) {
lastComparison = TBaseHelper.compareTo(this.key, typedOther.key);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 1: // KEY
if (field.type == TType.STRING) {
this.key = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
if (this.key != null) {
oprot.writeFieldBegin(KEY_FIELD_DESC);
oprot.writeString(this.key);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getOption_args(");
boolean first = true;
sb.append("key:");
if (this.key == null) {
sb.append("null");
} else {
sb.append(this.key);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getOption_result implements TBase<getOption_result, getOption_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getOption_result");
private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRING, (short) 0);
public String success;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
SUCCESS((short) 0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getOption_result.class, metaDataMap);
}
public getOption_result() {
}
public getOption_result(
String success) {
this();
this.success = success;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getOption_result(getOption_result other) {
if (other.isSetSuccess()) {
this.success = other.success;
}
}
public getOption_result deepCopy() {
return new getOption_result(this);
}
@Override
public void clear() {
this.success = null;
}
public String getSuccess() {
return this.success;
}
public getOption_result setSuccess(String success) {
this.success = success;
return this;
}
public void unsetSuccess() {
this.success = null;
}
/**
* Returns true if field success is set (has been asigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return this.success != null;
}
public void setSuccessIsSet(boolean value) {
if (!value) {
this.success = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((String) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return getSuccess();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getOption_result)
return this.equals((getOption_result) that);
return false;
}
public boolean equals(getOption_result that) {
if (that == null)
return false;
boolean this_present_success = true && this.isSetSuccess();
boolean that_present_success = true && that.isSetSuccess();
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (!this.success.equals(that.success))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getOption_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getOption_result typedOther = (getOption_result) other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 0: // SUCCESS
if (field.type == TType.STRING) {
this.success = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
if (this.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeString(this.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getOption_result(");
boolean first = true;
sb.append("success:");
if (this.success == null) {
sb.append("null");
} else {
sb.append(this.success);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getOptions_args implements TBase<getOptions_args, getOptions_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getOptions_args");
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getOptions_args.class, metaDataMap);
}
public getOptions_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getOptions_args(getOptions_args other) {
}
public getOptions_args deepCopy() {
return new getOptions_args(this);
}
@Override
public void clear() {
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getOptions_args)
return this.equals((getOptions_args) that);
return false;
}
public boolean equals(getOptions_args that) {
if (that == null)
return false;
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getOptions_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getOptions_args typedOther = (getOptions_args) other;
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getOptions_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getOptions_result implements TBase<getOptions_result, getOptions_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getOptions_result");
private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.MAP, (short) 0);
public Map<String, String> success;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
SUCCESS((short) 0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT,
new MapMetaData(TType.MAP,
new FieldValueMetaData(TType.STRING),
new FieldValueMetaData(TType.STRING))));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getOptions_result.class, metaDataMap);
}
public getOptions_result() {
}
public getOptions_result(
Map<String, String> success) {
this();
this.success = success;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getOptions_result(getOptions_result other) {
if (other.isSetSuccess()) {
Map<String, String> __this__success = new HashMap<String, String>();
for (Map.Entry<String, String> other_element : other.success.entrySet()) {
String other_element_key = other_element.getKey();
String other_element_value = other_element.getValue();
String __this__success_copy_key = other_element_key;
String __this__success_copy_value = other_element_value;
__this__success.put(__this__success_copy_key, __this__success_copy_value);
}
this.success = __this__success;
}
}
public getOptions_result deepCopy() {
return new getOptions_result(this);
}
@Override
public void clear() {
this.success = null;
}
public int getSuccessSize() {
return (this.success == null) ? 0 : this.success.size();
}
public void putToSuccess(String key, String val) {
if (this.success == null) {
this.success = new HashMap<String, String>();
}
this.success.put(key, val);
}
public Map<String, String> getSuccess() {
return this.success;
}
public getOptions_result setSuccess(Map<String, String> success) {
this.success = success;
return this;
}
public void unsetSuccess() {
this.success = null;
}
/**
* Returns true if field success is set (has been asigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return this.success != null;
}
public void setSuccessIsSet(boolean value) {
if (!value) {
this.success = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((Map<String, String>) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return getSuccess();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getOptions_result)
return this.equals((getOptions_result) that);
return false;
}
public boolean equals(getOptions_result that) {
if (that == null)
return false;
boolean this_present_success = true && this.isSetSuccess();
boolean that_present_success = true && that.isSetSuccess();
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (!this.success.equals(that.success))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getOptions_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getOptions_result typedOther = (getOptions_result) other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 0: // SUCCESS
if (field.type == TType.MAP) {
{
TMap _map5 = iprot.readMapBegin();
this.success = new HashMap<String, String>(2 * _map5.size);
for (int _i6 = 0; _i6 < _map5.size; ++_i6) {
String _key7;
String _val8;
_key7 = iprot.readString();
_val8 = iprot.readString();
this.success.put(_key7, _val8);
}
iprot.readMapEnd();
}
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
if (this.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeMapBegin(new TMap(TType.STRING, TType.STRING, this.success.size()));
for (Map.Entry<String, String> _iter9 : this.success.entrySet()) {
oprot.writeString(_iter9.getKey());
oprot.writeString(_iter9.getValue());
}
oprot.writeMapEnd();
}
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getOptions_result(");
boolean first = true;
sb.append("success:");
if (this.success == null) {
sb.append("null");
} else {
sb.append(this.success);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getCpuProfile_args implements TBase<getCpuProfile_args, getCpuProfile_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getCpuProfile_args");
private static final TField PROFILE_DURATION_IN_SEC_FIELD_DESC = new TField("profileDurationInSec", TType.I32, (short) 1);
public int profileDurationInSec;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
PROFILE_DURATION_IN_SEC((short) 1, "profileDurationInSec");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 1: // PROFILE_DURATION_IN_SEC
return PROFILE_DURATION_IN_SEC;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final int __PROFILEDURATIONINSEC_ISSET_ID = 0;
private BitSet __isset_bit_vector = new BitSet(1);
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.PROFILE_DURATION_IN_SEC, new FieldMetaData("profileDurationInSec", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.I32)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getCpuProfile_args.class, metaDataMap);
}
public getCpuProfile_args() {
}
public getCpuProfile_args(
int profileDurationInSec) {
this();
this.profileDurationInSec = profileDurationInSec;
setProfileDurationInSecIsSet(true);
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getCpuProfile_args(getCpuProfile_args other) {
__isset_bit_vector.clear();
__isset_bit_vector.or(other.__isset_bit_vector);
this.profileDurationInSec = other.profileDurationInSec;
}
public getCpuProfile_args deepCopy() {
return new getCpuProfile_args(this);
}
@Override
public void clear() {
setProfileDurationInSecIsSet(false);
this.profileDurationInSec = 0;
}
public int getProfileDurationInSec() {
return this.profileDurationInSec;
}
public getCpuProfile_args setProfileDurationInSec(int profileDurationInSec) {
this.profileDurationInSec = profileDurationInSec;
setProfileDurationInSecIsSet(true);
return this;
}
public void unsetProfileDurationInSec() {
__isset_bit_vector.clear(__PROFILEDURATIONINSEC_ISSET_ID);
}
/**
* Returns true if field profileDurationInSec is set (has been asigned a value) and false otherwise
*/
public boolean isSetProfileDurationInSec() {
return __isset_bit_vector.get(__PROFILEDURATIONINSEC_ISSET_ID);
}
public void setProfileDurationInSecIsSet(boolean value) {
__isset_bit_vector.set(__PROFILEDURATIONINSEC_ISSET_ID, value);
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case PROFILE_DURATION_IN_SEC:
if (value == null) {
unsetProfileDurationInSec();
} else {
setProfileDurationInSec((Integer) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case PROFILE_DURATION_IN_SEC:
return new Integer(getProfileDurationInSec());
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case PROFILE_DURATION_IN_SEC:
return isSetProfileDurationInSec();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getCpuProfile_args)
return this.equals((getCpuProfile_args) that);
return false;
}
public boolean equals(getCpuProfile_args that) {
if (that == null)
return false;
boolean this_present_profileDurationInSec = true;
boolean that_present_profileDurationInSec = true;
if (this_present_profileDurationInSec || that_present_profileDurationInSec) {
if (!(this_present_profileDurationInSec && that_present_profileDurationInSec))
return false;
if (this.profileDurationInSec != that.profileDurationInSec)
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getCpuProfile_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getCpuProfile_args typedOther = (getCpuProfile_args) other;
lastComparison = Boolean.valueOf(isSetProfileDurationInSec()).compareTo(typedOther.isSetProfileDurationInSec());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetProfileDurationInSec()) {
lastComparison = TBaseHelper.compareTo(this.profileDurationInSec, typedOther.profileDurationInSec);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 1: // PROFILE_DURATION_IN_SEC
if (field.type == TType.I32) {
this.profileDurationInSec = iprot.readI32();
setProfileDurationInSecIsSet(true);
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldBegin(PROFILE_DURATION_IN_SEC_FIELD_DESC);
oprot.writeI32(this.profileDurationInSec);
oprot.writeFieldEnd();
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getCpuProfile_args(");
boolean first = true;
sb.append("profileDurationInSec:");
sb.append(this.profileDurationInSec);
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class getCpuProfile_result implements TBase<getCpuProfile_result, getCpuProfile_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("getCpuProfile_result");
private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.STRING, (short) 0);
public String success;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
SUCCESS((short) 0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(getCpuProfile_result.class, metaDataMap);
}
public getCpuProfile_result() {
}
public getCpuProfile_result(
String success) {
this();
this.success = success;
}
/**
* Performs a deep copy on <i>other</i>.
*/
public getCpuProfile_result(getCpuProfile_result other) {
if (other.isSetSuccess()) {
this.success = other.success;
}
}
public getCpuProfile_result deepCopy() {
return new getCpuProfile_result(this);
}
@Override
public void clear() {
this.success = null;
}
public String getSuccess() {
return this.success;
}
public getCpuProfile_result setSuccess(String success) {
this.success = success;
return this;
}
public void unsetSuccess() {
this.success = null;
}
/**
* Returns true if field success is set (has been asigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return this.success != null;
}
public void setSuccessIsSet(boolean value) {
if (!value) {
this.success = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((String) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return getSuccess();
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof getCpuProfile_result)
return this.equals((getCpuProfile_result) that);
return false;
}
public boolean equals(getCpuProfile_result that) {
if (that == null)
return false;
boolean this_present_success = true && this.isSetSuccess();
boolean that_present_success = true && that.isSetSuccess();
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (!this.success.equals(that.success))
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(getCpuProfile_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
getCpuProfile_result typedOther = (getCpuProfile_result) other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 0: // SUCCESS
if (field.type == TType.STRING) {
this.success = iprot.readString();
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
if (this.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeString(this.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getCpuProfile_result(");
boolean first = true;
sb.append("success:");
if (this.success == null) {
sb.append("null");
} else {
sb.append(this.success);
}
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class aliveSince_args implements TBase<aliveSince_args, aliveSince_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("aliveSince_args");
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(aliveSince_args.class, metaDataMap);
}
public aliveSince_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public aliveSince_args(aliveSince_args other) {
}
public aliveSince_args deepCopy() {
return new aliveSince_args(this);
}
@Override
public void clear() {
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof aliveSince_args)
return this.equals((aliveSince_args) that);
return false;
}
public boolean equals(aliveSince_args that) {
if (that == null)
return false;
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(aliveSince_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
aliveSince_args typedOther = (aliveSince_args) other;
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("aliveSince_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class aliveSince_result implements TBase<aliveSince_result, aliveSince_result._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("aliveSince_result");
private static final TField SUCCESS_FIELD_DESC = new TField("success", TType.I64, (short) 0);
public long success;
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
SUCCESS((short) 0, "success");
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
case 0: // SUCCESS
return SUCCESS;
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final int __SUCCESS_ISSET_ID = 0;
private BitSet __isset_bit_vector = new BitSet(1);
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new FieldMetaData("success", TFieldRequirementType.DEFAULT,
new FieldValueMetaData(TType.I64)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(aliveSince_result.class, metaDataMap);
}
public aliveSince_result() {
}
public aliveSince_result(
long success) {
this();
this.success = success;
setSuccessIsSet(true);
}
/**
* Performs a deep copy on <i>other</i>.
*/
public aliveSince_result(aliveSince_result other) {
__isset_bit_vector.clear();
__isset_bit_vector.or(other.__isset_bit_vector);
this.success = other.success;
}
public aliveSince_result deepCopy() {
return new aliveSince_result(this);
}
@Override
public void clear() {
setSuccessIsSet(false);
this.success = 0;
}
public long getSuccess() {
return this.success;
}
public aliveSince_result setSuccess(long success) {
this.success = success;
setSuccessIsSet(true);
return this;
}
public void unsetSuccess() {
__isset_bit_vector.clear(__SUCCESS_ISSET_ID);
}
/**
* Returns true if field success is set (has been asigned a value) and false otherwise
*/
public boolean isSetSuccess() {
return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
}
public void setSuccessIsSet(boolean value) {
__isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SUCCESS:
if (value == null) {
unsetSuccess();
} else {
setSuccess((Long) value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SUCCESS:
return new Long(getSuccess());
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
case SUCCESS:
return isSetSuccess();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof aliveSince_result)
return this.equals((aliveSince_result) that);
return false;
}
public boolean equals(aliveSince_result that) {
if (that == null)
return false;
boolean this_present_success = true;
boolean that_present_success = true;
if (this_present_success || that_present_success) {
if (!(this_present_success && that_present_success))
return false;
if (this.success != that.success)
return false;
}
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(aliveSince_result other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
aliveSince_result typedOther = (aliveSince_result) other;
lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetSuccess()) {
lastComparison = TBaseHelper.compareTo(this.success, typedOther.success);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
case 0: // SUCCESS
if (field.type == TType.I64) {
this.success = iprot.readI64();
setSuccessIsSet(true);
} else {
TProtocolUtil.skip(iprot, field.type);
}
break;
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
oprot.writeStructBegin(STRUCT_DESC);
if (this.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeI64(this.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("aliveSince_result(");
boolean first = true;
sb.append("success:");
sb.append(this.success);
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class reinitialize_args implements TBase<reinitialize_args, reinitialize_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("reinitialize_args");
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(reinitialize_args.class, metaDataMap);
}
public reinitialize_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public reinitialize_args(reinitialize_args other) {
}
public reinitialize_args deepCopy() {
return new reinitialize_args(this);
}
@Override
public void clear() {
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof reinitialize_args)
return this.equals((reinitialize_args) that);
return false;
}
public boolean equals(reinitialize_args that) {
if (that == null)
return false;
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(reinitialize_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
reinitialize_args typedOther = (reinitialize_args) other;
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("reinitialize_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws TException {
// check for required fields
}
}
public static class shutdown_args implements TBase<shutdown_args, shutdown_args._Fields>, java.io.Serializable, Cloneable {
private static final TStruct STRUCT_DESC = new TStruct("shutdown_args");
/**
* The set of fields this struct contains, along with convenience methods for finding and manipulating them.
*/
public enum _Fields implements TFieldIdEnum {
;
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
static {
for (_Fields field : EnumSet.allOf(_Fields.class)) {
byName.put(field.getFieldName(), field);
}
}
/**
* Find the _Fields constant that matches fieldId, or null if its not found.
*/
public static _Fields findByThriftId(int fieldId) {
switch (fieldId) {
default:
return null;
}
}
/**
* Find the _Fields constant that matches fieldId, throwing an exception
* if it is not found.
*/
public static _Fields findByThriftIdOrThrow(int fieldId) {
_Fields fields = findByThriftId(fieldId);
if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
public static _Fields findByName(String name) {
return byName.get(name);
}
private final short _thriftId;
private final String _fieldName;
_Fields(short thriftId, String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public String getFieldName() {
return _fieldName;
}
}
public static final Map<_Fields, FieldMetaData> metaDataMap;
static {
Map<_Fields, FieldMetaData> tmpMap = new EnumMap<_Fields, FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
FieldMetaData.addStructMetaDataMap(shutdown_args.class, metaDataMap);
}
public shutdown_args() {
}
/**
* Performs a deep copy on <i>other</i>.
*/
public shutdown_args(shutdown_args other) {
}
public shutdown_args deepCopy() {
return new shutdown_args(this);
}
@Override
public void clear() {
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
}
throw new IllegalStateException();
}
/**
* Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise
*/
public boolean isSet(_Fields field) {
if (field == null) {
throw new IllegalArgumentException();
}
switch (field) {
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof shutdown_args)
return this.equals((shutdown_args) that);
return false;
}
public boolean equals(shutdown_args that) {
if (that == null)
return false;
return true;
}
@Override
public int hashCode() {
return 0;
}
public int compareTo(shutdown_args other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
shutdown_args typedOther = (shutdown_args) other;
return 0;
}
public _Fields fieldForId(int fieldId) {
return _Fields.findByThriftId(fieldId);
}
public void read(TProtocol iprot) throws TException {
TField field;
iprot.readStructBegin();
while (true) {
field = iprot.readFieldBegin();
if (field.type == TType.STOP) {
break;
}
switch (field.id) {
default:
TProtocolUtil.skip(iprot, field.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
validate();
}
public void write(TProtocol oprot) throws TException {
validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("shutdown_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
|
5c51456f-551f-4651-b391-6f7ddf9ced75
|
public java.lang.String getCustomText21() {
return this.customText21;
}
|
fad81e70-c0ca-4927-8c87-5f1057d37dda
|
public crmondemand.xml.opportunity.query.QueryType getCustomPickList43() {
return this.customPickList43;
}
|
60556502-669b-4317-b53b-5bd3ddffbcf5
|
public static void sort(Comparable[] a, Comparable[] aux, int lo, int hi) {
if (hi <= lo) return;
int mid = lo + (hi - lo)/2;
sort(a, aux, lo, mid);
sort(a, aux, mid+1, hi);
merge(a, aux, lo, mid, hi);
for (Comparable a1 : a) {
System.out.print(a1);
System.out.print(' ');
}
System.out.println();
}
|
a9633c5a-98bb-4a2e-92c3-8d5348936500
|
public crmondemand.xml.contact.query.QueryType getLeadLastName() {
return this.leadLastName;
}
|
741842be-2496-4424-9467-d1bb0008aa39
|
public void setCustomNumber63(crmondemand.xml.opportunity.query.QueryType customNumber63) {
this.customNumber63 = customNumber63;
}
|
e4657946-d951-4d41-9125-d3e35f06afba
|
public void setCustomNumber10(crmondemand.xml.customobject6.query.QueryType customNumber10) {
this.customNumber10 = customNumber10;
}
|
0b0502dd-dcc6-48b6-a5f9-e141795535c6
|
public java.lang.Boolean getCustomBoolean11() {
return this.customBoolean11;
}
|
5082f47c-799d-42b5-a66e-ad378b584e3c
|
public void setCustomDate28(java.util.Calendar customDate28) {
this.customDate28 = customDate28;
}
|
5a0abff5-8a7d-43e6-8007-d83aa2e87e53
|
public void setCustomPickList1(crmondemand.xml.opportunity.query.QueryType customPickList1) {
this.customPickList1 = customPickList1;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.