org.apache.iotdb.mpp.rpc.thrift.TLoadSample Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of timechodb-thrift Show documentation
Show all versions of timechodb-thrift Show documentation
RPC (Thrift) framework for client and server.
The newest version!
/**
* Autogenerated by Thrift Compiler (0.14.1)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package org.apache.iotdb.mpp.rpc.thrift;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked", "unused"})
@javax.annotation.Generated(value = "Autogenerated by Thrift Compiler (0.14.1)", date = "2023-04-20")
public class TLoadSample 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("TLoadSample");
private static final org.apache.thrift.protocol.TField CPU_USAGE_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("cpuUsageRate", org.apache.thrift.protocol.TType.I16, (short)1);
private static final org.apache.thrift.protocol.TField MEMORY_USAGE_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("memoryUsageRate", org.apache.thrift.protocol.TType.DOUBLE, (short)2);
private static final org.apache.thrift.protocol.TField DISK_USAGE_RATE_FIELD_DESC = new org.apache.thrift.protocol.TField("diskUsageRate", org.apache.thrift.protocol.TType.DOUBLE, (short)3);
private static final org.apache.thrift.protocol.TField FREE_DISK_SPACE_FIELD_DESC = new org.apache.thrift.protocol.TField("freeDiskSpace", org.apache.thrift.protocol.TType.I64, (short)4);
private static final org.apache.thrift.scheme.SchemeFactory STANDARD_SCHEME_FACTORY = new TLoadSampleStandardSchemeFactory();
private static final org.apache.thrift.scheme.SchemeFactory TUPLE_SCHEME_FACTORY = new TLoadSampleTupleSchemeFactory();
public short cpuUsageRate; // required
public double memoryUsageRate; // required
public double diskUsageRate; // required
public long freeDiskSpace; // 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 {
CPU_USAGE_RATE((short)1, "cpuUsageRate"),
MEMORY_USAGE_RATE((short)2, "memoryUsageRate"),
DISK_USAGE_RATE((short)3, "diskUsageRate"),
FREE_DISK_SPACE((short)4, "freeDiskSpace");
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.
*/
@org.apache.thrift.annotation.Nullable
public static _Fields findByThriftId(int fieldId) {
switch(fieldId) {
case 1: // CPU_USAGE_RATE
return CPU_USAGE_RATE;
case 2: // MEMORY_USAGE_RATE
return MEMORY_USAGE_RATE;
case 3: // DISK_USAGE_RATE
return DISK_USAGE_RATE;
case 4: // FREE_DISK_SPACE
return FREE_DISK_SPACE;
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 java.lang.IllegalArgumentException("Field " + fieldId + " doesn't exist!");
return fields;
}
/**
* Find the _Fields constant that matches name, or null if its not found.
*/
@org.apache.thrift.annotation.Nullable
public static _Fields findByName(java.lang.String name) {
return byName.get(name);
}
private final short _thriftId;
private final java.lang.String _fieldName;
_Fields(short thriftId, java.lang.String fieldName) {
_thriftId = thriftId;
_fieldName = fieldName;
}
public short getThriftFieldId() {
return _thriftId;
}
public java.lang.String getFieldName() {
return _fieldName;
}
}
// isset id assignments
private static final int __CPUUSAGERATE_ISSET_ID = 0;
private static final int __MEMORYUSAGERATE_ISSET_ID = 1;
private static final int __DISKUSAGERATE_ISSET_ID = 2;
private static final int __FREEDISKSPACE_ISSET_ID = 3;
private byte __isset_bitfield = 0;
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.CPU_USAGE_RATE, new org.apache.thrift.meta_data.FieldMetaData("cpuUsageRate", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I16)));
tmpMap.put(_Fields.MEMORY_USAGE_RATE, new org.apache.thrift.meta_data.FieldMetaData("memoryUsageRate", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
tmpMap.put(_Fields.DISK_USAGE_RATE, new org.apache.thrift.meta_data.FieldMetaData("diskUsageRate", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.DOUBLE)));
tmpMap.put(_Fields.FREE_DISK_SPACE, new org.apache.thrift.meta_data.FieldMetaData("freeDiskSpace", org.apache.thrift.TFieldRequirementType.REQUIRED,
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
metaDataMap = java.util.Collections.unmodifiableMap(tmpMap);
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TLoadSample.class, metaDataMap);
}
public TLoadSample() {
}
public TLoadSample(
short cpuUsageRate,
double memoryUsageRate,
double diskUsageRate,
long freeDiskSpace)
{
this();
this.cpuUsageRate = cpuUsageRate;
setCpuUsageRateIsSet(true);
this.memoryUsageRate = memoryUsageRate;
setMemoryUsageRateIsSet(true);
this.diskUsageRate = diskUsageRate;
setDiskUsageRateIsSet(true);
this.freeDiskSpace = freeDiskSpace;
setFreeDiskSpaceIsSet(true);
}
/**
* Performs a deep copy on other.
*/
public TLoadSample(TLoadSample other) {
__isset_bitfield = other.__isset_bitfield;
this.cpuUsageRate = other.cpuUsageRate;
this.memoryUsageRate = other.memoryUsageRate;
this.diskUsageRate = other.diskUsageRate;
this.freeDiskSpace = other.freeDiskSpace;
}
public TLoadSample deepCopy() {
return new TLoadSample(this);
}
@Override
public void clear() {
setCpuUsageRateIsSet(false);
this.cpuUsageRate = 0;
setMemoryUsageRateIsSet(false);
this.memoryUsageRate = 0.0;
setDiskUsageRateIsSet(false);
this.diskUsageRate = 0.0;
setFreeDiskSpaceIsSet(false);
this.freeDiskSpace = 0;
}
public short getCpuUsageRate() {
return this.cpuUsageRate;
}
public TLoadSample setCpuUsageRate(short cpuUsageRate) {
this.cpuUsageRate = cpuUsageRate;
setCpuUsageRateIsSet(true);
return this;
}
public void unsetCpuUsageRate() {
__isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __CPUUSAGERATE_ISSET_ID);
}
/** Returns true if field cpuUsageRate is set (has been assigned a value) and false otherwise */
public boolean isSetCpuUsageRate() {
return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __CPUUSAGERATE_ISSET_ID);
}
public void setCpuUsageRateIsSet(boolean value) {
__isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __CPUUSAGERATE_ISSET_ID, value);
}
public double getMemoryUsageRate() {
return this.memoryUsageRate;
}
public TLoadSample setMemoryUsageRate(double memoryUsageRate) {
this.memoryUsageRate = memoryUsageRate;
setMemoryUsageRateIsSet(true);
return this;
}
public void unsetMemoryUsageRate() {
__isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __MEMORYUSAGERATE_ISSET_ID);
}
/** Returns true if field memoryUsageRate is set (has been assigned a value) and false otherwise */
public boolean isSetMemoryUsageRate() {
return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __MEMORYUSAGERATE_ISSET_ID);
}
public void setMemoryUsageRateIsSet(boolean value) {
__isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __MEMORYUSAGERATE_ISSET_ID, value);
}
public double getDiskUsageRate() {
return this.diskUsageRate;
}
public TLoadSample setDiskUsageRate(double diskUsageRate) {
this.diskUsageRate = diskUsageRate;
setDiskUsageRateIsSet(true);
return this;
}
public void unsetDiskUsageRate() {
__isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __DISKUSAGERATE_ISSET_ID);
}
/** Returns true if field diskUsageRate is set (has been assigned a value) and false otherwise */
public boolean isSetDiskUsageRate() {
return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __DISKUSAGERATE_ISSET_ID);
}
public void setDiskUsageRateIsSet(boolean value) {
__isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __DISKUSAGERATE_ISSET_ID, value);
}
public long getFreeDiskSpace() {
return this.freeDiskSpace;
}
public TLoadSample setFreeDiskSpace(long freeDiskSpace) {
this.freeDiskSpace = freeDiskSpace;
setFreeDiskSpaceIsSet(true);
return this;
}
public void unsetFreeDiskSpace() {
__isset_bitfield = org.apache.thrift.EncodingUtils.clearBit(__isset_bitfield, __FREEDISKSPACE_ISSET_ID);
}
/** Returns true if field freeDiskSpace is set (has been assigned a value) and false otherwise */
public boolean isSetFreeDiskSpace() {
return org.apache.thrift.EncodingUtils.testBit(__isset_bitfield, __FREEDISKSPACE_ISSET_ID);
}
public void setFreeDiskSpaceIsSet(boolean value) {
__isset_bitfield = org.apache.thrift.EncodingUtils.setBit(__isset_bitfield, __FREEDISKSPACE_ISSET_ID, value);
}
public void setFieldValue(_Fields field, @org.apache.thrift.annotation.Nullable java.lang.Object value) {
switch (field) {
case CPU_USAGE_RATE:
if (value == null) {
unsetCpuUsageRate();
} else {
setCpuUsageRate((java.lang.Short)value);
}
break;
case MEMORY_USAGE_RATE:
if (value == null) {
unsetMemoryUsageRate();
} else {
setMemoryUsageRate((java.lang.Double)value);
}
break;
case DISK_USAGE_RATE:
if (value == null) {
unsetDiskUsageRate();
} else {
setDiskUsageRate((java.lang.Double)value);
}
break;
case FREE_DISK_SPACE:
if (value == null) {
unsetFreeDiskSpace();
} else {
setFreeDiskSpace((java.lang.Long)value);
}
break;
}
}
@org.apache.thrift.annotation.Nullable
public java.lang.Object getFieldValue(_Fields field) {
switch (field) {
case CPU_USAGE_RATE:
return getCpuUsageRate();
case MEMORY_USAGE_RATE:
return getMemoryUsageRate();
case DISK_USAGE_RATE:
return getDiskUsageRate();
case FREE_DISK_SPACE:
return getFreeDiskSpace();
}
throw new java.lang.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 java.lang.IllegalArgumentException();
}
switch (field) {
case CPU_USAGE_RATE:
return isSetCpuUsageRate();
case MEMORY_USAGE_RATE:
return isSetMemoryUsageRate();
case DISK_USAGE_RATE:
return isSetDiskUsageRate();
case FREE_DISK_SPACE:
return isSetFreeDiskSpace();
}
throw new java.lang.IllegalStateException();
}
@Override
public boolean equals(java.lang.Object that) {
if (that instanceof TLoadSample)
return this.equals((TLoadSample)that);
return false;
}
public boolean equals(TLoadSample that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_cpuUsageRate = true;
boolean that_present_cpuUsageRate = true;
if (this_present_cpuUsageRate || that_present_cpuUsageRate) {
if (!(this_present_cpuUsageRate && that_present_cpuUsageRate))
return false;
if (this.cpuUsageRate != that.cpuUsageRate)
return false;
}
boolean this_present_memoryUsageRate = true;
boolean that_present_memoryUsageRate = true;
if (this_present_memoryUsageRate || that_present_memoryUsageRate) {
if (!(this_present_memoryUsageRate && that_present_memoryUsageRate))
return false;
if (this.memoryUsageRate != that.memoryUsageRate)
return false;
}
boolean this_present_diskUsageRate = true;
boolean that_present_diskUsageRate = true;
if (this_present_diskUsageRate || that_present_diskUsageRate) {
if (!(this_present_diskUsageRate && that_present_diskUsageRate))
return false;
if (this.diskUsageRate != that.diskUsageRate)
return false;
}
boolean this_present_freeDiskSpace = true;
boolean that_present_freeDiskSpace = true;
if (this_present_freeDiskSpace || that_present_freeDiskSpace) {
if (!(this_present_freeDiskSpace && that_present_freeDiskSpace))
return false;
if (this.freeDiskSpace != that.freeDiskSpace)
return false;
}
return true;
}
@Override
public int hashCode() {
int hashCode = 1;
hashCode = hashCode * 8191 + cpuUsageRate;
hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(memoryUsageRate);
hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(diskUsageRate);
hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(freeDiskSpace);
return hashCode;
}
@Override
public int compareTo(TLoadSample other) {
if (!getClass().equals(other.getClass())) {
return getClass().getName().compareTo(other.getClass().getName());
}
int lastComparison = 0;
lastComparison = java.lang.Boolean.compare(isSetCpuUsageRate(), other.isSetCpuUsageRate());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetCpuUsageRate()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.cpuUsageRate, other.cpuUsageRate);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetMemoryUsageRate(), other.isSetMemoryUsageRate());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetMemoryUsageRate()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.memoryUsageRate, other.memoryUsageRate);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetDiskUsageRate(), other.isSetDiskUsageRate());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetDiskUsageRate()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.diskUsageRate, other.diskUsageRate);
if (lastComparison != 0) {
return lastComparison;
}
}
lastComparison = java.lang.Boolean.compare(isSetFreeDiskSpace(), other.isSetFreeDiskSpace());
if (lastComparison != 0) {
return lastComparison;
}
if (isSetFreeDiskSpace()) {
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.freeDiskSpace, other.freeDiskSpace);
if (lastComparison != 0) {
return lastComparison;
}
}
return 0;
}
@org.apache.thrift.annotation.Nullable
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 java.lang.String toString() {
java.lang.StringBuilder sb = new java.lang.StringBuilder("TLoadSample(");
boolean first = true;
sb.append("cpuUsageRate:");
sb.append(this.cpuUsageRate);
first = false;
if (!first) sb.append(", ");
sb.append("memoryUsageRate:");
sb.append(this.memoryUsageRate);
first = false;
if (!first) sb.append(", ");
sb.append("diskUsageRate:");
sb.append(this.diskUsageRate);
first = false;
if (!first) sb.append(", ");
sb.append("freeDiskSpace:");
sb.append(this.freeDiskSpace);
first = false;
sb.append(")");
return sb.toString();
}
public void validate() throws org.apache.thrift.TException {
// check for required fields
// alas, we cannot check 'cpuUsageRate' because it's a primitive and you chose the non-beans generator.
// alas, we cannot check 'memoryUsageRate' because it's a primitive and you chose the non-beans generator.
// alas, we cannot check 'diskUsageRate' because it's a primitive and you chose the non-beans generator.
// alas, we cannot check 'freeDiskSpace' because it's a primitive and you chose the non-beans generator.
// 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, java.lang.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 TLoadSampleStandardSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
public TLoadSampleStandardScheme getScheme() {
return new TLoadSampleStandardScheme();
}
}
private static class TLoadSampleStandardScheme extends org.apache.thrift.scheme.StandardScheme {
public void read(org.apache.thrift.protocol.TProtocol iprot, TLoadSample 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: // CPU_USAGE_RATE
if (schemeField.type == org.apache.thrift.protocol.TType.I16) {
struct.cpuUsageRate = iprot.readI16();
struct.setCpuUsageRateIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 2: // MEMORY_USAGE_RATE
if (schemeField.type == org.apache.thrift.protocol.TType.DOUBLE) {
struct.memoryUsageRate = iprot.readDouble();
struct.setMemoryUsageRateIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 3: // DISK_USAGE_RATE
if (schemeField.type == org.apache.thrift.protocol.TType.DOUBLE) {
struct.diskUsageRate = iprot.readDouble();
struct.setDiskUsageRateIsSet(true);
} else {
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
}
break;
case 4: // FREE_DISK_SPACE
if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
struct.freeDiskSpace = iprot.readI64();
struct.setFreeDiskSpaceIsSet(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
if (!struct.isSetCpuUsageRate()) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'cpuUsageRate' was not found in serialized data! Struct: " + toString());
}
if (!struct.isSetMemoryUsageRate()) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'memoryUsageRate' was not found in serialized data! Struct: " + toString());
}
if (!struct.isSetDiskUsageRate()) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'diskUsageRate' was not found in serialized data! Struct: " + toString());
}
if (!struct.isSetFreeDiskSpace()) {
throw new org.apache.thrift.protocol.TProtocolException("Required field 'freeDiskSpace' was not found in serialized data! Struct: " + toString());
}
struct.validate();
}
public void write(org.apache.thrift.protocol.TProtocol oprot, TLoadSample struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
oprot.writeFieldBegin(CPU_USAGE_RATE_FIELD_DESC);
oprot.writeI16(struct.cpuUsageRate);
oprot.writeFieldEnd();
oprot.writeFieldBegin(MEMORY_USAGE_RATE_FIELD_DESC);
oprot.writeDouble(struct.memoryUsageRate);
oprot.writeFieldEnd();
oprot.writeFieldBegin(DISK_USAGE_RATE_FIELD_DESC);
oprot.writeDouble(struct.diskUsageRate);
oprot.writeFieldEnd();
oprot.writeFieldBegin(FREE_DISK_SPACE_FIELD_DESC);
oprot.writeI64(struct.freeDiskSpace);
oprot.writeFieldEnd();
oprot.writeFieldStop();
oprot.writeStructEnd();
}
}
private static class TLoadSampleTupleSchemeFactory implements org.apache.thrift.scheme.SchemeFactory {
public TLoadSampleTupleScheme getScheme() {
return new TLoadSampleTupleScheme();
}
}
private static class TLoadSampleTupleScheme extends org.apache.thrift.scheme.TupleScheme {
@Override
public void write(org.apache.thrift.protocol.TProtocol prot, TLoadSample struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
oprot.writeI16(struct.cpuUsageRate);
oprot.writeDouble(struct.memoryUsageRate);
oprot.writeDouble(struct.diskUsageRate);
oprot.writeI64(struct.freeDiskSpace);
}
@Override
public void read(org.apache.thrift.protocol.TProtocol prot, TLoadSample struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TTupleProtocol iprot = (org.apache.thrift.protocol.TTupleProtocol) prot;
struct.cpuUsageRate = iprot.readI16();
struct.setCpuUsageRateIsSet(true);
struct.memoryUsageRate = iprot.readDouble();
struct.setMemoryUsageRateIsSet(true);
struct.diskUsageRate = iprot.readDouble();
struct.setDiskUsageRateIsSet(true);
struct.freeDiskSpace = iprot.readI64();
struct.setFreeDiskSpaceIsSet(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();
}
}