public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException {
        try {
            if (com.google.api.ads.admanager.axis.v201805.UserServiceInterface.class.isAssignableFrom(serviceEndpointInterface)) {
                com.google.api.ads.admanager.axis.v201805.UserServiceSoapBindingStub _stub = new com.google.api.ads.admanager.axis.v201805.UserServiceSoapBindingStub(new java.net.URL(UserServiceInterfacePort_address), this);
                _stub.setPortName(getUserServiceInterfacePortWSDDServiceName());
                return _stub;
            }
        }
        catch (java.lang.Throwable t) {
            throw new javax.xml.rpc.ServiceException(t);
        }
        throw new javax.xml.rpc.ServiceException("There is no stub implementation for the interface:  " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName()));
    }
public java . rmi . Remote getPort ( Class serviceEndpointInterface ) throws javax . xml . rpc . ServiceException { try { if ( com . google . api . ads . admanager . axis . v201805 . UserServiceInterface . class . isAssignableFrom ( serviceEndpointInterface ) ) { com . google . api . ads . admanager . axis . v201805 . UserServiceSoapBindingStub _stub = new com . google . api . ads . admanager . axis . v201805 . UserServiceSoapBindingStub ( new java . net . URL ( UserServiceInterfacePort_address ) , this ) ; _stub . setPortName ( getUserServiceInterfacePortWSDDServiceName ( ) ) ; return _stub ; } } catch ( java . lang . Throwable t ) { throw new javax . xml . rpc . ServiceException ( t ) ; } throw new javax . xml . rpc . ServiceException ( "There is no stub implementation for the interface:  " + ( serviceEndpointInterface == null ? "null" : serviceEndpointInterface . getName ( ) ) ) ; }
For the given interface, get the stub implementation.
If this service has no port for the given interface,
then ServiceException is thrown.