public java.lang.Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIALS: return getCredentials(); case NS: return getNs(); case PROPERTY: return getProperty(); case VALUE: return getValue(); } throw new java.lang.IllegalStateException(); }
lastComparison = java.lang.Boolean.valueOf(isSetTinfo()).compareTo(other.isSetTinfo()); if (lastComparison != 0) { return lastComparison; if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, other.tinfo); if (lastComparison != 0) { lastComparison = java.lang.Boolean.valueOf(isSetCredentials()).compareTo(other.isSetCredentials()); if (lastComparison != 0) { return lastComparison; if (isSetCredentials()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credentials, other.credentials); if (lastComparison != 0) { lastComparison = java.lang.Boolean.valueOf(isSetNs()).compareTo(other.isSetNs()); if (lastComparison != 0) { return lastComparison; if (isSetNs()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ns, other.ns); if (lastComparison != 0) { lastComparison = java.lang.Boolean.valueOf(isSetProperty()).compareTo(other.isSetProperty()); if (lastComparison != 0) { return lastComparison; if (isSetProperty()) {
lastComparison = Boolean.valueOf(isSetTinfo()).compareTo(other.isSetTinfo()); if (lastComparison != 0) { return lastComparison; if (isSetTinfo()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tinfo, other.tinfo); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetCredentials()).compareTo(other.isSetCredentials()); if (lastComparison != 0) { return lastComparison; if (isSetCredentials()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.credentials, other.credentials); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetNs()).compareTo(other.isSetNs()); if (lastComparison != 0) { return lastComparison; if (isSetNs()) { lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.ns, other.ns); if (lastComparison != 0) { lastComparison = Boolean.valueOf(isSetProperty()).compareTo(other.isSetProperty()); if (lastComparison != 0) { return lastComparison; if (isSetProperty()) {
return false; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) boolean this_present_credentials = true && this.isSetCredentials(); boolean that_present_credentials = true && that.isSetCredentials(); if (this_present_credentials || that_present_credentials) { if (!(this_present_credentials && that_present_credentials)) boolean this_present_ns = true && this.isSetNs(); boolean that_present_ns = true && that.isSetNs(); if (this_present_ns || that_present_ns) { if (!(this_present_ns && that_present_ns)) boolean this_present_property = true && this.isSetProperty(); boolean that_present_property = true && that.isSetProperty(); if (this_present_property || that_present_property) { if (!(this_present_property && that_present_property)) boolean this_present_value = true && this.isSetValue(); boolean that_present_value = true && that.isSetValue(); if (this_present_value || that_present_value) { if (!(this_present_value && that_present_value))
TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetTinfo()) { optionals.set(0); if (struct.isSetCredentials()) { optionals.set(1); if (struct.isSetNs()) { optionals.set(2); if (struct.isSetProperty()) { optionals.set(3); if (struct.isSetValue()) { optionals.set(4); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); if (struct.isSetCredentials()) { struct.credentials.write(oprot); if (struct.isSetNs()) { oprot.writeString(struct.ns); if (struct.isSetProperty()) { oprot.writeString(struct.property);
@Override public int hashCode() { List<Object> list = new ArrayList<Object>(); boolean present_tinfo = true && (isSetTinfo()); list.add(present_tinfo); if (present_tinfo) list.add(tinfo); boolean present_credentials = true && (isSetCredentials()); list.add(present_credentials); if (present_credentials) list.add(credentials); boolean present_ns = true && (isSetNs()); list.add(present_ns); if (present_ns) list.add(ns); boolean present_property = true && (isSetProperty()); list.add(present_property); if (present_property) list.add(property); boolean present_value = true && (isSetValue()); list.add(present_value); if (present_value) list.add(value); return list.hashCode(); }
/** * Performs a deep copy on <i>other</i>. */ public setNamespaceProperty_args(setNamespaceProperty_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredentials()) { this.credentials = new org.apache.accumulo.core.security.thrift.TCredentials(other.credentials); } if (other.isSetNs()) { this.ns = other.ns; } if (other.isSetProperty()) { this.property = other.property; } if (other.isSetValue()) { this.value = other.value; } }
/** 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 TINFO: return isSetTinfo(); case CREDENTIALS: return isSetCredentials(); case NS: return isSetNs(); case PROPERTY: return isSetProperty(); case VALUE: return isSetValue(); } throw new IllegalStateException(); }
public setNamespaceProperty_args getEmptyArgsInstance() { return new setNamespaceProperty_args(); }
public setNamespaceProperty_args getEmptyArgsInstance() { return new setNamespaceProperty_args(); }
public Object getFieldValue(_Fields field) { switch (field) { case TINFO: return getTinfo(); case CREDENTIALS: return getCredentials(); case NS: return getNs(); case PROPERTY: return getProperty(); case VALUE: return getValue(); } throw new IllegalStateException(); }
public setNamespaceProperty_args deepCopy() { return new setNamespaceProperty_args(this); }
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("setNamespaceProperty", org.apache.thrift.protocol.TMessageType.CALL, 0)); setNamespaceProperty_args args = new setNamespaceProperty_args(); args.setTinfo(tinfo); args.setCredentials(credentials); args.setNs(ns); args.setProperty(property); args.setValue(value); args.write(prot); prot.writeMessageEnd(); }
public void send_setNamespaceProperty(org.apache.accumulo.core.trace.thrift.TInfo tinfo, org.apache.accumulo.core.security.thrift.TCredentials credentials, String ns, String property, String value) throws org.apache.thrift.TException { setNamespaceProperty_args args = new setNamespaceProperty_args(); args.setTinfo(tinfo); args.setCredentials(credentials); args.setNs(ns); args.setProperty(property); args.setValue(value); sendBase("setNamespaceProperty", args); }
@Override public boolean equals(Object that) { if (that == null) return false; if (that instanceof setNamespaceProperty_args) return this.equals((setNamespaceProperty_args)that); return false; }
return true; boolean this_present_tinfo = true && this.isSetTinfo(); boolean that_present_tinfo = true && that.isSetTinfo(); if (this_present_tinfo || that_present_tinfo) { if (!(this_present_tinfo && that_present_tinfo)) boolean this_present_credentials = true && this.isSetCredentials(); boolean that_present_credentials = true && that.isSetCredentials(); if (this_present_credentials || that_present_credentials) { if (!(this_present_credentials && that_present_credentials)) boolean this_present_ns = true && this.isSetNs(); boolean that_present_ns = true && that.isSetNs(); if (this_present_ns || that_present_ns) { if (!(this_present_ns && that_present_ns)) boolean this_present_property = true && this.isSetProperty(); boolean that_present_property = true && that.isSetProperty(); if (this_present_property || that_present_property) { if (!(this_present_property && that_present_property)) boolean this_present_value = true && this.isSetValue(); boolean that_present_value = true && that.isSetValue(); if (this_present_value || that_present_value) { if (!(this_present_value && that_present_value))
org.apache.thrift.protocol.TTupleProtocol oprot = (org.apache.thrift.protocol.TTupleProtocol) prot; java.util.BitSet optionals = new java.util.BitSet(); if (struct.isSetTinfo()) { optionals.set(0); if (struct.isSetCredentials()) { optionals.set(1); if (struct.isSetNs()) { optionals.set(2); if (struct.isSetProperty()) { optionals.set(3); if (struct.isSetValue()) { optionals.set(4); if (struct.isSetTinfo()) { struct.tinfo.write(oprot); if (struct.isSetCredentials()) { struct.credentials.write(oprot); if (struct.isSetNs()) { oprot.writeString(struct.ns); if (struct.isSetProperty()) { oprot.writeString(struct.property);
@Override public int hashCode() { int hashCode = 1; hashCode = hashCode * 8191 + ((isSetTinfo()) ? 131071 : 524287); if (isSetTinfo()) hashCode = hashCode * 8191 + tinfo.hashCode(); hashCode = hashCode * 8191 + ((isSetCredentials()) ? 131071 : 524287); if (isSetCredentials()) hashCode = hashCode * 8191 + credentials.hashCode(); hashCode = hashCode * 8191 + ((isSetNs()) ? 131071 : 524287); if (isSetNs()) hashCode = hashCode * 8191 + ns.hashCode(); hashCode = hashCode * 8191 + ((isSetProperty()) ? 131071 : 524287); if (isSetProperty()) hashCode = hashCode * 8191 + property.hashCode(); hashCode = hashCode * 8191 + ((isSetValue()) ? 131071 : 524287); if (isSetValue()) hashCode = hashCode * 8191 + value.hashCode(); return hashCode; }
/** 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 TINFO: return isSetTinfo(); case CREDENTIALS: return isSetCredentials(); case NS: return isSetNs(); case PROPERTY: return isSetProperty(); case VALUE: return isSetValue(); } throw new java.lang.IllegalStateException(); }
/** * Performs a deep copy on <i>other</i>. */ public setNamespaceProperty_args(setNamespaceProperty_args other) { if (other.isSetTinfo()) { this.tinfo = new org.apache.accumulo.core.trace.thrift.TInfo(other.tinfo); } if (other.isSetCredentials()) { this.credentials = new org.apache.accumulo.core.securityImpl.thrift.TCredentials(other.credentials); } if (other.isSetNs()) { this.ns = other.ns; } if (other.isSetProperty()) { this.property = other.property; } if (other.isSetValue()) { this.value = other.value; } }