case BOOLEAN: case PRIMITIVE_BOOLEAN: builder.setBoolValue((boolean) value); break; case BYTE_STRING:
case BOOLEAN: case PRIMITIVE_BOOLEAN: builder.setBoolValue((boolean) o); return; case BYTE_STRING:
case BOOLEAN: case PRIMITIVE_BOOLEAN: builder.setBoolValue((boolean) o); return; case BYTE_STRING:
final List<Common.TypedValue> values = new ArrayList<>(); values.add(Common.TypedValue.newBuilder().setType(Common.Rep.BOOLEAN).setBoolValue(true) .build()); values.add(Common.TypedValue.newBuilder().setType(Common.Rep.STRING)
setBoolValue(other.getBoolValue());
final List<Common.TypedValue> values = new ArrayList<>(); values.add(Common.TypedValue.newBuilder().setType(Common.Rep.BOOLEAN).setBoolValue(true) .build()); values.add(Common.TypedValue.newBuilder().setType(Common.Rep.STRING)
setBoolValue(other.getBoolValue());
final List<Common.TypedValue> values = new ArrayList<>(); values.add(Common.TypedValue.newBuilder().setType(Common.Rep.BOOLEAN).setBoolValue(true) .build()); values.add(Common.TypedValue.newBuilder().setType(Common.Rep.STRING)
valueBuilder.setType(Common.Rep.BOOLEAN).setBoolValue((boolean) element); } else if (null == element) { valueBuilder.setType(Common.Rep.NULL);
public Builder mergeFrom(org.apache.calcite.avatica.proto.Common.TypedValue other) { if (other == org.apache.calcite.avatica.proto.Common.TypedValue.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.getBoolValue() != false) { setBoolValue(other.getBoolValue()); } if (!other.getStringValue().isEmpty()) { stringValue_ = other.stringValue_; onChanged(); } if (other.getNumberValue() != 0L) { setNumberValue(other.getNumberValue()); } if (other.getBytesValues() != com.google.protobuf.ByteString.EMPTY) { setBytesValues(other.getBytesValues()); } if (other.getDoubleValue() != 0D) { setDoubleValue(other.getDoubleValue()); } if (other.getNull() != false) { setNull(other.getNull()); } onChanged(); return this; }