As contacts api version 2 is deprecated. I am using contact api version 3. I am not getting, whether any method from below code is deprecated or not. I am confused there. Please guide me here.
ContactsService contactService = new ContactsService("Application Name");
contactService.setAuthSubToken(custDetails.getGoogleCredentionals().getAccessToken());
try {
String url="https://www.google.com/m8/feeds/contacts/"+domain+"/full/"+contactId;
entry = contactService.getEntry(new URL(url),ContactEntry.class);
} catch (Exception e1) {
log.warning("exception in create entry obj"+e1);
}