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.
/**
* Autogenerated by Thrift Compiler (0.9.2)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
*/
package com.xiaomi.infra.galaxy.talos.thrift;
import libthrift091.scheme.IScheme;
import libthrift091.scheme.SchemeFactory;
import libthrift091.scheme.StandardScheme;
import libthrift091.scheme.TupleScheme;
import libthrift091.protocol.TTupleProtocol;
import libthrift091.protocol.TProtocolException;
import libthrift091.EncodingUtils;
import libthrift091.TException;
import libthrift091.async.AsyncMethodCallback;
import libthrift091.server.AbstractNonblockingServer.*;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
import java.util.EnumMap;
import java.util.Set;
import java.util.HashSet;
import java.util.EnumSet;
import java.util.Collections;
import java.util.BitSet;
import java.nio.ByteBuffer;
import java.util.Arrays;
import javax.annotation.Generated;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
/**
* BaseQuota is the base struct of UserQuota and TopicQuota
* the quota service is made for three aspects:
* 1. the resource number taken up by users
* 2. the read/write qps quota
* 3. the traffic qps quota
*
*/
@Generated(value = "Autogenerated by Thrift Compiler (0.9.2)", date = "2016-11-11")
public class BaseQuota implements libthrift091.TBase, java.io.Serializable, Cloneable, Comparable {
private static final libthrift091.protocol.TStruct STRUCT_DESC = new libthrift091.protocol.TStruct("BaseQuota");
private static final libthrift091.protocol.TField SPACE_QUOTA_FIELD_DESC = new libthrift091.protocol.TField("spaceQuota", libthrift091.protocol.TType.I64, (short)1);
private static final libthrift091.protocol.TField USED_SPACE_FIELD_DESC = new libthrift091.protocol.TField("usedSpace", libthrift091.protocol.TType.I64, (short)2);
private static final libthrift091.protocol.TField REMAINING_SPACE_FIELD_DESC = new libthrift091.protocol.TField("remainingSpace", libthrift091.protocol.TType.I64, (short)3);
private static final libthrift091.protocol.TField PUT_MESSAGE_QPS_QUOTA_FIELD_DESC = new libthrift091.protocol.TField("putMessageQpsQuota", libthrift091.protocol.TType.I32, (short)4);
private static final libthrift091.protocol.TField GET_MESSAGE_QPS_QUOTA_FIELD_DESC = new libthrift091.protocol.TField("getMessageQpsQuota", libthrift091.protocol.TType.I32, (short)5);
private static final libthrift091.protocol.TField PUT_MESSAGE_BYTES_QPS_QUOTA_FIELD_DESC = new libthrift091.protocol.TField("putMessageBytesQpsQuota", libthrift091.protocol.TType.I64, (short)6);
private static final libthrift091.protocol.TField GET_MESSAGE_BYTES_QPS_QUOTA_FIELD_DESC = new libthrift091.protocol.TField("getMessageBytesQpsQuota", libthrift091.protocol.TType.I64, (short)7);
private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>();
static {
schemes.put(StandardScheme.class, new BaseQuotaStandardSchemeFactory());
schemes.put(TupleScheme.class, new BaseQuotaTupleSchemeFactory());
}
/**
* The max space can be used for specified developer/topic
* default 1T for developer, and 500G for topic
*
*/
public long spaceQuota; // required
/**
* The used space quota
*
*/
public long usedSpace; // optional
/**
* The remaining space quota
*
*/
public long remainingSpace; // optional
/**
* The max total qps of putMessage of specified developer/topic
* default 40000 for developer, and 4000 for topic
*
*/
public int putMessageQpsQuota; // optional
/**
* The max total qps of getMessage of specified developer/topic
* default 40000 for developer, and 4000 for topic
*
*/
public int getMessageQpsQuota; // optional
/**
* The max total bytes of putMessage of specified developer/topic
* default 500MB for developer, and 50MB for topic
*
*/
public long putMessageBytesQpsQuota; // optional
/**
* The max total bytes of getMessage of specified developer/topic
* default 500MB for developer, and 50MB for topic
*
*/
public long getMessageBytesQpsQuota; // optional
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
public enum _Fields implements libthrift091.TFieldIdEnum {
/**
* The max space can be used for specified developer/topic
* default 1T for developer, and 500G for topic
*
*/
SPACE_QUOTA((short)1, "spaceQuota"),
/**
* The used space quota
*
*/
USED_SPACE((short)2, "usedSpace"),
/**
* The remaining space quota
*
*/
REMAINING_SPACE((short)3, "remainingSpace"),
/**
* The max total qps of putMessage of specified developer/topic
* default 40000 for developer, and 4000 for topic
*
*/
PUT_MESSAGE_QPS_QUOTA((short)4, "putMessageQpsQuota"),
/**
* The max total qps of getMessage of specified developer/topic
* default 40000 for developer, and 4000 for topic
*
*/
GET_MESSAGE_QPS_QUOTA((short)5, "getMessageQpsQuota"),
/**
* The max total bytes of putMessage of specified developer/topic
* default 500MB for developer, and 50MB for topic
*
*/
PUT_MESSAGE_BYTES_QPS_QUOTA((short)6, "putMessageBytesQpsQuota"),
/**
* The max total bytes of getMessage of specified developer/topic
* default 500MB for developer, and 50MB for topic
*
*/
GET_MESSAGE_BYTES_QPS_QUOTA((short)7, "getMessageBytesQpsQuota");
private static final Map byName = new HashMap();
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: // SPACE_QUOTA
return SPACE_QUOTA;
case 2: // USED_SPACE
return USED_SPACE;
case 3: // REMAINING_SPACE
return REMAINING_SPACE;
case 4: // PUT_MESSAGE_QPS_QUOTA
return PUT_MESSAGE_QPS_QUOTA;
case 5: // GET_MESSAGE_QPS_QUOTA
return GET_MESSAGE_QPS_QUOTA;
case 6: // PUT_MESSAGE_BYTES_QPS_QUOTA
return PUT_MESSAGE_BYTES_QPS_QUOTA;
case 7: // GET_MESSAGE_BYTES_QPS_QUOTA
return GET_MESSAGE_BYTES_QPS_QUOTA;
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 __SPACEQUOTA_ISSET_ID = 0;
private static final int __USEDSPACE_ISSET_ID = 1;
private static final int __REMAININGSPACE_ISSET_ID = 2;
private static final int __PUTMESSAGEQPSQUOTA_ISSET_ID = 3;
private static final int __GETMESSAGEQPSQUOTA_ISSET_ID = 4;
private static final int __PUTMESSAGEBYTESQPSQUOTA_ISSET_ID = 5;
private static final int __GETMESSAGEBYTESQPSQUOTA_ISSET_ID = 6;
private byte __isset_bitfield = 0;
private static final _Fields optionals[] = {_Fields.USED_SPACE,_Fields.REMAINING_SPACE,_Fields.PUT_MESSAGE_QPS_QUOTA,_Fields.GET_MESSAGE_QPS_QUOTA,_Fields.PUT_MESSAGE_BYTES_QPS_QUOTA,_Fields.GET_MESSAGE_BYTES_QPS_QUOTA};
public static final Map<_Fields, libthrift091.meta_data.FieldMetaData> metaDataMap;
static {
Map<_Fields, libthrift091.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, libthrift091.meta_data.FieldMetaData>(_Fields.class);
tmpMap.put(_Fields.SPACE_QUOTA, new libthrift091.meta_data.FieldMetaData("spaceQuota", libthrift091.TFieldRequirementType.REQUIRED,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.I64)));
tmpMap.put(_Fields.USED_SPACE, new libthrift091.meta_data.FieldMetaData("usedSpace", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.I64)));
tmpMap.put(_Fields.REMAINING_SPACE, new libthrift091.meta_data.FieldMetaData("remainingSpace", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.I64)));
tmpMap.put(_Fields.PUT_MESSAGE_QPS_QUOTA, new libthrift091.meta_data.FieldMetaData("putMessageQpsQuota", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.I32)));
tmpMap.put(_Fields.GET_MESSAGE_QPS_QUOTA, new libthrift091.meta_data.FieldMetaData("getMessageQpsQuota", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.I32)));
tmpMap.put(_Fields.PUT_MESSAGE_BYTES_QPS_QUOTA, new libthrift091.meta_data.FieldMetaData("putMessageBytesQpsQuota", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.I64)));
tmpMap.put(_Fields.GET_MESSAGE_BYTES_QPS_QUOTA, new libthrift091.meta_data.FieldMetaData("getMessageBytesQpsQuota", libthrift091.TFieldRequirementType.OPTIONAL,
new libthrift091.meta_data.FieldValueMetaData(libthrift091.protocol.TType.I64)));
metaDataMap = Collections.unmodifiableMap(tmpMap);
libthrift091.meta_data.FieldMetaData.addStructMetaDataMap(BaseQuota.class, metaDataMap);
}
public BaseQuota() {
}
public BaseQuota(
long spaceQuota)
{
this();
this.spaceQuota = spaceQuota;
setSpaceQuotaIsSet(true);
}
/**
* Performs a deep copy on other.
*/
public BaseQuota(BaseQuota other) {
__isset_bitfield = other.__isset_bitfield;
this.spaceQuota = other.spaceQuota;
this.usedSpace = other.usedSpace;
this.remainingSpace = other.remainingSpace;
this.putMessageQpsQuota = other.putMessageQpsQuota;
this.getMessageQpsQuota = other.getMessageQpsQuota;
this.putMessageBytesQpsQuota = other.putMessageBytesQpsQuota;
this.getMessageBytesQpsQuota = other.getMessageBytesQpsQuota;
}
public BaseQuota deepCopy() {
return new BaseQuota(this);
}
@Override
public void clear() {
setSpaceQuotaIsSet(false);
this.spaceQuota = 0;
setUsedSpaceIsSet(false);
this.usedSpace = 0;
setRemainingSpaceIsSet(false);
this.remainingSpace = 0;
setPutMessageQpsQuotaIsSet(false);
this.putMessageQpsQuota = 0;
setGetMessageQpsQuotaIsSet(false);
this.getMessageQpsQuota = 0;
setPutMessageBytesQpsQuotaIsSet(false);
this.putMessageBytesQpsQuota = 0;
setGetMessageBytesQpsQuotaIsSet(false);
this.getMessageBytesQpsQuota = 0;
}
/**
* The max space can be used for specified developer/topic
* default 1T for developer, and 500G for topic
*
*/
public long getSpaceQuota() {
return this.spaceQuota;
}
/**
* The max space can be used for specified developer/topic
* default 1T for developer, and 500G for topic
*
*/
public BaseQuota setSpaceQuota(long spaceQuota) {
this.spaceQuota = spaceQuota;
setSpaceQuotaIsSet(true);
return this;
}
public void unsetSpaceQuota() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SPACEQUOTA_ISSET_ID);
}
/** Returns true if field spaceQuota is set (has been assigned a value) and false otherwise */
public boolean isSetSpaceQuota() {
return EncodingUtils.testBit(__isset_bitfield, __SPACEQUOTA_ISSET_ID);
}
public void setSpaceQuotaIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SPACEQUOTA_ISSET_ID, value);
}
/**
* The used space quota
*
*/
public long getUsedSpace() {
return this.usedSpace;
}
/**
* The used space quota
*
*/
public BaseQuota setUsedSpace(long usedSpace) {
this.usedSpace = usedSpace;
setUsedSpaceIsSet(true);
return this;
}
public void unsetUsedSpace() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __USEDSPACE_ISSET_ID);
}
/** Returns true if field usedSpace is set (has been assigned a value) and false otherwise */
public boolean isSetUsedSpace() {
return EncodingUtils.testBit(__isset_bitfield, __USEDSPACE_ISSET_ID);
}
public void setUsedSpaceIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __USEDSPACE_ISSET_ID, value);
}
/**
* The remaining space quota
*
*/
public long getRemainingSpace() {
return this.remainingSpace;
}
/**
* The remaining space quota
*
*/
public BaseQuota setRemainingSpace(long remainingSpace) {
this.remainingSpace = remainingSpace;
setRemainingSpaceIsSet(true);
return this;
}
public void unsetRemainingSpace() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __REMAININGSPACE_ISSET_ID);
}
/** Returns true if field remainingSpace is set (has been assigned a value) and false otherwise */
public boolean isSetRemainingSpace() {
return EncodingUtils.testBit(__isset_bitfield, __REMAININGSPACE_ISSET_ID);
}
public void setRemainingSpaceIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __REMAININGSPACE_ISSET_ID, value);
}
/**
* The max total qps of putMessage of specified developer/topic
* default 40000 for developer, and 4000 for topic
*
*/
public int getPutMessageQpsQuota() {
return this.putMessageQpsQuota;
}
/**
* The max total qps of putMessage of specified developer/topic
* default 40000 for developer, and 4000 for topic
*
*/
public BaseQuota setPutMessageQpsQuota(int putMessageQpsQuota) {
this.putMessageQpsQuota = putMessageQpsQuota;
setPutMessageQpsQuotaIsSet(true);
return this;
}
public void unsetPutMessageQpsQuota() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __PUTMESSAGEQPSQUOTA_ISSET_ID);
}
/** Returns true if field putMessageQpsQuota is set (has been assigned a value) and false otherwise */
public boolean isSetPutMessageQpsQuota() {
return EncodingUtils.testBit(__isset_bitfield, __PUTMESSAGEQPSQUOTA_ISSET_ID);
}
public void setPutMessageQpsQuotaIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __PUTMESSAGEQPSQUOTA_ISSET_ID, value);
}
/**
* The max total qps of getMessage of specified developer/topic
* default 40000 for developer, and 4000 for topic
*
*/
public int getGetMessageQpsQuota() {
return this.getMessageQpsQuota;
}
/**
* The max total qps of getMessage of specified developer/topic
* default 40000 for developer, and 4000 for topic
*
*/
public BaseQuota setGetMessageQpsQuota(int getMessageQpsQuota) {
this.getMessageQpsQuota = getMessageQpsQuota;
setGetMessageQpsQuotaIsSet(true);
return this;
}
public void unsetGetMessageQpsQuota() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __GETMESSAGEQPSQUOTA_ISSET_ID);
}
/** Returns true if field getMessageQpsQuota is set (has been assigned a value) and false otherwise */
public boolean isSetGetMessageQpsQuota() {
return EncodingUtils.testBit(__isset_bitfield, __GETMESSAGEQPSQUOTA_ISSET_ID);
}
public void setGetMessageQpsQuotaIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __GETMESSAGEQPSQUOTA_ISSET_ID, value);
}
/**
* The max total bytes of putMessage of specified developer/topic
* default 500MB for developer, and 50MB for topic
*
*/
public long getPutMessageBytesQpsQuota() {
return this.putMessageBytesQpsQuota;
}
/**
* The max total bytes of putMessage of specified developer/topic
* default 500MB for developer, and 50MB for topic
*
*/
public BaseQuota setPutMessageBytesQpsQuota(long putMessageBytesQpsQuota) {
this.putMessageBytesQpsQuota = putMessageBytesQpsQuota;
setPutMessageBytesQpsQuotaIsSet(true);
return this;
}
public void unsetPutMessageBytesQpsQuota() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __PUTMESSAGEBYTESQPSQUOTA_ISSET_ID);
}
/** Returns true if field putMessageBytesQpsQuota is set (has been assigned a value) and false otherwise */
public boolean isSetPutMessageBytesQpsQuota() {
return EncodingUtils.testBit(__isset_bitfield, __PUTMESSAGEBYTESQPSQUOTA_ISSET_ID);
}
public void setPutMessageBytesQpsQuotaIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __PUTMESSAGEBYTESQPSQUOTA_ISSET_ID, value);
}
/**
* The max total bytes of getMessage of specified developer/topic
* default 500MB for developer, and 50MB for topic
*
*/
public long getGetMessageBytesQpsQuota() {
return this.getMessageBytesQpsQuota;
}
/**
* The max total bytes of getMessage of specified developer/topic
* default 500MB for developer, and 50MB for topic
*
*/
public BaseQuota setGetMessageBytesQpsQuota(long getMessageBytesQpsQuota) {
this.getMessageBytesQpsQuota = getMessageBytesQpsQuota;
setGetMessageBytesQpsQuotaIsSet(true);
return this;
}
public void unsetGetMessageBytesQpsQuota() {
__isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __GETMESSAGEBYTESQPSQUOTA_ISSET_ID);
}
/** Returns true if field getMessageBytesQpsQuota is set (has been assigned a value) and false otherwise */
public boolean isSetGetMessageBytesQpsQuota() {
return EncodingUtils.testBit(__isset_bitfield, __GETMESSAGEBYTESQPSQUOTA_ISSET_ID);
}
public void setGetMessageBytesQpsQuotaIsSet(boolean value) {
__isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __GETMESSAGEBYTESQPSQUOTA_ISSET_ID, value);
}
public void setFieldValue(_Fields field, Object value) {
switch (field) {
case SPACE_QUOTA:
if (value == null) {
unsetSpaceQuota();
} else {
setSpaceQuota((Long)value);
}
break;
case USED_SPACE:
if (value == null) {
unsetUsedSpace();
} else {
setUsedSpace((Long)value);
}
break;
case REMAINING_SPACE:
if (value == null) {
unsetRemainingSpace();
} else {
setRemainingSpace((Long)value);
}
break;
case PUT_MESSAGE_QPS_QUOTA:
if (value == null) {
unsetPutMessageQpsQuota();
} else {
setPutMessageQpsQuota((Integer)value);
}
break;
case GET_MESSAGE_QPS_QUOTA:
if (value == null) {
unsetGetMessageQpsQuota();
} else {
setGetMessageQpsQuota((Integer)value);
}
break;
case PUT_MESSAGE_BYTES_QPS_QUOTA:
if (value == null) {
unsetPutMessageBytesQpsQuota();
} else {
setPutMessageBytesQpsQuota((Long)value);
}
break;
case GET_MESSAGE_BYTES_QPS_QUOTA:
if (value == null) {
unsetGetMessageBytesQpsQuota();
} else {
setGetMessageBytesQpsQuota((Long)value);
}
break;
}
}
public Object getFieldValue(_Fields field) {
switch (field) {
case SPACE_QUOTA:
return Long.valueOf(getSpaceQuota());
case USED_SPACE:
return Long.valueOf(getUsedSpace());
case REMAINING_SPACE:
return Long.valueOf(getRemainingSpace());
case PUT_MESSAGE_QPS_QUOTA:
return Integer.valueOf(getPutMessageQpsQuota());
case GET_MESSAGE_QPS_QUOTA:
return Integer.valueOf(getGetMessageQpsQuota());
case PUT_MESSAGE_BYTES_QPS_QUOTA:
return Long.valueOf(getPutMessageBytesQpsQuota());
case GET_MESSAGE_BYTES_QPS_QUOTA:
return Long.valueOf(getGetMessageBytesQpsQuota());
}
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 SPACE_QUOTA:
return isSetSpaceQuota();
case USED_SPACE:
return isSetUsedSpace();
case REMAINING_SPACE:
return isSetRemainingSpace();
case PUT_MESSAGE_QPS_QUOTA:
return isSetPutMessageQpsQuota();
case GET_MESSAGE_QPS_QUOTA:
return isSetGetMessageQpsQuota();
case PUT_MESSAGE_BYTES_QPS_QUOTA:
return isSetPutMessageBytesQpsQuota();
case GET_MESSAGE_BYTES_QPS_QUOTA:
return isSetGetMessageBytesQpsQuota();
}
throw new IllegalStateException();
}
@Override
public boolean equals(Object that) {
if (that == null)
return false;
if (that instanceof BaseQuota)
return this.equals((BaseQuota)that);
return false;
}
public boolean equals(BaseQuota that) {
if (that == null)
return false;
boolean this_present_spaceQuota = true;
boolean that_present_spaceQuota = true;
if (this_present_spaceQuota || that_present_spaceQuota) {
if (!(this_present_spaceQuota && that_present_spaceQuota))
return false;
if (this.spaceQuota != that.spaceQuota)
return false;
}
boolean this_present_usedSpace = true && this.isSetUsedSpace();
boolean that_present_usedSpace = true && that.isSetUsedSpace();
if (this_present_usedSpace || that_present_usedSpace) {
if (!(this_present_usedSpace && that_present_usedSpace))
return false;
if (this.usedSpace != that.usedSpace)
return false;
}
boolean this_present_remainingSpace = true && this.isSetRemainingSpace();
boolean that_present_remainingSpace = true && that.isSetRemainingSpace();
if (this_present_remainingSpace || that_present_remainingSpace) {
if (!(this_present_remainingSpace && that_present_remainingSpace))
return false;
if (this.remainingSpace != that.remainingSpace)
return false;
}
boolean this_present_putMessageQpsQuota = true && this.isSetPutMessageQpsQuota();
boolean that_present_putMessageQpsQuota = true && that.isSetPutMessageQpsQuota();
if (this_present_putMessageQpsQuota || that_present_putMessageQpsQuota) {
if (!(this_present_putMessageQpsQuota && that_present_putMessageQpsQuota))
return false;
if (this.putMessageQpsQuota != that.putMessageQpsQuota)
return false;
}
boolean this_present_getMessageQpsQuota = true && this.isSetGetMessageQpsQuota();
boolean that_present_getMessageQpsQuota = true && that.isSetGetMessageQpsQuota();
if (this_present_getMessageQpsQuota || that_present_getMessageQpsQuota) {
if (!(this_present_getMessageQpsQuota && that_present_getMessageQpsQuota))
return false;
if (this.getMessageQpsQuota != that.getMessageQpsQuota)
return false;
}
boolean this_present_putMessageBytesQpsQuota = true && this.isSetPutMessageBytesQpsQuota();
boolean that_present_putMessageBytesQpsQuota = true && that.isSetPutMessageBytesQpsQuota();
if (this_present_putMessageBytesQpsQuota || that_present_putMessageBytesQpsQuota) {
if (!(this_present_putMessageBytesQpsQuota && that_present_putMessageBytesQpsQuota))
return false;
if (this.putMessageBytesQpsQuota != that.putMessageBytesQpsQuota)
return false;
}
boolean this_present_getMessageBytesQpsQuota = true && this.isSetGetMessageBytesQpsQuota();
boolean that_present_getMessageBytesQpsQuota = true && that.isSetGetMessageBytesQpsQuota();
if (this_present_getMessageBytesQpsQuota || that_present_getMessageBytesQpsQuota) {
if (!(this_present_getMessageBytesQpsQuota && that_present_getMessageBytesQpsQuota))
return false;
if (this.getMessageBytesQpsQuota != that.getMessageBytesQpsQuota)
return false;
}
return true;
}
@Override
public int hashCode() {
List