id
stringlengths 36
36
| text
stringlengths 1
1.25M
|
---|---|
f080120e-c290-4b9d-bcd2-857d2dac7a5e | public void setAccountStatus(java.lang.String accountStatus) {
this.accountStatus = accountStatus;
} |
8b3d7e9f-74f5-4cb8-a367-817995e04985 | public crmondemand.xml.customobject3.query.QueryType getCustomObject6IntegrationId() {
return this.customObject6IntegrationId;
} |
9bcd09cc-8af8-47b6-84db-6ee46db778bc | public void setCustomNumber2(java.math.BigDecimal customNumber2)
{
this.customNumber2 = customNumber2;
} |
62308149-ab6e-4133-9b89-64513bd7bdac | public void setCustomText42(java.lang.String customText42) {
this.customText42 = customText42;
} |
6e148bb4-10ac-4c29-8302-6bfae0c68936 | public java.lang.String getCustomText42() {
return this.customText42;
} |
f1806958-1894-454f-b350-67c75a6e36ee | public crmondemand.xml.opportunity.query.QueryType getCustomObject7ExternalSystemId() {
return this.customObject7ExternalSystemId;
} |
8b01b6f0-ec60-4a6c-98cf-08324546be28 | public ElementValueContext elementValue() {
return getRuleContext(ElementValueContext.class,0);
} |
98c57245-7df4-4bc6-b189-13549b1e352c | public void setCustomPickList12(java.lang.String customPickList12) {
this.customPickList12 = customPickList12;
} |
337bf70b-fb72-411a-bb55-32fd6304ef8d | public crmondemand.xml.contact.query.QueryType getCustomPickList34() {
return this.customPickList34;
} |
6ed39c8d-5b15-40c5-b27b-da06bd3222f1 | public void setCustomNumber43(crmondemand.xml.customobject3.query.QueryType customNumber43) {
this.customNumber43 = customNumber43;
} |
80d6b29b-ef99-4782-8e57-9f9c25613af8 | @Override
public String convertFromItem(final ItemCraftor A, final Item I)
{
return "";
} |
ed5fc77d-fcc9-4189-9f56-8502541b6d93 | public crmondemand.xml.customobject6.query.QueryType getCustomDate32() {
return this.customDate32;
} |
e5c4b394-6789-48f7-b983-21ba79693410 | public crmondemand.xml.customobject6.query.QueryType getDealRegistrationId() {
return this.dealRegistrationId;
} |
8130635c-be0d-4e0d-9191-96f0ffb00174 | public crmondemand.xml.customobject6.query.QueryType getDepartment() {
return this.department;
} |
2dd4de47-34ef-4fd3-a8a6-5da5904f19cd | public java.math.BigDecimal getCustomNumber41() {
return this.customNumber41;
} |
7ed81124-0d35-4a6c-aa44-d2861fc0009b | 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.KEY, new org.apache.thrift.meta_data.FieldMetaData("key", 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(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 assigned 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 assigned 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 = org.apache.thrift.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(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("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 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 getOption_argsStandardSchemeFactory implements SchemeFactory {
public getOption_argsStandardScheme getScheme() {
return new getOption_argsStandardScheme();
}
}
private static class getOption_argsStandardScheme extends StandardScheme<getOption_args> {
public void read(org.apache.thrift.protocol.TProtocol iprot, getOption_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: // KEY
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.key = iprot.readString();
struct.setKeyIsSet(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, getOption_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.key != null) {
oprot.writeFieldBegin(KEY_FIELD_DESC);
oprot.writeString(struct.key);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class getOption_argsTupleSchemeFactory implements SchemeFactory {
public getOption_argsTupleScheme getScheme() {
return new getOption_argsTupleScheme();
}
}
private static class getOption_argsTupleScheme extends TupleScheme<getOption_args> {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, getOption_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetKey()) {
optionals.set(0);
}
oprot.writeBitSet(optionals, 1);
if (struct.isSetKey()) {
oprot.writeString(struct.key);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, getOption_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(1);
if (incoming.get(0)) {
struct.key = iprot.readString();
struct.setKeyIsSet(true);
}
}
}
}
public static class getOption_result implements org.apache.thrift.TBase<getOption_result, getOption_result._Fields>, java.io.Serializable, Cloneable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOption_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 getOption_resultStandardSchemeFactory());
schemes.put(TupleScheme.class, new getOption_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(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 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 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 = 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("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 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 getOption_resultStandardSchemeFactory implements SchemeFactory {
public getOption_resultStandardScheme getScheme() {
return new getOption_resultStandardScheme();
}
}
private static class getOption_resultStandardScheme extends StandardScheme<getOption_result> {
public void read(org.apache.thrift.protocol.TProtocol iprot, getOption_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, 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;
} |
45fef28c-051d-4bb7-9590-ad8042b5ab7f | public void factory_ofInstant_allDaysInCycle() {
// sanity check using different algorithm
ZonedDateTime expected = LocalDateTime.of(1970, 1, 1, 0, 0, 0, 0).atZone(ZoneOffset.UTC);
for (long i = 0; i < 146097; i++) {
Instant instant = Instant.ofEpochSecond(i * 24L * 60L * 60L);
ZonedDateTime test = ZonedDateTime.ofInstant(instant, ZoneOffset.UTC);
assertEquals(test, expected);
expected = expected.plusDays(1);
}
}
@Test(groups = { "tck" } |
2620bb14-f32a-4077-9bd5-9a36fd055445 | public TexasHoldemStartingHand() {
super(2, 0, 2, PokerGameType.TEXAS);
} |
7d0f01de-26a8-4367-b2d6-b81fd195c101 | public void setCustomText45(crmondemand.xml.customobject3.query.QueryType customText45) {
this.customText45 = customText45;
} |
eb4efd47-720d-49e1-b13d-16298e2b0fb9 | public void setCustomText58(java.lang.String customText58) {
this.customText58 = customText58;
} |
df8c95a5-e3da-4e45-930f-f937f679d338 | public java.lang.String getCreatedByIntegrationId() {
return this.createdByIntegrationId;
} |
e944cae5-64a2-491f-85fd-cb9d82fa5c01 | public void setCustomBoolean6(crmondemand.xml.customobject3.query.QueryType customBoolean6) {
this.customBoolean6 = customBoolean6;
} |
52cb898e-d785-4c17-befc-4ef898df9099 | public void setCustomBoolean28(crmondemand.xml.customobject6.query.QueryType customBoolean28) {
this.customBoolean28 = customBoolean28;
} |
186a672d-42e9-4dec-b268-21d87fcb565f | public java.lang.String getCustomText83() {
return this.customText83;
} |
755e649f-8718-4067-a7fe-dace66ff031b | public java.lang.String getActivityStatus() {
return this.activityStatus;
} |
437f7ffb-e74d-42fe-a25c-5418393e597e | public void setCreatedByLastName(crmondemand.xml.customobject6.query.QueryType createdByLastName) {
this.createdByLastName = createdByLastName;
} |
799cef55-39ae-4b09-9a20-3df6669c52f5 | private void whileChatting() throws IOException {
ableToType(true);
do {
try {
message = (String) input.readObject();
showMessage("\n" + message);
}catch(ClassNotFoundException classNotFoundException) {
}
}while(!message.equals("SERVER: END"));
} |
465badab-b928-4303-bd53-6ccb94b65970 | public void actionPerformed(java.awt.event.ActionEvent evt) {
displayActionPerformed(evt);
} |
dc0f1658-d6ec-46a2-adfb-5e9500ce1f56 | public void setCustomNumber56(crmondemand.xml.opportunity.query.QueryType customNumber56) {
this.customNumber56 = customNumber56;
} |
eedf75c8-379c-46d2-a507-e0f181429a72 | public void setCampaignType(java.lang.String campaignType) {
this.campaignType = campaignType;
} |
27fe2a43-3911-4824-bfc7-0d8e2dd2bb8c | public crmondemand.xml.customobject3.query.QueryType getCustomNumber59() {
return this.customNumber59;
} |
8ac00463-d918-4c2f-ba9d-35abab32f0e9 | public java.lang.String getCustomPickList53() {
return this.customPickList53;
} |
ed7e8592-0318-4334-87df-34a377052fa3 | public java.lang.String getIndexedLongText0() {
return this.indexedLongText0;
} |
225d48ac-7f3e-47fc-b022-6ed8baa9cbec | public java.lang.String getCustomPickList37() {
return this.customPickList37;
} |
2e3f85e8-8c73-49ac-8a8b-5c38351d546f | public static byte[] skillEffect(MapleCharacter from, int skillId, byte level, short display, byte unk) {
MaplePacketLittleEndianWriter mplew = new MaplePacketLittleEndianWriter();
mplew.writeShort(SendPacketOpcode.SKILL_EFFECT.getValue());
mplew.writeInt(from.getId());
mplew.writeInt(skillId);
mplew.write(level);
mplew.writeShort(display);
mplew.write(unk);
if (skillId == 13111020) {
mplew.writePos(from.getPosition()); // Position
}
return mplew.getPacket();
} |
0cad58cc-df75-4872-a3f8-96d8063270fe | public java.lang.String getUpdatedByExternalSystemId() {
return this.updatedByExternalSystemId;
} |
bc95d01a-6e7c-46d1-99de-05c405ebc430 | public crmondemand.xml.customobject3.query.QueryType getCustomObject9ExternalSystemId() {
return this.customObject9ExternalSystemId;
} |
7c763155-71ab-47ba-92c0-06e7f565dc90 | public crmondemand.xml.contact.query.QueryType getCustomDate13() {
return this.customDate13;
} |
0394e3b7-c4a8-408c-ad73-143c0d70856e | public java.math.BigDecimal getCustomNumber18() {
return this.customNumber18;
} |
8f35879b-c2b6-4b00-9ac4-fe97bf3ecd64 | public java.lang.String getContactIntegrationId() {
return this.contactIntegrationId;
} |
7c42a1bd-81da-46dc-987b-0f70c05a8176 | public crmondemand.xml.customobject3.query.QueryType getEffectiveDate() {
return this.effectiveDate;
} |
b594390f-8c35-4169-b204-4e6b1aeabcfa | public crmondemand.xml.contact.query.QueryType getCustomDate25() {
return this.customDate25;
} |
1c8703d8-3221-46d1-b9f0-6c758b966e1d | public void setCustomObject1Id(crmondemand.xml.customobject3.query.QueryType customObject1Id) {
this.customObject1Id = customObject1Id;
} |
a68a9d5b-968b-4f18-a6ee-fc733e95f574 | public void setCustomText88(crmondemand.xml.customobject3.query.QueryType customText88) {
this.customText88 = customText88;
} |
f09d3ad1-8c54-4db4-bd7b-4c79bb5f0374 | public java.lang.String getCustomText70() {
return this.customText70;
} |
e30b7831-6e0c-4773-ad14-0a7426f92629 | public void setCustomDate34(java.util.Calendar customDate34) {
this.customDate34 = customDate34;
} |
3debb55e-7976-4122-a74a-360a5d727281 | public void setLeadStatus(java.lang.String leadStatus) {
this.leadStatus = leadStatus;
} |
23c65ee5-523a-4898-a7f5-2c3ec2dd5a72 | public void actionPerformed(java.awt.event.ActionEvent evt) {
AboutActionPerformed(evt);
} |
1abbda70-99e2-49a2-bc08-37a5f9e3be1b | public crmondemand.xml.contact.query.QueryType getCustomDate47() {
return this.customDate47;
} |
08afe70a-c0ed-418c-a510-7097a8e4ea4e | public void setCustomObject9IntegrationId(java.lang.String customObject9IntegrationId) {
this.customObject9IntegrationId = customObject9IntegrationId;
} |
b565840a-4aa4-4275-ac6b-dd684c3ea398 | public java.lang.String getPrimaryProductLine() {
return this.primaryProductLine;
} |
15aaf66d-f644-4de2-9384-585d76189b08 | public void setCustomText79(java.lang.String customText79) {
this.customText79 = customText79;
} |
42e028ef-371f-4d4e-90dc-73d8a42abd3e | public java.lang.Boolean getCustomBoolean24() {
return this.customBoolean24;
} |
16b802a2-22e5-4d0f-8193-79fef43d9a25 | public void setCustomText57(crmondemand.xml.customobject6.query.QueryType customText57) {
this.customText57 = customText57;
} |
e9635119-da67-4d03-9e64-0c25ccdc7267 | public void setCustomObject15Name(java.lang.String customObject15Name) {
this.customObject15Name = customObject15Name;
} |
c9006bfa-442c-40e8-9b00-96fd7924a414 | public Map<V,Integer> outDegree () {
Map<V,Integer> result = new HashMap<V,Integer>();
for (V v: neighbors.keySet()) result.put(v, neighbors.get(v).size());
return result;
} |
6d6a96be-94ef-48c5-89af-4dd344d554b6 | public java.lang.String getCustomObject14IntegrationId() {
return this.customObject14IntegrationId;
} |
30fd9d54-6987-4af2-9cb3-0fbe9d2e7f57 | public Builder setFile(
int index, com.google.protobuf.DescriptorProtos.FileDescriptorProto value) {
if (fileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileIsMutable();
file_.set(index, value);
onChanged();
} else {
fileBuilder_.setMessage(index, value);
}
return this;
} |
6cdcbada-13ba-472b-9c0c-faa64061ed4f | public void setCustomDate12(crmondemand.xml.customobject3.query.QueryType customDate12) {
this.customDate12 = customDate12;
} |
f8d04584-c170-4a7f-97e6-6962e700890f | public boolean passesFilter(Ability A)
{
final int classCode=A.classificationCode()&Ability.ALL_ACODES;
if((classCode == Ability.ACODE_PROPERTY)
||(A.ID().startsWith("Prop_")))
return true;
return false;
} |
1a9ef43a-d07d-42f5-b258-d2135f8114d0 | public void setCustomCurrency1(java.math.BigDecimal customCurrency1) {
this.customCurrency1 = customCurrency1;
} |
527cf5c6-4993-470b-adc3-a896718407a6 | public void setCustomPickList28(java.lang.String customPickList28) {
this.customPickList28 = customPickList28;
} |
3f961ddb-7ef2-4b05-8331-2b00be1e0220 | public crmondemand.xml.customobject3.query.QueryType getCustomPickList55() {
return this.customPickList55;
} |
eaa1f16b-f494-4839-96e3-5bbf8adbb946 | public void setCustomNumber58(java.math.BigDecimal customNumber58) {
this.customNumber58 = customNumber58;
} |
099fe7fa-7fb3-48b7-b6bc-4e0e2b9f5848 | public void setCustomText42(java.lang.String customText42) {
this.customText42 = customText42;
} |
b9e364e4-e797-4c46-93e9-e42266c6dbb9 | public NLInterpreter() {
operators = new HashMap<String, Character>();
// secondaryOperators = new HashMap<String, String>();
operands = new HashMap<String, Integer>();
operators.put("plus", '+');
operators.put("minus", '-');
operators.put("times", '*');
operators.put("multiply", '*');
operators.put("multiply by", '*');
operators.put("multiplied by", '*');
operators.put("x", '*');
operators.put("X", '*');
operators.put("divide", '/');
operators.put("divided by", '/');
operators.put("divide by", '/');
operators.put("over", '/');
operators.put("modulus", '%');
operators.put("mod", '%');
operators.put("to the power of",'^');
operators.put("tothepowerof", '^');
operators.put("sqrt", '√');
operators.put("square root", '√');
operators.put("squareroot", '√');
/*
secondaryOperators.put("squared", "to the power of two");
secondaryOperators.put("cubed", "to the power of three");
*/
operands.put("zero", 0);
operands.put("one", 1);
operands.put("two", 2);
operands.put("three", 3);
operands.put("four", 4);
operands.put("five", 5);
operands.put("six", 6);
operands.put("seven", 7);
operands.put("eight", 8);
operands.put("nine", 9);
operands.put("ten", 10);
operands.put("eleven", 11);
operands.put("twelve", 12);
operands.put("thirteen", 13);
operands.put("fourteen", 14);
operands.put("fifteen", 15);
operands.put("sixteen", 16);
operands.put("seventeen", 17);
operands.put("eighteen", 18);
operands.put("nineteen", 19);
operands.put("twenty", 20);
operands.put("thirty", 30);
operands.put("forty", 40);
operands.put("fifty", 50);
operands.put("sixty", 60);
operands.put("seventy", 70);
operands.put("eighty", 80);
operands.put("ninety", 90);
operands.put("hundred", 100);
operands.put("thousand", 1000);
operands.put("million", 1000000);
operands.put("billion", 1000000000);
// Points are handled explicitly in evaluateOperand()
operands.put("point", -1);
operands.put(".", -1);
} |
b675f24b-734c-42f4-b35d-a4787afbe2ad | public crmondemand.xml.customobject3.query.QueryType getCustomPickList65() {
return this.customPickList65;
} |
0a4388ad-1686-4e1e-bcdc-b1e076941187 | public void setCustomDate56(crmondemand.xml.opportunity.query.QueryType customDate56) {
this.customDate56 = customDate56;
} |
c776c7fd-2341-4c6e-bac5-e5ecdb745eff | public java.lang.String getCustomPhone19() {
return this.customPhone19;
} |
76b962fc-bf76-4a72-86d5-a0b667928fa2 | public crmondemand.xml.opportunity.query.QueryType getCustomPickList2() {
return this.customPickList2;
} |
dc3f5156-1651-47c7-9ea9-00611adfe1b9 | public java.lang.String getCustomObject12IntegrationId() {
return this.customObject12IntegrationId;
} |
c514133c-702a-4339-83ab-b774d7578bc9 | public java.lang.String getCustomObject12Name() {
return this.customObject12Name;
} |
a3630c9b-fc1f-4526-8919-6072de8a06dd | public crmondemand.xml.contact.query.QueryType getCustomNumber28() {
return this.customNumber28;
} |
d7ef0c40-003a-4375-b847-4e1481d03bb2 | public java.lang.String getCustomObject11ExternalSystemId() {
return this.customObject11ExternalSystemId;
} |
3e3783df-e30b-4e7b-ba86-e80acba8a502 | public void setIndexedPick3(crmondemand.xml.customobject6.query.QueryType indexedPick3) {
this.indexedPick3 = indexedPick3;
} |
bc25f5fc-941b-45ed-8fcb-0ee1ef615fab | public java.util.Calendar getCustomDate18() {
return this.customDate18;
} |
0caa28f8-3f8e-4a30-84ab-78bc8fc6493c | public crmondemand.xml.customobject3.query.QueryType getExternalSystemId() {
return this.externalSystemId;
} |
c96d3b91-6c0b-4282-acb0-df1000b67f69 | public void setCustomText28(java.lang.String customText28) {
this.customText28 = customText28;
} |
f75875f7-1a3d-4f24-8733-39bd50df81ba | public crmondemand.xml.customobject6.query.QueryType getCustomText53() {
return this.customText53;
} |
31bea792-51d8-4255-abf5-5de103a522be | public java.lang.Integer getCustomInteger16() {
return this.customInteger16;
} |
9eea5ee8-00a6-4da3-892c-b33b4c71ef91 | public void setCustomText14(java.lang.String customText14) {
this.customText14 = customText14;
} |
f70ff5da-ea57-49a2-b2e8-bba1e784c984 | public void setCustomDate57(crmondemand.xml.customobject3.query.QueryType customDate57) {
this.customDate57 = customDate57;
} |
686fced2-505b-4ea8-a32d-049d5e46fcc9 | public void showCommands()
{
commands.showAll();
} |
d80ba298-9b14-4e6e-a696-176f2dcd77e2 | public crmondemand.xml.customobject3.query.QueryType getProductId() {
return this.productId;
} |
6cf3f917-41f0-4d5f-ab16-ac9a9fe543fc | public crmondemand.xml.contact.query.QueryType getCustomNumber45() {
return this.customNumber45;
} |
3d896006-044a-4914-9514-f2c80e351276 | public crmondemand.xml.customobject3.query.QueryType getCustomPickList8() {
return this.customPickList8;
} |
a992cb2b-75f1-46bd-a531-4f2bb0a6b597 | public List<ExpressionContext> expression() {
return getRuleContexts(ExpressionContext.class);
} |
16de4cf5-1d7c-4014-b469-c970022d9204 | public void setCustomPickList80(java.lang.String customPickList80) {
this.customPickList80 = customPickList80;
} |
92966cf4-5c8c-4732-a3d2-39f45f2d444d | public java.lang.Boolean getSolutionMultiFileAsset()
{
return this.solutionMultiFileAsset;
} |
d0914af2-1da5-45c8-be89-0e5bd8c4d105 | public void setZCustomPickList60(java.lang.String zCustomPickList60) {
this.zCustomPickList60 = zCustomPickList60;
} |
e9f64916-0bc4-49a5-bc4f-bc1abc14897a | public crmondemand.xml.opportunity.query.QueryType getCustomCurrency11() {
return this.customCurrency11;
} |
4b5f2b0b-368d-42f3-95b2-2d099283870f | public boolean hasIsWinner() {
return ((bitField0_ & 0x00000400) == 0x00000400);
} |
4bb6cfd6-13d8-4114-bec3-b5066fa5938b | public boolean hasSpecName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
} |
25bd5c58-d368-4922-b694-f7db56ac1700 | public java.lang.String getCustomText22() {
return this.customText22;
} |
a384bd71-2979-4f1e-a5aa-8b7eac1af1eb | public Long agregarTaller(TallerDTO tallerDTO)throws Exception; |
920167e5-c984-4927-8f87-a5e47445e948 | public crmondemand.xml.contact.query.QueryType getCustomInteger34() {
return this.customInteger34;
} |
befa2228-5937-4dac-bbc2-1dc5dc8abc0c | public void setCustomNumber24(java.math.BigDecimal customNumber24) {
this.customNumber24 = customNumber24;
} |
f9b3dd9b-3c0d-4c78-95cd-8d0372cd010e | public void setCustomCurrency21(crmondemand.xml.opportunity.query.QueryType customCurrency21) {
this.customCurrency21 = customCurrency21;
} |
aa17e2a5-b90f-4f5f-a592-6c324f09b19a | public void setIX1(Register IX1) {
this.IX1 = IX1;
} |
6efc1393-e537-459d-b817-a8f7df39f71c | public void setCustomPhone1(java.lang.String customPhone1) {
this.customPhone1 = customPhone1;
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.