if (isSetDurable_writes()) { if (!first) sb.append(", "); sb.append("durable_writes:");
if (isSetDurable_writes()) { if (!first) sb.append(", "); sb.append("durable_writes:");
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_name = true && (isSetName()); builder.append(present_name); if (present_name) builder.append(name); boolean present_strategy_class = true && (isSetStrategy_class()); builder.append(present_strategy_class); if (present_strategy_class) builder.append(strategy_class); boolean present_strategy_options = true && (isSetStrategy_options()); builder.append(present_strategy_options); if (present_strategy_options) builder.append(strategy_options); boolean present_replication_factor = true && (isSetReplication_factor()); builder.append(present_replication_factor); if (present_replication_factor) builder.append(replication_factor); boolean present_cf_defs = true && (isSetCf_defs()); builder.append(present_cf_defs); if (present_cf_defs) builder.append(cf_defs); boolean present_durable_writes = true && (isSetDurable_writes()); builder.append(present_durable_writes); if (present_durable_writes) builder.append(durable_writes); return builder.toHashCode(); }
if (isSetDurable_writes()) { if (!first) sb.append(", "); sb.append("durable_writes:");
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_name = true && (isSetName()); builder.append(present_name); if (present_name) builder.append(name); boolean present_strategy_class = true && (isSetStrategy_class()); builder.append(present_strategy_class); if (present_strategy_class) builder.append(strategy_class); boolean present_strategy_options = true && (isSetStrategy_options()); builder.append(present_strategy_options); if (present_strategy_options) builder.append(strategy_options); boolean present_replication_factor = true && (isSetReplication_factor()); builder.append(present_replication_factor); if (present_replication_factor) builder.append(replication_factor); boolean present_cf_defs = true && (isSetCf_defs()); builder.append(present_cf_defs); if (present_cf_defs) builder.append(cf_defs); boolean present_durable_writes = true && (isSetDurable_writes()); builder.append(present_durable_writes); if (present_durable_writes) builder.append(durable_writes); return builder.toHashCode(); }
@Override public int hashCode() { HashCodeBuilder builder = new HashCodeBuilder(); boolean present_name = true && (isSetName()); builder.append(present_name); if (present_name) builder.append(name); boolean present_strategy_class = true && (isSetStrategy_class()); builder.append(present_strategy_class); if (present_strategy_class) builder.append(strategy_class); boolean present_strategy_options = true && (isSetStrategy_options()); builder.append(present_strategy_options); if (present_strategy_options) builder.append(strategy_options); boolean present_replication_factor = true && (isSetReplication_factor()); builder.append(present_replication_factor); if (present_replication_factor) builder.append(replication_factor); boolean present_cf_defs = true && (isSetCf_defs()); builder.append(present_cf_defs); if (present_cf_defs) builder.append(cf_defs); boolean present_durable_writes = true && (isSetDurable_writes()); builder.append(present_durable_writes); if (present_durable_writes) builder.append(durable_writes); return builder.toHashCode(); }
if (struct.isSetDurable_writes()) { oprot.writeFieldBegin(DURABLE_WRITES_FIELD_DESC); oprot.writeBool(struct.durable_writes);
if (struct.isSetDurable_writes()) { oprot.writeFieldBegin(DURABLE_WRITES_FIELD_DESC); oprot.writeBool(struct.durable_writes);
if (struct.isSetDurable_writes()) { oprot.writeFieldBegin(DURABLE_WRITES_FIELD_DESC); oprot.writeBool(struct.durable_writes);
/** 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 NAME: return isSetName(); case STRATEGY_CLASS: return isSetStrategy_class(); case STRATEGY_OPTIONS: return isSetStrategy_options(); case REPLICATION_FACTOR: return isSetReplication_factor(); case CF_DEFS: return isSetCf_defs(); case DURABLE_WRITES: return isSetDurable_writes(); } 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 NAME: return isSetName(); case STRATEGY_CLASS: return isSetStrategy_class(); case STRATEGY_OPTIONS: return isSetStrategy_options(); case REPLICATION_FACTOR: return isSetReplication_factor(); case CF_DEFS: return isSetCf_defs(); case DURABLE_WRITES: return isSetDurable_writes(); } 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 NAME: return isSetName(); case STRATEGY_CLASS: return isSetStrategy_class(); case STRATEGY_OPTIONS: return isSetStrategy_options(); case REPLICATION_FACTOR: return isSetReplication_factor(); case CF_DEFS: return isSetCf_defs(); case DURABLE_WRITES: return isSetDurable_writes(); } throw new IllegalStateException(); }
optionals.set(1); if (struct.isSetDurable_writes()) { optionals.set(2); oprot.writeI32(struct.replication_factor); if (struct.isSetDurable_writes()) { oprot.writeBool(struct.durable_writes);
optionals.set(1); if (struct.isSetDurable_writes()) { optionals.set(2); oprot.writeI32(struct.replication_factor); if (struct.isSetDurable_writes()) { oprot.writeBool(struct.durable_writes);
optionals.set(1); if (struct.isSetDurable_writes()) { optionals.set(2); oprot.writeI32(struct.replication_factor); if (struct.isSetDurable_writes()) { oprot.writeBool(struct.durable_writes);
ksDef.setCf_defs(DEFAULT_KS_CF_DEFS); if (!ksDef.isSetDurable_writes()) { ksDef.setDurable_writes(DEFAULT_KS_DURABLE_WRITES);
boolean this_present_durable_writes = true && this.isSetDurable_writes(); boolean that_present_durable_writes = true && that.isSetDurable_writes(); if (this_present_durable_writes || that_present_durable_writes) { if (!(this_present_durable_writes && that_present_durable_writes))
boolean this_present_durable_writes = true && this.isSetDurable_writes(); boolean that_present_durable_writes = true && that.isSetDurable_writes(); if (this_present_durable_writes || that_present_durable_writes) { if (!(this_present_durable_writes && that_present_durable_writes))
boolean this_present_durable_writes = true && this.isSetDurable_writes(); boolean that_present_durable_writes = true && that.isSetDurable_writes(); if (this_present_durable_writes || that_present_durable_writes) { if (!(this_present_durable_writes && that_present_durable_writes))
ksDef.setCf_defs(DEFAULT_KS_CF_DEFS); if (!ksDef.isSetDurable_writes()) { ksDef.setDurable_writes(DEFAULT_KS_DURABLE_WRITES);