public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.PrepareRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.PrepareRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (!other.getSql().isEmpty()) { sql_ = other.sql_; onChanged(); } if (other.getMaxRowCount() != 0L) { setMaxRowCount(other.getMaxRowCount()); } onChanged(); return this; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.PrepareRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.PrepareRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (!other.getSql().isEmpty()) { sql_ = other.sql_; onChanged(); } if (other.getMaxRowCount() != 0L) { setMaxRowCount(other.getMaxRowCount()); } if (other.getMaxRowsTotal() != 0L) { setMaxRowsTotal(other.getMaxRowsTotal()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.apache.calcite.avatica.proto.Requests.PrepareRequest other) { if (other == org.apache.calcite.avatica.proto.Requests.PrepareRequest.getDefaultInstance()) return this; if (!other.getConnectionId().isEmpty()) { connectionId_ = other.connectionId_; onChanged(); } if (!other.getSql().isEmpty()) { sql_ = other.sql_; onChanged(); } if (other.getMaxRowCount() != 0L) { setMaxRowCount(other.getMaxRowCount()); } if (other.getMaxRowsTotal() != 0L) { setMaxRowsTotal(other.getMaxRowsTotal()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.PrepareRequest getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Requests.PrepareRequest.getDefaultInstance(); }
public org.apache.calcite.avatica.proto.Requests.PrepareRequest getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Requests.PrepareRequest.getDefaultInstance(); }
/** * <code>string sql = 2;</code> */ public Builder clearSql() { sql_ = getDefaultInstance().getSql(); onChanged(); return this; } /**
/** * <code>string sql = 2;</code> */ public Builder clearSql() { sql_ = getDefaultInstance().getSql(); onChanged(); return this; } /**
/** * <code>string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
/** * <code>string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**
@java.lang.Override public org.apache.calcite.avatica.proto.Requests.PrepareRequest getDefaultInstanceForType() { return org.apache.calcite.avatica.proto.Requests.PrepareRequest.getDefaultInstance(); }
/** * <code>optional string sql = 2;</code> */ public Builder clearSql() { sql_ = getDefaultInstance().getSql(); onChanged(); return this; } /**
/** * <code>optional string connection_id = 1;</code> */ public Builder clearConnectionId() { connectionId_ = getDefaultInstance().getConnectionId(); onChanged(); return this; } /**