Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
cicada.userdriver.config.Certificate5Param Maven / Gradle / Ivy
/**
* Autogenerated by Thrift Compiler (0.10.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package cicada.userdriver.config;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.10.0)", date = "2017-08-15")
public class Certificate5Param implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable {
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("Certificate5Param");
private static final org.apache.thrift.protocol.TField TRUE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("trueName", org.apache.thrift.protocol.TType.STRING, (short)1);
private static final org.apache.thrift.protocol.TField IDENTITY_CARD_FIELD_DESC = new org.apache.thrift.protocol.TField("identityCard", org.apache.thrift.protocol.TType.STRING, (short)2);
private static final org.apache.thrift.protocol.TField IMAGE_FRONT_CARD_FIELD_DESC = new org.apache.thrift.protocol.TField("imageFrontCard", org.apache.thrift.protocol.TType.STRING, (short)3);
private static final org.apache.thrift.protocol.TField IMAGE_BACK_CARD_FIELD_DESC = new org.apache.thrift.protocol.TField("imageBackCard", org.apache.thrift.protocol.TType.STRING, (short)4);
private static final org.apache.thrift.protocol.TField IMAGE_USER_CARD_FIELD_DESC = new org.apache.thrift.protocol.TField("imageUserCard", org.apache.thrift.protocol.TType.STRING, (short)5);
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new Certificate5ParamStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new Certificate5ParamTupleSchemeFactory();
public String trueName; // required
public String identityCard; // required
public String imageFrontCard; // required
public String imageBackCard; // required
public String imageUserCard; // 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 {
TRUE_NAME((short)1, "trueName"),
IDENTITY_CARD((short)2, "identityCard"),
IMAGE_FRONT_CARD((short)3, "imageFrontCard"),
IMAGE_BACK_CARD((short)4, "imageBackCard"),
IMAGE_USER_CARD((short)5, "imageUserCard");
private static final java.util.Map byName = new java.util.HashMap();
static {
for (_Fields field : java.util.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: // TRUE_NAME
return TRUE_NAME;
case 2: // IDENTITY_CARD
return IDENTITY_CARD;
case 3: // IMAGE_FRONT_CARD
return IMAGE_FRONT_CARD;
case 4: // IMAGE_BACK_CARD
return IMAGE_BACK_CARD;
case 5: // IMAGE_USER_CARD
return IMAGE_USER_CARD;
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 java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
static {
java.util.Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new java.util.EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.TRUE_NAME, new org.apache.thrift.meta_data.FieldMetaData("trueName", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.IDENTITY_CARD, new org.apache.thrift.meta_data.FieldMetaData("identityCard", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.IMAGE_FRONT_CARD, new org.apache.thrift.meta_data.FieldMetaData("imageFrontCard", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.IMAGE_BACK_CARD, new org.apache.thrift.meta_data.FieldMetaData("imageBackCard", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
tmpMap.put(_Fields.IMAGE_USER_CARD, new org.apache.thrift.meta_data.FieldMetaData("imageUserCard", org.apache.thrift.TFieldRequirementType.DEFAULT,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Certificate5Param.class, metaDataMap);
}
public Certificate5Param() {
}
public Certificate5Param(
String trueName,
String identityCard,
String imageFrontCard,
String imageBackCard,
String imageUserCard)
{
this();
this.trueName = trueName;
this.identityCard = identityCard;
this.imageFrontCard = imageFrontCard;
this.imageBackCard = imageBackCard;
this.imageUserCard = imageUserCard;
}
/**
* Performs a deep copy on other .
*/
public Certificate5Param(Certificate5Param other) {
if (other.isSetTrueName()) {
this.trueName = other.trueName;
}
if (other.isSetIdentityCard()) {
this.identityCard = other.identityCard;
}
if (other.isSetImageFrontCard()) {
this.imageFrontCard = other.imageFrontCard;
}
if (other.isSetImageBackCard()) {
this.imageBackCard = other.imageBackCard;
}
if (other.isSetImageUserCard()) {
this.imageUserCard = other.imageUserCard;
}
}
public Certificate5Param deepCopy() {
return new Certificate5Param(this);
}
@Override
public void clear() {
this.trueName = null;
this.identityCard = null;
this.imageFrontCard = null;
this.imageBackCard = null;
this.imageUserCard = null;
}
public String getTrueName() {
return this.trueName;
}
public Certificate5Param setTrueName(String trueName) {
this.trueName = trueName;
return this;
}
public void unsetTrueName() {
this.trueName = null;
}
/** Returns true if field trueName is set (has been assigned a value) and false otherwise */
public boolean isSetTrueName() {
return this.trueName != null;
}
public void setTrueNameIsSet(boolean value) {
if (!value) {
this.trueName = null;
}
}
public String getIdentityCard() {
return this.identityCard;
}
public Certificate5Param setIdentityCard(String identityCard) {
this.identityCard = identityCard;
return this;
}
public void unsetIdentityCard() {
this.identityCard = null;
}
/** Returns true if field identityCard is set (has been assigned a value) and false otherwise */
public boolean isSetIdentityCard() {
return this.identityCard != null;
}
public void setIdentityCardIsSet(boolean value) {
if (!value) {
this.identityCard = null;
}
}
public String getImageFrontCard() {
return this.imageFrontCard;
}
public Certificate5Param setImageFrontCard(String imageFrontCard) {
this.imageFrontCard = imageFrontCard;
return this;
}
public void unsetImageFrontCard() {
this.imageFrontCard = null;
}
/** Returns true if field imageFrontCard is set (has been assigned a value) and false otherwise */
public boolean isSetImageFrontCard() {
return this.imageFrontCard != null;
}
public void setImageFrontCardIsSet(boolean value) {
if (!value) {
this.imageFrontCard = null;
}
}
public String getImageBackCard() {
return this.imageBackCard;
}
public Certificate5Param setImageBackCard(String imageBackCard) {
this.imageBackCard = imageBackCard;
return this;
}
public void unsetImageBackCard() {
this.imageBackCard = null;
}
/** Returns true if field imageBackCard is set (has been assigned a value) and false otherwise */
public boolean isSetImageBackCard() {
return this.imageBackCard != null;
}
public void setImageBackCardIsSet(boolean value) {
if (!value) {
this.imageBackCard = null;
}
}
public String getImageUserCard() {
return this.imageUserCard;
}
public Certificate5Param setImageUserCard(String imageUserCard) {
this.imageUserCard = imageUserCard;
return this;
}
public void unsetImageUserCard() {
this.imageUserCard = null;
}
/** Returns true if field imageUserCard is set (has been assigned a value) and false otherwise */
public boolean isSetImageUserCard() {
return this.imageUserCard != null;
}
public void setImageUserCardIsSet(boolean value) {
if (!value) {
this.imageUserCard = null;
}
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case TRUE_NAME:
if (value == null) {
unsetTrueName();
} else {
setTrueName((String)value);
}
break;
case IDENTITY_CARD:
if (value == null) {
unsetIdentityCard();
} else {
setIdentityCard((String)value);
}
break;
case IMAGE_FRONT_CARD:
if (value == null) {
unsetImageFrontCard();
} else {
setImageFrontCard((String)value);
}
break;
case IMAGE_BACK_CARD:
if (value == null) {
unsetImageBackCard();
} else {
setImageBackCard((String)value);
}
break;
case IMAGE_USER_CARD:
if (value == null) {
unsetImageUserCard();
} else {
setImageUserCard((String)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case TRUE_NAME:
return getTrueName();
case IDENTITY_CARD:
return getIdentityCard();
case IMAGE_FRONT_CARD:
return getImageFrontCard();
case IMAGE_BACK_CARD:
return getImageBackCard();
case IMAGE_USER_CARD:
return getImageUserCard();
}
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 TRUE_NAME:
return isSetTrueName();
case IDENTITY_CARD:
return isSetIdentityCard();
case IMAGE_FRONT_CARD:
return isSetImageFrontCard();
case IMAGE_BACK_CARD:
return isSetImageBackCard();
case IMAGE_USER_CARD:
return isSetImageUserCard();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof Certificate5Param)
return this.equals((Certificate5Param)that);
return false;
}
public boolean equals(Certificate5Param that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_trueName = true && this.isSetTrueName();
boolean that_present_trueName = true && that.isSetTrueName();
if (this_present_trueName || that_present_trueName) {
if (!(this_present_trueName && that_present_trueName))
return false;
if (!this.trueName.equals(that.trueName))
return false;
}
boolean this_present_identityCard = true && this.isSetIdentityCard();
boolean that_present_identityCard = true && that.isSetIdentityCard();
if (this_present_identityCard || that_present_identityCard) {
if (!(this_present_identityCard && that_present_identityCard))
return false;
if (!this.identityCard.equals(that.identityCard))
return false;
}
boolean this_present_imageFrontCard = true && this.isSetImageFrontCard();
boolean that_present_imageFrontCard = true && that.isSetImageFrontCard();
if (this_present_imageFrontCard || that_present_imageFrontCard) {
if (!(this_present_imageFrontCard && that_present_imageFrontCard))
return false;
if (!this.imageFrontCard.equals(that.imageFrontCard))
return false;
}
boolean this_present_imageBackCard = true && this.isSetImageBackCard();
boolean that_present_imageBackCard = true && that.isSetImageBackCard();
if (this_present_imageBackCard || that_present_imageBackCard) {
if (!(this_present_imageBackCard && that_present_imageBackCard))
return false;
if (!this.imageBackCard.equals(that.imageBackCard))
return false;
}
boolean this_present_imageUserCard = true && this.isSetImageUserCard();
boolean that_present_imageUserCard = true && that.isSetImageUserCard();
if (this_present_imageUserCard || that_present_imageUserCard) {
if (!(this_present_imageUserCard && that_present_imageUserCard))
return false;
if (!this.imageUserCard.equals(that.imageUserCard))
return false;
}
return true;
}
@Override
public int hashCode() {
int hashCode = 1;
hashCode = hashCode * 8191 + ((isSetTrueName()) ? 131071 : 524287);
if (isSetTrueName())
hashCode = hashCode * 8191 + trueName.hashCode();
hashCode = hashCode * 8191 + ((isSetIdentityCard()) ? 131071 : 524287);
if (isSetIdentityCard())
hashCode = hashCode * 8191 + identityCard.hashCode();
hashCode = hashCode * 8191 + ((isSetImageFrontCard()) ? 131071 : 524287);
if (isSetImageFrontCard())
hashCode = hashCode * 8191 + imageFrontCard.hashCode();
hashCode = hashCode * 8191 + ((isSetImageBackCard()) ? 131071 : 524287);
if (isSetImageBackCard())
hashCode = hashCode * 8191 + imageBackCard.hashCode();
hashCode = hashCode * 8191 + ((isSetImageUserCard()) ? 131071 : 524287);
if (isSetImageUserCard())
hashCode = hashCode * 8191 + imageUserCard.hashCode();
return hashCode;
}
@Override
public int compareTo(Certificate5Param other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = Boolean.valueOf(isSetTrueName()).compareTo(other.isSetTrueName());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetTrueName()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.trueName, other.trueName);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = Boolean.valueOf(isSetIdentityCard()).compareTo(other.isSetIdentityCard());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetIdentityCard()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.identityCard, other.identityCard);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = Boolean.valueOf(isSetImageFrontCard()).compareTo(other.isSetImageFrontCard());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetImageFrontCard()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageFrontCard, other.imageFrontCard);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = Boolean.valueOf(isSetImageBackCard()).compareTo(other.isSetImageBackCard());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetImageBackCard()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageBackCard, other.imageBackCard);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = Boolean.valueOf(isSetImageUserCard()).compareTo(other.isSetImageUserCard());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetImageUserCard()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.imageUserCard, other.imageUserCard);
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 {
scheme(iprot).read(iprot, this);
}
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
scheme(oprot).write(oprot, this);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder("Certificate5Param(");
boolean first = true;
sb.append("trueName:");
if (this.trueName == null) {
sb.append("null");
} else {
sb.append(this.trueName);
}
first = false;
if (!first) sb.append(", ");
sb.append("identityCard:");
if (this.identityCard == null) {
sb.append("null");
} else {
sb.append(this.identityCard);
}
first = false;
if (!first) sb.append(", ");
sb.append("imageFrontCard:");
if (this.imageFrontCard == null) {
sb.append("null");
} else {
sb.append(this.imageFrontCard);
}
first = false;
if (!first) sb.append(", ");
sb.append("imageBackCard:");
if (this.imageBackCard == null) {
sb.append("null");
} else {
sb.append(this.imageBackCard);
}
first = false;
if (!first) sb.append(", ");
sb.append("imageUserCard:");
if (this.imageUserCard == null) {
sb.append("null");
} else {
sb.append(this.imageUserCard);
}
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 Certificate5ParamStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
public Certificate5ParamStandardScheme getScheme() {
return new Certificate5ParamStandardScheme();
}
}
private static class Certificate5ParamStandardScheme extends org.apache.thrift.scheme.StandardScheme {
public void read(org.apache.thrift.protocol.TProtocol iprot, Certificate5Param 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: // TRUE_NAME
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.trueName = iprot.readString();
struct.setTrueNameIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 2: // IDENTITY_CARD
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.identityCard = iprot.readString();
struct.setIdentityCardIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 3: // IMAGE_FRONT_CARD
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.imageFrontCard = iprot.readString();
struct.setImageFrontCardIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 4: // IMAGE_BACK_CARD
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.imageBackCard = iprot.readString();
struct.setImageBackCardIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 5: // IMAGE_USER_CARD
if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
struct.imageUserCard = iprot.readString();
struct.setImageUserCardIsSet(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, Certificate5Param struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
if (struct.trueName != null) {
oprot.writeFieldBegin(TRUE_NAME_FIELD_DESC);
oprot.writeString(struct.trueName);
oprot.writeFieldEnd();
}
if (struct.identityCard != null) {
oprot.writeFieldBegin(IDENTITY_CARD_FIELD_DESC);
oprot.writeString(struct.identityCard);
oprot.writeFieldEnd();
}
if (struct.imageFrontCard != null) {
oprot.writeFieldBegin(IMAGE_FRONT_CARD_FIELD_DESC);
oprot.writeString(struct.imageFrontCard);
oprot.writeFieldEnd();
}
if (struct.imageBackCard != null) {
oprot.writeFieldBegin(IMAGE_BACK_CARD_FIELD_DESC);
oprot.writeString(struct.imageBackCard);
oprot.writeFieldEnd();
}
if (struct.imageUserCard != null) {
oprot.writeFieldBegin(IMAGE_USER_CARD_FIELD_DESC);
oprot.writeString(struct.imageUserCard);
oprot.writeFieldEnd();
}
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class Certificate5ParamTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
public Certificate5ParamTupleScheme getScheme() {
return new Certificate5ParamTupleScheme();
}
}
private static class Certificate5ParamTupleScheme extends org.apache.thrift.scheme.TupleScheme {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, Certificate5Param struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet optionals = new java.util.BitSet();
if (struct.isSetTrueName()) {
optionals.set(0);
}
if (struct.isSetIdentityCard()) {
optionals.set(1);
}
if (struct.isSetImageFrontCard()) {
optionals.set(2);
}
if (struct.isSetImageBackCard()) {
optionals.set(3);
}
if (struct.isSetImageUserCard()) {
optionals.set(4);
}
oprot.writeBitSet(optionals, 5);
if (struct.isSetTrueName()) {
oprot.writeString(struct.trueName);
}
if (struct.isSetIdentityCard()) {
oprot.writeString(struct.identityCard);
}
if (struct.isSetImageFrontCard()) {
oprot.writeString(struct.imageFrontCard);
}
if (struct.isSetImageBackCard()) {
oprot.writeString(struct.imageBackCard);
}
if (struct.isSetImageUserCard()) {
oprot.writeString(struct.imageUserCard);
}
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, Certificate5Param struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
java.util.BitSet incoming = iprot.readBitSet(5);
if (incoming.get(0)) {
struct.trueName = iprot.readString();
struct.setTrueNameIsSet(true);
}
if (incoming.get(1)) {
struct.identityCard = iprot.readString();
struct.setIdentityCardIsSet(true);
}
if (incoming.get(2)) {
struct.imageFrontCard = iprot.readString();
struct.setImageFrontCardIsSet(true);
}
if (incoming.get(3)) {
struct.imageBackCard = iprot.readString();
struct.setImageBackCardIsSet(true);
}
if (incoming.get(4)) {
struct.imageUserCard = iprot.readString();
struct.setImageUserCardIsSet(true);
}
}
}
private static S scheme(org.apache.thrift.protocol.TProtocol proto) {
return (org.apache.thrift.scheme.StandardScheme.class.equals(proto.getScheme()) ? STANDARD_SCHEME_FACTORY : TUPLE_SCHEME_FACTORY).getScheme();
}
}