/** * Converts the robot name to the email address form, excluding proxy and * version information, for example, {@code foo@appspot.com}. * * @return the robot participant address. */ public String toEmailAddress() { return toAddress(false, false); }
/** * Converts the robot name to the email address form, including version but * excluding proxy information, for example, {@code foo#1@appspot.com}. * * @return the robot participant address. */ public String toEmailAddressWithVersion() { return toAddress(false, true); }
/** * Converts the robot name to the participant id form, including proxy and * version information, for example, {@code foo+proxy#1@appspot.com}. * * @return the robot participant address. */ public String toParticipantAddress() { return toAddress(true, true); }
/** * Converts the robot name to address form (e.g. foo@appspot.com). * * @param includeVersion whether to include the version or not. * @return the robot address. */ @Deprecated public String toAddress(boolean includeVersion) { return toAddress(false, includeVersion); }