lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(other.isSetGrantOption()); if (lastComparison != 0) { return lastComparison; if (isSetGrantOption()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, other.grantOption); if (lastComparison != 0) {
/** 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 ROLE_NAME: return isSetRoleName(); case PRINCIPAL_NAME: return isSetPrincipalName(); case PRINCIPAL_TYPE: return isSetPrincipalType(); case GRANT_OPTION: return isSetGrantOption(); case GRANT_TIME: return isSetGrantTime(); case GRANTOR_NAME: return isSetGrantorName(); case GRANTOR_PRINCIPAL_TYPE: return isSetGrantorPrincipalType(); } throw new IllegalStateException(); }
optionals.set(2); if (struct.isSetGrantOption()) { optionals.set(3); oprot.writeI32(struct.principalType.getValue()); if (struct.isSetGrantOption()) { oprot.writeBool(struct.grantOption);
lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(other.isSetGrantOption()); if (lastComparison != 0) { return lastComparison; if (isSetGrantOption()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, other.grantOption); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(typedOther.isSetGrantOption()); if (lastComparison != 0) { return lastComparison; if (isSetGrantOption()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, typedOther.grantOption); if (lastComparison != 0) {
lastComparison = Boolean.valueOf(isSetGrantOption()).compareTo(typedOther.isSetGrantOption()); if (lastComparison != 0) { return lastComparison; if (isSetGrantOption()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.grantOption, typedOther.grantOption); if (lastComparison != 0) {
/** 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 ROLE_NAME: return isSetRoleName(); case PRINCIPAL_NAME: return isSetPrincipalName(); case PRINCIPAL_TYPE: return isSetPrincipalType(); case GRANT_OPTION: return isSetGrantOption(); case GRANT_TIME: return isSetGrantTime(); case GRANTOR_NAME: return isSetGrantorName(); case GRANTOR_PRINCIPAL_TYPE: return isSetGrantorPrincipalType(); } 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 ROLE_NAME: return isSetRoleName(); case PRINCIPAL_NAME: return isSetPrincipalName(); case PRINCIPAL_TYPE: return isSetPrincipalType(); case GRANT_OPTION: return isSetGrantOption(); case GRANT_TIME: return isSetGrantTime(); case GRANTOR_NAME: return isSetGrantorName(); case GRANTOR_PRINCIPAL_TYPE: return isSetGrantorPrincipalType(); } 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 ROLE_NAME: return isSetRoleName(); case PRINCIPAL_NAME: return isSetPrincipalName(); case PRINCIPAL_TYPE: return isSetPrincipalType(); case GRANT_OPTION: return isSetGrantOption(); case GRANT_TIME: return isSetGrantTime(); case GRANTOR_NAME: return isSetGrantorName(); case GRANTOR_PRINCIPAL_TYPE: return isSetGrantorPrincipalType(); } throw new IllegalStateException(); }
optionals.set(2); if (struct.isSetGrantOption()) { optionals.set(3); oprot.writeI32(struct.principalType.getValue()); if (struct.isSetGrantOption()) { oprot.writeBool(struct.grantOption);
optionals.set(2); if (struct.isSetGrantOption()) { optionals.set(3); oprot.writeI32(struct.principalType.getValue()); if (struct.isSetGrantOption()) { oprot.writeBool(struct.grantOption);
optionals.set(2); if (struct.isSetGrantOption()) { optionals.set(3); oprot.writeI32(struct.principalType.getValue()); if (struct.isSetGrantOption()) { oprot.writeBool(struct.grantOption);