diff --git a/test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/StatementDeserializer.java b/test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/StatementDeserializer.java index b0d5a4d34..4eb5f47e3 100644 --- a/test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/StatementDeserializer.java +++ b/test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/StatementDeserializer.java @@ -90,10 +90,10 @@ static Statement toStatement(ExecuteQueryRequest request) { break; case TIMESTAMP_TYPE: if (value.getKindCase().equals(KindCase.KIND_NOT_SET)) { - statementBuilder.setTimestampParamInstant(name, null); + statementBuilder.setTimestampParam(name, null); } else if (value.getKindCase().equals(KindCase.TIMESTAMP_VALUE)) { Timestamp ts = value.getTimestampValue(); - statementBuilder.setTimestampParamInstant(name, toInstant(ts)); + statementBuilder.setTimestampParam(name, toInstant(ts)); } else { throw new IllegalArgumentException("Malformed timestamp value: " + value); }