id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
cd96f831-0122-4b86-8eac-4f0476d0b9c8
|
public void setCustomInteger27(crmondemand.xml.contact.query.QueryType customInteger27) {
this.customInteger27 = customInteger27;
}
|
3aea5bc7-02b1-4d96-9c54-142051df35c6
|
public void setCustomPhone11(java.lang.String customPhone11) {
this.customPhone11 = customPhone11;
}
|
cf41ac42-6535-4b7a-9e06-238c95252f35
|
public void type(int j)
{}
|
6ee188ae-5071-4b42-a374-892ea0c6488b
|
@Override
public void paintComponent(Graphics g){
g.drawImage(img, 100, 100, null);
g.drawImage(anim.getSprite(), 200, 200, null);
anim.update();
}
|
23a37695-b057-4745-9a95-dbc78d6823af
|
public crmondemand.xml.customobject3.query.QueryType getCustomDate21() {
return this.customDate21;
}
|
ef19869a-b48e-4ffa-a5b7-63342753ef15
|
@Test
public void canParseTimestamp() throws IntraceException {
// String rawEventText = "[12:48:10.792]:[59]:org.headlessintrace.test.webapp.servlet.HelloWorld:doGet: Arg (request): org.apache.catalina.connector.RequestFacade@c2aa254";
String rawEventText = "[12:48:10.792]:[59]:org.headlessintrace.test.webapp.servlet.HelloWorld:doGet: Arg (request): org.apache.catalina.connector.RequestFacade@c2aa254";
ITraceEvent actualEvent = m_eventParser.createEvent(rawEventText,0);
assertEquals("Can't find string-version of timestamp.", setCurrDate(EXPECTED_TIMESTAMP) /*"12:48:10.792"*/, actualEvent.getAgentTimeMillis());
//792 = 792
//10*1000 = 10000
//48*1000*60 = 2880000
//12*1000*60*60 =43200000
//Grand total: 46090792
// assertEquals("Can't parse timestamp (ms)", setCurrDate(46090792), actualEvent.getAgentTimeMillis());
}
|
56c4147f-d96e-4247-a99b-5cb473f9f832
|
public void setCustomBoolean18(java.lang.Boolean customBoolean18) {
this.customBoolean18 = customBoolean18;
}
|
d5d0f3bb-859b-4348-bf9b-726f2f946210
|
public crmondemand.xml.customobject6.query.QueryType getCustomDate129() {
return this.customDate129;
}
|
1194976b-32a9-490a-b7f6-d1c69ad23789
|
public java.lang.String getCustomObject2ExternalSystemId() {
return this.customObject2ExternalSystemId;
}
|
eba515e1-0e1a-456d-a878-12157da95cb9
|
public void setCustomPickList35(java.lang.String customPickList35) {
this.customPickList35 = customPickList35;
}
|
4f7ebfea-b660-425a-ab3d-dfe7c741bcd2
|
public crmondemand.xml.customobject6.query.QueryType getCustomPickList89() {
return this.customPickList89;
}
|
a4a1dd78-10f7-4207-ba55-5b662d206aaf
|
public boolean isHasNext() {
return this.hasNext;
}
|
8c84092f-2357-481c-978a-ca0327582cc4
|
public static void htmlDescribeOneSuperLevel(Cons directsupers, HashTable alreadyoutput, org.powerloom.PrintableStringWriter stream) {
{ boolean alreadyoutputP = false;
if (directsupers == Stella.NIL) {
return;
}
directsupers = Cons.copyConsList(directsupers).sort(Native.find_java_method("edu.isi.powerloom.logic.LogicObject", "objectNameLessThanP", new java.lang.Class [] {Native.find_java_class("edu.isi.powerloom.logic.LogicObject"), Native.find_java_class("edu.isi.powerloom.logic.LogicObject")}));
{
stream.print("<DL STYLE=' margin-top: 0; margin-bottom:0'>");
{ NamedDescription renamed_Super = null;
Cons iter000 = directsupers;
for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
renamed_Super = ((NamedDescription)(iter000.value));
alreadyoutputP = alreadyoutput.lookup(renamed_Super) != null;
{
stream.print("<DT STYLE='margin-top: 0'>");
OntosaurusUtil.htmlWriteHref(stream, "show", "concept", renamed_Super);
if (alreadyoutputP) {
stream.print("...");
}
stream.println("</DT>");
}
if (!(alreadyoutputP)) {
alreadyoutput.insertAt(renamed_Super, Stella.TRUE_WRAPPER);
{
stream.print("<DD>");
OntosaurusUtil.htmlDescribeOneSuperLevel(edu.isi.powerloom.PLI.getDirectSuperrelations(renamed_Super, null, null).consify(), alreadyoutput, stream);
stream.println("</DD>");
}
}
}
}
stream.println("</DL>");
}
return;
}
}
|
8a1b2ad4-f1dc-4e55-b849-749181fd1719
|
public crmondemand.xml.customobject3.query.QueryType getCustomDate52() {
return this.customDate52;
}
|
b4bca355-1df6-42f4-b7f4-bd029f73f74d
|
public java.lang.String getPolicyBillingStatus() {
return this.policyBillingStatus;
}
|
32806681-b797-405f-9e35-1154142210b6
|
public java.lang.String getCustomText43() {
return this.customText43;
}
|
35b696f4-94d9-4aed-a0b7-23e67524e408
|
public crmondemand.xml.customobject6.query.QueryType getInvtPeriodReconciledFlg() {
return this.invtPeriodReconciledFlg;
}
|
43e167a4-1d27-4159-85f4-b411b6c4c171
|
public java.math.BigDecimal getCustomNumber49() {
return this.customNumber49;
}
|
aab1a465-9985-4b30-bb17-73bc7f89f0ed
|
public java.math.BigDecimal getCustomNumber61() {
return this.customNumber61;
}
|
32b37dc5-0c47-42df-ab1d-bfcec688cfbb
|
public void setCustomPickList41(java.lang.String customPickList41) {
this.customPickList41 = customPickList41;
}
|
0122dfc0-7ad1-4d4c-896e-587b0d04d875
|
public crmondemand.xml.opportunity.query.QueryType getPortfolioAccountNumber() {
return this.portfolioAccountNumber;
}
|
fdc96eeb-304d-46db-8a0c-57e7de4433ab
|
public java.lang.String getCustomObject11Name() {
return this.customObject11Name;
}
|
a2c635c2-4a4d-4749-b804-225df39dff09
|
public void setCustomText35(crmondemand.xml.customobject6.query.QueryType customText35) {
this.customText35 = customText35;
}
|
9653de7e-86bb-44a3-b1b9-203416a841db
|
public java.lang.String getCustomPickList70() {
return this.customPickList70;
}
|
a4f7042f-8f10-475e-bd6b-71f207a6e25f
|
public crmondemand.xml.customobject3.query.QueryType getCustomBoolean9() {
return this.customBoolean9;
}
|
7bd83d41-80e3-4c61-96ee-06faabb7c6fc
|
public java.lang.String getCustomPickList79() {
return this.customPickList79;
}
|
d842d4e6-96a6-4247-b054-b9009a37b482
|
public void setCustomCurrency23(crmondemand.xml.customobject6.query.QueryType customCurrency23) {
this.customCurrency23 = customCurrency23;
}
|
3a08f184-febb-4eba-b382-df6b31698fe0
|
@Override
protected void doPost(HttpServletRequest req, HttpServletResponse resp)
throws ServletException, IOException {
this.doGet(req, resp);
}
|
0dac2ece-3517-4c2f-8254-a7d57e77e436
|
public void setCustomObject3ExternalSystemId(crmondemand.xml.customobject3.query.QueryType customObject3ExternalSystemId) {
this.customObject3ExternalSystemId = customObject3ExternalSystemId;
}
|
dac42b08-8cf1-41e3-ab01-c88e9513a499
|
public void setCustomDate5(crmondemand.xml.contact.query.QueryType customDate5) {
this.customDate5 = customDate5;
}
|
5f53658a-6fe2-40e0-8829-780ec6fc7ea1
|
@Override
public void println(String msg)
{
if(msg!=null)
print(msg+"\n\r");
}
|
563a22ba-cfbf-4af9-84e6-ea5623fa6ae6
|
public ZipCodeServerImpl()
{
l=null;
}
|
4795428a-73e4-4a97-974c-ab55f7b0232a
|
public crmondemand.xml.opportunity.query.QueryType getCustomInteger22() {
return this.customInteger22;
}
|
498730c9-675c-4028-9d57-23342fa9192f
|
public void setDueDate(java.util.Calendar dueDate) {
this.dueDate = dueDate;
}
|
7fd7402d-0208-4483-a4aa-7cdbbbd15e35
|
public crmondemand.xml.contact.query.QueryType getCustomNumber19() {
return this.customNumber19;
}
|
48a91aac-915d-423d-9ce4-970e85d21e74
|
public crmondemand.xml.opportunity.query.QueryType getObjectiveExternalSystemId() {
return this.objectiveExternalSystemId;
}
|
5ccece63-7943-45ef-8a85-3325ec5e567c
|
public void setSolutionExternalSystemId(crmondemand.xml.customobject3.query.QueryType solutionExternalSystemId) {
this.solutionExternalSystemId = solutionExternalSystemId;
}
|
cb332146-115e-40a1-a76f-1c565571e06d
|
public BiomesGenerator(String name, int chunksX, int chunksY, IOFlags flags, boolean details) {
this.Name = name;
this.chunksX = chunksX;
this.chunksY = chunksY;
this.ioflags = flags;
this.details = details;
}
|
7ca4165d-6eda-40e1-9699-3dd066d47e23
|
public void setCustomNumber10(crmondemand.xml.customobject6.query.QueryType customNumber10) {
this.customNumber10 = customNumber10;
}
|
7ab4fe8a-1422-4323-9c6c-58b125dbc3a1
|
public java.lang.String getCustomText76() {
return this.customText76;
}
|
2d0bd10a-5a32-42bd-9a91-a4ffab4249f9
|
public void setCreatedByExternalSystemId(java.lang.String createdByExternalSystemId) {
this.createdByExternalSystemId = createdByExternalSystemId;
}
|
844f380e-3f3d-4cd1-89ae-e13b07f6d374
|
public void dropPlayer() {
this.hasMask = false;
this.mask = null;
}
|
0bc7d862-abd2-492b-be2f-df6e5521c889
|
public void setCustomPickList14(crmondemand.xml.customobject6.query.QueryType customPickList14) {
this.customPickList14 = customPickList14;
}
|
d65034d5-ad8f-4aa6-9a5c-84d9971b1676
|
public java.lang.String getCustomObject9Id() {
return this.customObject9Id;
}
|
90140ac6-f7ee-432e-a3cb-a0fd8cc4b950
|
public JButton getbtnEdit() {
return btnEdit;
}
|
063ce132-305f-40ed-adf1-deb79dbdf31f
|
public Soda(String name, String imageFile, ChangeBin bin) {
super();
this.brand = name;
this.numLeft = CAP;
this.cb = bin;
ImageIcon icon = new ImageIcon(imageFile,brand);
this.message = new JLabel("Cans left = " + numLeft, icon, JLabel.CENTER);
JButton dispenseB = new JButton(brand);
setLayout(new FlowLayout());
add(message);
add(dispenseB);
ButtonHandler bh = new ButtonHandler();
dispenseB.addActionListener(bh);
}
|
bc235a11-d366-403c-bda7-7e4b4ec8e615
|
public void setIndexedPick0(java.lang.String indexedPick0) {
this.indexedPick0 = indexedPick0;
}
|
2025f664-e7cc-4c16-bacf-849fecab7441
|
public java.lang.String getContact_Payroll__c() {
return Contact_Payroll__c;
}
|
45f10f01-5c14-4063-af51-87e1783e1fa9
|
public crmondemand.xml.customobject6.query.QueryType getCustomPhone17() {
return this.customPhone17;
}
|
4f583821-fac6-48c7-9afb-81ccd5ad41e6
|
public void write(org.apache.thrift.protocol.TProtocol oprot, getOption_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.success != null) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeString(struct.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class getOption_resultTupleSchemeFactory implements SchemeFactory {
public getOption_resultTupleScheme getScheme() {
return new getOption_resultTupleScheme();
}
}
private static class getOption_resultTupleScheme extends TupleScheme<getOption_result> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, getOption_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetSuccess()) {
oprot.writeString(struct.success);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getOption_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.success = iprot.readString();
struct.setSuccessIsSet(true);
}
}
}
}
public static class getOptions_args implements org.apache.thrift.TBase<getOptions_args, getOptions_args._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOptions_args");
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new getOptions_argsStandardSchemeFactory());
schemes.put(TupleScheme.class, new getOptions_argsTupleSchemeFactory());
}
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.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, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.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 assigned 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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("getOptions_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class getOptions_argsStandardSchemeFactory implements SchemeFactory {
public getOptions_argsStandardScheme getScheme() {
return new getOptions_argsStandardScheme();
}
}
private static class getOptions_argsStandardScheme extends StandardScheme<getOptions_args> {
public void read(org.apache.thrift.protocol.TProtocol iprot, getOptions_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, getOptions_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class getOptions_argsTupleSchemeFactory implements SchemeFactory {
public getOptions_argsTupleScheme getScheme() {
return new getOptions_argsTupleScheme();
}
}
private static class getOptions_argsTupleScheme extends TupleScheme<getOptions_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, getOptions_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getOptions_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
}
}
}
public static class getOptions_result implements org.apache.thrift.TBase<getOptions_result, getOptions_result._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOptions_result");
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new getOptions_resultStandardSchemeFactory());
schemes.put(TupleScheme.class, new getOptions_resultTupleSchemeFactory());
}
public Map<String,String> success; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.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, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING),
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.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 assigned 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 assigned 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 = org.apache.thrift.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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@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 org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class getOptions_resultStandardSchemeFactory implements SchemeFactory {
public getOptions_resultStandardScheme getScheme() {
return new getOptions_resultStandardScheme();
}
}
private static class getOptions_resultStandardScheme extends StandardScheme<getOptions_result> {
public void read(org.apache.thrift.protocol.TProtocol iprot, getOptions_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
{
org.apache.thrift.protocol.TMap _map10 = iprot.readMapBegin();
struct.success = new HashMap<String,String>(2*_map10.size);
for (int _i11 = 0; _i11 < _map10.size; ++_i11)
{
String _key12; // optional
String _val13; // required
_key12 = iprot.readString();
_val13 = iprot.readString();
struct.success.put(_key12, _val13);
}
iprot.readMapEnd();
}
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, getOptions_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.success != null) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
{
oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.success.size()));
for (Map.Entry<String, String> _iter14 : struct.success.entrySet())
{
oprot.writeString(_iter14.getKey());
oprot.writeString(_iter14.getValue());
}
oprot.writeMapEnd();
}
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class getOptions_resultTupleSchemeFactory implements SchemeFactory {
public getOptions_resultTupleScheme getScheme() {
return new getOptions_resultTupleScheme();
}
}
private static class getOptions_resultTupleScheme extends TupleScheme<getOptions_result> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, getOptions_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetSuccess()) {
{
oprot.writeI32(struct.success.size());
for (Map.Entry<String, String> _iter15 : struct.success.entrySet())
{
oprot.writeString(_iter15.getKey());
oprot.writeString(_iter15.getValue());
}
}
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getOptions_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
{
org.apache.thrift.protocol.TMap _map16 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
struct.success = new HashMap<String,String>(2*_map16.size);
for (int _i17 = 0; _i17 < _map16.size; ++_i17)
{
String _key18; // optional
String _val19; // required
_key18 = iprot.readString();
_val19 = iprot.readString();
struct.success.put(_key18, _val19);
}
}
struct.setSuccessIsSet(true);
}
}
}
}
public static class getCpuProfile_args implements org.apache.thrift.TBase<getCpuProfile_args, getCpuProfile_args._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCpuProfile_args");
private static final org.apache.thrift.protocol.TField PROFILE_DURATION_IN_SEC_FIELD_DESC = new org.apache.thrift.protocol.TField("profileDurationInSec", org.apache.thrift.protocol.TType.I32, (short)1);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new getCpuProfile_argsStandardSchemeFactory());
schemes.put(TupleScheme.class, new getCpuProfile_argsTupleSchemeFactory());
}
public int profileDurationInSec; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.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 byte __isset_bitfield = 0;
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.PROFILE_DURATION_IN_SEC, new org.apache.thrift.meta_data.FieldMetaData("profileDurationInSec", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.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_bitfield = other.__isset_bitfield;
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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __PROFILEDURATIONINSEC_ISSET_ID);
}
/** Returns true if field profileDurationInSec is set (has been assigned a value) and false otherwise */
public boolean isSetProfileDurationInSec() {
return EncodingUtils.testBit(__isset_bitfield, __PROFILEDURATIONINSEC_ISSET_ID);
}
public void setProfileDurationInSecIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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 Integer.valueOf(getProfileDurationInSec());
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned 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 = org.apache.thrift.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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@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 org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
__isset_bitfield = 0;
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class getCpuProfile_argsStandardSchemeFactory implements SchemeFactory {
public getCpuProfile_argsStandardScheme getScheme() {
return new getCpuProfile_argsStandardScheme();
}
}
private static class getCpuProfile_argsStandardScheme extends StandardScheme<getCpuProfile_args> {
public void read(org.apache.thrift.protocol.TProtocol iprot, getCpuProfile_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 1: // PROFILE_DURATION_IN_SEC
if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
struct.profileDurationInSec = iprot.readI32();
struct.setProfileDurationInSecIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, getCpuProfile_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldBegin(PROFILE_DURATION_IN_SEC_FIELD_DESC);
oprot.writeI32(struct.profileDurationInSec);
oprot.writeFieldEnd();
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class getCpuProfile_argsTupleSchemeFactory implements SchemeFactory {
public getCpuProfile_argsTupleScheme getScheme() {
return new getCpuProfile_argsTupleScheme();
}
}
private static class getCpuProfile_argsTupleScheme extends TupleScheme<getCpuProfile_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, getCpuProfile_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetProfileDurationInSec()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetProfileDurationInSec()) {
oprot.writeI32(struct.profileDurationInSec);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getCpuProfile_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.profileDurationInSec = iprot.readI32();
struct.setProfileDurationInSecIsSet(true);
}
}
}
}
public static class getCpuProfile_result implements org.apache.thrift.TBase<getCpuProfile_result, getCpuProfile_result._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getCpuProfile_result");
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new getCpuProfile_resultStandardSchemeFactory());
schemes.put(TupleScheme.class, new getCpuProfile_resultTupleSchemeFactory());
}
public String success; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.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, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.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 assigned 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 assigned 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 = org.apache.thrift.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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@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 org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class getCpuProfile_resultStandardSchemeFactory implements SchemeFactory {
public getCpuProfile_resultStandardScheme getScheme() {
return new getCpuProfile_resultStandardScheme();
}
}
private static class getCpuProfile_resultStandardScheme extends StandardScheme<getCpuProfile_result> {
public void read(org.apache.thrift.protocol.TProtocol iprot, getCpuProfile_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.success = iprot.readString();
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, getCpuProfile_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.success != null) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeString(struct.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class getCpuProfile_resultTupleSchemeFactory implements SchemeFactory {
public getCpuProfile_resultTupleScheme getScheme() {
return new getCpuProfile_resultTupleScheme();
}
}
private static class getCpuProfile_resultTupleScheme extends TupleScheme<getCpuProfile_result> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, getCpuProfile_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetSuccess()) {
oprot.writeString(struct.success);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getCpuProfile_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.success = iprot.readString();
struct.setSuccessIsSet(true);
}
}
}
}
public static class aliveSince_args implements org.apache.thrift.TBase<aliveSince_args, aliveSince_args._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("aliveSince_args");
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new aliveSince_argsStandardSchemeFactory());
schemes.put(TupleScheme.class, new aliveSince_argsTupleSchemeFactory());
}
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.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, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.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 assigned 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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("aliveSince_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class aliveSince_argsStandardSchemeFactory implements SchemeFactory {
public aliveSince_argsStandardScheme getScheme() {
return new aliveSince_argsStandardScheme();
}
}
private static class aliveSince_argsStandardScheme extends StandardScheme<aliveSince_args> {
public void read(org.apache.thrift.protocol.TProtocol iprot, aliveSince_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, aliveSince_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class aliveSince_argsTupleSchemeFactory implements SchemeFactory {
public aliveSince_argsTupleScheme getScheme() {
return new aliveSince_argsTupleScheme();
}
}
private static class aliveSince_argsTupleScheme extends TupleScheme<aliveSince_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, aliveSince_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, aliveSince_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
}
}
}
public static class aliveSince_result implements org.apache.thrift.TBase<aliveSince_result, aliveSince_result._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("aliveSince_result");
private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new aliveSince_resultStandardSchemeFactory());
schemes.put(TupleScheme.class, new aliveSince_resultTupleSchemeFactory());
}
public long success; // required
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.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 byte __isset_bitfield = 0;
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.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_bitfield = other.__isset_bitfield;
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_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
/** Returns true if field success is set (has been assigned a value) and false otherwise */
public boolean isSetSuccess() {
return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID);
}
public void setSuccessIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __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 Long.valueOf(getSuccess());
}
throw new IllegalStateException();
}
/** Returns true if field corresponding to fieldID is set (has been assigned 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 = org.apache.thrift.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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@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 org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
__isset_bitfield = 0;
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class aliveSince_resultStandardSchemeFactory implements SchemeFactory {
public aliveSince_resultStandardScheme getScheme() {
return new aliveSince_resultStandardScheme();
}
}
private static class aliveSince_resultStandardScheme extends StandardScheme<aliveSince_result> {
public void read(org.apache.thrift.protocol.TProtocol iprot, aliveSince_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
case 0: // SUCCESS
if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
struct.success = iprot.readI64();
struct.setSuccessIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, aliveSince_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.isSetSuccess()) {
oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
oprot.writeI64(struct.success);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class aliveSince_resultTupleSchemeFactory implements SchemeFactory {
public aliveSince_resultTupleScheme getScheme() {
return new aliveSince_resultTupleScheme();
}
}
private static class aliveSince_resultTupleScheme extends TupleScheme<aliveSince_result> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, aliveSince_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetSuccess()) {
oprot.writeI64(struct.success);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, aliveSince_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.success = iprot.readI64();
struct.setSuccessIsSet(true);
}
}
}
}
public static class reinitialize_args implements org.apache.thrift.TBase<reinitialize_args, reinitialize_args._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("reinitialize_args");
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new reinitialize_argsStandardSchemeFactory());
schemes.put(TupleScheme.class, new reinitialize_argsTupleSchemeFactory());
}
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.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, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.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 assigned 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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("reinitialize_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class reinitialize_argsStandardSchemeFactory implements SchemeFactory {
public reinitialize_argsStandardScheme getScheme() {
return new reinitialize_argsStandardScheme();
}
}
private static class reinitialize_argsStandardScheme extends StandardScheme<reinitialize_args> {
public void read(org.apache.thrift.protocol.TProtocol iprot, reinitialize_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, reinitialize_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class reinitialize_argsTupleSchemeFactory implements SchemeFactory {
public reinitialize_argsTupleScheme getScheme() {
return new reinitialize_argsTupleScheme();
}
}
private static class reinitialize_argsTupleScheme extends TupleScheme<reinitialize_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, reinitialize_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, reinitialize_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
}
}
}
public static class shutdown_args implements org.apache.thrift.TBase<shutdown_args, shutdown_args._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("shutdown_args");
private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new shutdown_argsStandardSchemeFactory());
schemes.put(TupleScheme.class, new shutdown_argsTupleSchemeFactory());
}
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements org.apache.thrift.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, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
metaDataMap = Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.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 assigned 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(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("shutdown_args(");
boolean first = true;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
} catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
private static class shutdown_argsStandardSchemeFactory implements SchemeFactory {
public shutdown_argsStandardScheme getScheme() {
return new shutdown_argsStandardScheme();
}
}
private static class shutdown_argsStandardScheme extends StandardScheme<shutdown_args> {
public void read(org.apache.thrift.protocol.TProtocol iprot, shutdown_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
{
schemeField = iprot.readFieldBegin();
if (schemeField.type == org.apache.thrift.protocol.TType.STOP) {
break;
}
switch (schemeField.id) {
default:
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
iprot.readFieldEnd();
}
iprot.readStructEnd();
// check for required fields of primitive type, which can't be checked in the validate method
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, shutdown_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class shutdown_argsTupleSchemeFactory implements SchemeFactory {
public shutdown_argsTupleScheme getScheme() {
return new shutdown_argsTupleScheme();
}
}
private static class shutdown_argsTupleScheme extends TupleScheme<shutdown_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, shutdown_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, shutdown_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
}
|
5dc33bfd-24bf-4c3d-b754-3356a602fea8
|
void setMonitor(boolean waitForSnapshotConf)
throws TsapiResourceUnavailableException {
CSTAConnectionID monConnID = null;
if (!isMonitorSet()) {
synchronized (this.connections) {
if (this.connections.size() > 0) {
try {
monConnID = ((TSConnection) this.connections
.elementAt(0)).getConnID();
} catch (TsapiPlatformException e) {
log.error("Ignoring exception: " + e);
if (this.callID != 0) {
monConnID = new CSTAConnectionID(this.callID, "",
(short) 0);
}
}
} else if (this.callID != 0) {
monConnID = new CSTAConnectionID(this.callID, "", (short) 0);
}
}
}
if (monConnID != null)
monitorCall(monConnID, waitForSnapshotConf);
}
|
db44941e-fade-4ec4-8b03-05bb52628cc7
|
public void setCustomBoolean23(crmondemand.xml.contact.query.QueryType customBoolean23) {
this.customBoolean23 = customBoolean23;
}
|
4fe5b0de-6226-4e96-82a9-adac2434fa8a
|
public ContactPhone() {
super();
}
|
f167c557-47b9-414c-8c66-bd4ca0d77f40
|
public void localVariableHiding(LocalDeclaration local, Binding hiddenVariable, boolean isSpecialArgHidingField) {
if (hiddenVariable instanceof LocalVariableBinding) {
int id = (local instanceof Argument)
? IProblem.ArgumentHidingLocalVariable
: IProblem.LocalVariableHidingLocalVariable;
int severity = computeSeverity(id);
if (severity == ProblemSeverities.Ignore) return;
String[] arguments = new String[] {new String(local.name) };
this.handle(
id,
arguments,
arguments,
severity,
nodeSourceStart(hiddenVariable, local),
nodeSourceEnd(hiddenVariable, local));
} else if (hiddenVariable instanceof FieldBinding) {
if (isSpecialArgHidingField && !this.options.reportSpecialParameterHidingField){
return;
}
int id = (local instanceof Argument)
? IProblem.ArgumentHidingField
: IProblem.LocalVariableHidingField;
int severity = computeSeverity(id);
if (severity == ProblemSeverities.Ignore) return;
FieldBinding field = (FieldBinding) hiddenVariable;
this.handle(
id,
new String[] {new String(local.name) , new String(field.declaringClass.readableName()) },
new String[] {new String(local.name), new String(field.declaringClass.shortReadableName()) },
severity,
local.sourceStart,
local.sourceEnd);
}
}
|
1e089e7c-f28c-4202-8c98-f47114a740d0
|
public java.lang.Integer getCustomInteger17() {
return this.customInteger17;
}
|
ea44169b-d5c0-49ba-80cc-34c01c81180f
|
public void setCustomText56(crmondemand.xml.customobject3.query.QueryType customText56) {
this.customText56 = customText56;
}
|
4ee0c3fe-87d5-446c-a776-100fc7d0af5e
|
public java.lang.String getCustomText11() {
return this.customText11;
}
|
eadabd0f-1006-465d-92d8-aad872143cb7
|
public static void main(String[] args) {
Game game = new Game();
game.init();
game.run();
game.end();
System.exit(0);
}
|
c2e69776-7f7c-44cd-8b72-6fd406ad221c
|
public java.util.Calendar getCustomDate20() {
return this.customDate20;
}
|
700290cf-145e-43b2-9e89-292b0431a5ae
|
public void setCustomBoolean5(crmondemand.xml.opportunity.query.QueryType customBoolean5) {
this.customBoolean5 = customBoolean5;
}
|
e3adc8d2-7044-45c7-a641-c88d9507b3ec
|
@Override
public void exit() {
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
}
|
48fecae3-c809-4e2c-94e4-e96c37eb52ae
|
public void setPreco(String preco) {
this.preco = preco;
}
|
92e89358-f0de-4f57-bffa-7249db6a2561
|
public void actionPerformed(ActionEvent e) {
succeeded = false;
dispose();
}
|
f8d967fb-272b-40c6-b866-ab36407bb84e
|
public void setOfferingPartnerMainPhone(crmondemand.xml.contact.query.QueryType offeringPartnerMainPhone) {
this.offeringPartnerMainPhone = offeringPartnerMainPhone;
}
|
540a515b-e800-4841-b70f-b577f672d90a
|
public java.math.BigDecimal getCustomCurrency15() {
return this.customCurrency15;
}
|
9ef02749-3e68-45a5-93df-9bd48f5bcb28
|
public java.lang.String getId() {
return this.id;
}
|
5e19d850-6829-437d-bfba-47df0dadcb68
|
public void setCustomDate39(java.util.Calendar customDate39) {
this.customDate39 = customDate39;
}
|
116eee6f-10bf-442b-b024-e54c5fb6490a
|
public crmondemand.xml.customobject6.query.QueryType getHIN() {
return this.hIN;
}
|
5749b6bc-adfd-4c49-871e-e91b1bc5c60e
|
public java.lang.String getCustomObject3Type() {
return this.customObject3Type;
}
|
2e6e5acf-e35a-4dd6-a029-8cbdc71e2d13
|
public void setCustomObject9IntegrationId(crmondemand.xml.contact.query.QueryType customObject9IntegrationId) {
this.customObject9IntegrationId = customObject9IntegrationId;
}
|
6cdb3b59-366a-4406-a406-2344b48de3a8
|
public Object visit(Rule_dirClass rule)
{
if (!terminal) System.out.println();
System.out.print("<dirClass>");
terminal = false;
visitRules(rule.rules);
if (!terminal) System.out.println();
System.out.print("</dirClass>");
terminal = false;
return null;
}
|
612f5a8e-941a-4c24-8403-ec55585b56e4
|
public void setCustomPickList61(crmondemand.xml.contact.query.QueryType customPickList61) {
this.customPickList61 = customPickList61;
}
|
ce626f3e-512b-460d-b923-b1709a7eaed5
|
public crmondemand.xml.customobject6.query.QueryType getCustomBoolean24() {
return this.customBoolean24;
}
|
7ece4d8e-c9c3-4f3e-bbc4-797ab5ae7db7
|
public void setCustomPickList13(java.lang.String customPickList13) {
this.customPickList13 = customPickList13;
}
|
040dd420-31b2-4669-8479-f14916fbb759
|
public crmondemand.xml.contact.query.QueryType getCustomPickList22() {
return this.customPickList22;
}
|
904d22ee-a7a6-43fe-9880-e2050480a886
|
public crmondemand.xml.customobject6.query.QueryType getCustomCurrency10() {
return this.customCurrency10;
}
|
848a9ada-43f0-4bef-a0ab-ad86d8a6321a
|
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_grant_coins_request_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_grant_coins_request_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_grant_coins_request_descriptor,
new java.lang.String[] { "Userid", "Coins", },
JSystemPiqi.grant_coins_request.class,
JSystemPiqi.grant_coins_request.Builder.class);
internal_static_buy_item_request_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_buy_item_request_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_buy_item_request_descriptor,
new java.lang.String[] { "Userid", "ShopItemId", "Amount", },
JSystemPiqi.buy_item_request.class,
JSystemPiqi.buy_item_request.Builder.class);
internal_static_system_request_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_system_request_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_system_request_descriptor,
new java.lang.String[] { "BuyItem", "GrantCoins", },
JSystemPiqi.system_request.class,
JSystemPiqi.system_request.Builder.class);
internal_static_system_error_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_system_error_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_system_error_descriptor,
new java.lang.String[] { "Code", "Description", },
JSystemPiqi.system_error.class,
JSystemPiqi.system_error.Builder.class);
internal_static_system_response_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_system_response_fieldAccessorTable = new
com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_system_response_descriptor,
new java.lang.String[] { "Ok", "Error", },
JSystemPiqi.system_response.class,
JSystemPiqi.system_response.Builder.class);
return null;
}
|
377cdeb5-ca1a-4296-8792-e8a7dcfc030f
|
public void setCustomDate15(crmondemand.xml.customobject3.query.QueryType customDate15) {
this.customDate15 = customDate15;
}
|
257781b0-4bd3-4321-be06-904c688921cf
|
public void setCustomBoolean9(java.lang.Boolean customBoolean9) {
this.customBoolean9 = customBoolean9;
}
|
16b98bcf-d84f-4923-98c5-7d9f1ed7036e
|
public int getID() {
return idNumber;
}
|
bf1b62e4-b06b-43ea-aea3-a8da65d1f681
|
public void setCustomObject1Type(java.lang.String customObject1Type) {
this.customObject1Type = customObject1Type;
}
|
1f039927-031e-4e49-9157-0dcd819ad5c6
|
private void ustawPrzyciskWroc(JButton b){
if (b!=null){
b.setBounds(sp.getWidth() - 110, sp.getHeight() + 10, 100, 25);
}
}
|
9e5a14e5-5a15-4860-ad5b-bbc37251e0c4
|
public static byte[] ShowWZEffect(String data) {
MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendPacketOpcode.SHOW_SPECIAL_EFFECT.getValue());
mplew.write(21);
mplew.writeMapleAsciiString(data);
return mplew.getPacket();
}
|
dfebc2a6-9d29-497e-aed3-dc3be1ae9353
|
public void setUpdatedByFullName(crmondemand.xml.contact.query.QueryType updatedByFullName) {
this.updatedByFullName = updatedByFullName;
}
|
752298b9-2817-49d6-b448-01995f7542ad
|
public crmondemand.xml.contact.query.QueryType getCustomPickList16() {
return this.customPickList16;
}
|
732743ac-287b-4f71-8f77-427d429715ef
|
public void setControlCarroceria(IControlCarroceria controlCarroceria) {
this.controlCarroceria = controlCarroceria;
}
|
f7f924b3-007c-4376-b3b1-fe856252fde6
|
public void setCustomObject14ExternalSystemId(java.lang.String customObject14ExternalSystemId) {
this.customObject14ExternalSystemId = customObject14ExternalSystemId;
}
|
86ec6f17-ce85-4896-aed2-b0c2e799345b
|
public java.lang.String getFinalAccountStatus() {
return this.finalAccountStatus;
}
|
f4bbaf9a-4e97-4ca9-ab25-aa9bb2e77072
|
public void setCustomText24(crmondemand.xml.contact.query.QueryType customText24) {
this.customText24 = customText24;
}
|
f2a1e16c-136b-4af7-b5c6-d977856ed79a
|
public void setBossPoints(int bossPoints) {
this.bossPoints = bossPoints;
}
|
975aa57d-febd-4dc9-ad6e-86130c8880ce
|
TypeEfficacy(String type, int efficacy)
{
Integer effecacyAsInteger = efficacy;
this.efficacy = effecacyAsInteger.floatValue() / 100f;
this.type = new Type(type);
}
|
5891aefa-4c71-44a0-ad25-e49fdc2fbda1
|
public void setCustomPickList82(java.lang.String customPickList82) {
this.customPickList82 = customPickList82;
}
|
ac54f533-0fc8-4815-8e9f-43c54691617b
|
public void setObjectiveId(java.lang.String objectiveId) {
this.objectiveId = objectiveId;
}
|
d68da672-979e-45b4-a6ab-515dc963a1f1
|
public void setCampaignIntegrationId(java.lang.String campaignIntegrationId)
{
this.campaignIntegrationId = campaignIntegrationId;
}
|
b464e060-a672-4c73-83a3-3ae4ece89565
|
public int getWeakDependency(int index) {
return weakDependency_.get(index);
}
|
1155d0a4-bea8-480c-b97c-65297bff38cb
|
public void setCustomText82(java.lang.String customText82) {
this.customText82 = customText82;
}
|
80e6da08-a185-448c-a827-086990dfc188
|
public crmondemand.xml.customobject6.query.QueryType getOriginatingPartnerLocation() {
return this.originatingPartnerLocation;
}
|
5afe5ba7-c237-413e-addb-a9eb8e6f42b9
|
public void setCustomText53(java.lang.String customText53) {
this.customText53 = customText53;
}
|
728324ad-1083-479c-9e74-60021eb5b444
|
public void setCustomDate36(crmondemand.xml.customobject6.query.QueryType customDate36) {
this.customDate36 = customDate36;
}
|
fff324b2-ff2e-4d90-8d48-f6094126e526
|
public java.lang.String getContactFirstName() {
return this.contactFirstName;
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.