DoubleClickMatchResponse extends MatchResponse { @Override public Builder toBuilder() { return newBuilder() .setExchange(getExchange()) .setHttpResponse(httpResponse().build().toBuilder()); } protected  DoubleClickMatchResponse(HttpResponse.Builder httpResponseBuilder); static Builder newBuilder(); @Override Builder toBuilder(); final String getCookieMatchNid(); final DoubleClickMatchResponse setCookieMatchNid(String cookieMatchNid); final ByteString getHostedMatch(); final DoubleClickMatchResponse setHostedMatch(ByteString hostedMatch); final boolean isCookieMatch(); final DoubleClickMatchResponse setCookieMatch(boolean cookieMatch); final boolean isAddCookie(); final DoubleClickMatchResponse setAddCookie(boolean addCookie); final DoubleClickMatchResponse putUserList(long userList); final DoubleClickMatchResponse putUserList(long userList, long timestamp); final DoubleClickMatchResponse removeUserList(long userList); final DoubleClickMatchResponse clearUserLists(); @Override DoubleClickMatchResponse setRedirectUri(String uri); @Override DoubleClickMatchResponse setRedirectUri(URI uri); @Override DoubleClickMatchResponse putRedirectParameter(String key, String value); @Override DoubleClickMatchResponse removeRedirectParameter(String key, String value); @Override DoubleClickMatchResponse putMetadata(String key, Object value); @Override DoubleClickMatchResponse putAllMetadata(Map<String, Object> metadata);  }
@Test public void testCommonMethods() { DoubleClickMatchResponse resp = TestMatchResponseBuilder.create().build(); TestUtil.testCommonMethods(resp); TestUtil.testCommonMethods(resp.toBuilder()); }