if endpoint_type is provided, map it to interface for SessionClient as this endpoint_type is ignored. Change-Id: If5bd96578e5bc4389b9eee6e53c598f6ffaf0d8d Closes-Buf: #1665858